![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Hardware & Laptops Problems with hardware & laptops not being detected or supported during or after install. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
First Cup of Ubuntu
![]() Join Date: Oct 2007
Beans: 3
|
Need to recompile xorg SiS driver, but how?
I have Intel D201GLY2 motherboard which doesn't work well with native ubuntu drivers (7.10 nor 8.04alpha6). It is well known problem (vertical stripes across the screen, missing xv and 3d acceleration). All theese problems solve patched version of SiS xorg driver. I've downloaded patched version of SiS video driver from http://www.winischhofer.net/sis/sisp.tar.gz.
But it is for xorg 7.1. However it is know to work with 7.2 version too, it only need to disable version checking in this driver source. So I need to recompile this driver for my current xorg (Ubuntu 7.10). I uncomment all deb-src from sources list, but what to do now? I compile a lot, I'm experienced user, but not via apt-src so I need some quick start. I could download "some" xorg source from x.org, but God knows what it will do with ubuntu's xorg, so I preffer ubuntu-native solution. thanks. The reason why I need xorg source is that ./configure in that modified SiS driver said: Code:
checking for XORG... configure: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto ) were not met: No package 'xorg-server' found No package 'xproto' found No package 'fontsproto' found No package 'xf86dgaproto' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XORG_CFLAGS and XORG_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. |
|
|
|
|
#2 |
|
First Cup of Ubuntu
![]() Join Date: Mar 2008
Location: Bologna, Italy
Beans: 1
Ubuntu Studio 9.04 Jaunty Jackalope
|
Re: Need to recompile xorg SiS driver, but how?
I had your same problem. I managed to compile the driver after having installed:
x11proto-core-dev x11proto-fonts-dev x11proto-gl-dev x11proto-input-dev x11proto-randr-dev x11proto-render-dev x11proto-video-dev x11proto-xext-dev x11proto-xf86dga-dev x11proto-xf86dri-dev x11proto-xf86misc-dev x11proto-xinerama-dev mesa-common-lib I hava a SiS Mirage integrated video driver on a Foxconn n15235 motherboard with Ubuntu 8.04 alpha6. |
|
|
|
|
#3 |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2007
Beans: 17
|
Re: Need to recompile xorg SiS driver, but how?
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2007
Beans: 3
|
Re: Need to recompile xorg SiS driver, but how?
Patched source and binaries for D201GLY2 compiled for Hardy. Originals taken from here. 2D only. Capable of playing videos with included xorg.conf.
Binaries only for the interested. I know enough C only to make a sophisticated Hello World. I just forced some ifdef's that were not working well and replaced one deprecated constant called SecurityWriteAccess with DixWriteAccess. Binaries compiled and working in Hardy Heron beta. Place sis_drv.* in /usr/lib/xorg/modules/drivers and xorg.conf in /etc/X11. xorg.conf is configured for a generic 60hz 1024x768 CRT. Do a dpkg-reconfigure -phigh xserver-xorg if not good for you and after first boot, try to check available screen resolutions in System/Preferences. Important lines for video playback are Option "EnableSiSCtrl" "yes" Option "XvDefaultAdaptor" "Blitter" Remove not wanted screen resolutions and virtual desktop settings from xorg.conf to taste. Use included as sample. If successful, have a toast with some ! |
|
|
|
|
#5 |
|
A Carafe of Ubuntu
![]() Join Date: May 2006
Beans: 143
|
Wouldn't it be great, if someone could manage a binary package for 64bit Hardy as well? Would save a lot of hassle, and prevent ppl wasting time on one and the same task (inventing the wheel multiple times).
|
|
|
|
|
#6 |
|
A Carafe of Ubuntu
![]() Join Date: May 2006
Beans: 143
|
Re: Need to recompile xorg SiS driver, but how?
|
|
|
|
|
#7 | |
|
Spilled the Beans
![]() Join Date: Feb 2008
Beans: 13
Ubuntu 7.10 Gutsy Gibbon
|
Re: Need to recompile xorg SiS driver, but how?
Quote:
A binary was produced compiling the source from Intel, but it did not seem to work. |
|
|
|
|
|
#8 |
|
A Carafe of Ubuntu
![]() Join Date: May 2006
Beans: 143
|
Re: Need to recompile xorg SiS driver, but how?
Thanks to ottod, using the src-package from here it was no problem compiling the driver on Hardy amd64.
But now I am fiddling with the rebuild of the kernel to inlude the iMedia-patch for sis-agp, because without it, no AGP support. I already did it, and it was working great, but with my rebuilt kernel there seemed to be some modules missing (likt snd-intel8x0), although I took the .config from /boot. I think I open a new thread concerning this issue. |
|
|
|
|
#9 |
|
Spilled the Beans
![]() Join Date: Feb 2008
Beans: 13
Ubuntu 7.10 Gutsy Gibbon
|
Re: Need to recompile xorg SiS driver, but how?
Thanks Master One, I compiled the binary using the "ottod" modified source and things went like a breeze on Hardy 64bit running on an Intel d201gly2 motherboard.
After compilation, I manually moved the binary to /usr/lib/xorg/modules/drivers/ (not to the default /usr/local/lib/xorg/modules/drivers/ location). Not sure if it makes a difference, but I thought I'd better mention it. Thumbs up to ottod! ![]() |
|
|
|
|
#10 |
|
A Carafe of Ubuntu
![]() Join Date: May 2006
Beans: 143
|
Re: Need to recompile xorg SiS driver, but how?
No manual moving of files requires, just do it this way:
Code:
sudo apt-get purge xserver-xorg-video-sis ./configure --prefix=/usr make sudo make install With just the driver, but no patched kernel, you will find a line in /var/log/Xorg.0.log, that just says something like "No AGP found, aborting". With the patched kernel it finds AGP and says something about 32MB assigned to AGP or so. With normal use in Gnome, I could not see any real difference so far, that's why I would like to know, how to measure graphics performance with and without AGP support. Last edited by Master One; April 21st, 2008 at 03:35 PM.. |
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|