Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118619 - links2 has wrong colors using fbcon and 16bpp on Sparc
Summary: links2 has wrong colors using fbcon and 16bpp on Sparc
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc64 Linux
: High normal (vote)
Assignee: Marcelo Goes (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-10 21:02 UTC by Evan Langlois
Modified: 2006-07-22 13:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evan Langlois 2006-01-10 21:02:39 UTC
Running links-2.1_pre20 on a Sun E450 with a Matrox PCI graphics card and the matrox frame buffer driver.  The colors are all wrong with links when using 16bpp (my default boot mode), however its fine if I switch to 8 or 24 bpp.  I've not tried with DirectFB (doesn't compile on Sparc).  I'm guessing its a endian issue?
Comment 1 Marcelo Goes (RETIRED) gentoo-dev 2006-01-11 10:49:10 UTC
Possibly. I don't have any Sparc boxes to test it, though.
Comment 2 Gustavo Zacarias (RETIRED) gentoo-dev 2006-01-11 10:56:24 UTC
Some more info, like exact kernel version, would be interesting since it's more likely a fbdev issue than links...
Comment 3 Evan Langlois 2006-01-12 17:27:52 UTC
kernel 2.6.15-rc5
The rest of the colors work fine, console, boot penguins, and even ran X in fbdev mode.
Comment 4 Gustavo Zacarias (RETIRED) gentoo-dev 2006-01-12 17:36:11 UTC
Good, two more questions.
1- Did you pass any paremeter to the fb on boot? As in video=matroxfb:1024x768-16@75 or so to select some specific color depth on boot (with respect to the fb logo).
2- What kind of matrox is it? (i have a G200 around and could test some).
Thanks.
Comment 5 Evan Langlois 2006-01-12 18:00:02 UTC
Actually, the stuff being passed is rather long.  Some of it is redundant (like "init" since that should happen automatically), and the rest is because the defaults didn't look right on this monitor.

video=matroxfb:init,xres:1024,yres:768,depth:16,fv:60,pixclock:14548,
left:272,right:68,upper:27,lower:3,hslen:68,vslen:2

Newline added for readability. And the kernel is vanilla BTW if that helps, and its a regular Matrox Millenium MGA 2064W rev 01, 8MB, busid 0003:00:02.0.

And here's the fbset output for the mode its running in ..

mode "1024x768-60"
    # D: 68.733 MHz, H: 47.998 kHz, V: 59.998 Hz
    geometry 1024 768 1024 2048 16
    timings 14549 272 68 27 3 68 2
    accel true
    rgba 5/11,6/5,5/0,0/0
endmode
Comment 6 Marcelo Goes (RETIRED) gentoo-dev 2006-07-22 13:18:07 UTC
Like I said, I don't have any Sparc hardware, so there isn't much I can do... I'm sorry. Maybe upstream can be more useful?