ghosting with nvidia framebuffer (pci-e 6600), 1600x1200 and 12x22 font
I've bought myself a fine new s939 motherboard, which meant another videocard as well. Since I couldn't get an Ati X600 running reliably under X.org (#@#$*$ FIFO timed out errors are very frustrating, and the only solution I found was to shut down all acceleration, which didn't make me happy), I'm now running an Nvidia 6600.
Kernel command line: root=/dev/hda1 video=nvidiafb:1600x1200-32@85 atkbd.softrepeat=1
nvidiafb: nVidia device/chipset 10DE0141
nvidiafb: PCI device 10de:0141 (nVidia Corporation)
nvidiafb: CRTC0 found
nvidiafb: CRTC1 found
nvidiafb: CRTC 0 appears to have a CRT attached
nvidiafb: Using CRT on CRTC 0
nvidiafb: MTRR set to ON
Console: switching to colour frame buffer device 133x54
nvidiafb: PCI nVidia NV14 framebuffer (64MB @ 0xC0000000)
I'm running at 1600x1200 resolution with the 12x22 font, and a 2.6.13-rc1-mm1 kernel.
A strange effect is noticeable: often characters from the left of the screen are ghosted on the right of the screen. Not all of the pixels that form a character, but enough to be visible. To my best knowledge, the ghosting starts at column 85, and 85 * 12 = 1020, which may mean some sort of erroneous wrap-around at pixel 1024 is taking place?
I can reproduce this almost immediately by pressing <RETURN> on the last line of the screen, thus scrolling the screen up.
It also happens in other situations, but not often enough to be able to say what is necessary to reproduce it.
0000:01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0141 (rev a2) (prog-if 00 [VGA])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 0, Cache Line Size: 0x08 (32 bytes) Interrupt: pin A routed to IRQ 217 Region 0: Memory at d0000000 (32-bit, non-prefetchable) [size=64M] Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256M] Region 3: Memory at d4000000 (64-bit, non-prefetchable) [size=16M] Capabilities: [60] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- Capabilities: [68] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable- Address: 0000000000000000 Data: 0000 Capabilities: [78] #10 [0001]
Can you think of anything I can do to resolve this? Where do I start to look?
Thanks,
Jurriaan
Signature · 9 lines
We have engaged the Borg. The wedding will be Friday. Debian (Unstable) GNU/Linux 2.6.13-rc1-mm1 4427 bogomips load 0.06 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
From: jurriaan <[email protected]>
Date: Wed, Jul 06, 2005 at 09:04:56PM +0200
Quoted 6 lines
I've bought myself a fine new s939 motherboard, which meant another videocard as well. Since I couldn't get an Ati X600 running reliably under X.org (#@#$*$ FIFO timed out errors are very frustrating, and the only solution I found was to shut down all acceleration, which didn't make me happy), I'm now running an Nvidia 6600.
Quoted 9 lines
I'm running at 1600x1200 resolution with the 12x22 font, and a 2.6.13-rc1-mm1 kernel.
A strange effect is noticeable: often characters from the left of the screen are ghosted on the right of the screen. Not all of the pixels that form a character, but enough to be visible. To my best knowledge, the ghosting starts at column 85, and 85 * 12 = 1020, which may mean some sort of erroneous wrap-around at pixel 1024 is taking place?
Any others experiencing this? I cc'ed mr Daplas, the maintainer, and I haven't heard anything.....
Thanks,
Jurriaan
Signature · 10 lines
"From there to here, from here to there, funny things are everywhere."
Dr. Seuss
Debian (Unstable) GNU/Linux 2.6.13-rc2-mm1 5149 bogomips load 0.49
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=clickQuoted 19 lines · jurriaan
I've bought myself a fine new s939 motherboard, which meant another videocard as well. Since I couldn't get an Ati X600 running reliably under X.org (#@#$*$ FIFO timed out errors are very frustrating, and the only solution I found was to shut down all acceleration, which didn't make me happy), I'm now running an Nvidia 6600.
Kernel command line: root=/dev/hda1 video=nvidiafb:1600x1200-32@85 atkbd.softrepeat=1
nvidiafb: nVidia device/chipset 10DE0141
nvidiafb: PCI device 10de:0141 (nVidia Corporation)
nvidiafb: CRTC0 found
nvidiafb: CRTC1 found
nvidiafb: CRTC 0 appears to have a CRT attached
nvidiafb: Using CRT on CRTC 0
nvidiafb: MTRR set to ON
Console: switching to colour frame buffer device 133x54
nvidiafb: PCI nVidia NV14 framebuffer (64MB @0xC0000000)
Quoted 9 lines
I'm running at 1600x1200 resolution with the 12x22 font, and a 2.6.13-rc1-mm1 kernel.
A strange effect is noticeable: often characters from the left of the screen are ghosted on the right of the screen. Not all of the pixels that form a character, but enough to be visible. To my best knowledge, the ghosting starts at column 85, and 85 * 12 = 1020, which may mean some sort of erroneous wrap-around at pixel 1024 is taking place?
It looks like a timings problem. Are the effects still present if you try to change modes?
Based on the dmesg snippet, I don't think the driver was able to grab the edid. Which means that the mode 1600x1200 was taken from the default modedb which may not be correct for your hardware.
If you can, grab X's modeline using xvidtune, then convert it into a fb compatible modeline, enter it in /etc/fb.modes then use fbset to change your video mode.
Tony
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Quoted 17 lines · jurriaan
Quoted 16 lines
Kernel command line: root=/dev/hda1 video=nvidiafb:1600x1200-32@85 atkbd.softrepeat=1
nvidiafb: nVidia device/chipset 10DE0141
nvidiafb: PCI device 10de:0141 (nVidia Corporation)
nvidiafb: CRTC0 found
nvidiafb: CRTC1 found
nvidiafb: CRTC 0 appears to have a CRT attached
nvidiafb: Using CRT on CRTC 0
nvidiafb: MTRR set to ON
Console: switching to colour frame buffer device 133x54
nvidiafb: PCI nVidia NV14 framebuffer (64MB @0xC0000000)I'm running at 1600x1200 resolution with the 12x22 font, and a 2.6.13-rc1-mm1 kernel.
Quoted 8 lines
Quoted 6 lines
A strange effect is noticeable: often characters from the left of the screen are ghosted on the right of the screen. Not all of the pixels that form a character, but enough to be visible. To my best knowledge, the ghosting starts at column 85, and 85 * 12 = 1020, which may mean some sort of erroneous wrap-around at pixel 1024 is taking place?
It looks like a timings problem. Are the effects still present if you try to change modes?
I'll try that later tonight, when I'm home again.
However, whatever corruption is on screen, when I switch virtual consoles from tty1 to 2 and back (alt-f2 alt-f1), it disappears completely. Until I force the screen to scroll up by pressing return at the last line, then they reappear again.
If it was a timings problem, I wouldn't expect switching virtual consoles to remedy it, nor scrolling the screen up to reproduce it.
Quoted 4 lines
Based on the dmesg snippet, I don't think the driver was able to grab the edid. Which means that the mode 1600x1200 was taken from the default modedb which may not be correct for your hardware.
It's an Eizo F931 monitor, capable of running 1800x1440@85 without any trouble in X.org (where no corruption at all is evident, BTW). The monitor is connected through a Vista Rose KVM switch. IIRC, x.org did manage to get EDID info, I'll also post that log.
Quoted 6 lines
If you can, grab X's modeline using xvidtune, then convert it into a fb compatible modeline, enter it in
/etc/fb.modesthen use fbset to change your
video mode.
I'll try that and get back to you, but I'm not convinced it's timing. I seem to remember disabling all acceleration also fixed the corruption. I will also test that.
Todo:
1) change modes
2) x.org log wrt. EDID
3) noaccell
4) different fontsize
Thanks,
Jurriaan
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
From: Antonino A. Daplas <[email protected]>
Date: Fri, Jul 22, 2005 at 12:03:31PM +0800
Quoted 33 lines · jurriaan
Quoted 19 lines
I've bought myself a fine new s939 motherboard, which meant another videocard as well. Since I couldn't get an Ati X600 running reliably under X.org (#@#$*$ FIFO timed out errors are very frustrating, and the only solution I found was to shut down all acceleration, which didn't make me happy), I'm now running an Nvidia 6600.
Kernel command line: root=/dev/hda1 video=nvidiafb:1600x1200-32@85 atkbd.softrepeat=1
nvidiafb: nVidia device/chipset 10DE0141
nvidiafb: PCI device 10de:0141 (nVidia Corporation)
nvidiafb: CRTC0 found
nvidiafb: CRTC1 found
nvidiafb: CRTC 0 appears to have a CRT attached
nvidiafb: Using CRT on CRTC 0
nvidiafb: MTRR set to ON
Console: switching to colour frame buffer device 133x54
nvidiafb: PCI nVidia NV14 framebuffer (64MB @0xC0000000)Quoted 9 lines
I'm running at 1600x1200 resolution with the 12x22 font, and a 2.6.13-rc1-mm1 kernel.
A strange effect is noticeable: often characters from the left of the screen are ghosted on the right of the screen. Not all of the pixels that form a character, but enough to be visible. To my best knowledge, the ghosting starts at column 85, and 85 * 12 = 1020, which may mean some sort of erroneous wrap-around at pixel 1024 is taking place?
It looks like a timings problem. Are the effects still present if you try to change modes?
Quoted 8 lines
Based on the dmesg snippet, I don't think the driver was able to grab the edid. Which means that the mode 1600x1200 was taken from the default modedb which may not be correct for your hardware.
If you can, grab X's modeline using xvidtune, then convert it into a fb compatible modeline, enter it in
/etc/fb.modesthen use fbset to change your video mode.
First of all, I've discovered there's two types of corruption. There's the ghosting, and there's a spurious underlining at the end of lines.
For the ghosting, see
http://www.xs4all.nl/~thunder7/nvidia_ghosting1.jpg
http://www.xs4all.nl/~thunder7/nvidia_ghosting2.jpg
Especially in the second picture, see how pixels from the left half of the screen are repeated, starting at column 1024 (in pixels) on the right half of the screen.
For the underlining, see
http://www.xs4all.nl/~thunder7/nvidia_underline1.jpg
http://www.xs4all.nl/~thunder7/nvidia_underline2.jpg
In the first picture, check the second mail from the bottom, there's underlining below '.c' at the end. In the second picture, there's underlining at the end of rec.games.roguelike.adom, rec.games.roguelike.announce, rec.games.roguelike.development and rec.games.roguelike.misc.
Now my table:
resolution | fontsize | ghosting | underlining
------------------+----------+----------+------------
1600x1200-32 | 10x18 | X | X
1600x1200-32 | 12x22 | X | X 1600x1200-16 | 12x22 | - | X 1600x1200-8 | 12x22 | - | - 1600x1200-32 | 8x16 | X | X 1600x1200-16 | 8x16 | - | - 1600x1200-8 | 8x16 | - | -
1280x1024-32 | 12x22 | - | X 1280x1024-16 | 12x22 | - | X 1280x1024-8 | 12x22 | - | - 1280x1024-32 | 8x16 | - | X 1280x1024-16 | 8x16 | - | X 1280x1024-8 | 8x16 | - | -
My conclusion would be the ghosting only happens at 1600x1200-32, and the underling happens in more than 8-bit deep displays. And it has something to do with acceleration, if I boot like this, nothing is corrupted:
Bootdata ok (command line is root=/dev/md0 video=nvidiafb:1600x1200-32@85,noaccel atkbd.softrepeat=1) Linux version 2.6.13-rc3-mm1 (jurriaan@middle) (gcc version 4.0.1 (Debian 4.0.1-2)) #28 Fri Jul 22 15:23:32 CEST 2005
Here's a piece of X.org's log:
X Window System Version 6.8.2 (Debian 6.8.2.dfsg.1-3 20050719223829 Frederik Schüler <[email protected]>) Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.12-1-amd64-k8 x86_64 [ELF]
Current Operating System: Linux middle 2.6.13-rc3-mm1 #25 Fri Jul 22 13:52:51 CEST 2005 x86_64 Build Date: 20 July 2005
(II) Primary Device is: PCI 01:00:0
(--) Chipset GeForce 6600 found
(II) Setting vga for screen 0.
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/X11R6/lib/modules/linux/libint10.a
(II) NV(0): Initializing int10
(WW) NV(0): Bad V_BIOS checksum
(II) NV(0): Primary V_BIOS segment is: 0xc000
(--) NV(0): Chipset: "GeForce 6600"
(**) NV(0): Depth 24, (--) framebuffer bpp 32
(==) NV(0): RGB weight 888
(==) NV(0): Default visual is TrueColor
(II) LoadModule: "ddc"
(II) Reloading /usr/X11R6/lib/modules/libddc.a
(II) NV(0): I2C bus "DDC" initialized.
(II) NV(0): Probing for analog device on output A...
(--) NV(0): ...found one
(II) NV(0): Probing for analog device on output B...
(--) NV(0): ...found one
(II) NV(0): Probing for EDID on I2C bus A...
(II) NV(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) NV(0): I2C device "DDC:ddc2" removed.
(II) NV(0): ... none found
(II) NV(0): Probing for EDID on I2C bus B...
(II) NV(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) NV(0): I2C device "DDC:ddc2" removed.
(--) NV(0): DDC detected a CRT:
(II) NV(0): Manufacturer: ENC Model: 1630 Serial#: 1181904914
(II) NV(0): Year: 2002 Week: 4
(II) NV(0): EDID Version: 1.2
(II) NV(0): Analog Display Input, Input Voltage Level: 0.700/0.300 V
(II) NV(0): Sync: Separate Composite SyncOnGreen
(II) NV(0): Max H-Image Size [cm]: horiz.: 41 vert.: 30
(II) NV(0): Gamma: 1.80
(II) NV(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) NV(0): First detailed timing is preferred mode
(II) NV(0): redX: 0.625 redY: 0.340 greenX: 0.281 greenY: 0.602
(II) NV(0): blueX: 0.150 blueY: 0.065 whiteX: 0.283 whiteY: 0.297
(II) NV(0): Supported VESA Video Modes:
(II) NV(0): 720x400@70Hz
(II) NV(0): 720x400@88Hz
(II) NV(0): 640x480@60Hz
(II) NV(0): 640x480@67Hz
(II) NV(0): 640x480@72Hz
(II) NV(0): 640x480@75Hz
(II) NV(0): 800x600@56Hz
(II) NV(0): 800x600@60Hz
(II) NV(0): 800x600@72Hz
(II) NV(0): 800x600@75Hz
(II) NV(0): 832x624@75Hz
(II) NV(0): 1024x768@87Hz (interlaced)
(II) NV(0): 1024x768@60Hz
(II) NV(0): 1024x768@70Hz
(II) NV(0): 1024x768@75Hz
(II) NV(0): 1280x1024@75Hz
(II) NV(0): 1152x870@75Hz
(II) NV(0): Manufacturer's mask: 0
(II) NV(0): Supported Future Video Modes:
(II) NV(0): #0: hsize: 1024 vsize 768 refresh: 85 vid: 22881 (II) NV(0): #1: hsize: 1024 vsize 768 refresh: 100 vid: 26721 (II) NV(0): #2: hsize: 1152 vsize 864 refresh: 85 vid: 22897 (II) NV(0): #3: hsize: 1280 vsize 1024 refresh: 85 vid: 39297 (II) NV(0): #4: hsize: 1600 vsize 1200 refresh: 85 vid: 22953 (II) NV(0): #5: hsize: 2048 vsize 1536 refresh: 75 vid: 20449 (II) NV(0): #6: hsize: 1856 vsize 1392 refresh: 85 vid: 22985 (II) NV(0): #7: hsize: 1920 vsize 1440 refresh: 85 vid: 22993 (II) NV(0): Supported additional Video Mode: (II) NV(0): clock: 230.0 MHz Image Size: 392 x 294 mm (II) NV(0): h_active: 1600 h_sync: 1664 h_sync_end 1856 h_blank_end 2160 h_border: 0 (II) NV(0): v_active: 1200 v_sync: 1201 v_sync_end 1204 v_blanking: 1250 v_border: 0
(II) NV(0): Serial No: 46727012
(II) NV(0): Ranges: V min: 50 V max: 160 Hz, H min: 30 H max: 130 kHz, PixClock max 350 MHz (II) NV(0): Monitor name: F931
(--) NV(0): CRTC 0 appears to have a CRT attached
(II) NV(0): Using CRT on CRTC 0
(--) NV(0): VideoRAM: 262144 kBytes
I really hope you can find out something about this. Do you have compatible hardware? If not, contact me and I'll try to make a deal with you - a 1600x1200-32 accelerated framebuffer is something I really like, and since Ati cards don't work correctly in the pci-express system (give all kind of fifo timeouts in X), I don't have any other choice, so NVidia working is important to me.
Kind regards,
Jurriaan
Signature · 10 lines
Everybody need to deviate from the norm Rush - Vital Signs Debian (Unstable) GNU/Linux 2.6.13-rc3-mm1 5149 bogomips load 0.10 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
Quoted 7 lines · jurriaan
From: Antonino A. Daplas <[email protected]>
Date: Fri, Jul 22, 2005 at 12:03:31PM +0800My conclusion would be the ghosting only happens at 1600x1200-32, and the underling happens in more than 8-bit deep displays. And it has something to do with acceleration, if I boot like this, nothing is corrupted:
Can you also try reducing RECT_EXPAND_TWO_COLOR_DATA_MAX_DWORDS in drivers/video/nvidia/nv_dma.h from 128 to as low as 16? If the corruption disappears, let me know at what point it did.
Tony
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Quoted 23 lines · Jurriaan Kalkman
Quoted 23 lines · jurriaan
Quoted 21 lines
Kernel command line: root=/dev/hda1 video=nvidiafb:1600x1200-32@85 atkbd.softrepeat=1
nvidiafb: nVidia device/chipset 10DE0141
nvidiafb: PCI device 10de:0141 (nVidia Corporation)
nvidiafb: CRTC0 found
nvidiafb: CRTC1 found
nvidiafb: CRTC 0 appears to have a CRT attached
nvidiafb: Using CRT on CRTC 0
nvidiafb: MTRR set to ON
Console: switching to colour frame buffer device 133x54
nvidiafb: PCI nVidia NV14 framebuffer (64MB @0xC0000000)I'm running at 1600x1200 resolution with the 12x22 font, and a 2.6.13-rc1-mm1 kernel.
A strange effect is noticeable: often characters from the left of the screen are ghosted on the right of the screen. Not all of the pixels that form a character, but enough to be visible. To my best knowledge, the ghosting starts at column 85, and 85 * 12 = 1020, which may mean some sort of erroneous wrap-around at pixel 1024 is taking place?
Quoted 8 lines
Quoted 2 lines
It looks like a timings problem. Are the effects still present if you try to change modes?
I'll try that later tonight, when I'm home again.
However, whatever corruption is on screen, when I switch virtual consoles from tty1 to 2 and back (alt-f2 alt-f1), it disappears completely. Until I force the screen to scroll up by pressing return at the last line, then they reappear again.
Ah, okay, if it disappears and then reappears on scrolling, then yes, it is probably not a timings problem. Forget about adjusting the video timings, but let me know if switching resolutions work.
Try setting vyres = yres and see if that helps. It's either a panning problem or a bitblit problem.
Tony
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click