From: James L. <ja...@ak...> - 2006-08-10 21:39:32
|
OK... I got distracted for a little while. I'm still not done yet. But I have found another ATI card and it identifies itself as fb->Fix.visual == 3 (FB_VISUAL_PSEUDOCOLOR). So far, it seems to work the same as FB_VISUAL_DIRECTCOLOR. James. :o) ----- Original Message ----- From: "James Lehman" <ja...@ak...> To: <lin...@li...> Sent: Sunday, August 06, 2006 10:17 PM Subject: Re: [Linux-fbdev-users] FB_VISUAL_TRUECOLOR vs.FB_VISUAL_DIRECTCOLOR > I have a bit more work to do. I found that getting the color map right for > packed pixel mode, 565, was kind of tricky; as you had indicated. I also > realized that my code sort of relies on the fact that the color map is NOT > in use when the card is in bpp higher than 8. I use the color map to hold > shifted values from a palette bitmap file to get the colors onto the screen. > So I will have to rewrite that stuff; because with a direct color card, the > color map is always in use. I would love to send you a snapshot of my code. > It comes with a demo program that runs the video card through all sorts of > tests in every possible bpp. > > James. :o) > > > ----- Original Message ----- > From: "Antonino A. Daplas" <ad...@gm...> > To: <lin...@li...>; "James Lehman" > <ja...@ak...> > Sent: Sunday, August 06, 2006 7:42 PM > Subject: Re: [Linux-fbdev-users] FB_VISUAL_TRUECOLOR > vs.FB_VISUAL_DIRECTCOLOR > > > > James Lehman wrote: > > > I'm not so sure there is a bug in the kernel or the drivers, but I can > say > > > for sure that this code gets called. > > > > Then it's a bug. > > > > Can you try removing fb_set_cmap() in driver/video/fbmem.c:fb_set_var()? > > If that still does not work, can you point me to a test app? > > > > Just to clarify, is this the sequence, or something near this? > > > > ... > > ioctl(KD_GRAPHICS); > > ... > > ioctl(FBIOPUT_VSCREENINFO); > > > > ioctl(FBIOPUTCMAP); > > ... > > ioctl(KD_TEXT); > > ... > > > > Tony > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys -- and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Linux-fbdev-users mailing list > > Lin...@li... > > https://lists.sourceforge.net/lists/listinfo/linux-fbdev-users > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Linux-fbdev-users mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-fbdev-users > |