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

2024-03-15 Thread Timo Aaltonen

Sven Joachim kirjoitti 13.3.2024 klo 19.41:

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. :-(


Sorry, I noticed this bug right after uploading 24.0.2-1, which is why 
Ubuntu got the patch.. I'll include it in 24.0.3-1.



--
t



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

2024-03-13 Thread Sven Joachim
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



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

2024-03-05 Thread Václav Ovsík
I can confirm the problem on light system Fujitsu Futro S720
with Radeon HD 8280E (Kabini).

Downgrade mesa packages solved the problem
(
deb https://snapshot.debian.org/archive/debian/20240214T00Z/ sid main 
contrib non-free non-free-firmware
added to apt sources and then
aptitude -o Acquire::Check-Valid-Until=false
…
)

  Aptitude 0.8.13: log report
  Tue, Mar  5 2024 20:00:47 +0100
  
IMPORTANT: this log only lists intended actions; actions which fail
due to dpkg problems may not be completed.
  
  Will install 9 packages, and remove 0 packages.
  3869 kB of disk space will be freed
  
  [HOLD, DEPENDENCIES] libgtk2.0-common:amd64 2.24.33-3
  [HOLD, DEPENDENCIES] occt-misc:amd64 7.6.3+dfsg1-7
  [DOWNGRADE] libegl-mesa0:amd64 24.0.2-1 -> 23.3.5-1
  [DOWNGRADE] libgbm1:amd64 24.0.2-1 -> 23.3.5-1
  [DOWNGRADE] libgl1-mesa-dri:amd64 24.0.2-1 -> 23.3.5-1
  [DOWNGRADE] libglapi-mesa:amd64 24.0.2-1 -> 23.3.5-1
  [DOWNGRADE] libglx-mesa0:amd64 24.0.2-1 -> 23.3.5-1
  [DOWNGRADE] libxatracker2:amd64 24.0.2-1 -> 23.3.5-1
  [DOWNGRADE] mesa-va-drivers:amd64 24.0.2-1 -> 23.3.5-1
  [DOWNGRADE] mesa-vdpau-drivers:amd64 24.0.2-1 -> 23.3.5-1
  [DOWNGRADE] mesa-vulkan-drivers:amd64 24.0.2-1 -> 23.3.5-1
  

-- 
Zito
[   353.611] 
X.Org X Server 1.21.1.11
X Protocol Version 11, Revision 0
[   353.611] Current Operating System: Linux futro2 6.7.7-amd64 #1 SMP 
PREEMPT_DYNAMIC Debian 6.7.7-1 (2024-03-02) x86_64
[   353.611] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.7.7-amd64 
root=UUID=da2fd605-3371-4cba-b986-a2e2711eb69f ro
[   353.612] xorg-server 2:21.1.11-2 (https://www.debian.org/support) 
[   353.612] Current version of pixman: 0.42.2
[   353.612]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[   353.612] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   353.612] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar  5 19:51:19 
2024
[   353.613] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   353.613] (==) No Layout section.  Using the first Screen section.
[   353.613] (==) No screen section available. Using defaults.
[   353.613] (**) |-->Screen "Default Screen Section" (0)
[   353.613] (**) |   |-->Monitor ""
[   353.614] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[   353.614] (==) Automatically adding devices
[   353.614] (==) Automatically enabling devices
[   353.614] (==) Automatically adding GPU devices
[   353.614] (==) Automatically binding GPU devices
[   353.614] (==) Max clients allowed: 256, resource mask: 0x1f
[   353.614] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   353.614]Entry deleted from font path.
[   353.614] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[   353.614] (==) ModulePath set to "/usr/lib/xorg/modules"
[   353.614] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[   353.614] (II) Loader magic: 0x55cdf6a59f00
[   353.614] (II) Module ABI versions:
[   353.614]X.Org ANSI C Emulation: 0.4
[   353.614]X.Org Video Driver: 25.2
[   353.614]X.Org XInput driver : 24.4
[   353.614]X.Org Server Extension : 10.0
[   353.616] (++) using VT number 7

[   353.616] (II) systemd-logind: logind integration requires -keeptty and 
-keeptty was not provided, disabling logind integration
[   353.619] (II) xfree86: Adding drm device (/dev/dri/card0)
[   353.619] (II) Platform probe for 
/sys/devices/pci:00/:00:01.0/drm/card0
[   353.628] (--) PCI:*(0@0:1:0) 1002:9837:1734:1202 rev 0, Mem @ 
0xc000/268435456, 0xd000/8388608, 0xfeb0/262144, I/O @ 
0xf000/256, BIOS @ 0x/131072
[   353.628] (II) LoadModule: "glx"
[   353.628] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   353.631] (II) Module glx: vendor="X.Org Foundation"
[   353.631]compiled for 1.21.1.11, module version = 1.0.0
[   353.631]ABI class: X.Org Server Extension, version 10.0
[   353.631] (II) Applying OutputClass "Radeon" to /dev/dri/card0
[   353.631]loading driver: radeon
[   353.631] (==) Matched radeon as autoconfigured driver 0
[   353.631] (==) Matched ati as autoconfigured driver 1
[   353.631] (==) Matched modesetting as autoconfigured driver 2
[   353.631] (==) Matched fbdev as autoconfigured driver 3
[   353.631] (==) Matched vesa as autoconfigured driver 4
[   353.631] (==) Assigned the driver 

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

2024-03-01 Thread Julien Leproust
On Fri, 1 Mar 2024 12:48:32 +0100 Julien Leproust  
wrote:

> Hello,
>
> Same issue for me, same symptoms, I was using lightdm with autologin and
> a kodi session, but any other session triggers the same bug.

Additional info: I upgraded the mesa packages to the new 24.0.2-1 
version, same problem.


Upgrade: libglx-mesa0:amd64 (24.0.1-1, 24.0.2-1), libgbm1:amd64 
(24.0.1-1, 24.0.2-1), mesa-va-drivers:amd64 (24.0.1-1, 24.0.2-1), 
libgl1-mesa-dri:amd64 (24.0.1-1, 24.0.2-1), mesa-vulkan-drivers:amd64 
(24.0.1-1, 24.0.2-1), libglapi-mesa:amd64 (24.0.1-1, 24.0.2-1), 
libegl-mesa0:amd64 (24.0.1-1, 24.0.2-1), mesa-vdpau-drivers:amd64 
(24.0.1-1, 24.0.2-1)


Best regards,

--
Julien Leproust


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

2024-03-01 Thread Julien Leproust

Hello,

Same issue for me, same symptoms, I was using lightdm with autologin and 
a kodi session, but any other session triggers the same bug.


GPU: AMD A10-7800 Radeon R7 APU

Here is my stack from Xorg.0.log

[    38.969] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x14d) 
[0x561b023f0f9d]
[    38.969] (EE) 1: /lib/x86_64-linux-gnu/libc.so.6 (__sigaction+0x40) 
[0x7f0190abd510]
[    38.988] (EE) 2: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so 
(radeon_drm_winsys_create+0x275d) [0x7f018e1c586d]
[    38.988] (EE) 3: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so 
(radeon_drm_winsys_create+0x4841) [0x7f018e1c7951]
[    38.992] (EE) 4: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so 
(_ZNSt6vectorIjSaIjEE17_M_default_appendEm+0xa77e6) [0x7f018e6c9476]
[    38.992] (EE) 5: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so 
(_ZNSt6vectorIjSaIjEE17_M_default_appendEm+0xa7989) [0x7f018e6c9619]
[    38.993] (EE) 6: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so 
(radeon_drm_winsys_create+0x3aba) [0x7f018e1c6bca]
[    38.995] (EE) 7: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so 
(radeon_drm_winsys_create+0x137795) [0x7f018e2fa8a5]
[    38.996] (EE) 8: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so 
(radeon_drm_winsys_create+0x137b68) [0x7f018e2fac78]
[    38.996] (EE) 9: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so 
(radeon_drm_winsys_create+0x138387) [0x7f018e2fb497]
[    38.997] (EE) 10: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so 
(radeon_drm_winsys_create+0xb6dba) [0x7f018e279eca]
[    38.997] (EE) 11: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so 
(radeon_drm_winsys_create+0xb91b8) [0x7f018e27c2c8]
[    38.998] (EE) 12: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so 
(radeon_drm_winsys_create+0xbe181) [0x7f018e281291]
[    38.998] (EE) 13: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so 
(radeon_drm_winsys_create+0xf0208) [0x7f018e2b3318]
[    38.998] (EE) 14: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so 
(radeon_drm_winsys_create+0xf4aa9) [0x7f018e2b7bb9]
[    39.003] (EE) 15: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so 
(_ZNSt6vectorIjSaIjEE17_M_default_appendEm+0x1cc3e9) [0x7f018e7ee079]
[    39.003] (EE) 16: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so 
(_ZNSt6vectorIjSaIjEE17_M_default_appendEm+0x1d7ee3) [0x7f018e7f9b73]
[    39.009] (EE) 17: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so 
(__driDriverGetExtensions_d3d12+0x5c81c7) [0x7f018e079557]
[    39.010] (EE) 18: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so 
(__driDriverGetExtensions_d3d12+0x5c1016) [0x7f018e0723a6]
[    39.010] (EE) 19: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so 
(__driDriverGetExtensions_d3d12+0x5c19b8) [0x7f018e072d48]
[    39.011] (EE) 20: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so 
(__driDriverGetExtensions_d3d12+0x5c9b75) [0x7f018e07af05]
[    39.015] (EE) 21: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so 
(__driDriverGetExtensions_d3d12+0xb82c4) [0x7f018db69654]
[    39.015] (EE) 22: /usr/lib/xorg/modules/libglamoregl.so 
(glamor_destroy_pixmap+0x150) [0x7f0185d7acf0]

[    39.016] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    39.016] (EE) 23: /usr/lib/xorg/modules/drivers/radeon_drv.so 
(?+0x0) [0x7f018fe7fcdf]
[    39.016] (EE) 24: /usr/lib/xorg/Xorg (BlockHandler+0xad) 
[0x561b0227fe0d]
[    39.016] (EE) 25: /usr/lib/xorg/Xorg (WaitForSomething+0x153) 
[0x561b023ea703]
[    39.016] (EE) 26: /usr/lib/xorg/Xorg (SendErrorToClient+0x117) 
[0x561b0227b097]

[    39.016] (EE) 27: /usr/lib/xorg/Xorg (InitFonts+0x3bc) [0x561b0227f3bc]
[    39.017] (EE) 28: /lib/x86_64-linux-gnu/libc.so.6 
(__libc_init_first+0x8a) [0x7f0190aa86ca]
[    39.017] (EE) 29: /lib/x86_64-linux-gnu/libc.so.6 
(__libc_start_main+0x85) [0x7f0190aa8785]

[    39.017] (EE) 30: /usr/lib/xorg/Xorg (_start+0x21) [0x561b02268281]
[    39.017] (EE)
[    39.017] (EE) Segmentation fault at address 0x40

Best regards,

--
Julien Leproust


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

2024-02-24 Thread Guillaume Dupuy
On Mon, 19 Feb 2024 23:16:44 +0100 "Xavier G." 
 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,


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

2024-02-19 Thread Xavier G.
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]



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

2024-02-17 Thread Sven Joachim
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.

Cheers,
   Sven



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

2024-02-17 Thread Grégory Mounié

Package: libgl1-mesa-dri
Followup-For: Bug #1064123

Dear Maintainer,

Two others points:

1) Disabling "Accel" in X allows me  to use my graphical session (sddm/lxqt)
I create a file /etc/X11/xorg.conf.d/10-radeonenvrac.conf
with in it:

Section "Device"
 Identifier "radeaonenvrac"
 Driver "radeon"
 Option "Accel" "no"
EndSection

2) xdm works but is unable to start a session and fall back almost
immediatly to the login screen

-- Package-specific info:
glxinfo:

name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_context_flush_control, GLX_ARB_create_context,
GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile,
GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,
GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,
GLX_EXT_get_drawable_type, GLX_EXT_libglvnd, GLX_EXT_no_config_context,
GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_SGI_make_current_read
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_context_flush_control, GLX_ARB_create_context,
GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile,
GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample,
GLX_ATI_pixel_format_float, GLX_EXT_buffer_age,
GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,
GLX_EXT_import_context, GLX_EXT_no_config_context, GLX_EXT_swap_control,
GLX_EXT_swap_control_tear, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_INTEL_swap_event,
GLX_MESA_copy_sub_buffer, GLX_MESA_gl_interop, GLX_MESA_query_renderer,
GLX_MESA_swap_control, GLX_NV_float_buffer, GLX_OML_sync_control,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,
GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
GLX_ARB_context_flush_control, GLX_ARB_create_context,
GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile,
GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB,
GLX_ARB_get_proc_address, GLX_ARB_multisample,
GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,
GLX_EXT_no_config_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_MESA_query_renderer, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_make_current_read
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Mesa (0x)
Device: llvmpipe (LLVM 17.0.6, 256 bits) (0x)
Version: 24.0.1
Accelerated: no
Video memory: 7403MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 4.5
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 31 MB, largest block: 31 MB
VBO free aux. memory - total: 5219 MB, largest block: 5219 MB
Texture free memory - total: 31 MB, largest block: 31 MB
Texture free aux. memory - total: 5219 MB, largest block: 5219 MB
Renderbuffer free memory - total: 31 MB, largest block: 31 MB
Renderbuffer free aux. memory - total: 5219 MB, largest block: 5219 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 4293581724 MB
Total available memory: 4293589127 MB
Currently available dedicated video memory: 31 MB
OpenGL vendor string: Mesa
OpenGL renderer string: llvmpipe (LLVM 17.0.6, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 24.0.1-1
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
GL_3DFX_texture_compression_FXT1, GL_AMD_conservative_depth,
GL_AMD_draw_buffers_blend, GL_AMD_gpu_shader_int64,
GL_AMD_multi_draw_indirect, GL_AMD_pinned_memory,
GL_AMD_query_buffer_object, GL_AMD_seamless_cubemap_per_texture,
GL_AMD_shader_stencil_export, GL_AMD_shader_trinary_minmax,
GL_AMD_texture_texture4, GL_AMD_vertex_shader_layer,
GL_AMD_vertex_shader_viewport_index, GL_ANGLE_texture_compression_dxt3,
GL_ANGLE_texture_compression_dxt5, GL_ARB_ES2_compatibility,
GL_ARB_ES3_1_compatibility, GL_ARB_ES3_2_compatibility,
GL_ARB_ES3_compatibility, GL_ARB_arrays_of_arrays, GL_ARB_base_instance,
GL_ARB_blend_func_extended, GL_ARB_buffer_storage,
GL_ARB_clear_buffer_object, GL_ARB_clear_texture, GL_ARB_clip_control,
GL_ARB_compressed_texture_pixel_storage, GL_ARB_compute_shader,

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

2024-02-17 Thread Lorenzo Beretta
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.

-- Package-specific info:
glxinfo:

DISPLAY is not set.

/etc/X11/X does not exist.
/etc/X11/X is not a symlink.
/etc/X11/X is not executable.

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]

/etc/X11/xorg.conf does not exist.

Contents of /etc/X11/xorg.conf.d:
-
total 0

/etc/modprobe.d contains no KMS configuration files.

Kernel version (/proc/version):
---
Linux version 6.6.15-amd64 (debian-ker...@lists.debian.org) (gcc-13
(Debian 13.2.0-13) 13.2.0, GNU ld (GNU Binutils for Debian) 2.42) #1
SMP PREEMPT_DYNAMIC Debian 6.6.15-2 (2024-02-04)

Xorg X server log files on system:
--
-rw-r--r-- 1 lorenzo lorenzo 48300 Sep 19 15:56
/home/lorenzo/.local/share/xorg/Xorg.1.log
-rw-r--r-- 1 rootroot39672 Feb 16 20:09 /var/log/Xorg.0.log
-rw-r--r-- 1 lorenzo lorenzo 45226 Feb 17 12:58
/home/lorenzo/.local/share/xorg/Xorg.0.log

Contents of most recent Xorg X server log file
(/home/lorenzo/.local/share/xorg/Xorg.0.log):

[  2392.994]
X.Org X Server 1.21.1.10
X Protocol Version 11, Revision 0
[  2392.996] Current Operating System: Linux dudu 6.6.15-amd64 #1 SMP
PREEMPT_DYNAMIC Debian 6.6.15-2 (2024-02-04) x86_64
[  2392.996] Kernel command line:
BOOT_IMAGE=/boot/vmlinuz-6.6.15-amd64 root=/dev/mapper/dev1-root ro
quiet
[  2392.997] xorg-server 2:21.1.10-1devuan1
(https://www.devuan.org/os/community)
[  2392.998] Current version of pixman: 0.42.2
[  2392.999] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[  2392.999] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2393.002] (==) Log file:
"/home/lorenzo/.local/share/xorg/Xorg.0.log", Time: Sat Feb 17
12:58:09 2024
[  2393.003] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2393.003] (==) No Layout section.  Using the first Screen section.
[  2393.003] (==) No screen section available. Using defaults.
[  2393.003] (**) |-->Screen "Default Screen Section" (0)
[  2393.003] (**) |   |-->Monitor ""
[  2393.003] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[  2393.003] (==) Automatically adding devices
[  2393.003] (==) Automatically enabling devices
[  2393.003] (==) Automatically adding GPU devices
[  2393.003] (==) Automatically binding GPU devices
[  2393.003] (==) Max clients allowed: 256, resource mask: 0x1f
[  2393.003] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  2393.003] Entry deleted from font path.
[  2393.003] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  2393.003] Entry deleted from font path.
[  2393.003] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  2393.003] Entry deleted from font path.
[  2393.003] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  2393.003] Entry deleted from font path.
[  2393.003] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  2393.003] Entry deleted from font path.
[  2393.003] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[  2393.003] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2393.003] (II) The server relies on udev to provide the list of
input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[  2393.003] (II) Loader magic: 0x55d77bd08ea0
[  2393.003] (II) Module ABI versions:
[  2393.003] X.Org ANSI C Emulation: 0.4
[  2393.003] X.Org Video Driver: 25.2
[  2393.003] X.Org XInput driver : 24.4
[  2393.003] X.Org Server Extension : 10.0
[  2393.003] (++) using VT number 3

[  2393.003] (II) seatd_libseat init
[  2393.004] (II) [libseat/libseat.c:73] Seat opened