FireBurn / Overlay

Gentoo Overly
GNU General Public License v3.0
21 stars 6 forks source link

xorg fails to find dri extensions for intel mesa driver #49

Closed Displacer closed 11 years ago

Displacer commented 11 years ago

Xorg.0.log:

1177.802 Loading sub module "dri2" 1177.802 LoadModule: "dri2" 1177.802 Module "dri2" already built-in 1177.802 Depth 24 pixmap format is 32 bpp 1177.802 intel(0): SNA initialized with Ivybridge (gen7, gt2) backend 1177.802 intel(0): Backing store disabled 1177.802 intel(0): Silken mouse enabled 1177.802 intel(0): HW Cursor enabled 1177.802 intel(0): RandR 1.2 enabled, ignore the following RandR disabled message. 1177.802 intel(0): DPMS enabled 1177.802 intel(0): [DRI2] Setup complete 1177.802 intel(0): [DRI2] DRI driver: i965 1177.802 intel(0): direct rendering: DRI2 Enabled 1177.802 intel(0): hotplug detection: "enabled" 1177.802 RandR disabled 1177.814 AIGLX error: i965 exports no extensions (/usr/lib64/dri/i965_dri.so: undefined symbol: __driDriverExtensions) 1177.814 AIGLX: reverting to software rendering 1177.814 AIGLX: Screen 0 is not DRI capable 1177.815 AIGLX error: swrast exports no extensions (/usr/lib64/dri/swrast_dri.so: undefined symbol: __driDriverExtensions) 1177.815 GLX: could not load software renderer 1177.815 GLX: no usable GL providers found for screen 0 1177.816 intel(0): switch to mode 1920x1080@60.0 on pipe 0 using eDP1, position (0, 0), rotation normal 1177.840 intel(0): Setting screen physical size to 508 x 285

eix -I media-libs/mesa nstalled versions: 9999-r51[1](17:56:18 04.11.2013)(classic egl gallium gbm gles1 gles2 llvm nptl osmesa xa xorg -bindist -debug -nine -opencl -openvg -pax_kernel -pic -r600-llvm-compiler -selinux -vdpau -wayland -xvmc ABI_MIPS="-n32 -n64 -o32" ABI_X86="32 64 -x32" KERNEL="-FreeBSD" VIDEO_CARDS="i965 intel -freedreno -i915 -ilo -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware")

FireBurn commented 11 years ago

What other packages are you using? Have you recently upgraded xorg-server? What about xf86-video-intel?

FireBurn commented 11 years ago

Turns out a patch is required for xorg-server

I've put an ebuild in my overlay that has the correct patch to make this all just work agian

Let me know how you get on

Displacer commented 11 years ago

Original issue seems now resolved, but now glxinfo produces segmentation fault. glxinfo-x86 and glxgears works fine.

FireBurn commented 11 years ago

That's strange its working fine for me

Have you rebuilt all the 9999 packages?

Also have you done a revdep-rebuild? On 5 Nov 2013 16:16, "Displacer" notifications@github.com wrote:

Original issue seems now resolved, but now glxinfo produces segmentation fault. glxinfo-x86 and glxgears works fine.

— Reply to this email directly or view it on GitHubhttps://github.com/FireBurn/Overlay/issues/49#issuecomment-27786692 .

Displacer commented 11 years ago

emerge @live-rebuild ; revdep-rebuild didn't help. glxinfo-32 shows strange results:

OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile x86/MMX/SSE2 OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.0.0-devel (git-1c76056) .... OpenGL version string: 2.1 Mesa 10.0.0-devel (git-1c76056) OpenGL shading language version string: 1.30

FireBurn commented 11 years ago

Ah you're on ivybridge. I'm on sandy bridge. It might be an issue upstream in all the new i965 code recently added On 5 Nov 2013 16:47, "Displacer" notifications@github.com wrote:

emerge @live-rebuild ; revdep-rebuild didn't help. glxinfo-32 shows strange results:

OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile x86/MMX/SSE2 OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.0.0-devel (git-1c76056) .... OpenGL version string: 2.1 Mesa 10.0.0-devel (git-1c76056) OpenGL shading language version string: 1.30

— Reply to this email directly or view it on GitHubhttps://github.com/FireBurn/Overlay/issues/49#issuecomment-27789817 .

Displacer commented 11 years ago

I have also updated to 3.12 kernel

FireBurn commented 11 years ago

I'm on 3.12 too

It might be worth submitting a bug up a team On 5 Nov 2013 16:49, "Displacer" notifications@github.com wrote:

I have also updated to 3.12 kernel

— Reply to this email directly or view it on GitHubhttps://github.com/FireBurn/Overlay/issues/49#issuecomment-27790006 .

Displacer commented 11 years ago

emerge -C mesa and build it again helped for segfault and versions issues. It seems this issue is fixed

FireBurn commented 11 years ago

Woo On 6 Nov 2013 18:32, "Displacer" notifications@github.com wrote:

emerge -C mesa and build it again helped for segfault and versions issues. It seems this issue is fixed

— Reply to this email directly or view it on GitHubhttps://github.com/FireBurn/Overlay/issues/49#issuecomment-27900160 .