From: Antonino A. D. <ad...@gm...> - 2007-02-26 15:22:14
|
On Mon, 2007-02-26 at 15:47 +0100, DervishD wrote: > Hi all :) > > From time to time, the tdfxfb driver from 2.6.19.5 (sorry, I cannot > test in 2.6.20.x because it doesn't compile, the infamous BDF negative > offset problem) garbles the display, leaving only a lot of thin lines, > just like sync was lost. The display can be repaired by switching to > another console, but this is annoying. This happens with a Voodoo 3 > 3000, using 800x600x8@100 mode. > > Anyone has this problem? Can it be solved changing anything? > > Raúl Núñez de Arenas Coronado Try fbset -a -vyres 600 first and let us know of the result. Tony |
From: James S. <jsi...@in...> - 2007-02-26 15:24:45
|
> Hi all :) > > From time to time, the tdfxfb driver from 2.6.19.5 (sorry, I cannot > test in 2.6.20.x because it doesn't compile, the infamous BDF negative > offset problem) garbles the display, leaving only a lot of thin lines, > just like sync was lost. The display can be repaired by switching to > another console, but this is annoying. This happens with a Voodoo 3 > 3000, using 800x600x8@100 mode. > > Anyone has this problem? Can it be solved changing anything? Does not compile? Can you post the compile error. For my setup it does compile. |
From: DervishD <lk...@de...> - 2007-02-26 17:03:36
|
Hi James :) * James Simmons <jsi...@in...> dixit: > > From time to time, the tdfxfb driver from 2.6.19.5 (sorry, I cannot > > test in 2.6.20.x because it doesn't compile, the infamous BDF negative > > offset problem) garbles the display, leaving only a lot of thin lines, > > just like sync was lost. The display can be repaired by switching to > > another console, but this is annoying. This happens with a Voodoo 3 > > 3000, using 800x600x8@100 mode. > > > > Anyone has this problem? Can it be solved changing anything? > > Does not compile? Can you post the compile error. For my setup it does > compile. I think I didn't explain it well: the tdfxfb driver compiles, but the *kernel* doesn't. At link time the linker warns about a negative offset being used and building stops. The driver itself builds perfectly as far as I can tell. Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 | http://www.dervishd.net It's my PC and I'll cry if I want to... RAmen! |
From: DervishD <lk...@de...> - 2007-02-26 20:31:08
|
Hi Antonino :) * Antonino A. Daplas <ad...@gm...> dixit: > On Mon, 2007-02-26 at 18:13 +0100, DervishD wrote: > > > Try fbset -a -vyres 600 first and let us know of the result. > > > > After doing this, I no longer can garble the display (before, just a > > "ls -lR /" was enough to do it, in fact, any big output garbled the > > display). The only problem with this solution is that the scroll > > speed has decreased a bit. In fact, the scroll speed is affected by > > the vyres parameter a lot! The highter the vyres, the faster the > > scroll, and I cannot reproduce the problem anymore after changing it > > once! > > Display panning is what makes scrolling fast which is the default > scroll method if vyres > yres. Unfortunately, tdfxfb occasionally > have problems with this method, the higher the vyres, the greater the > likelihood of screen corruption. Then I'll try with 4096 and will diminish the number until the display is stable. > That's why tdfxb limits the vyres to a maximum of 4096. As to why the > problem disappeared just by changing this parameter, that I too don't > know. Probably setting it back to 4096 will make the problem reappear. Right now I cannot test, but I'll make some experiments. Thanks a lot! Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 | http://www.dervishd.net It's my PC and I'll cry if I want to... RAmen! |
From: DervishD <lk...@de...> - 2007-03-01 16:00:23
|
Hi Antonino :) * Antonino A. Daplas <ad...@gm...> dixit: > Can you try this patch? It might help with the screen corruption. With the patch, the scroll slows to a crawl and the system is unusable. The time to scroll 30 lines is about a minute or so (probably more, I just measured for a while). If you want me to test other patches, just tell :) Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 | http://www.dervishd.net It's my PC and I'll cry if I want to... RAmen! |
From: Antonino A. D. <ad...@gm...> - 2007-02-26 17:22:16
|
On Mon, 2007-02-26 at 18:13 +0100, DervishD wrote: > Hi Antonino :) > > * Antonino A. Daplas <ad...@gm...> dixit: > > On Mon, 2007-02-26 at 15:47 +0100, DervishD wrote: > > > From time to time, the tdfxfb driver from 2.6.19.5 (sorry, I cannot > > > test in 2.6.20.x because it doesn't compile, the infamous BDF negative > > > offset problem) garbles the display, leaving only a lot of thin lines, > > > just like sync was lost. The display can be repaired by switching to > > > another console, but this is annoying. This happens with a Voodoo 3 > > > 3000, using 800x600x8@100 mode. > > > > Try fbset -a -vyres 600 first and let us know of the result. > > After doing this, I no longer can garble the display (before, just a > "ls -lR /" was enough to do it, in fact, any big output garbled the > display). The only problem with this solution is that the scroll speed > has decreased a bit. In fact, the scroll speed is affected by the vyres > parameter a lot! The highter the vyres, the faster the scroll, and I > cannot reproduce the problem anymore after changing it once! Display panning is what makes scrolling fast which is the default scroll method if vyres > yres. Unfortunately, tdfxfb occasionally have problems with this method, the higher the vyres, the greater the likelihood of screen corruption. That's why tdfxb limits the vyres to a maximum of 4096. As to why the problem disappeared just by changing this parameter, that I too don't know. Tony |
From: DervishD <lk...@de...> - 2007-02-26 17:12:22
|
Hi Antonino :) * Antonino A. Daplas <ad...@gm...> dixit: > On Mon, 2007-02-26 at 15:47 +0100, DervishD wrote: > > From time to time, the tdfxfb driver from 2.6.19.5 (sorry, I cannot > > test in 2.6.20.x because it doesn't compile, the infamous BDF negative > > offset problem) garbles the display, leaving only a lot of thin lines, > > just like sync was lost. The display can be repaired by switching to > > another console, but this is annoying. This happens with a Voodoo 3 > > 3000, using 800x600x8@100 mode. > > Try fbset -a -vyres 600 first and let us know of the result. After doing this, I no longer can garble the display (before, just a "ls -lR /" was enough to do it, in fact, any big output garbled the display). The only problem with this solution is that the scroll speed has decreased a bit. In fact, the scroll speed is affected by the vyres parameter a lot! The highter the vyres, the faster the scroll, and I cannot reproduce the problem anymore after changing it once! I'm really confused :? Thanks a lot for the fix :) Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 | http://www.dervishd.net It's my PC and I'll cry if I want to... RAmen! |
From: Antonino A. D. <ad...@gm...> - 2007-02-27 23:07:06
Attachments:
tdfxfb_delay.diff
|
On Mon, 2007-02-26 at 21:32 +0100, DervishD wrote: > Hi Antonino :) > > * Antonino A. Daplas <ad...@gm...> dixit: > > On Mon, 2007-02-26 at 18:13 +0100, DervishD wrote: > > That's why tdfxb limits the vyres to a maximum of 4096. As to why the > > problem disappeared just by changing this parameter, that I too don't > > know. > > Probably setting it back to 4096 will make the problem reappear. > Right now I cannot test, but I'll make some experiments. > Can you try this patch? It might help with the screen corruption. Tony |
From: DervishD <lk...@de...> - 2007-02-28 10:48:21
|
Hi Antonino :) * Antonino A. Daplas <ad...@gm...> dixit: > On Mon, 2007-02-26 at 21:32 +0100, DervishD wrote: > > Probably setting it back to 4096 will make the problem reappear. > > Right now I cannot test, but I'll make some experiments. > > Can you try this patch? It might help with the screen corruption. I'm doing system maintenance now, and won't have spare time until friday, probably, but as soon as possible I'll test the patch. Thanks a lot for your invaluable help :) If you want me to test more patches, feel free. I'll test them ASAP, probably this weekend if I can afford the time. Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 | http://www.dervishd.net It's my PC and I'll cry if I want to... RAmen! |
From: Antonino A. D. <ad...@gm...> - 2007-03-06 01:31:56
|
On Thu, 2007-03-01 at 17:01 +0100, DervishD wrote: > Hi Antonino :) > > * Antonino A. Daplas <ad...@gm...> dixit: > > Can you try this patch? It might help with the screen corruption. > > With the patch, the scroll slows to a crawl and the system is > unusable. The time to scroll 30 lines is about a minute or so (probably > more, I just measured for a while). > > If you want me to test other patches, just tell :) Can you change the mdelay to udelay and use higher/lower delay values to see if there's any improvement? Tony |
From: DervishD <lk...@de...> - 2007-03-06 06:24:26
|
Hi Antonino :) * Antonino A. Daplas <ad...@gm...> dixit: > On Thu, 2007-03-01 at 17:01 +0100, DervishD wrote: > > * Antonino A. Daplas <ad...@gm...> dixit: > > > Can you try this patch? It might help with the screen > > > corruption. > > > > With the patch, the scroll slows to a crawl and the system is > > unusable. The time to scroll 30 lines is about a minute or so > > (probably more, I just measured for a while). > > > > If you want me to test other patches, just tell :) > > Can you change the mdelay to udelay and use higher/lower delay values > to see if there's any improvement? Yes, as soon as I can build a new kernel and reboot. Any suggested value? Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 | http://www.dervishd.net It's my PC and I'll cry if I want to... RAmen! |
From: Antonino A. D. <ad...@gm...> - 2007-03-06 06:52:40
Attachments:
unbind.sh
|
On Tue, 2007-03-06 at 07:25 +0100, DervishD wrote: > Hi Antonino :) > > * Antonino A. Daplas <ad...@gm...> dixit: > > On Thu, 2007-03-01 at 17:01 +0100, DervishD wrote: > > > * Antonino A. Daplas <ad...@gm...> dixit: > > > > Can you try this patch? It might help with the screen > > > > corruption. > > > > > > With the patch, the scroll slows to a crawl and the system is > > > unusable. The time to scroll 30 lines is about a minute or so > > > (probably more, I just measured for a while). > > > > > > If you want me to test other patches, just tell :) > > > > Can you change the mdelay to udelay and use higher/lower delay values > > to see if there's any improvement? > > Yes, as soon as I can build a new kernel and reboot. Any suggested > value? You can start with 5 and increment by 5. So you need not reboot each time, compile tdfxfb as a module, and set CONFIG_HW_CONSOLE_BINDING=y (under drivers->char). Make sure you have vbetool, and use the attached script. Thus: modprobe tdfxfb unbind.sh rmmod tdfxfb edit, make, make modules_install modprobe tdfxfb repeat The script assumes vbetool is in /usr/sbin, if not just edit. Also, unbinding will only work if X (or any graphics app, for that matter) is not loaded. Tony |
From: DervishD <lk...@de...> - 2007-03-06 11:15:58
|
Hi Antonino :) * Antonino A. Daplas <ad...@gm...> dixit: > On Tue, 2007-03-06 at 07:25 +0100, DervishD wrote: > > * Antonino A. Daplas <ad...@gm...> dixit: > > > On Thu, 2007-03-01 at 17:01 +0100, DervishD wrote: > > > > * Antonino A. Daplas <ad...@gm...> dixit: > > > > > Can you try this patch? It might help with the screen > > > > > corruption. > > > > > > > > With the patch, the scroll slows to a crawl and the system is > > > > unusable. The time to scroll 30 lines is about a minute or so > > > > (probably more, I just measured for a while). > > > > > > > > If you want me to test other patches, just tell :) > > > > > > Can you change the mdelay to udelay and use higher/lower delay values > > > to see if there's any improvement? > > > > Yes, as soon as I can build a new kernel and reboot. Any suggested > > value? > > You can start with 5 and increment by 5. So you need not reboot each > time, compile tdfxfb as a module, and set CONFIG_HW_CONSOLE_BINDING=y > (under drivers->char). I've done that for testing, but I haven't build that kernel yet (not spare time by now). > Make sure you have vbetool, and use the attached script. I don't have vbetool, but I'll get it. > The script assumes vbetool is in /usr/sbin, if not just edit. Also, > unbinding will only work if X (or any graphics app, for that matter) is > not loaded. No problem, it will be off while I test. I'll try to make the tests probably this friday or the weekend, as soon as I can. Thanks a lot for your interest :) Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 | http://www.dervishd.net It's my PC and I'll cry if I want to... RAmen! |
From: DervishD <lk...@de...> - 2007-03-07 10:01:49
|
Hi Antonino :) * Antonino A. Daplas <ad...@gm...> dixit: > On Tue, 2007-03-06 at 07:25 +0100, DervishD wrote: > > > > If you want me to test other patches, just tell :) > > > > > > Can you change the mdelay to udelay and use higher/lower delay values > > > to see if there's any improvement? Regarding the delay: I've discovered a weird thing. When the display is garbled, if I insist on outputting more text to the screen, sooner or later it de-garbles! In fact, once the display has been garbled (not easy to do, sometimes I can work for hours in a terminal before it gets garbled, I can't reproduce it always), a continous output makes it de-garble and garble again, in cycles. Looks like an off-by-one error rather than a speed/sync error, am I completely clueless? This happens with vanilla 2.6.19.5, not with the patched one, which I haven't been able to test yet (sorry...). Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 | http://www.dervishd.net It's my PC and I'll cry if I want to... RAmen! |
From: DervishD <lk...@de...> - 2007-03-14 09:05:39
|
Hi Antonino :) NEW INFORMATION ABOUT THE PROBLEM * Antonino A. Daplas <ad...@gm...> dixit: > On Tue, 2007-03-06 at 07:25 +0100, DervishD wrote: > > > > With the patch, the scroll slows to a crawl and the system is > > > > unusable. The time to scroll 30 lines is about a minute or so > > > > (probably more, I just measured for a while). > > > > > > > > If you want me to test other patches, just tell :) > > > > > > Can you change the mdelay to udelay and use higher/lower delay values > > > to see if there's any improvement? > > > > Yes, as soon as I can build a new kernel and reboot. Any suggested > > value? > > You can start with 5 and increment by 5. So you need not reboot each > time, compile tdfxfb as a module, and set CONFIG_HW_CONSOLE_BINDING=y > (under drivers->char). Until I discovered how to reproduce the bug, I had to reboot for each test. But I discovered the real problem... The garbling doesn't happen, no matter the udelay, until I start X. Once X is started, even with an udelay(100) (which for me makes the display untolerably slow) the problem happens. This doesn't happen in latest 2.4.x, but I remember that some characters "dissappeared" from the screen at some 2.4.x when X was running. That was a known bug in the X driver of this card, so I'm not sure if the last X.Org driver has this problem or not. Unfortunately, I cannot test this directly, the most I can do is to test under Ubuntu, which uses an older 2.6.x kernel. If this new discovery doesn't ring any bell for you, I'll make a test under Ubuntu and after that I'll just wait until I can upgrade X (which I cannot do now) to latest X.Org (I'm now using 7.0.22). Thanks for all your help. I'll keep you informed of any change I notice, and (although I won't be very fast doing it...) you can count on me to test any patch you want. Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 | http://www.dervishd.net It's my PC and I'll cry if I want to... RAmen! |