Jump to content

QEMU amd64 (qemu-amd64): Difference between revisions

From postmarketOS Wiki
JLIT99 (talk | contribs)
No edit summary
Anjanmomi (talk | contribs)
Add v24.12 screenshot
 
(34 intermediate revisions by 13 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
| codename = qemu-amd64
| codename = qemu-amd64
| architecture = x86_64
| architecture = x86_64
| n-android =
| chipset = QEMU Standard PC
| cpu = QEMU Virtual
| gpu = Virgil 3D
| image = File:qemu-phosh.png
| imagecaption = QEMU running Phosh
| releaseyear = 2003
| status_usbnet = -
| status_usbnet = -
| status_flashing = -
| status_flashing = -
Line 11: Line 20:
| status_wifi = -
| status_wifi = -
| status_xwayland = Y
| status_xwayland = Y
| status_fde =  
| status_fde = Y
| status_mainline = Y
| status_mainline = Y
| status_battery = -
| status_battery = -
| status_3d = Y
| status_3d = Y
| status_accel = -
| status_accel = -
| status_audio =  
| status_audio = Y
| status_bluetooth = -
| status_bluetooth = -
| status_camera = -
| status_camera = -
Line 23: Line 32:
| status_sms = -
| status_sms = -
| status_calls = -  
| status_calls = -  
| status_otg = -
| status_nfc = -
| booting = yes
| booting = yes
| pmoskernel = 5.10 (LTS)
}}
}}


This device is used for testing purposes. It is possible to run postmarketOS in a x86_64 Virtual Machine. QEMU will emulate the default x86_64 architecture (see <code>qemu-system-x86_64 -machine help</code> for more choices).
This device is used for testing purposes. It is possible to run postmarketOS in a x86_64 Virtual Machine.


=== Contributors ===
== Contributors ==
* ollieparanoid
* ollieparanoid
* MartijnBraam
* MartijnBraam
* Minecrell
* drebrez


=== Usage ===
== What works ==
<syntaxhighlight lang="shell-session">
$ pmbootstrap init  # Choose device "qemu-amd64"
$ pmbootstrap install --no-fde
$ pmbootstrap qemu --image-size=2G
</syntaxhighlight>
 
See <code>pmbootstrap qemu --help</code> for more options. Notably <code>--spice</code> uses the SPICE protocol, which may give you better 3D acceleration. The <code>--display=gtk</code> switch allows you to see the serial output, but we didn't get 3D acceleration working with it. Default output is SDL (where 3D acceleration is working for most setups).
 
=== What works ===
* Storage
* Storage
* Network
* Network
* Keyboard and mouse
* Keyboard and mouse
* Graphical interfaces (Weston, Plasma Mobile, ...)
* Graphical interfaces (Weston, Plasma Mobile, ...)
* <code>osk-sdl</code> (with --spice)
* <code>osk-sdl</code>
 
* Audio
=== What does not work ===
* X11 over vesa: see {{github|672}}
* <code>osk-sdl</code> segfaults without --spice


=== Screenshots ===
== Screenshots ==
* QEMU running weston
* QEMU running weston
[[File:QEMU amd64 weston.png|500 px]]
[[File:QEMU amd64 weston.png|500 px]]
Line 59: Line 61:
[[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]]

Latest revision as of 04:01, 21 January 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
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