From: Svetoslav S. <sv...@gm...> - 2003-12-01 16:57:19
|
> On 1 Dec 03 at 17:02, Svetoslav Slavtchev wrote: > > > > is this a matroxfb bug ? > > Maybe. But I'd say that you broke fbdev API matroxfb expects. theoretically it should be mostly the same as in Linus tree > > > matroxfb: MTRR's turned on > > > matroxfb: 1024x768x16bpp (virtual: 1024x65536) > > > fbcon_startup: res: 1024x0-16 > > Like that you are somewhere truncating values to 16 bits?! Thus 65536 == 0 > in your arithmetic... And as matroxfb's code does > > if (var->yres_virtual > 32767) > var->yres_virtual = 32767; > > it is impossible for yres_virtual to ever become 65536... Besides that > for 1024x65536/16bpp you need 128MB of videoram, and G550 can have only > 32MB. So you screwed something a lot. You should get > > matroxfb: Matrox G550 detected > matroxfb: MTRR's turned on > matroxfb: 1024x768x16bpp (virtual: 1024x8190) > matroxfb: framebuffer at 0xDA000000, mapped to 0xe0810000, size 33554432 > Console: switching to colour frame buffer device 128x48 > fb0: MATROX frame buffer device two questions 1.) is there a way to specify yres_virtual, i can not see such module option 2.) how should one adjust the mode for head2, matroxfb_crtc2 has only a "mem" option > > I'd say that if you want support from me, you should use my code... > I have no idea what you are doing in your tree, but you are apparently > doing wrong things... just asking :( i'm not a kernel programmer, and i'm not familiar with the fb /console internals if i was i would try to merge your driver, but i'm not so ... and as said your driver makes deep changes to the FB API, which IMHO are incompatible with ruby i know i can not ask for support at least until 2.7 is open and ruby merged into it, and even then may be you'll keep your driver out of tree which will complicate support questions may be just asking for pointers whats going wrong, so Aivils or James can fix it best, svetljo -- Neu bei GMX: Preissenkung für MMS-Versand und FreeMMS! Ideal für alle, die gerne MMS verschicken: 25 FreeMMS/Monat mit GMX TopMail. http://www.gmx.net/de/cgi/produktemail +++ GMX - die erste Adresse für Mail, Message, More! +++ |