Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange X11 issue, Red and Blue switched
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
likwid
n00b
n00b


Joined: 07 Mar 2007
Posts: 40

PostPosted: Wed Mar 14, 2007 3:23 am    Post subject: Strange X11 issue, Red and Blue switched Reply with quote

Here's a problem I've never seen or heard of. My XVR-500 seemingly wasn't supported by any xorg drivers, and i've got about 30 Sun PGX64's around so I threw one in. Seemed to load fine, but I thought KDE looked a little... weird. I went to google and the google logo looked strange to me. Sure enough when I searched for images I figured it out. The color red appears as blue and vice versa. I am using the fbdev Xorg driver because the ati one wouldn't find any devices, even though the pgx is actually an ATI Rage XL. Someone please help, after days I almost have this system where I want it. I tried screwing with xgamma but that doesn't really do anything.
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Wed Mar 14, 2007 12:08 pm    Post subject: Reply with quote

I'd have expected the ati driver to have found the pgx64. If you don't get a useful response here, you can try asking how to configure a PGX64 on the #gentoo-sparc freenode IRC channel or check https://bugs.gentoo.org/show_bug.cgi?id=155982 or https://bugs.gentoo.org/show_bug.cgi?id=159343 to see if they look familiar. Unfortunately, I don't have a PGX64 so can't do any testing.

For fbdev, there are no open bugs, but problems like yours have been reported against it (e.g., https://bugs.gentoo.org/show_bug.cgi?id=50259 or https://bugs.gentoo.org/show_bug.cgi?id=50259). I suggest you do a bugzilla search for ALL fbdev and see if anything there looks familiar. Apparently, fbdev driver is prone to problems like you are reporting.

For more or better information, I do suggest you try the #gentoo-sparc channel.
Back to top
View user's profile Send private message
tiketti
n00b
n00b


Joined: 29 Apr 2003
Posts: 32
Location: Finland

PostPosted: Wed Mar 14, 2007 3:34 pm    Post subject: Reply with quote

Have your tried using 16bit color map instead of 24bit?

I think I saw same behaviour on some sparc system, can't recall anymore when and where but something rings my bells here... and I think that using 16bit colors was only way to get colors fixed.
_________________
Gentoo on x86, sparc, alpha, amd64, embedded
Back to top
View user's profile Send private message
likwid
n00b
n00b


Joined: 07 Mar 2007
Posts: 40

PostPosted: Fri Mar 16, 2007 1:18 am    Post subject: Reply with quote

Thank you for the suggestions, I'll give it a try. I filed a bug at freedesktop.org, but they want me on fbdev 0.3.1, which emerge claims is masked.
Back to top
View user's profile Send private message
likwid
n00b
n00b


Joined: 07 Mar 2007
Posts: 40

PostPosted: Mon Mar 19, 2007 4:42 am    Post subject: Reply with quote

16 bit fixed it.
Back to top
View user's profile Send private message
tiketti
n00b
n00b


Joined: 29 Apr 2003
Posts: 32
Location: Finland

PostPosted: Mon Mar 19, 2007 6:07 pm    Post subject: Reply with quote

Maybe I should boot up my Blade more often, the system I was refering earlier is actually my own :oops:

But anyway, emerging 0.3.1 seems to fix the color-mixing issue, atleast on my system which has PGX64 too.

You can emerge the driver by accepting ~sparc keyword.
_________________
Gentoo on x86, sparc, alpha, amd64, embedded
Back to top
View user's profile Send private message
likwid
n00b
n00b


Joined: 07 Mar 2007
Posts: 40

PostPosted: Wed Mar 21, 2007 3:06 am    Post subject: Reply with quote

How exactly do you accept ~sparc? I thought I tried that and it didn't work, maybe I did it wrong.
Back to top
View user's profile Send private message
tiketti
n00b
n00b


Joined: 29 Apr 2003
Posts: 32
Location: Finland

PostPosted: Wed Mar 21, 2007 6:15 am    Post subject: Reply with quote

ACCEPT_KEYWORDS="~sparc" emerge xf86-video-fbdev

That should do the trick.
_________________
Gentoo on x86, sparc, alpha, amd64, embedded
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Wed Mar 21, 2007 6:35 am    Post subject: Reply with quote

tiketti wrote:
ACCEPT_KEYWORDS="~sparc" emerge xf86-video-fbdev
That should do the trick.

You shouldn't specify ACCEPT_KEYWORDS on the command line, as portage won't remember it. Instead do this:
Code:
 #echo "x11-drivers/xf86-video-fbdev" >> /etc/portage/package.keywords

_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
tiketti
n00b
n00b


Joined: 29 Apr 2003
Posts: 32
Location: Finland

PostPosted: Wed Mar 21, 2007 11:42 am    Post subject: Reply with quote

mark_alec wrote:
You shouldn't specify ACCEPT_KEYWORDS on the command line, as portage won't remember it.


That is true for sure but when testing single keyworded ebuild I prefer command line keywording especially when there is no depencies to emerge along with the specified ebuild. After finding out if the keyworded ebuild suits my need or not, then I go for static keywording or revert back to older stable version.
_________________
Gentoo on x86, sparc, alpha, amd64, embedded
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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