Jump to content

QEMU amd64 (qemu-amd64): Difference between revisions

From postmarketOS Wiki
Knuxify (talk | contribs)
add type=vm
 
(13 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{note|See [[:Category:QEMU]] for usage instructions. This page only contains information specific to the x86_64 device port.}}
{{Infobox device
{{Infobox device
| manufacturer = QEMU
| manufacturer = QEMU
| name =  amd64
| name =  amd64
| originalsoftware = none
| category = main
| category = main
| codename = qemu-amd64
| codename = qemu-amd64
Line 8: Line 11:
| cpu = QEMU Virtual
| cpu = QEMU Virtual
| gpu = Virgil 3D
| gpu = Virgil 3D
| type = vm
| image = File:qemu-phosh.png
| image = File:qemu-phosh.png
| imagecaption = QEMU running Phosh
| imagecaption = QEMU running Phosh
| releaseyear = 2003
| releaseyear = 2003
| n-android = ✔
| status_usbnet = -
| status_usbnet = -
| status_flashing = -
| status_flashing = -
Line 43: Line 46:
* Minecrell
* Minecrell
* drebrez
* drebrez
== Usage ==
First, [[Installing_pmbootstrap|install pmbootstrap]].
<syntaxhighlight lang="shell-session">
$ pmbootstrap init  # Choose device "qemu-amd64"
$ pmbootstrap install
$ pmbootstrap qemu
</syntaxhighlight>
See <code>pmbootstrap qemu --help</code> for more options.
=== Network ===
If selecting <code>none</code> in the user interface selection, the only network managing application that will be installed is <code>ifupdown-ng</code>. It expects <code>/etc/network.d/interfaces</code> to exist, which we currently don't ship, and therefore you won't have network. Use <code>pmbootstrap install --add=networkmanager</code> to make sure networkmanager gets added and networking works automatically.
Alternatively, use Alpine's setup tools in tty propmt:
<syntaxhighlight lang="shell-session">
$ sudo setup-interfaces
</syntaxhighlight>
It probably makes sense to add <code>/etc/network.d/interfaces</code> to <code>device-qemu-amd64</code> since this is likely something that people run often into. If you do, feel free to submit a patch and then edit this section here in the wiki.
=== Audio ===
Audio is disabled by default. To enable audio, select an audio backend (usually <code>pa</code> for PulseAudio or <code>alsa</code> for ALSA), and pass:
<syntaxhighlight lang="shell-session">
$ pmbootstrap qemu --audio pa
</syntaxhighlight>


== What works ==
== What works ==
Line 86: Line 62:
[[File:PlasmaMobileInQemu.png|500px||all is awesome the world is great]]
[[File:PlasmaMobileInQemu.png|500px||all is awesome the world is great]]


== See also ==
* QEMU running postmarketos v24.12 with Plasma Mobile
* [[QEMU|Common QEMU notes]]
[[File:Qemu_aarch64_plasma_mobile_v24.12.png|500px]]
* [[Troubleshooting:QEMU]]

Latest revision as of 09:06, 25 March 2025

Note See Category:QEMU for usage instructions. This page only contains information specific to the x86_64 device port.
QEMU amd64
QEMU running Phosh
QEMU running Phosh
Manufacturer QEMU
Name amd64
Codename qemu-amd64
Released 2003
Type vm
Hardware
Chipset QEMU Standard PC
CPU QEMU Virtual
GPU Virgil 3D
Architecture x86_64
Software
Original software none
postmarketOS
Category main
Pre-built images yes
postmarketOS kernel 5.10 (LTS)
Features
Internal storage
No data
SD card
No data
Screen
Works
Multimedia
3D Acceleration
Works
Audio
Works
Camera Flash
No data
Miscellaneous
FDE
Works
HDMI/DP
No data
Sensors
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data


This device is used for testing purposes. It is possible to run postmarketOS in a x86_64 Virtual Machine.

Contributors

  • ollieparanoid
  • MartijnBraam
  • Minecrell
  • drebrez

What works

  • Storage
  • Network
  • Keyboard and mouse
  • Graphical interfaces (Weston, Plasma Mobile, ...)
  • osk-sdl
  • Audio

Screenshots

  • QEMU running weston

  • QEMU running Plasma Mobile

all is awesome the world is great

  • QEMU running postmarketos v24.12 with Plasma Mobile