Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 57076

Summary: Xorg-x11 6.7.0-r1 fails to start with SiS 300 graphics card
Product: Gentoo Linux Reporter: Stephen Davis <lithiumcloud>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: xorg.conf configuration file
Xorg log file for start with DRI and GLX modules included in config file
Xorg log file when DRI and GLX modules not included in config file
output of "emerge info"

Description Stephen Davis 2004-07-14 15:32:46 UTC
Following the steps in http://forums.gentoo.org/viewtopic.php?t=158911 I removed Xfree 4.3 and installed xorg-x11-6.7.0-r1. I upgraded all the config files, moved XF86Config to xorg.conf and changed the font paths to their new /usr/share/... location. Running startx fails, as the sis driver fails to load with "dlopen: /usr/X11R6/lib/modules/driver/sis_drv.so: undefined symbol: XAACopyROP", and then says "loader failed, 7". If the DRI and GLX modules are included in xorg.conf, they fail to load as well, with the only differences being the modules' names (surprise) and the symbols they fail to resolve, "__glXActiveScreens" for DRI and "__glDDXExtensionInfo" for GLX. All of the files in question are there, and are claimed by the CONTENTS of /var/db/pkg/x11-base/xorg-x11-6.7.0-r1/ to belong to Xorg. All of the symptoms are similar to bug 49180, though this seems to be a different issue - the failure is significantly earlier, and the problem seemd to be a conflict with the kernel framebuffer drivers, which I'm
not using. Removing the DRI and GLX modules from xorg.conf stops their problems, but the sis driver still fails to load. The VGA driver works, but 8-bit 640x480 is as bad as it sounds.

Reproducible: Always
Steps to Reproduce:
Use the xorg.conf provided
2.run startx
3.
Actual Results:  
Xorg fails to start.

Expected Results:  
Xorg starts and runs.

USE flags include video_cards_sis.
Comment 1 Stephen Davis 2004-07-14 15:34:47 UTC
Created attachment 35427 [details]
xorg.conf configuration file
Comment 2 Stephen Davis 2004-07-14 15:37:30 UTC
Created attachment 35429 [details]
Xorg log file for start with DRI and GLX modules included in config file
Comment 3 Stephen Davis 2004-07-14 15:38:29 UTC
Created attachment 35430 [details]
Xorg log file when DRI and GLX modules not included in config file
Comment 4 Stephen Davis 2004-07-14 17:09:40 UTC
Okay, at http://freedesktop.org/~xorg/X11R6.7.0/doc/SiS2.html#2 it looks like DRI shouldn't be working without sisfb support in the kernel, but startx still fails with DRI disabled. Besides, DRI worked in XFree 4.3 (though OpenGL acceleration didn't) so that doesn't help much. Knocking up a kernel module anyway, will post results.
Comment 5 Stephen Davis 2004-07-14 17:24:45 UTC
Using sisfb doesn't change anything
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2004-07-14 17:25:43 UTC
Please attach the output of `emerge info`.
Comment 7 Stephen Davis 2004-07-14 17:46:10 UTC
Created attachment 35437 [details]
output of "emerge info"
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2004-07-14 18:18:41 UTC
Drop pie from your USE flags and remerge.
Comment 9 Stephen Davis 2004-07-14 19:13:02 UTC
remerging... if this works I'll just mark it as a duplicate of 54210
Comment 10 Stephen Davis 2004-07-14 19:14:17 UTC
sorry, 47197.
Comment 11 Stephen Davis 2004-07-14 22:38:26 UTC
Yeah, it works now. Thanks Donnie.

*** This bug has been marked as a duplicate of 47197 ***
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2004-07-14 22:51:19 UTC
You might want to start an /etc/portage/package.use entry containing:
x11-base/xorg-x11 -pie

Then can bring it back for others, if you haven't.