Summary: | x11-libs/glamor with media-libs/mesa VIDEO_CARDS="r600 radeon radeonsi" - X: segmentation fault in /usr/lib64/xorg/modules/libglamoregl.so (glamor_gl_dispatch_init+0x2d) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Mair-Keimberger (iamnr3) <mmk> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michael Mair-Keimberger (iamnr3)
2013-09-09 18:38:29 UTC
You can try to use glamor and xf86-video-ati from git. https://bugs.freedesktop.org/show_bug.cgi?id=57200 seems to have similar backtraces in some attachments. Installed xf86-video-ati and glamor from git: (II) [KMS] Kernel modesetting enabled. (II) [KMS] Kernel modesetting enabled. r600: Unknown chipset 0x6739 (EE) (EE) Backtrace: (EE) 0: /usr/bin/X (xorg_backtrace+0x36) [0x5867b6] (EE) 1: /usr/bin/X (0x400000+0x18a4e9) [0x58a4e9] (EE) 2: /lib64/libpthread.so.0 (0x7f51802f8000+0x10f30) [0x7f5180308f30] (EE) 3: /usr/lib64/dri/radeonsi_dri.so (radeon_drm_winsys_create+0x91) [0x7f517a1c1f31] (EE) 4: /usr/lib64/dri/radeonsi_dri.so (0x7f5179c70000+0x266349) [0x7f5179ed6349] (EE) 5: /usr/lib64/dri/radeonsi_dri.so (0x7f5179c70000+0x54d542) [0x7f517a1bd542] (EE) 6: /usr/lib64/dri/swrast_dri.so (0x7f5175920000+0x2229ac) [0x7f5175b429ac] (EE) 7: /usr/lib64/xorg/modules/extensions/libglx.so (0x7f517bf10000+0x3cd51) [0x7f517bf4cd51] (EE) 8: /usr/lib64/xorg/modules/extensions/libglx.so (0x7f517bf10000+0x3c30a) [0x7f517bf4c30a] (EE) 9: /usr/bin/X (InitExtensions+0x41) [0x4ac8c1] (EE) 10: /usr/bin/X (0x400000+0x29d5b) [0x429d5b] (EE) 11: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x7f517f16cc35] (EE) 12: /usr/bin/X (0x400000+0x2a2c1) [0x42a2c1] (EE) (EE) Segmentation fault at address 0x0 (EE) Fatal server error: (EE) Caught signal 11 (Segmentation fault). Server aborting (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. afterwards i've also enabled the "gles" useflag in glamor to see if this changes something: (II) [KMS] Kernel modesetting enabled. (II) [KMS] Kernel modesetting enabled. Failed to link: error: fragment shader lacks `main' (EE) Fatal server error: (EE) GLSL link failure (EE) (EE) Anything else i should try? Btw, thanks for your help :) Does your xorg.conf, or xorg.conf.d/*.conf contain Section "Module"? (In reply to Alexander Tsoy from comment #3) > Does your xorg.conf, or xorg.conf.d/*.conf contain Section "Module"? Nope, actually i don't have an xorg.conf nor xorg.conf.d/*.conf files. BTW, i've also tested latest glamor-0.5.1 today. However, still no luck. Same error than before. try build glamor without gles support USE=-gles (In reply to wojtek from comment #5) > try build glamor without gles support USE=-gles Ehh something went wrong with my comment. I had same issue with glamor. >(EE) 8: /usr/lib64/xorg/modules/extensions/libglx.so (0x7f517bf10000+0x3c30a) >[0x7f517bf4c30a] >(EE) 9: /usr/bin/X (InitExtensions+0x41) [0x4ac8c1] >(EE) 10: /usr/bin/X (0x400000+0x29d5b) [0x429d5b] >(EE) 11: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x7f517f16cc35] >(EE) 12: /usr/bin/X (0x400000+0x2a2c1) [0x42a2c1] >(EE) >(EE) Segmentation fault at address 0x0 >(EE) >Fatal server error: >(EE) Caught signal 11 (Segmentation fault). Server aborting I'm not expert but bt shows that xorg loads libglx. This causes Segmentation fault at least on my second APU machine. you must have in your xorg.conf to tell xorg that is shouldn't load glx Section "Module" Load "dri2" Load "glamoregl" #Load "glx" EndSection (In reply to wojtek from comment #6) > (In reply to wojtek from comment #5) > > try build glamor without gles support USE=-gles > > Ehh something went wrong with my comment. > > I had same issue with glamor. > >(EE) 8: /usr/lib64/xorg/modules/extensions/libglx.so (0x7f517bf10000+0x3c30a) >[0x7f517bf4c30a] > >(EE) 9: /usr/bin/X (InitExtensions+0x41) [0x4ac8c1] > >(EE) 10: /usr/bin/X (0x400000+0x29d5b) [0x429d5b] > >(EE) 11: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x7f517f16cc35] > >(EE) 12: /usr/bin/X (0x400000+0x2a2c1) [0x42a2c1] > >(EE) > >(EE) Segmentation fault at address 0x0 > >(EE) > >Fatal server error: > >(EE) Caught signal 11 (Segmentation fault). Server aborting > > I'm not expert but bt shows that xorg loads libglx. This causes Segmentation > fault at least on my second APU machine. > > you must have in your xorg.conf to tell xorg that is shouldn't load glx > Section "Module" > Load "dri2" > Load "glamoregl" > #Load "glx" > EndSection Sadly it doesn't work. However, i found an upstream bug [1] which looks like it's exactly the same issue. It's not yet fixed, but maybe they can fix the problem if i give them more information. BTW, it does work in my xen environment. I think it's because within xen my hd7970 is gonna hidden from the system (to be able to use it in xen). [1] https://bugs.freedesktop.org/show_bug.cgi?id=65938 I'm going to close this bug as i does work atm. Didn't had any problems for quite some time, guess it got fixed upstream... |