Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277273 - x11-drivers/xf86-video-sis{771,671} - New driver for PCIE cards
Summary: x11-drivers/xf86-video-sis{771,671} - New driver for PCIE cards
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Gentoo X packagers
URL: http://en.gentoo-wiki.com/wiki/Fujits...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-10 04:26 UTC by mimosinnet
Modified: 2009-08-17 13:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mimosinnet 2009-07-10 04:26:05 UTC
The driver in the x11-drivers/xf86-video-sis ebuild does not work with the SiS 771/671 graphics card. There is a debian package (xorg-driver-sis671_0.9_i386.deb) that works with the card and xorg 1.5. I wonder if it would be possible to port the debian package into a gentoo ebuild.

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-07-19 10:07:54 UTC
Don't touch "Severity" field, thanks. A new driver is clearly a enchancement instead of major since nothing in portage is broken.
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2009-07-20 15:27:52 UTC
1) is there a new release that works for you?
2) is the debian code in FreeDesktop?
3) could you try making a -9999 ebuild like those we have in the x11 overlay for xf86-video-sis ?

Thanks
Comment 3 mimosinnet 2009-08-17 12:09:46 UTC
Thanks very much for the comments and sorry for not giving enough information.

(In reply to comment #2)
> 1) is there a new release that works for you?

Not that I know. 

> 2) is the debian code in FreeDesktop?

There is this web page with information about the sis drivers:
http://ncc-1701a.homelinux.net/~linux-sis/index.php?id=FrontPage

This is the summary of the available open source drivers:
http://ncc-1701a.homelinux.net/~linux-sis/index.php?page=OpenSourceDrivers
and the debian package is under "Winischhofer resurected"

This is the link to the debian package:
http://launchpadlibrarian.net/24820246/xorg-driver-sis671_0.9.tar.gz

> 3) could you try making a -9999 ebuild like those we have in the x11 overlay
> for xf86-video-sis ?

I have been unable to find the xf86-video-sis ebuild. I have started to read the Gentoo Ebuild-Howto. 

In the meantime, this is what I do to get the driver working:

1.  Get the debian package from http://launchpadlibrarian.net/24820246/xorg-driver-sis671_0.9.tar.gz
   
2. Extract the files from the debian package in the current directory 
dpkg -x xorg-driver-sis671_0.9_i386.deb .

3. Copy sis671_drv.so into /usr/lib/xorg/modules/drivers/ 

4. Add the following options in xorg.conf 

Section "ServerFlag"
	Option "IgnoreABI" "True"
EndSection
Section "Device"
	Driver      	"sis671"
EndSection

Thanks for your attention!
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-08-17 12:40:05 UTC
Wow, uhm, where to start :)

1) I won't add a binary driver to portage. I want to _reduce_ the maintenance burden of X, not make it grow.

2) Why is the source code only in a shoddy .dpkg and not a proper release tarball? That would make it easier to add it to portage.

3) In fact, why is this code not even in FreeDesktop's repos?

As it stands today, I cannot add that driver to portage. I can't even volunteer to proxy-maintain it, it's just too gross.

If somehow you find a proper tarball, we can discuss proxy-maintenance. If you get in touch with upstream, please do ask them why their code isn't either being merged with the Xorg sis driver or at least being hosted at fd.o.

Thanks
Comment 5 mimosinnet 2009-08-17 13:58:48 UTC
Thanks very much for the answer!

> If somehow you find a proper tarball, we can discuss proxy-maintenance. If you
> get in touch with upstream, please do ask them why their code isn't either
> being merged with the Xorg sis driver or at least being hosted at fd.o.

I will ask upstream and come with the answer. Thanks a lot!