You are not logged in.

#1 2014-08-16 19:56:14

frumble
Member
From: Germany
Registered: 2012-05-20
Posts: 162
Website

Need help with downgrading Mesa to 10.1.4 [SOLVED]

Hey, I experience this crash bug with my AMD Radeon HD 7770 since I switched from Catalyst to the free radeon driver yesterday. According to this discussion Mesa is to blame and the last reported version without the bug is 10.1.4.
I am on Linux 3.16.1 and xorg-server 1.16 [+Mesa 10.2.5-1]. So I wanted to roll back via the Arch Rollback Machine. The last day with the 10.1.4 versions was 06-08. I downloaded and installed:

mesa-10.1.4-1-x86_64.pkg.tar.xz
mesa-libgl-10.1.4-1-x86_64.pkg.tar.xz
ati-dri-10.1.4-1-x86_64.pkg.tar.xz

After the restart I got graphics with (I think) the radeon driver (even removed xf86-video-vesa to verify) but no OpenGL. No desktop effects in Kwin, no OMTC OpenGL layer accelleration in Firefox, XBMC said it wants an OpenGL driver and VLC couldn't connect to VDPAU. Is xorg-xserver somehow coupled with Mesa? I don't know. Any ideas?
By the way, even compiled mesa-git from AUR (10.3) but the crash bug persisted.

Last edited by frumble (2014-08-23 00:33:08)

Offline

#2 2014-08-17 02:39:13

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: Need help with downgrading Mesa to 10.1.4 [SOLVED]

Yes, the GLX extension in xorg-server links to mesa so that could be it. Another possibility is that libdrm-2.4.54 is needed for the older mesa package to work. Usually when DRI fails, there's something relevant in Xorg.0.log.

Last edited by ConnorBehan (2014-08-17 02:44:25)


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#3 2014-08-17 18:58:34

frumble
Member
From: Germany
Registered: 2012-05-20
Posts: 162
Website

Re: Need help with downgrading Mesa to 10.1.4 [SOLVED]

Thank you! I think "RADEON(0): glamor detected, failed to initialize EGL." is the line:

[    18.458] (II) [KMS] Kernel modesetting enabled.
[    18.458] (WW) Falling back to old probe method for vesa
[    18.458] (II) RADEON(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    18.458] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32
[    18.458] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[    18.458] (==) RADEON(0): Default visual is TrueColor
[    18.458] (==) RADEON(0): RGB weight 888
[    18.458] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
[    18.458] (--) RADEON(0): Chipset: "VERDE" (ChipID = 0x683d)
[    18.459] (II) Loading sub module "dri2"
[    18.459] (II) LoadModule: "dri2"
[    18.459] (II) Module "dri2" already built-in
[    18.459] (II) Loading sub module "glamoregl"
[    18.459] (II) LoadModule: "glamoregl"
[    18.459] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    18.459] (II) Module glamoregl: vendor="X.Org Foundation"
[    18.459] 	compiled for 1.15.0, module version = 0.6.0
[    18.459] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    18.459] (II) glamor: OpenGL accelerated X.org driver based.
[    18.463] couldn't get display device
[    18.463] (EE) RADEON(0): glamor detected, failed to initialize EGL.
[    18.463] (II) Loading sub module "shadow"
[    18.463] (II) LoadModule: "shadow"
[    18.463] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    18.464] (II) Module shadow: vendor="X.Org Foundation"
[    18.464] 	compiled for 1.15.1, module version = 1.1.0
[    18.464] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    18.464] (II) RADEON(0): KMS Color Tiling: disabled
[    18.464] (II) RADEON(0): KMS Color Tiling 2D: disabled
[    18.464] (II) RADEON(0): KMS Pageflipping: enabled
[    18.464] (II) RADEON(0): SwapBuffers wait for vsync: enabled
[    18.477] (II) RADEON(0): Output DisplayPort-0 has no monitor section
[    18.490] (II) RADEON(0): Output DisplayPort-1 has no monitor section
[    18.492] (II) RADEON(0): Output HDMI-0 has no monitor section
[    18.642] (II) RADEON(0): Output DVI-0 has no monitor section
[    18.653] (II) RADEON(0): EDID for output DisplayPort-0
[    18.666] (II) RADEON(0): EDID for output DisplayPort-1
[    18.669] (II) RADEON(0): EDID for output HDMI-0
[    18.818] (II) RADEON(0): EDID for output DVI-0
[    18.818] (II) RADEON(0): Manufacturer: WIT  Model: fa  Serial#: 0
[    18.818] (II) RADEON(0): Year: 2011  Week: 40
[    18.818] (II) RADEON(0): EDID Version: 1.3
[    18.818] (II) RADEON(0): Digital Display Input
[    18.818] (II) RADEON(0): DFP 1.x compatible TMDS
[    18.818] (II) RADEON(0): Max Image Size [cm]: horiz.: 60  vert.: 34
[    18.818] (II) RADEON(0): Gamma: 2.20
[    18.818] (II) RADEON(0): DPMS capabilities: Off
[    18.818] (II) RADEON(0): Supported color encodings: RGB 4:4:4 
[    18.818] (II) RADEON(0): First detailed timing is preferred mode
[    18.818] (II) RADEON(0): redX: 0.653 redY: 0.334   greenX: 0.300 greenY: 0.620
[    18.818] (II) RADEON(0): blueX: 0.146 blueY: 0.050   whiteX: 0.312 whiteY: 0.329
[    18.818] (II) RADEON(0): Manufacturer's mask: 0
[    18.818] (II) RADEON(0): Supported detailed timing:
[    18.818] (II) RADEON(0): clock: 241.5 MHz   Image Size:  597 x 336 mm
[    18.818] (II) RADEON(0): h_active: 2560  h_sync: 2608  h_sync_end 2640 h_blank_end 2720 h_border: 0
[    18.818] (II) RADEON(0): v_active: 1440  v_sync: 1443  v_sync_end 1448 v_blanking: 1481 v_border: 0
[    18.818] (II) RADEON(0): Monitor name: DVI
[    18.818] (II) RADEON(0): Monitor name: 
[    18.818] (II) RADEON(0): Monitor name: 
[    18.818] (II) RADEON(0): EDID (in hex):
[    18.818] (II) RADEON(0): 	00ffffffffffff005d34fa0000000000
[    18.818] (II) RADEON(0): 	28150103a53c2278226fb1a7554c9e25
[    18.818] (II) RADEON(0): 	0c505400000001010101010101010101
[    18.818] (II) RADEON(0): 	010101010101565e00a0a0a029503020
[    18.818] (II) RADEON(0): 	350055502100001a000000fc00445649
[    18.818] (II) RADEON(0): 	0a202020202020202020000000fc000a
[    18.818] (II) RADEON(0): 	202020202020202020202020000000fc
[    18.818] (II) RADEON(0): 	000a202020202020202020202020002b
[    18.818] (II) RADEON(0): Printing probed modes for output DVI-0
[    18.818] (II) RADEON(0): Modeline "2560x1440"x60.0  241.50  2560 2608 2640 2720  1440 1443 1448 1481 +hsync -vsync (88.8 kHz eP)
[    18.818] (II) RADEON(0): Output DisplayPort-0 disconnected
[    18.818] (II) RADEON(0): Output DisplayPort-1 disconnected
[    18.818] (II) RADEON(0): Output HDMI-0 disconnected
[    18.818] (II) RADEON(0): Output DVI-0 connected
[    18.818] (II) RADEON(0): Using exact sizes for initial modes
[    18.818] (II) RADEON(0): Output DVI-0 using initial mode 2560x1440
[    18.818] (II) RADEON(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[    18.818] (II) RADEON(0): mem size init: gart size :3fbde000 vram size: s:40000000 visible:3f1b0000
[    18.818] (II) RADEON(0): EXA: Driver will allow EXA pixmaps in VRAM
[    18.818] (==) RADEON(0): DPI set to (96, 96)
[    18.818] (II) Loading sub module "fb"
[    18.818] (II) LoadModule: "fb"
[    18.818] (II) Loading /usr/lib/xorg/modules/libfb.so
[    18.819] (II) Module fb: vendor="X.Org Foundation"
[    18.819] 	compiled for 1.15.1, module version = 1.0.0
[    18.819] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    18.819] (II) Loading sub module "ramdac"
[    18.819] (II) LoadModule: "ramdac"
[    18.819] (II) Module "ramdac" already built-in
[    18.819] (II) UnloadModule: "vesa"
[    18.819] (II) Unloading vesa
[    18.819] (--) Depth 24 pixmap format is 32 bpp
[    18.820] (II) RADEON(0): Front buffer size: 14400K
[    18.820] (II) RADEON(0): VRAM usage limit set to 917481K
[    18.821] (==) RADEON(0): Backing store enabled
[    18.821] (WW) RADEON(0): Direct rendering disabled
[    18.821] (II) RADEON(0): Acceleration disabled
[    18.821] (==) RADEON(0): DPMS enabled
[    18.821] (==) RADEON(0): Silken mouse enabled
[    18.821] (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    18.858] (--) RandR disabled
[    18.862] (II) AIGLX: Screen 0 is not DRI2 capable
[    18.862] (EE) AIGLX: reverting to software rendering
[    18.863] (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so failed (libLLVM-3.4.1.so: cannot open shared object file: No such file or directory)
[    18.863] (EE) GLX: could not load software renderer
[    18.863] (II) GLX: no usable GL providers found for screen 0
[    18.867] (II) RADEON(0): Setting screen physical size to 677 x 381
[    18.937] (II) config/udev: Adding input device Power Button (/dev/input/event7)

Full log

Downgraded to this xorg-server packages (+ Mesa 10.1.4 packages +):

glamor-egl-0.6.0-1-x86_64.pkg.tar.xz
libomxil-bellagio-0.9.3-1-x86_64.pkg.tar.xz
libtxc_dxtn-1.0.1-5-x86_64.pkg.tar.xz
xf86-input-evdev-2.9.0-1-x86_64.pkg.tar.xz
xf86-input-synaptics-1.8.0-1-x86_64.pkg.tar.xz
xf86-video-ati-1_7.3.0-1-x86_64.pkg.tar.xz
xf86-video-vesa-2.3.2-4-x86_64.pkg.tar.xz
xorg-server-1.15.1-1-x86_64.pkg.tar.xz
xorg-server-common-1.15.1-1-x86_64.pkg.tar.xz
xorg-server-utils-7.6-3-any.pkg.tar.xz

Tried to downgrade to libdrm-2.4.54-1-x86_64.pkg.tar.xz but still the same no-OpenGL issue.

Offline

#4 2014-08-17 19:37:48

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: Need help with downgrading Mesa to 10.1.4 [SOLVED]

After it falls back to software rendering, there's an llvm version mismatch. But yes, glamor failing to start is the main problem.

I'm not sure how to fix it, but another option is to recompile xorg-server-1.16.0 against mesa-10.1.4. If the build works, then you can uninstall glamor-egl to make X use the built-in glamor module that it now has. This has received a lot of bug fixes recently.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#5 2014-08-17 21:00:12

frumble
Member
From: Germany
Registered: 2012-05-20
Posts: 162
Website

Re: Need help with downgrading Mesa to 10.1.4 [SOLVED]

OK, recompiled xorg-server with the source files in here but still no OpenGL. How exactly do I compile it *against* the installed Mesa 10.1.4?

Last edited by frumble (2014-08-18 01:08:22)

Offline

#6 2014-08-17 23:10:40

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: Need help with downgrading Mesa to 10.1.4 [SOLVED]

Oh it's just an expression. If 10.1.4 is the mesa version on your system when you compile xorg-server, then you are "compiling against mesa-10.1.4".


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#7 2014-08-23 00:32:50

frumble
Member
From: Germany
Registered: 2012-05-20
Posts: 162
Website

Re: Need help with downgrading Mesa to 10.1.4 [SOLVED]

Hey, my system is running nearly crash free for three days now with Linux 3.17 RC1. The crashes were related to VLC and VDPAU and something got stuck but my system feels pretty stable now. For anyone experiencing this too: Compile linux-mainline from AUR and try for yourself.
(When you are at it, add "-march=native" to /etc/makepkg.conf for optimized compilation and you should tell it your real core number.)

Offline

Board footer

Powered by FluxBB