After a fresh install, using qemu boot with E:\qemu\qemu-system-x86_64.exe -m 30G -drive file=D:\VirtualMachine\lineageos-factory.qcow,format=qcow2
. Kernel load screen is shown(that rolling screen with Esc key can show the boot log), splash screen is shown(that three dot shown), but can’t show graphic anymore with a textmode and a blank input cursor at left-upper most.
systemctl
only show display-manager.service is the only failed unit(or service?), journalctl -u display-manager.service
show:
Jun 07 02:47:54 localhost.localdomain systemd[1]: Starting X Display Manager...
Jun 07 02:47:55 localhost.localdomain display-manager[1153]: /etc/vconsole.conf available
Jun 07 02:47:55 localhost.localdomain display-manager[1153]: XKBLAYOUT: us
Jun 07 02:47:55 localhost.localdomain display-manager[1153]: XKBLAYOUT is already set. Better don't touch X11 keyboard configuration.
Jun 07 02:47:56 localhost.localdomain systemd[1]: Started X Display Manager.
Jun 07 02:48:09 localhost.localdomain display-manager[1137]: Starting service lightdm
Jun 07 02:48:09 localhost.localdomain systemd[1]: display-manager.service: Main process exited, code=exited, status=1/FAILURE
Jun 07 02:48:09 localhost.localdomain systemd[1]: display-manager.service: Failed with result 'exit-code'.
Jun 07 02:48:09 localhost.localdomain systemd[1]: display-manager.service: Triggering OnFailure= dependencies.
Jun 07 02:48:09 localhost.localdomain systemd[1]: display-manager.service: Consumed 3.663s CPU time.
run lightdm -d
on tty2, both tty2 and vt7 show nothing but a blank cursor in text mode, and cat /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.01s] DEBUG: Starting Light Display Manager 1.32.0, UID=0 PID=1392
[+0.01s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.01s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-suse-defaults.conf
[+0.02s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.02s] DEBUG: Loading configuration dirs from /usr/etc/xdg/lightdm/lightdm.conf.d
[+0.02s] DEBUG: Loading configuration dirs from /usr/local/etc/xdg/lightdm/lightdm.conf.d
[+0.02s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.03s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.03s] DEBUG: Registered seat module local
[+0.03s] DEBUG: Registered seat module xremote
[+0.04s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.05s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
[+0.17s] DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
[+0.37s] DEBUG: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
[+0.41s] DEBUG: Monitoring logind for seats
[+0.41s] DEBUG: New seat added from logind: seat0
[+0.42s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.44s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.44s] DEBUG: Seat seat0: Starting
[+0.44s] DEBUG: Seat seat0: Creating user session
[+0.52s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.53s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.68s] DEBUG: Seat seat0: Creating display server of type x
[+0.69s] DEBUG: Using VT 7
[+0.70s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.70s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.70s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.70s] DEBUG: XServer 0: Launching X Server
[+0.71s] DEBUG: Launching process 1414: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.73s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.74s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.74s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.86s] DEBUG: Seat seat0 changes active session to
[+3.92s] DEBUG: Process 1414 terminated with signal 6
[+3.92s] DEBUG: XServer 0: X server stopped
[+3.92s] DEBUG: Releasing VT 7
[+3.92s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+3.92s] DEBUG: Seat seat0: Display server stopped
[+3.92s] DEBUG: Seat seat0: Stopping session
[+3.92s] DEBUG: Seat seat0: Session stopped
[+3.95s] DEBUG: Launching process 1425: /usr/etc/X11/xdm/Xreset
[+4.06s] DEBUG: Process 1425 exited with return value 0
[+4.06s] DEBUG: Seat seat0: Exit status of /usr/etc/X11/xdm/Xreset: 0
[+4.07s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+4.07s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+4.07s] DEBUG: Seat seat0: Creating greeter session
[+4.07s] DEBUG: Seat seat0: Creating display server of type x
[+4.07s] DEBUG: Using VT 7
[+4.07s] DEBUG: Seat seat0: Starting local X display on VT 7
[+4.07s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+4.07s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+4.07s] DEBUG: XServer 0: Launching X Server
[+4.07s] DEBUG: Launching process 1433: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+4.08s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+6.85s] DEBUG: Process 1433 terminated with signal 6
[+6.85s] DEBUG: XServer 0: X server stopped
[+6.85s] DEBUG: Releasing VT 7
[+6.85s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+6.85s] DEBUG: Seat seat0: Display server stopped
[+6.85s] DEBUG: Seat seat0: Stopping session
[+6.85s] DEBUG: Seat seat0: Session stopped
[+6.86s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+6.86s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+6.86s] DEBUG: Seat seat0: Stopping
[+6.86s] DEBUG: Seat seat0: Stopped
[+6.86s] DEBUG: Required seat has stopped
[+6.86s] DEBUG: Stopping display manager
[+6.86s] DEBUG: Display manager stopped
[+6.86s] DEBUG: Stopping daemon
[+6.92s] DEBUG: Exiting with return value 1
cat /var/log/lightdm/x-0.log
X.Org X Server 1.21.1.12
X Protocol Version 11, Revision 0
Current Operating System: Linux localhost.localdomain 6.9.3-1-default #1 SMP PREEMPT_DYNAMIC Thu May 30 08:29:01 UTC 2024 (279162a) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.9.3-1-default root=UUID=5c8826da-6cbb-4e28-9337-2dd0cf539d78 splash=silent mitigations=auto quiet security=apparmor
Current version of pixman: 0.43.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun 7 02:49:15 2024
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
pci id for fd 14: 1234:1111, driver (null)
MESA-LOADER: failed to open bochs-drm: /usr/lib64/dri/bochs-drm_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri)
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/Xorg.bin (xorg_backtrace+0x7e) [0x55ca3f9bcb6e]
(EE) 1: /usr/bin/Xorg.bin (0x55ca3f7e6000+0x1df5d9) [0x55ca3f9c55d9]
(EE) 2: /lib64/libc.so.6 (0x7fe642800000+0x41240) [0x7fe642841240]
(EE) 3: /usr/lib64/xorg/modules/input/vmmouse_drv.so (0x7fe642152000+0x24f6) [0x7fe6421544f6]
(EE) 4: ?? [0x55ca7367abd0]
(EE)
(EE) Segmentation fault at address 0x0
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
ls -l /usr/lib64/dri
total 464160
-rwxr-xr-x 12 root root 34379288 May 23 11:05 crocus_dri.so
-rwxr-xr-x 12 root root 34379288 May 23 11:05 d3d12_dri.so
-rwxr-xr-x 12 root root 34379288 May 23 11:05 i915_dri.so
-rwxr-xr-x 12 root root 34379288 May 23 11:05 iris_dri.so
-rwxr-xr-x 12 root root 34379288 May 23 11:05 kms_swrast_dri.so
-rwxr-xr-x 4 root root 15678680 May 23 11:05 nouveau_drv_video.so
-rwxr-xr-x 12 root root 34379288 May 23 11:05 r300_dri.so
-rwxr-xr-x 12 root root 34379288 May 23 11:05 r600_dri.so
-rwxr-xr-x 4 root root 15678680 May 23 11:05 r600_drv_video.so
-rwxr-xr-x 12 root root 34379288 May 23 11:05 radeonsi_dri.so
-rwxr-xr-x 4 root root 15678680 May 23 11:05 radeonsi_drv_video.so
-rwxr-xr-x 12 root root 34379288 May 23 11:05 swrast_dri.so
-rwxr-xr-x 12 root root 34379288 May 23 11:05 virtio_gpu_dri.so
-rwxr-xr-x 4 root root 15678680 May 23 11:05 virtio_gpu_drv_video.so
-rwxr-xr-x 12 root root 34379288 May 23 11:05 vmwgfx_dri.so
-rwxr-xr-x 12 root root 34379288 May 23 11:05 zink_dri.so
lspci --nnvb
00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02)
Subsystem: Red Hat, Inc. Qemu virtual machine [1af4:1100]
Flags: fast devsel
00:01.0 ISA bridge [0601]: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] [8086:7000]
Subsystem: Red Hat, Inc. Qemu virtual machine [1af4:1100]
Flags: medium devsel
00:01.1 IDE interface [0101]: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] [8086:7010] (prog-if 80 [ISA Compatibility mode-only controller, supports bus mastering])
Subsystem: Red Hat, Inc. Qemu virtual machine [1af4:1100]
Flags: bus master, medium devsel, latency 0
I/O ports at c040
Kernel driver in use: ata_piix
Kernel modules: ata_piix, pata_acpi, ata_generic
00:01.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 03)
Subsystem: Red Hat, Inc. Qemu virtual machine [1af4:1100]
Flags: medium devsel, IRQ 9
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4
00:02.0 VGA compatible controller [0300]: Device [1234:1111] (rev 02) (prog-if 00 [VGA controller])
Subsystem: Red Hat, Inc. Device [1af4:1100]
Flags: bus master, fast devsel, latency 0
Memory at fd000000 (32-bit, prefetchable)
Memory at febf0000 (32-bit, non-prefetchable)
Expansion ROM at febe0000 [disabled]
Kernel driver in use: bochs-drm
Kernel modules: bochs
00:03.0 Ethernet controller [0200]: Intel Corporation 82540EM Gigabit Ethernet Controller [8086:100e] (rev 03)
Subsystem: Red Hat, Inc. QEMU Virtual Machine [1af4:1100]
Physical Slot: 3
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at febc0000 (32-bit, non-prefetchable)
I/O ports at c000
Expansion ROM at feb80000 [disabled]
Kernel driver in use: e1000
Kernel modules: e1000
~>screenfetch -n
lineageos-factory@lineageosfactory-lgprime-qichao-d
OS: openSUSE 20240605
Kernel: x86_64 Linux 6.9.3-1-default
Uptime: 43m
Packages: 1843
Shell: bash 5.2.26
Disk: 47G / 3.9T (2%)
CPU: QEMU Virtual version 2.5+ @ 3.7GHz
GPU: Device 1234:1111 (rev 02)
RAM: 608MiB / 30086MiB
Am I missing some qemu evalute command? Or missing package during openSUSE Tumbleweed installation? Or havn’t turn on some option on Windows 10 or BIOS?