Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (24) </ ... 11 12 13 14 15 [16] 17 18 19 20 21 ... >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: A quick guide on compiling XOrg 7.0 on DSL, Downloading, configuring & running howto< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: July 02 2007,17:17 QUOTE

In order to compile xorg-7.2, I had to compile mesa-6.5.2 and yes, this compile produces i915_dri.so (19MB...), r300_dri.so, etc in /usr/lib/modules/dri.

The compile options for xorg required it to be given the location of the mesa source files but it did not appear to use these dri files and they are not included in my extension - my understanding is that mesa uses these drivers when it is run without xorg but I could easily be mistaken.

BTW, I am still trying to compile the i915 kernel module - I'm almost there with DSL-N but the common and i915 snapshots handily don't include a script that the install script requires. With DSL, it appears that the kernel needs to be recompiled with CONFIG_X86_CMPXCHG set in order for i915 to compile [sigh]
Back to top
Profile PM 
WDef Offline





Group: Members
Posts: 798
Joined: Sep. 2005
Posted: July 02 2007,20:05 QUOTE

Sorry,  I get it now - i915 and drm are both kernel modules that are included with 2.6.xx kernels beyond a certain version.  That's why I no longer have to compile the dri snapshots on fedora.

But not so with i915 for the 2.4.26 kernel.

While googling I found a 2005 post that said the old i915 driver from the Intel site worked on 2.4.xx kernels but the  freedesktop.org dri sources did not compile.  Perhaps there's an archive somewhere of old Intel dri driver sources?
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: July 03 2007,03:45 QUOTE

Quote
a 2005 post that said the old i915 driver from the Intel site worked on 2.4.xx kernels

I believe I saw that post - the problem is that xorg72 rejects the i915 kernel module in DSL-N/2.6.12 as being too old, so I believe the same thing would happen with the old Intel version on 2.4.26
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: July 03 2007,04:35 QUOTE

Trying to use Xorg -configure
Code Sample
/opt/xorg72/bin/Xorg: relocation error: /opt/xorg72/lib/xorg/modules/drivers//sunffb_drv.so: undefined symbol: xf86MatchSbusInstances
Do not do this without the following! (otherwise you will need to reboot or do something to reuse X)

Thread from http://lists.freedesktop.org/archives/xorg/2006-March/013454.html suggests that sun* stuff doesn't need to be built at all... but since you probably don't want to recompile, removing /opt/xorg72/lib/xorg/modules/drivers/sun* should be sufficient (there's also some config template stuff in .../lib/X11/config/sun* which should be safe to remove as well).  Saves a bit of space.

Now you can
Code Sample
# .../bin/Xorg -configure
# cp /root/xorg.conf.new /etc/X11/xorg.conf
The only problem was that /dev/input/mice was detected instead of /dev/psaux ... not a biggie, but perhaps in an autosetup script, we can check the mouse setting in the original .xserverrc

Also tried xorgcfg - won't run due to missing libxkbui.so.1 - this supposedly runs Xorg -configure, X, then tweaks it.  If certain libs aren't going to be included by default, perhaps removing the binaries that depend on them might save quite a bit of space.  Currently .../bin is almost 155M.

More info here: http://wiki.x.org/wiki/ConfigurationHelp.  Seems to suggest the use of xorgcfg or minimally X -configure.  Probably using xorgcfg will be the best though...
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: July 03 2007,06:01 QUOTE

I did not see the error about sunffb_drv.so when I tried -configure but I also got /dev/input/mice detected instead of /dev/psaux.

Like xorgconfig, I must have tried xorgcfg on the previous 187MB iteration of the extension because libxkbui.so.1 is present in that.

I believe my mistake was to go to http://wiki.x.org/wiki/ModuleDescriptions?highlight=%28xprint%29 and take out most stuff that wasn't "Core X11 runtime" without thinking hard enough about it.
Back to top
Profile PM 
118 replies since Nov. 28 2006,19:39 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (24) </ ... 11 12 13 14 15 [16] 17 18 19 20 21 ... >/
reply to topic new topic new poll
Quick Reply: A quick guide on compiling XOrg 7.0 on DSL

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code