• Bug#1064123: libgl1-mesa-dri: latest version crashes X, can't use mouse

    From Xavier G.@21:1/5 to All on Mon Feb 19 23:30:02 2024
    Dear Maintainer,

    I confirm this issue.
    I experienced it with an AMD R7 240 graphics card[1] on a regular Debian
    Sid host running kernel 6.6.15.
    Booting with the previous kernel (6.6.13) did not change the situation
    but I confirm "Accel" "no", as suggested by Grégory, is a suitable
    workaround.

    The machine that experiences this issue idles most of the time, so let
    me know if I can do/provide anything that would help solving this.

    Cheers,
    --
    Xavier G.

    [1] lspci: Advanced Micro Devices, Inc. [AMD/ATI] Oland PRO [Radeon R7 240/340 / Radeon 520]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Guillaume Dupuy@21:1/5 to xavier.debian@kindwolf.org on Sun Feb 25 00:00:01 2024
    This is a multi-part message in MIME format.
    On Mon, 19 Feb 2024 23:16:44 +0100 "Xavier G."
    <xavier.debian@kindwolf.org> wrote:
    Dear Maintainer,

    I confirm this issue.
    I experienced it with an AMD R7 240 graphics card[1] on a regular Debian
    Sid host running kernel 6.6.15.
    Booting with the previous kernel (6.6.13) did not change the situation
    but I confirm "Accel" "no", as suggested by Grégory, is a suitable workaround.

    The machine that experiences this issue idles most of the time, so let
    me know if I can do/provide anything that would help solving this.

    Cheers,
    --
    Xavier G.

    [1] lspci: Advanced Micro Devices, Inc. [AMD/ATI] Oland PRO [Radeon
    R7 240/340 / Radeon 520]



    Hi,


    I can also confirm this issue, on an AMD R7 240 GPU, regular Debian Sid,
    Accel workaround is working fine.

    I'm having a slightly different behavior : with gdm, I cannot start at
    all a X session, and the crash log is a bit different :


    [ 24.518] (EE) Backtrace:
    [ 24.519] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x14d) [0x562f130d0f9d] [ 24.520] (EE) 1: /lib/x86_64-linux-gnu/libc.so.6 (__sigaction+0x40) [0x7de0e4f31510]
    [ 24.523] (EE) 2: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0x275d) [0x7de0e27c586d]
    [ 24.524] (EE) 3: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0x4841) [0x7de0e27c7951]
    [ 24.525] (EE) 4: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (_ZNSt6vectorIjSaIjEE17_M_default_appendEm+0xa77e6) [0x7de0e2cc9476]
    [ 24.525] (EE) 5: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (_ZNSt6vectorIjSaIjEE17_M_default_appendEm+0xa7989) [0x7de0e2cc9619]
    [ 24.525] (EE) 6: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0x3aba) [0x7de0e27c6bca]
    [ 24.527] (EE) 7: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0x137795) [0x7de0e28fa8a5]
    [ 24.527] (EE) 8: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0x1021d5) [0x7de0e28c52e5]
    [ 24.527] (EE) 9: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0x102ffa) [0x7de0e28c610a]
    [ 24.528] (EE) 10: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0xe6f3c) [0x7de0e21982cc]
    [ 24.528] (EE) 11: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0xb9020) [0x7de0e216a3b0]
    [ 24.529] (EE) 12: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0xba6fc) [0x7de0e216ba8c]
    [ 24.529] (EE) 13: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0xbc463) [0x7de0e216d7f3]
    [ 24.529] (EE) 14: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0x93972) [0x7de0e2144d02]
    [ 24.529] (EE) 15: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0x95c75) [0x7de0e2147005]
    [ 24.530] (EE) 16: /usr/lib/xorg/modules/libglamoregl.so (glamor_change_window_attributes+0x177) [0x7de0da39c317]
    [ 24.530] (EE) 17: /usr/lib/xorg/modules/libglamoregl.so (glamor_change_window_attributes+0x520) [0x7de0da39c6c0]
    [ 24.530] (EE) 18: /usr/lib/xorg/modules/libglamoregl.so (glamor_create_pixmap+0x27d) [0x7de0da3814ed]
    [ 24.530] (EE) unw_get_proc_name failed: no unwind info found [-10]
    [ 24.530] (EE) 19: /usr/lib/xorg/modules/drivers/radeon_drv.so (?+0x0) [0x7de0e4357da3]
    [ 24.530] (EE) 20: /usr/lib/xorg/Xorg (dixDestroyPixmap+0x11e) [0x562f12f5632e]
    [ 24.530] (EE) 21: /usr/lib/xorg/Xorg (SendErrorToClient+0x3d4) [0x562f12f5b354]
    [ 24.531] (EE) 22: /usr/lib/xorg/Xorg (InitFonts+0x3bc) [0x562f12f5f3bc]
    [ 24.531] (EE) 23: /lib/x86_64-linux-gnu/libc.so.6 (__libc_init_first+0x8a) [0x7de0e4f1c6ca]
    [ 24.531] (EE) 24: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x85) [0x7de0e4f1c785]
    [ 24.532] (EE) 25: /usr/lib/xorg/Xorg (_start+0x21) [0x562f12f48281]
    [ 24.532] (EE)
    [ 24.532] (EE) Segmentation fault at address 0x40
    [ 24.532] (EE)
    Fatal server error:
    [ 24.532] (EE) Caught signal 11 (Segmentation fault). Server aborting

    Cheers,

    <!DOCTYPE html>
    <html>
    <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </head>
    <body>
    On Mon, 19 Feb 2024 23:16:44 +0100 "Xavier G."
    <a class="moz-txt-link-rfc2396E" href="mailto:xavier.debian@kindwolf.org">&lt;xavier.debian@kindwolf.org&gt;</a> wrote:<br>
    &gt; Dear Maintainer,<br>
    &gt; <br>
    &gt; I confirm this issue.<br>
    &gt; I experienced it with an AMD R7 240 graphics card[1] on a
    regular Debian<br>
    &gt; Sid host running kernel 6.6.15.<br>
    &gt; Booting with the previous kernel (6.6.13) did not change the
    situation<br>
    &gt; but I confirm "Accel" "no", as suggested by Grégory, is a
    suitable<br>
    &gt; workaround.<br>
    &gt; <br>
    &gt; The machine that experiences this issue idles most of the time,
    so let<br>
    &gt; me know if I can do/provide anything that would help solving
    this.<br>
    &gt; <br>
    &gt; Cheers,<br>
    &gt; -- <br>
    &gt; Xavier G.<br>
    &gt; <br>
    &gt; [1] lspci: Advanced Micro Devices, Inc. [AMD/ATI] Oland PRO
    [Radeon R7 240/340 / Radeon 520]<br>
    &gt; <br>
    &gt; <br>
    <p>Hi,</p>
    <p><br>
    </p>
    <p>I can also confirm this issue, on an AMD R7 240 GPU, regular
    Debian Sid, Accel workaround is working fine.<br>
    </p>
    <p>I'm having a slightly different behavior : with gdm, I cannot
    start at all a X session, and the crash log is a bit different :</p>
    <p><br>
    </p>
    <pre>[ 24.518] (EE) Backtrace:
    [ 24.519] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x14d) [0x562f130d0f9d] [ 24.520] (EE) 1: /lib/x86_64-linux-gnu/libc.so.6 (__sigaction+0x40) [0x7de0e4f31510]
    [ 24.523] (EE) 2: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0x275d) [0x7de0e27c586d]
    [ 24.524] (EE) 3: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0x4841) [0x7de0e27c7951]
    [ 24.525] (EE) 4: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (_ZNSt6vectorIjSaIjEE17_M_default_appendEm+0xa77e6) [0x7de0e2cc9476]
    [ 24.525] (EE) 5: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (_ZNSt6vectorIjSaIjEE17_M_default_appendEm+0xa7989) [0x7de0e2cc9619]
    [ 24.525] (EE) 6: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0x3aba) [0x7de0e27c6bca]
    [ 24.527] (EE) 7: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0x137795) [0x7de0e28fa8a5]
    [ 24.527] (EE) 8: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0x1021d5) [0x7de0e28c52e5]
    [ 24.527] (EE) 9: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0x102ffa) [0x7de0e28c610a]
    [ 24.528] (EE) 10: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0xe6f3c) [0x7de0e21982cc]
    [ 24.528] (EE) 11: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0xb9020) [0x7de0e216a3b0]
    [ 24.529] (EE) 12: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0xba6fc) [0x7de0e216ba8c]
    [ 24.529] (EE) 13: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0xbc463) [0x7de0e216d7f3]
    [ 24.529] (EE) 14: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0x93972) [0x7de0e2144d02]
    [ 24.529] (EE) 15: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (__driDriverGetExtensions_d3d12+0x95c75) [0x7de0e2147005]
    [ 24.530] (EE) 16: /usr/lib/xorg/modules/libglamoregl.so (glamor_change_window_attributes+0x177) [0x7de0da39c317]
    [ 24.530] (EE) 17: /usr/lib/xorg/modules/libglamoregl.so (glamor_change_window_attributes+0x520) [0x7de0da39c6c0]
    [ 24.530] (EE) 18: /usr/lib/xorg/modules/libglamoregl.so (glamor_create_pixmap+0x27d) [0x7de0da3814ed]
    [ 24.530] (EE) unw_get_proc_name failed: no unwind info found [-10]
    [ 24.530] (EE) 19: /usr/lib/xorg/modules/drivers/radeon_drv.so (?+0x0) [0x7de0e4357da3]
    [ 24.530] (EE) 20: /usr/lib/xorg/Xorg (dixDestroyPixmap+0x11e) [0x562f12f5632e]
    [ 24.530] (EE) 21: /usr/lib/xorg/Xorg (SendErrorToClient+0x3d4) [0x562f12f5b354]
    [ 24.531] (EE) 22: /usr/lib/xorg/Xorg (InitFonts+0x3bc) [0x562f12f5f3bc]
    [ 24.531] (EE) 23: /lib/x86_64-linux-gnu/libc.so.6 (__libc_init_first+0x8a) [0x7de0e4f1c6ca]
    [ 24.531] (EE) 24: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x85) [0x7de0e4f1c785]
    [ 24.532] (EE) 25: /usr/lib/xorg/Xorg (_start+0x21) [0x562f12f48281]
    [ 24.532] (EE)
    [ 24.532] (EE) Segmentation fault at address 0x40
    [ 24.532] (EE)
    Fatal server error:
    [ 24.532] (EE) Caught signal 11 (Segmentation fault). Server aborting

    </pre>
    <p>Cheers,<br>
    </p>
    <p></p>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sven Joachim@21:1/5 to Sven Joachim on Wed Mar 13 18:50:01 2024
    Control: forwarded -1 https://gitlab.freedesktop.org/mesa/mesa/-/issues/10613

    On 2024-02-17 18:53 +0100, Sven Joachim wrote:

    Control: severity -1 grave

    On 2024-02-17 13:35 +0100, Lorenzo Beretta wrote:

    Package: libgl1-mesa-dri
    Version: 24.0.1-1
    Severity: important

    Dear Maintainer,

    after the latest upgrade it's impossible for me to run a display manager
    or startx any window manager; after at most a few seconds / keypresses /
    mouse movements the screen freezes, completely unresponsive to anything
    other than the power button; the log below suggests a null pointer.

    Running "sleep 30; killall -u lorenzo" as root before startx returns me
    to a tty.

    Reverting to the previous version everything works.

    I'm running this on a debian derivative, devuan; afaik it shouldn't make
    a difference, as the package is unmodified from debian - I don't know
    how to verify that other than by installing debian in some partition,
    can one start some window manager from a debian chroot/whatever?

    If it's ok in debian or you need any more info please do let me know.

    I can reproduce that on my laptop which runs pure Debian, and at least
    one other user seems to have the same problem.

    VGA-compatible devices on PCI bus:
    ----------------------------------
    01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
    [AMD/ATI] Oland [Radeon HD 8570 / R5 430 OEM / R7 240/340 / Radeon 520
    OEM] [1002:6611]

    I have the following graphics hardware:

    ,----
    | 00:01.0 VGA compatible controller [0300]: Advanced Micro Devices,
    | Inc. [AMD/ATI] Mullins [Radeon R3 Graphics] [1002:985\ 0] (rev 40)
    `----

    This is also using the radeonsi driver, and the symptoms and the
    backtrace are the same as yours.

    Bumping severity to keep this mesa version out of testing, but I will
    not be able to investigate the problem because I need the machine and
    have already downgraded all packages from src:mesa. There does not seem
    to be an upstream report yet.

    Looks like there is one now and it even has a patch which seems to have
    been applied in Archlinux and Ubuntu, but not committed upstream. :-(

    Cheers,
    Sven

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)