The fbterm on 32bpp radeonfb looks like in the attched screenshot.
- fbterm-32bpp-radeon.png 6.16KB
Comment #1
Posted on Dec 15, 2008 by Happy HorseComment deleted
Comment #2
Posted on Dec 15, 2008 by Happy Horsefor 32bpp, try to replace line 454-456 of src/screen.cpp
color = (red >> (8 - vinfo.red.length) << vinfo.red.offset) | (green >> (8 - vinfo.green.length) << vinfo.green.offset) | (blue >> (8 - vinfo.blue.length) << vinfo.blue.offset);
with
color = ((red << 16) | (green << 8) | blue);
if you still get the same result, then try
color = ((red << 8) | (green << 16) | blue);
then color = (red | (green << 8) | (blue << 16)); ... and so on.
Comment #3
Posted on Dec 15, 2008 by Happy CamelATI cards use DIRECTCOLOR. Here is a patch based on mplayer's vo_fbdev2.c It works for me. I tested it on aty128fb and radeonfb.
- fbterm-directcolor.patch 2.31KB
Comment #4
Posted on Dec 17, 2008 by Happy HorseThanks for your patch!
I made a little change on it, please help me test it.
- directcolor.patch 2.68KB
Comment #5
Posted on Dec 29, 2008 by Happy Horse(No comment was entered for this change.)
Status: Verified
Labels:
Type-Defect
Priority-Medium