Bug#924540: xserver-xorg-video-radeon: undefined symbol: glamor_finish when AccelMethod is EXA and TearFree is on

2019-03-18 Thread Antonio Ospite
On Fri, 15 Mar 2019 12:54:19 +0100
Michel Dänzer  wrote:

> On 2019-03-13 11:28 p.m., Antonio Ospite wrote:
[...]
> > In particular, having both the settngs below in
> > /usr/share/X11/xorg.conf.d/10-radeon.conf makes Xorg fail to start when
> > using the xserver-xorg-video-radeon driver:
> > 
> > Option "AccelMethod" "EXA"
> > Option "TearFree" "on"
> > 
> > Anyway, removing these options fixes the issue for me.
> > 
> > Not sure if this is a regression [...]
> 
> It is, thanks for the report. Fixed by
> https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/commit/79bc0e054f37026377d54cac6cd8127d4aa9baca
> .
>

Great, thanks.

> That said, I recommend against forcing EXA, unless there's a good reason
> for it. glamor generally works better these days.
> 
> Also, FWIW, TearFree no longer needs to be enabled in xorg.conf but can
> be configured dynamically with xrandr. See the radeon manpage on TearFree.
> 

Yeah it was some stale config I had from the past when I was maybe
trying to solve some compatibility issue with some program, I don't
really remember.

I now removed those settings.

Ciao,
   Antonio

-- 
Antonio Ospite
https://ao2.it
https://twitter.com/ao2it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?



Bug#924540: xserver-xorg-video-radeon: undefined symbol: glamor_finish when AccelMethod is EXA and TearFree is on

2019-03-15 Thread Michel Dänzer
On 2019-03-13 11:28 p.m., Antonio Ospite wrote:
> Package: xserver-xorg-video-radeon
> Version: 1:19.0.0-1
> Severity: minor
> 
> Dear Maintainer,
> 
> when upgrading from 18.1.0-1 to 18.1.99+git20190207-1 (or 19.0.0-1) Xorg
> failed to start on my system with the following error in the logs:
> 
> mar 13 23:06:44 jcn /usr/lib/gdm3/gdm-x-session[12568]: /usr/lib/xorg/Xorg: 
> symbol lookup error: /usr/lib/xorg/modules/drivers/radeon_drv.so: undefined 
> symbol: glamor_finish
> 
> at first I worked around the problem by downgrading the package.
> 
> However upon further investigation it turned out I had some old custom
> config in /usr/share/X11/xorg.conf.d/ which breaks new versions of the
> driver.
> 
> In particular, having both the settngs below in
> /usr/share/X11/xorg.conf.d/10-radeon.conf makes Xorg fail to start when
> using the xserver-xorg-video-radeon driver:
> 
>   Option "AccelMethod" "EXA"
>   Option "TearFree" "on"
> 
> Anyway, removing these options fixes the issue for me.
> 
> Not sure if this is a regression [...]

It is, thanks for the report. Fixed by
https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/commit/79bc0e054f37026377d54cac6cd8127d4aa9baca
.

That said, I recommend against forcing EXA, unless there's a good reason
for it. glamor generally works better these days.

Also, FWIW, TearFree no longer needs to be enabled in xorg.conf but can
be configured dynamically with xrandr. See the radeon manpage on TearFree.


-- 
Earthling Michel Dänzer   |  https://www.amd.com
Libre software enthusiast | Mesa and X developer



Bug#924540: xserver-xorg-video-radeon: undefined symbol: glamor_finish when AccelMethod is EXA and TearFree is on

2019-03-14 Thread Antonio Ospite
Package: xserver-xorg-video-radeon
Version: 1:19.0.0-1
Severity: minor

Dear Maintainer,

when upgrading from 18.1.0-1 to 18.1.99+git20190207-1 (or 19.0.0-1) Xorg
failed to start on my system with the following error in the logs:

mar 13 23:06:44 jcn /usr/lib/gdm3/gdm-x-session[12568]: /usr/lib/xorg/Xorg: 
symbol lookup error: /usr/lib/xorg/modules/drivers/radeon_drv.so: undefined 
symbol: glamor_finish

at first I worked around the problem by downgrading the package.

However upon further investigation it turned out I had some old custom
config in /usr/share/X11/xorg.conf.d/ which breaks new versions of the
driver.

In particular, having both the settngs below in
/usr/share/X11/xorg.conf.d/10-radeon.conf makes Xorg fail to start when
using the xserver-xorg-video-radeon driver:

Option "AccelMethod" "EXA"
Option "TearFree" "on"

Anyway, removing these options fixes the issue for me.

Not sure if this is a regression or if the new behavior is intentional,
in the latter case maybe a note in NEWS.Debian.gz may be useful.

I posted the report to make the issue show up in search engines in case
someone else experience it.

Feel free to close or tell me if I should report it upstream if it is
not a Debian problem.

Thanks,
   Antonio

-- Package-specific info:
/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:
--
05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Redwood XT [Radeon HD 5670/5690/5730] [1002:68d8]

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

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

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

Kernel version (/proc/version):
---
Linux version 4.19.0-3-amd64 (debian-ker...@lists.debian.org) (gcc version 
8.2.0 (Debian 8.2.0-20)) #1 SMP Debian 4.19.20-1 (2019-02-11)

Xorg X server log files on system:
--
-rw-r--r-- 1 ao2  ao2  36673 Oct  6 23:39 /home/ao2/.local/share/xorg/Xorg.1.log
-rw-r--r-- 1 root root 11388 Jan 19 11:09 /var/log/Xorg.0.log
-rw-r--r-- 1 ao2  ao2  30147 Mar 13 23:10 /home/ao2/.local/share/xorg/Xorg.0.log

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

[  2676.376] (--) Log file renamed from 
"/home/ao2/.local/share/xorg/Xorg.pid-12980.log" to 
"/home/ao2/.local/share/xorg/Xorg.0.log"
[  2676.376] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[  2676.376] Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian
[  2676.376] Current Operating System: Linux jcn 4.19.0-3-amd64 #1 SMP Debian 
4.19.20-1 (2019-02-11) x86_64
[  2676.377] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.19.0-3-amd64 
root=UUID=1ebced63-a441-493f-a7b4-cd3cb55f5d3d ro quiet
[  2676.377] Build Date: 05 March 2019  08:11:12PM
[  2676.377] xorg-server 2:1.20.4-1 (https://www.debian.org/support) 
[  2676.377] Current version of pixman: 0.36.0
[  2676.377]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[  2676.377] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2676.377] (==) Log file: "/home/ao2/.local/share/xorg/Xorg.0.log", Time: Wed 
Mar 13 23:10:30 2019
[  2676.377] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2676.377] (==) No Layout section.  Using the first Screen section.
[  2676.377] (==) No screen section available. Using defaults.
[  2676.378] (**) |-->Screen "Default Screen Section" (0)
[  2676.378] (**) |   |-->Monitor ""
[  2676.378] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[  2676.378] (==) Automatically adding devices
[  2676.378] (==) Automatically enabling devices
[  2676.378] (==) Automatically adding GPU devices
[  2676.378] (==) Max clients allowed: 256, resource mask: 0x1f
[  2676.378] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  2676.378]Entry deleted from font path.
[  2676.378] (==) 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
[  2676.378] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2676.379] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[  2676.379] (II) Loader magic: 0x55ba42f3ce20
[  2676.379] (II) Module ABI versions:
[  2676.379]X.Org ANSI C Emulation: 0.4
[  2676.379]X.Org Video Driver: 24.0
[  2676.379]X.Org XInput