You are not logged in.

#1 2020-03-30 19:37:59

archdom
Member
Registered: 2018-09-12
Posts: 96

Archlinux on QEMU/KVM - QXL Driver problem

Hi guys,
I installed Archlinux on KVM-QEMU and everything works fine until the installation of the qxl driver.
At startup I see the login screen (sddm) and then black screen.
I can't even enter my credentials

Journal log

https://pastebin.com/WGX6uHyV


Create two core dumps

xorg core dump

           PID: 416 (Xorg)
           UID: 0 (root)
           GID: 0 (root)
        Signal: 6 (ABRT)
     Timestamp: Mon 2020-03-30 17:59:37 CEST (2h 35min ago)
  Command Line: /usr/lib/Xorg -nolisten tcp -auth /var/run/sddm/{21250728-2af0-4ae0-8da5-0683d0bfdc82} -background none -noreset -displayfd 17 -seat seat0 vt1
    Executable: /usr/lib/Xorg
 Control Group: /system.slice/sddm.service
          Unit: sddm.service
         Slice: system.slice
       Boot ID: d90d4755baaf4414922fc462d0145dab
    Machine ID: eebc51541050403b872c2d65bfe1dfeb
      Hostname: Arch
       Storage: /var/lib/systemd/coredump/core.Xorg.0.d90d4755baaf4414922fc462d0145dab.416.1585583977000000000000.lz4
       Message: Process 416 (Xorg) of user 0 dumped core.
                
                Stack trace of thread 416:
                #0  0x00007f7727c65ce5 raise (libc.so.6 + 0x3bce5)
                #1  0x00007f7727c4f857 abort (libc.so.6 + 0x25857)
                #2  0x000055696ff19cea OsAbort (Xorg + 0xa2cea)
                #3  0x000055696ff1d531 FatalError (Xorg + 0xa6531)
                #4  0x000055696ff20d62 n/a (Xorg + 0xa9d62)
                #5  0x00007f7727c65d70 __restore_rt (libc.so.6 + 0x3bd70)
                #6  0x00007f7726b2f2c1 n/a (qxl_drv.so + 0x92c1)
                #7  0x00007f7726b2f8a5 n/a (qxl_drv.so + 0x98a5)
                #8  0x00007f7726b2fd48 n/a (qxl_drv.so + 0x9d48)
                #9  0x00007f7726b2fe81 n/a (qxl_drv.so + 0x9e81)
                #10 0x00007f7726b2ca40 n/a (qxl_drv.so + 0x6a40)
                #11 0x00007f7726b2cf7a n/a (qxl_drv.so + 0x6f7a)
                #12 0x00007f7726b2d38e n/a (qxl_drv.so + 0x738e)
                #13 0x00007f7726b40f68 n/a (qxl_drv.so + 0x1af68)
                #14 0x000055696ffa0437 n/a (Xorg + 0x129437)
                #15 0x000055697000cb2e n/a (Xorg + 0x195b2e)
                #16 0x000055697001b5e6 mieqProcessInputEvents (Xorg + 0x1a45e6)
                #17 0x000055696ff07db9 ProcessInputEvents (Xorg + 0x90db9)
                #18 0x000055696feaf953 n/a (Xorg + 0x38953)
                #19 0x00007f7727c51023 __libc_start_main (libc.so.6 + 0x27023)
                #20 0x000055696feb03be _start (Xorg + 0x393be)
                
                Stack trace of thread 425:
                #0  0x00007f77276d5cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                #1  0x00007f7719193144 n/a (swrast_dri.so + 0x715144)
                #2  0x00007f7719192f98 n/a (swrast_dri.so + 0x714f98)
                #3  0x00007f77276cf46f start_thread (libpthread.so.0 + 0x946f)
                #4  0x00007f7727d293d3 __clone (libc.so.6 + 0xff3d3)
                
                Stack trace of thread 431:
                #0  0x00007f77276d5cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                #1  0x00007f7719190854 n/a (swrast_dri.so + 0x712854)
                #2  0x00007f77191907d8 n/a (swrast_dri.so + 0x7127d8)
                #3  0x00007f77276cf46f start_thread (libpthread.so.0 + 0x946f)
                #4  0x00007f7727d293d3 __clone (libc.so.6 + 0xff3d3)
                
                Stack trace of thread 430:
                #0  0x00007f77276d5cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                #1  0x00007f7719190854 n/a (swrast_dri.so + 0x712854)
                #2  0x00007f77191907d8 n/a (swrast_dri.so + 0x7127d8)
                #3  0x00007f77276cf46f start_thread (libpthread.so.0 + 0x946f)
                #4  0x00007f7727d293d3 __clone (libc.so.6 + 0xff3d3)
                
                Stack trace of thread 426:
                #0  0x00007f77276d5cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                #1  0x00007f7719193144 n/a (swrast_dri.so + 0x715144)
                #2  0x00007f7719192f98 n/a (swrast_dri.so + 0x714f98)
                #3  0x00007f77276cf46f start_thread (libpthread.so.0 + 0x946f)
                #4  0x00007f7727d293d3 __clone (libc.so.6 + 0xff3d3)
                
                Stack trace of thread 428:
                #0  0x00007f77276d5cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                #1  0x00007f7719190854 n/a (swrast_dri.so + 0x712854)
                #2  0x00007f77191907d8 n/a (swrast_dri.so + 0x7127d8)
                #3  0x00007f77276cf46f start_thread (libpthread.so.0 + 0x946f)
                #4  0x00007f7727d293d3 __clone (libc.so.6 + 0xff3d3)
                
                Stack trace of thread 427:
                #0  0x00007f77276d5cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                #1  0x00007f7719193144 n/a (swrast_dri.so + 0x715144)
                #2  0x00007f7719192f98 n/a (swrast_dri.so + 0x714f98)
                #3  0x00007f77276cf46f start_thread (libpthread.so.0 + 0x946f)
                #4  0x00007f7727d293d3 __clone (libc.so.6 + 0xff3d3)
                
                Stack trace of thread 429:
                #0  0x00007f77276d5cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                #1  0x00007f7719190854 n/a (swrast_dri.so + 0x712854)
                #2  0x00007f77191907d8 n/a (swrast_dri.so + 0x7127d8)
                #3  0x00007f77276cf46f start_thread (libpthread.so.0 + 0x946f)
                #4  0x00007f7727d293d3 __clone (libc.so.6 + 0xff3d3)
                
                Stack trace of thread 424:
                #0  0x00007f77276d5cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                #1  0x00007f7719193144 n/a (swrast_dri.so + 0x715144)
                #2  0x00007f7719192f98 n/a (swrast_dri.so + 0x714f98)
                #3  0x00007f77276cf46f start_thread (libpthread.so.0 + 0x946f)
                #4  0x00007f7727d293d3 __clone (libc.so.6 + 0xff3d3)

sddm greeter core dump

           PID: 448 (sddm-greeter)
           UID: 976 (sddm)
           GID: 976 (sddm)
        Signal: 11 (SEGV)
     Timestamp: Mon 2020-03-30 17:59:37 CEST (2h 36min ago)
  Command Line: /usr/bin/sddm-greeter --socket /tmp/sddm-:0-hCSAfV
    Executable: /usr/bin/sddm-greeter
 Control Group: /user.slice/user-976.slice/session-c1.scope
          Unit: session-c1.scope
         Slice: user-976.slice
       Session: c1
     Owner UID: 976 (sddm)
       Boot ID: d90d4755baaf4414922fc462d0145dab
    Machine ID: eebc51541050403b872c2d65bfe1dfeb
      Hostname: Arch
       Storage: /var/lib/systemd/coredump/core.sddm-greeter.976.d90d4755baaf4414922fc462d0145dab.448.1585583977000000000000.lz4
       Message: Process 448 (sddm-greeter) of user 976 dumped core.
                
                Stack trace of thread 461:
                #0  0x00007f2482022506 __run_exit_handlers (libc.so.6 + 0x3e506)
                #1  0x00007f24820226ee exit (libc.so.6 + 0x3e6ee)
                #2  0x00007f247efeb3f2 _XDefaultIOError (libX11.so.6 + 0x433f2)
                #3  0x00007f247eb760fc n/a (libQt5XcbQpa.so.5 + 0x670fc)
                #4  0x00007f247efeb69e _XIOError (libX11.so.6 + 0x4369e)
                #5  0x00007f247efe96aa _XReply (libX11.so.6 + 0x416aa)
                #6  0x00007f247efcd7ad XGetGeometry (libX11.so.6 + 0x257ad)
                #7  0x00007f247cd8672a n/a (libGLX_mesa.so.0 + 0x4372a)
                #8  0x00007f24769f4537 n/a (swrast_dri.so + 0x10a537)
                #9  0x00007f24769f93ae n/a (swrast_dri.so + 0x10f3ae)
                #10 0x00007f2476a0553c n/a (swrast_dri.so + 0x11b53c)
                #11 0x00007f2476a05b99 n/a (swrast_dri.so + 0x11bb99)
                #12 0x00007f2476a29af6 n/a (swrast_dri.so + 0x13faf6)
                #13 0x00007f2476a2e674 n/a (swrast_dri.so + 0x144674)
                #14 0x00007f2483877584 _ZN16QSGBatchRenderer8Renderer13renderBatchesEv (libQt5Quick.so.5 + 0x1af584)
                #15 0x00007f2483877cc5 _ZN16QSGBatchRenderer8Renderer6renderEv (libQt5Quick.so.5 + 0x1afcc5)
                #16 0x00007f248385b832 _ZN11QSGRenderer11renderSceneERK11QSGBindable (libQt5Quick.so.5 + 0x193832)
                #17 0x00007f248385bd14 _ZN11QSGRenderer11renderSceneEj (libQt5Quick.so.5 + 0x193d14)
                #18 0x00007f24838ca713 _ZN23QSGDefaultRenderContext15renderNextFrameEP11QSGRendererj (libQt5Quick.so.5 + 0x202713)
                #19 0x00007f24839353a1 _ZN19QQuickWindowPrivate16renderSceneGraphERK5QSizeS2_ (libQt5Quick.so.5 + 0x26d3a1)
                #20 0x00007f24838d8157 n/a (libQt5Quick.so.5 + 0x210157)
                #21 0x00007f24838dc7b7 n/a (libQt5Quick.so.5 + 0x2147b7)
                #22 0x00007f2482476fd6 n/a (libQt5Core.so.5 + 0xc9fd6)
                #23 0x00007f2481c5d46f start_thread (libpthread.so.0 + 0x946f)
                #24 0x00007f24820e33d3 __clone (libc.so.6 + 0xff3d3)
                
                Stack trace of thread 454:
                #0  0x00007f2481c63cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                #1  0x00007f2476fff144 n/a (swrast_dri.so + 0x715144)
                #2  0x00007f2476ffef98 n/a (swrast_dri.so + 0x714f98)
                #3  0x00007f2481c5d46f start_thread (libpthread.so.0 + 0x946f)
                #4  0x00007f24820e33d3 __clone (libc.so.6 + 0xff3d3)
                
                Stack trace of thread 453:
                #0  0x00007f2481c63cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                #1  0x00007f2476fff144 n/a (swrast_dri.so + 0x715144)
                #2  0x00007f2476ffef98 n/a (swrast_dri.so + 0x714f98)
                #3  0x00007f2481c5d46f start_thread (libpthread.so.0 + 0x946f)
                #4  0x00007f24820e33d3 __clone (libc.so.6 + 0xff3d3)
                
                Stack trace of thread 455:
                #0  0x00007f2481c63cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                #1  0x00007f2476fff144 n/a (swrast_dri.so + 0x715144)
                #2  0x00007f2476ffef98 n/a (swrast_dri.so + 0x714f98)
                #3  0x00007f2481c5d46f start_thread (libpthread.so.0 + 0x946f)
                #4  0x00007f24820e33d3 __clone (libc.so.6 + 0xff3d3)
                
                Stack trace of thread 457:
                #0  0x00007f2481c63cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                #1  0x00007f2476ffc854 n/a (swrast_dri.so + 0x712854)
                #2  0x00007f2476ffc7d8 n/a (swrast_dri.so + 0x7127d8)
                #3  0x00007f2481c5d46f start_thread (libpthread.so.0 + 0x946f)
                #4  0x00007f24820e33d3 __clone (libc.so.6 + 0xff3d3)
                
                Stack trace of thread 459:
                #0  0x00007f2481c63cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                #1  0x00007f2476ffc854 n/a (swrast_dri.so + 0x712854)
                #2  0x00007f2476ffc7d8 n/a (swrast_dri.so + 0x7127d8)
                #3  0x00007f2481c5d46f start_thread (libpthread.so.0 + 0x946f)
                #4  0x00007f24820e33d3 __clone (libc.so.6 + 0xff3d3)
                
                Stack trace of thread 448:
                #0  0x00007f2482ba6ad0 n/a (libQt5Gui.so.5 + 0x2c0ad0)
                #1  0x00007f2482022537 __run_exit_handlers (libc.so.6 + 0x3e537)
                #2  0x00007f24820226ee exit (libc.so.6 + 0x3e6ee)
                #3  0x00007f247eb43281 n/a (libQt5XcbQpa.so.5 + 0x34281)
                #4  0x00007f247eb75bc4 n/a (libQt5XcbQpa.so.5 + 0x66bc4)
                #5  0x00007f2480fc69be g_main_context_dispatch (libglib-2.0.so.0 + 0x6b9be)
                #6  0x00007f2480fc8831 n/a (libglib-2.0.so.0 + 0x6d831)
                #7  0x00007f2480fc8871 g_main_context_iteration (libglib-2.0.so.0 + 0x6d871)
                #8  0x00007f24826ab0d0 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2fe0d0)
                #9  0x00007f248265157c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2a457c)
                #10 0x00007f2482659586 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2ac586)
                #11 0x0000559c9ef8cc05 main (sddm-greeter + 0x19c05)
                #12 0x00007f248200b023 __libc_start_main (libc.so.6 + 0x27023)
                #13 0x0000559c9ef8cf3e _start (sddm-greeter + 0x19f3e)
                
                Stack trace of thread 458:
                #0  0x00007f2481c63cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                #1  0x00007f2476ffc854 n/a (swrast_dri.so + 0x712854)
                #2  0x00007f2476ffc7d8 n/a (swrast_dri.so + 0x7127d8)
                #3  0x00007f2481c5d46f start_thread (libpthread.so.0 + 0x946f)
                #4  0x00007f24820e33d3 __clone (libc.so.6 + 0xff3d3)
                
                Stack trace of thread 450:
                #0  0x00007f24820d8abf __poll (libc.so.6 + 0xf4abf)
                #1  0x00007f2480fc87a0 n/a (libglib-2.0.so.0 + 0x6d7a0)
                #2  0x00007f2480fc8871 g_main_context_iteration (libglib-2.0.so.0 + 0x6d871)
                #3  0x00007f24826ab0d0 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2fe0d0)
                #4  0x00007f248265157c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2a457c)
                #5  0x00007f2482475e62 _ZN7QThread4execEv (libQt5Core.so.5 + 0xc8e62)
                #6  0x00007f247ea41b28 n/a (libQt5DBus.so.5 + 0x15b28)
                #7  0x00007f2482476fd6 n/a (libQt5Core.so.5 + 0xc9fd6)
                #8  0x00007f2481c5d46f start_thread (libpthread.so.0 + 0x946f)
                #9  0x00007f24820e33d3 __clone (libc.so.6 + 0xff3d3)
                
                Stack trace of thread 456:
                #0  0x00007f2481c63cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                #1  0x00007f2476ffc854 n/a (swrast_dri.so + 0x712854)
                #2  0x00007f2476ffc7d8 n/a (swrast_dri.so + 0x7127d8)
                #3  0x00007f2481c5d46f start_thread (libpthread.so.0 + 0x946f)
                #4  0x00007f24820e33d3 __clone (libc.so.6 + 0xff3d3)
                
                Stack trace of thread 460:
                #0  0x00007f24820d8abf __poll (libc.so.6 + 0xf4abf)
                #1  0x00007f2480fc87a0 n/a (libglib-2.0.so.0 + 0x6d7a0)
                #2  0x00007f2480fc8871 g_main_context_iteration (libglib-2.0.so.0 + 0x6d871)
                #3  0x00007f24826ab0d0 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2fe0d0)
                #4  0x00007f248265157c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2a457c)
                #5  0x00007f2482475e62 _ZN7QThread4execEv (libQt5Core.so.5 + 0xc8e62)
                #6  0x00007f248347ef89 n/a (libQt5Qml.so.5 + 0x332f89)
                #7  0x00007f2482476fd6 n/a (libQt5Core.so.5 + 0xc9fd6)
                #8  0x00007f2481c5d46f start_thread (libpthread.so.0 + 0x946f)
                #9  0x00007f24820e33d3 __clone (libc.so.6 + 0xff3d3)
                
                Stack trace of thread 452:
                #0  0x00007f2481c63cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
                #1  0x00007f2476fff144 n/a (swrast_dri.so + 0x715144)
                #2  0x00007f2476ffef98 n/a (swrast_dri.so + 0x714f98)
                #3  0x00007f2481c5d46f start_thread (libpthread.so.0 + 0x946f)
                #4  0x00007f24820e33d3 __clone (libc.so.6 + 0xff3d3)

Your help will be greatly appreciated.
Regards

Last edited by archdom (2020-03-31 08:25:56)

Offline

#2 2020-09-26 22:43:06

mettacrawler
Member
Registered: 2020-09-26
Posts: 3

Re: Archlinux on QEMU/KVM - QXL Driver problem

archdom wrote:

Mar 30 17:59:26 Arch kernel: [drm] qxl: 64M of VRAM memory size

I think it helps to define more video RAM when running plasma.  Change this:

<video>
  <model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes"/>
  <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
</video>

Into this:

video>
  <model type="qxl" ram="262144" vram="262144" vgamem="65536" heads="1" primary="yes"/>
  <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
</video>

and try again.  You can either enable xml editing on the preferences menu of virt-manager or use sudo virsh edit

Offline

Board footer

Powered by FluxBB