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?
Possibly. I don't have any Sparc boxes to test it, though.
Some more info, like exact kernel version, would be interesting since it's more likely a fbdev issue than links...
kernel 2.6.15-rc5 The rest of the colors work fine, console, boot penguins, and even ran X in fbdev mode.
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.
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
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?