Summary: | media-libs/mesa-7.9 makes x11-wm/compiz-0.8.6-r3 segfault | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jordan <jordan.w.bradley> |
Component: | Current packages | Assignee: | Desktop-Effects herd <desktop-effects+disabled> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | floppym, x11 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Xorg log when compiz segfaults |
Description
Jordan
2010-12-24 22:44:12 UTC
Can you post your Xorg.0.log or whatever, and also a listing of the contents of /usr/lib64/dri and /usr/lib64/mesa Can you post your Xorg.0.log or whatever, and also a listing of the contents of /usr/lib64/dri and /usr/lib64/mesa please? Please provide a backtrace. Also make sure that mesa, xf86-video-intel and xorg-server were compiled against the same version of libdrm. (In reply to comment #1) > Can you post your Xorg.0.log or whatever Please see following attachment. (In reply to comment #1) and also a listing of the contents of > /usr/lib64/dri and /usr/lib64/mesa > #dir /usr/lib64/dri vboxvideo_dri.so #dir /usr/lib64/mesa dir: cannot access /usr/lib64/mesa: No such file or directory # (In reply to comment #3) > Please provide a backtrace. Also make sure that mesa, xf86-video-intel and > xorg-server were compiled against the same version of libdrm. > *Recompile x11-libs/libdrm-2.4.23* *restart* *recompile media-libs/mesa-7.9, x11-base/xorg-server-1.9.2.902, x11-drivers/xf86-video-intel-2.13.0, x11-wm/compiz-0.8.6-r3 (in that order)* *restart* compiz still segfaults. I followed the backtrace guide and whenever I have gdb start compiz, it makes xorg-server crash. Starting compiz via "compiz --replace" does not cause xorg-server to crash but compiz still segfaults. Created attachment 258144 [details]
Xorg log when compiz segfaults
[ 8.691] (EE) AIGLX error: dlopen of /usr/lib64/dri/i965_dri.so failed [ 8.691] (EE) AIGLX error: dlopen of /usr/lib64/dri/swrast_dri.so failed (/usr/lib64/dri/swrast_dri.so: cannot open shared object file: No such file or directory) Looks like you disabled some important part of mesa. What is the output of "emerge -pv mesa"? $ emerge -pv mesa These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-libs/mesa-7.8.2 USE="nptl xcb -debug (-gallium) -motif -pic (-selinux)" VIDEO_CARDS="intel -mach64 -mga -nouveau -r128 -radeon -savage -sis -svga -tdfx -via" 5,019 kB Total: 1 package (1 reinstall), Size of downloads: 5,019 kB Sorry, I should have asked more explicitly. Please give the emerge -pv output for mesa 7.9 (In reply to comment #8) > Sorry, I should have asked more explicitly. Please give the emerge -pv output > for mesa 7.9 > Oops, I should've realized that. $emerge -pv mesa These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] media-libs/mesa-7.9 [7.8.2] USE="nptl -classic% -debug -gallium -gles% -llvm% -motif -pic (-selinux) (-xcb%*)" VIDEO_CARDS="intel -mach64 -mga -nouveau -r128 -radeon -savage -sis -tdfx -via -vmware% (-svga%)" 5,546 kB Total: 1 package (1 upgrade), Size of downloads: 5,546 kB $ > USE="nptl -classic% -debug -gallium
You have disabled both classic and gallium. So you end up with no hardware drivers at all. For intel, you should enable at least classic.
Please reopen if the issue persists after building mesa with USE="classic"
I enabled the "classic" USE flag, upgraded to mesa-7.9 and rebooted. Gnome could not start up, I'd keep getting sent back to the gdm login screen. I could login using the "Failsafe Gnome" option. As a side note: I don't have compiz start automatically. Gnome starts metacity, then I have a startup script to start compiz: $ cat ~/.bin/compiz #!/bin/sh LIBGL_ALWAYS_INDIRECT=1 INTEL_BATCH=1 compiz --replace --indirect-rendering --sm-disable ccp& $ I got that line from gentoo-wiki.com on starting compiz with an intel graphics chip. Please be careful not to conflate two different issues in one bug. If your gnome session crashes, this is probably unrelated to compiz. |