2004-06-16 09:16 AM
STPC framebuffer problems with linux
2004-06-16 09:16 AM
Anyone currently using the stpc frame buffer with a 2.4.x kernel?
I'm having some issues. I've merged it into a 2.4.24 kernel. Its a pretty simple merge but it won't compile until you add the gdk.a along with stpcfb.o in the video/drivers/makefile or linking breaks trying to find the gdk functions. However, it dosen't seem to want to work with an app written using SDL. I get a stream of ''Unsupported graphics mode'' messages. The same app works fine with framebuffers on other chips. It also works with the STPC using vesafb rather than stpcfb only _really_ slow. It dosen't seem to be totally broken though. I can use 'fbi' to display an image with stpcfb but the colors are all wrong. Looks like the color pallet is all munged but this is 16 and 24 bit color and there are no pallets I've also noticed that vga=792 (or 0318 from the vga=ask setting) will not take as a valid mode number. 792 is 1024x768x24. To actually get into this mode I had to do a vga=791 with a ''video=stpc:xres:1024,yres:768,depth:24'' command line. Anyone else have similiar experiences?