Pmbootstrap/Troubleshooting/QEMU: Difference between revisions
m --no-fde removed (deprecated) |
Remove various options that no longer exist |
||
Line 2: | Line 2: | ||
== "Booting the kernel." displayed forever or segfault == | == "Booting the kernel." displayed forever or segfault == | ||
By default, serial output is available in the terminal where you have run <code>pmbootstrap qemu</code>. Check it for indications why something is wrong. | |||
== Alternative display options == | == Alternative display options == | ||
Line 18: | Line 14: | ||
=== Disable OpenGL === | === Disable OpenGL === | ||
{{note|Some user interfaces may not work properly with OpenGL disabled.}} | {{note|Some user interfaces may not work properly with OpenGL disabled.}} | ||
Graphics rendering with OpenGL is enabled by default. You can disable it | Graphics rendering with OpenGL is enabled by default. You can disable it (and fall back to slow(!!) software rendering using: | ||
<syntaxhighlight lang="shell-session"> | <syntaxhighlight lang="shell-session"> | ||
$ pmbootstrap qemu -- | $ pmbootstrap qemu --no-gl | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 39: | Line 26: | ||
$ pmbootstrap qemu --host-qemu | $ pmbootstrap qemu --host-qemu | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== See also === | === See also === | ||
Line 47: | Line 31: | ||
* {{issue|1623}} <code>pmbootstrap qemu</code> with proprietary nvidia drivers | * {{issue|1623}} <code>pmbootstrap qemu</code> with proprietary nvidia drivers | ||
* {{issue|1641}} pmbootstrap qemu booting the kernel for ever (with screenshot) | * {{issue|1641}} pmbootstrap qemu booting the kernel for ever (with screenshot) | ||
Revision as of 19:26, 14 March 2020
This page is about debugging problems with pmbootstrap qemu
.
"Booting the kernel." displayed forever or segfault
By default, serial output is available in the terminal where you have run pmbootstrap qemu
. Check it for indications why something is wrong.
Alternative display options
GTK instead of SDL
The virtual machine's output window can be drawn with either SDL or GTK. The default is SDL, and in case that does not work, you can try to switch to GTK:
$ pmbootstrap qemu --display=gtk
Disable OpenGL
Some user interfaces may not work properly with OpenGL disabled. |
Graphics rendering with OpenGL is enabled by default. You can disable it (and fall back to slow(!!) software rendering using:
$ pmbootstrap qemu --no-gl
Using QEMU from the host system
Since !1612, pmbootstrap is using the QEMU binary from the Alpine chroots. That way you don't have to install QEMU on your host system and everybody uses the same version. However, for debugging purpose you might want to use the QEMU binaries from your host system instead:
$ pmbootstrap qemu --host-qemu