Rob Kramer wrote:

Several months ago, Linux_FBDev20040311.zip appeared on the VIA developer site and I vaguely recall somebody mentioning that he was working on fixing it up in the same way 0.8x was fixed. (Adding FBIO_WAITFORVSYNC, etc).



That somebody would be me!

I am working on it now, but I am stuck.

When I install the viafb module, all I get is a bunch of rolling light grey crap, on a black background, on my TV. It looks like it could be a console, inside a blender.
My knowledge of VGA timings is limited, but if I were to guess, I would say that they are wrong...


Has anybody on this list succeeded in installing vias unichrome framebuffer driver? I could use some help, I think...

Thanks,
Andreas

This is what I do:

1. Download and unzip viafb from VIAarena.
(http://downloads.viaarena.com/drivers/video/LinuxUniChrome/Linux_FBDev20040311.zip)
2. Edit Makefile to disable module versioning
3. make all install
4. dos2unix /etc/fb.modes (or fbset complains later)


5. Compile trident framebuffer kernel module so that fbgen.o gets created
6. Install some functions that viafb needs:

cd /usr/src/linux/drivers/video
insmod fbcon-cfb8.o
insmod fbcon-cfb16.o
insmod fbcon-cfb32.o
insmod fbgen.o

7a. Install module:
modprobe viafb mode=800x600 refresh=60 TV_ON=1 tv_system=2 tv_level=0 tv_out_signal=1
7b. Notice flicker on TV


8. Check timings: fbset -i

mode "800x600-63"
   # D: 40.000 MHz, H: 39.062 kHz, V: 62.600 Hz
   geometry 800 600 800 600 32
   timings 25000 96 32 16 4 96 4
   rgba 8/16,8/8,8/0,0/0
endmode

Frame buffer device information:
   Name        : Via
   Address     : 0xd8000000
   Size        : 33554432
   Type        : PACKED PIXELS
   Visual      : TRUECOLOR
   XPanStep    : 0
   YPanStep    : 1
   YWrapStep   : 0
   LineLength  : 3200
   Accelerator : No

9. Bang head against desk.
10. Write e-mail to directfb-dev.





Reply via email to