View previous topic :: View next topic |
Author |
Message |
iMike Apprentice
Joined: 01 Apr 2005 Posts: 217 Location: Stockholm, Sweden
|
Posted: Thu Jan 05, 2006 12:17 am Post subject: Xorg.conf for SGI O2? [SOLVED] |
|
|
Can anyone tip me off as to a good Xorg.conf file for an O2, or a good configuration tool?
My system is an O2 running 2.6.14.4-mipsgit-20051030-ip32r5k (from LiveCD r5) now upgraded to gcc 3.4.4. I emerged xorg-x11 fine (-O2), but when I try something like Xorg -configure I get a ream of:
Code: |
Elf_RelocateEntry() Unsupported relocate type N
|
errors (where N is 2, 6, 9 11). Looking at Xorg.0.log, it would appear the error is related to Loading /usr/lib/modules/fonts/libbitmap.a. Well, that's the last statement before the errors begin, anyway.
Searching previous threads here, I take it that fbdev is the way to go, so I have something like
Code: |
Section "Device"
Identifier "Generic Video Card"
Driver "fbdev"
Option "UseFBDev" "true"
EndSection
|
in my config file. If I guess right, the "Monitor" section should have the
Code: |
Option "sync on green"
|
Is this barking up the right tree? Should I have built X with "-bitmap-fonts"? "-truetype-fonts"? or "-type1-fonts"? I'm unclear what part of the Xorg config "Files" section brings in bitmap fonts. I suppose some of the directories listed as "FontPath" point to .bdf fonts, but would commenting out these paths really stop X from loading libbitmap?
Thanks!
Last edited by iMike on Wed Jan 11, 2006 2:32 pm; edited 1 time in total |
|
Back to top |
|
|
Redhatter Retired Dev
Joined: 20 Sep 2003 Posts: 548 Location: Brisbane, QLD, Australia
|
Posted: Thu Jan 05, 2006 8:19 am Post subject: |
|
|
http://dev.gentoo.org/~geoman/Xstuff/ _________________ Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...
Gentoo/MIPS Cobalt developer, Mozilla herd member. |
|
Back to top |
|
|
iMike Apprentice
Joined: 01 Apr 2005 Posts: 217 Location: Stockholm, Sweden
|
Posted: Thu Jan 05, 2006 9:50 am Post subject: |
|
|
Thanks, Redhatter!
I'll give it a try when I get home. I'm not sure geoman's xorg.conf file will in itself solve the libbitmap problem, but it will get me a huge step forward in giving X a try on the O2. I will report back on it.
/iMike |
|
Back to top |
|
|
iMike Apprentice
Joined: 01 Apr 2005 Posts: 217 Location: Stockholm, Sweden
|
Posted: Thu Jan 05, 2006 6:36 pm Post subject: |
|
|
Unfortunately, using Geoman's xorg.conf file did not bring up X or get rid of the libbitmap errors.
The only other thought I have right now is that I do not have "Select compiled-in fonts" set in the Kernel (# CONFIG_FONTS is not set). However, according to help
Quote: | Say Y if you would like to use fonts other than the default your frame buffer console usually uses. |
That just doesn't strike me as saying I need to set it in order to get bitmap fonts. But what do I know? Hints, anyone?
/iMike |
|
Back to top |
|
|
iMike Apprentice
Joined: 01 Apr 2005 Posts: 217 Location: Stockholm, Sweden
|
Posted: Thu Jan 05, 2006 10:59 pm Post subject: |
|
|
After searching the forums, etc., the closest similar problem I found was https://forums.gentoo.org/viewtopic-t-256781-highlight-xorg+libbitmap+unresolved+relocation.html, and a couple of workarounds suggested by this is to use either:
Code: |
USE="dlloader" emerge xorg-x11
|
or
Code: |
USE="static" emerge xorg-x11
|
Is the real problem here that I was an ever-so-good boy and rebuilt system and world with gcc-3.4.4 (i.e., mips-unknown-linux-gnu-3.4.4 not hardened) which maybe uses a new "relocation format" as suggested by danorris in the above forum thread? Can anyone else who has gotten X going on an O2 under gcc-3.4.4 give me a clue?
/iMike |
|
Back to top |
|
|
iMike Apprentice
Joined: 01 Apr 2005 Posts: 217 Location: Stockholm, Sweden
|
Posted: Sat Jan 07, 2006 6:39 pm Post subject: |
|
|
Just by luck I happened to re-read the SGI-O2 installed, keyboard crashes sometimes[SOLVED] thread, wherein UltraHarry mentions that geoman told him to use the ddloader flag with xorg-x11 to fix his bug. I suspect he had the same problem as me, so I'm giving it a try now. |
|
Back to top |
|
|
iMike Apprentice
Joined: 01 Apr 2005 Posts: 217 Location: Stockholm, Sweden
|
Posted: Wed Jan 11, 2006 2:31 pm Post subject: |
|
|
Using dlloader worked. It seems to be running X, fluxbox, gdm fine now. No problems after a couple days of testing.
/iMike |
|
Back to top |
|
|
mattie01 n00b
Joined: 30 Nov 2005 Posts: 33
|
Posted: Mon Feb 20, 2006 11:54 am Post subject: |
|
|
i've just emerged xorg-x11 and i'm now getting the same errors as you was getting listed above, waht i was wondering is should i Code: | emerge unmerge xorg-x11 | then use the Code: | USE="dlloader" emerge xorg-x11
| or can i just run the USE="dlloader" emerge xorg-x11
with xorg-x11 already installed? |
|
Back to top |
|
|
Redhatter Retired Dev
Joined: 20 Sep 2003 Posts: 548 Location: Brisbane, QLD, Australia
|
Posted: Mon Feb 20, 2006 12:24 pm Post subject: |
|
|
Portage will automatically unmerge the old version anyways. You watch, it'll install the new version, then it will look for files left over from the old version, and remove them.
So the unmerge xorg-x11 is optional. _________________ Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...
Gentoo/MIPS Cobalt developer, Mozilla herd member. |
|
Back to top |
|
|
mattie01 n00b
Joined: 30 Nov 2005 Posts: 33
|
Posted: Mon Feb 20, 2006 2:02 pm Post subject: |
|
|
ok i just tried that and i get
Code: | previous xorg-x11 installation detected.
enabing PAM features in xorg-x11
see http://bugs.gentoo.org/show_bug.cgi?id=76936
the opengl USE flag currently requires the xv falg
x11-base/xorg-x11-6.8.2-r4 failed
function check_use_combos, line 424, exitcode 0
this is a known bug do not report it |
i checked out https://bugs.gentoo.org/show_bug.cgi?id=76936
and it seems to refer to "x86" so i dont want to just blindly add the xv statment to the emerge as it seems to refer to using openGL and i dont know if the o2 supports openGL... |
|
Back to top |
|
|
Redhatter Retired Dev
Joined: 20 Sep 2003 Posts: 548 Location: Brisbane, QLD, Australia
|
Posted: Mon Feb 20, 2006 2:10 pm Post subject: |
|
|
Linux doesn't support the OpenGL hardware on the O2... but that doesn't stop one from using software OpenGL.
The xv useflag referrs to the XVideo extension ... not required, but at the same time, harmless, and sometimes useful to have. _________________ Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...
Gentoo/MIPS Cobalt developer, Mozilla herd member. |
|
Back to top |
|
|
mattie01 n00b
Joined: 30 Nov 2005 Posts: 33
|
Posted: Mon Feb 20, 2006 2:14 pm Post subject: |
|
|
so would i use...
USE="ddloader opengl xv" emerge xorg-x11
or am i totally getting the wrong end of the stick...? |
|
Back to top |
|
|
Redhatter Retired Dev
Joined: 20 Sep 2003 Posts: 548 Location: Brisbane, QLD, Australia
|
Posted: Mon Feb 20, 2006 2:29 pm Post subject: |
|
|
Well, no, you'd use USE="dlloader opengl xv". Mind you, don't fall into the trap of just doing this on the command line ... USE flags should really be set in make.conf and/or /etc/portage/package.use.
The portage manpage is your best reference here. _________________ Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...
Gentoo/MIPS Cobalt developer, Mozilla herd member. |
|
Back to top |
|
|
mattie01 n00b
Joined: 30 Nov 2005 Posts: 33
|
Posted: Mon Feb 20, 2006 3:58 pm Post subject: |
|
|
ok cool thanks for the tips, i'lll add
to my make.conf file
thanks |
|
Back to top |
|
|
mattie01 n00b
Joined: 30 Nov 2005 Posts: 33
|
Posted: Mon Feb 20, 2006 4:18 pm Post subject: |
|
|
hehe, after all this i think i'm gonna remove xorg and try adn stick with command line, i have this naggign feelign that as soon as i can get x running that will be it and i'll go back to use point and clicking and will stop learning.
i've learned so much over the last couple of months by using the command line, that i would have never seen or known about if i was using a gui... |
|
Back to top |
|
|
Redhatter Retired Dev
Joined: 20 Sep 2003 Posts: 548 Location: Brisbane, QLD, Australia
|
Posted: Mon Feb 20, 2006 10:38 pm Post subject: |
|
|
Up to you really...
I've been using a command line the whole time I've been using computers (since DOS/Windows 3.11 days), but I still find a GUI useful. ASCII-art pr0n doesn't quite tickle my fancy.
Once you get to the point of having X installed though, I'd reccommend you stick to something light, XFCE or WindowMaker would be ideal choices if you want something that's easy-to-use and light... Fluxbox or FVWM for something a little more advanced. KDE will run, but don't expect it to be fast. (I have KDE 3.5.1 running on my O2, it's usable, but slow) _________________ Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...
Gentoo/MIPS Cobalt developer, Mozilla herd member. |
|
Back to top |
|
|
|