Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Funny colors: red, blue interchanged [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
molson
n00b
n00b


Joined: 19 Jan 2005
Posts: 5

PostPosted: Wed Jan 19, 2005 4:31 pm    Post subject: Funny colors: red, blue interchanged [solved] Reply with quote

I almost miraculously managed get gentoo installed on an ibook G3 (500 Mhz) (thanks to all the posts to this forum). There's just one weird thing: in X, red and blue are interchanged, so all the colors look funny. Does anyone know what could be responsible for this? Should I bee looking at xorg.conf, or my kernel configuration? Thanks for any pointers.

Last edited by molson on Sun Jan 23, 2005 7:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
gentsquash
l33t
l33t


Joined: 03 Nov 2004
Posts: 753
Location: Still a Gentoo beginner.

PostPosted: Thu Jan 20, 2005 2:38 am    Post subject: Reply with quote

molson wrote:
...in X, red and blue are interchanged, so all
the colors look funny.


How do you know? Could the colors be funny for some other
reason? Do you have colors enabled in your terminals and, if so,
does the problem appear there?
_________________
Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida
Back to top
View user's profile Send private message
molson
n00b
n00b


Joined: 19 Jan 2005
Posts: 5

PostPosted: Thu Jan 20, 2005 9:11 am    Post subject: Reply with quote

In terminals the colors are fine. The way I could tell in X is that if I look at the color chooser in Gimp, for example, I see the letter R where the blue bar is, and B where the red one is. Green is OK, though.
Back to top
View user's profile Send private message
gentsquash
l33t
l33t


Joined: 03 Nov 2004
Posts: 753
Location: Still a Gentoo beginner.

PostPosted: Fri Jan 21, 2005 10:05 pm    Post subject: Reply with quote

To narrow down: Does it happen for all users? only root? Does it
happen with X running just its default window-manager TWM?
(I assume that you've ruled-out the problem being solely in Gimp.)
_________________
Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida
Back to top
View user's profile Send private message
molson
n00b
n00b


Joined: 19 Jan 2005
Posts: 5

PostPosted: Sun Jan 23, 2005 7:44 pm    Post subject: Solved! Reply with quote

I've finally solved the problem, and I'll explain what happened in case anybody else faces the same problem. When I first installed Xorg, I generated an initial xorg.conf file using the command

Code:
Xorg -configure


In this file, the video driver was detected

Code:

Identifier "Card0"
Driver "ati"
VendorName "ATI Technologies Inc"
...


Unfortunately, X wouldn't start. I was getting the error

Code:
(EE) R128(0): Cannot read V_BIOS (5)


Looking for a solution to this problem, I came across the suggestion of changing the driver to "fbdev". I did this and, lo and behold, I could start X! But then I noticed the problem about red and blue being interchanged.

Looking over xorg.conf again, I noticed that there is a driver option called "UseFBDev". I switched back to the "ati" driver and set this option to "true" and now everything works and I'm a happy camper.

So here again is the relevant section of xorg.conf:

Code:

Identifier       "Card0"
Driver           "ati"
VendorName "ATI Technologies Inc"
BoardName   "Rage Mobility M3 AGP 2x"
BusID           "PCI:0:16:0"
Option           "UseFBDev"
Back to top
View user's profile Send private message
gentsquash
l33t
l33t


Joined: 03 Nov 2004
Posts: 753
Location: Still a Gentoo beginner.

PostPosted: Mon Jan 24, 2005 6:29 pm    Post subject: Reply with quote

Thank you, molson, for giving a clear summing-up. Sometimes
people find a soln to their problem, but never post a detailed
solution. Yours is clear and concise. (What is the "FB" in
"FBDev", by the way?)
_________________
Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida
Back to top
View user's profile Send private message
jdv
n00b
n00b


Joined: 05 Apr 2003
Posts: 34
Location: Copenhagen, Denmark

PostPosted: Mon Jan 24, 2005 7:38 pm    Post subject: Reply with quote

gentsquash wrote:
(What is the "FB" in
"FBDev", by the way?)

FrameBuffer. :)
_________________
Your lucky number is 3552664958674928. Watch for it everywhere.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum