PDA

View Full Version : Cant get framebuffer working :(


rudolf randal
03-26-03, 09:09 AM
After finally getting my gf 4 ti 4200 working under rh 8 in X - Im trying to set up framebuffer support - but I just cant get it working.
I have made the rivafb module but when I try to insmod it I keep getting:
init_module: No such device

I do have the /dev/fb0 set up correctly (I hope!)
crw------- root root 29, 0 /date../ /dev/fb0

I havent been able to find any information about irq or io parameters

Any hints or links etc are very welcomed

Rudolf

bwkaz
03-26-03, 09:43 AM
You can't use rivafb if you're using the nVidia X drivers. They conflict, since they're two independent pieces of software trying to control the same hardware.

You can use the VESA VGA framebuffer driver, though, as the nVidia drivers have support for switching back and forth with VESA-compliant programs.

See the FAQ section of the README for one explanation why.

rudolf randal
03-26-03, 10:34 AM
Okay - and thx :)

But should'nt I be able to just shut down X - rmmod the nvidia.o and then insmod the rivafb ???

Rudolf

bwkaz
03-26-03, 11:30 AM
I'd think so... hmm.

It may be that your version of rivafb doesn't support the GF4 cards -- actually, looking at the rivafb code reinforces that. From linux/drivers/video/riva/riva_hw.h:

/*
* Define supported architectures.
*/
#define NV_ARCH_03 0x03
#define NV_ARCH_04 0x04
#define NV_ARCH_10 0x10
#define NV_ARCH_20 0x20 My guess is (and no, I don't know for sure) that these values are the NV numbers -- this driver supports NV20 and NV10, but not NV25 (the GF4 Ti's). Although if that's the case, then it shouldn't support NV15's (GF2's), either, and it does. Hmm.

Why not use vesa, though?