[Nouveau] [Bug 46557] nouveau: nv40 display corruption in framebuffer and X lockups unless nouveau.noaccel=1

2012-05-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46557

--- Comment #2 from Salah Coronya salah.coro...@gmail.com 2012-05-04 01:30:53 
PDT ---
Created attachment 61012
  -- https://bugs.freedesktop.org/attachment.cgi?id=61012
Picture from the framebugger after the nouveau drivers loads with acceleration

Using the current (5/2/12) nouveau git -this is a picture from the framebuffer
when nouveau loads and acceleration is enabled - it displays the shutdown
screen from the previous boot and the display is frozen. It stay this way until
either the driver is unloaded or the GPU hangs and the fbcon code switches back
to software fbcon (dmesg displays GPU lockup - switching to software fbcon).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] NV43: Native resolution not available on Dell 2007FP

2012-05-04 Thread Mark Hills
I have a Dell 2007FP monitor. NV43 (GeForce 6600) can not use the native 
resolution.

1600x1200 is listed under DDC gathered Modelines with the rest of the 
info, but then is missing from probed modes.

I have a secondary card, NV4a (GeForce 6200, PCI). It works with this 
card. This card does not show DDC gathered modelines at all, and 
1600x1200 is listed under probed modes.

Does this mean the NV4a card is not using the DDC info? Is it a bug 
preventing 1600x1200 being used with the NV43, or some consequence of DDC 
info?

I am using Nouveau from Git, and kernel 3.4.0-rc4. The proprietary NVidia 
driver fully works, as does another 1600x1200 monitor (Lacie).

Thanks

-- 
Mark



[  4676.920] (--) NOUVEAU(0): Chipset: NVIDIA NV43
[  4676.920] (II) NOUVEAU(0): Creating default Display subsection in Screen 
section
Default Screen Section for depth/fbbpp 24/32
[  4676.920] (==) NOUVEAU(0): Depth 24, (--) framebuffer bpp 32
[  4676.920] (==) NOUVEAU(0): RGB weight 888
[  4676.920] (==) NOUVEAU(0): Default visual is TrueColor
[  4676.920] (==) NOUVEAU(0): Using HW cursor
[  4676.920] (==) NOUVEAU(0): GLX sync to VBlank disabled.
[  4676.920] (==) NOUVEAU(0): Page flipping enabled
[  4676.920] (==) NOUVEAU(0): Swap limit set to 1 [Max allowed 2]
[  4676.940] (II) NOUVEAU(0): Output DVI-I-1 has no monitor section
[  4676.966] (II) NOUVEAU(0): Output DVI-I-2 has no monitor section
[  4677.054] (II) NOUVEAU(0): Output TV-1 has no monitor section
[  4677.073] (II) NOUVEAU(0): EDID for output DVI-I-1
[  4677.073] (II) NOUVEAU(0): Manufacturer: DEL  Model: a021  Serial#: 809779539
[  4677.073] (II) NOUVEAU(0): Year: 2006  Week: 21
[  4677.073] (II) NOUVEAU(0): EDID Version: 1.3
[  4677.074] (II) NOUVEAU(0): Digital Display Input
[  4677.074] (II) NOUVEAU(0): Max Image Size [cm]: horiz.: 41  vert.: 31
[  4677.074] (II) NOUVEAU(0): Gamma: 2.20
[  4677.074] (II) NOUVEAU(0): DPMS capabilities: StandBy Suspend Off
[  4677.074] (II) NOUVEAU(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[  4677.074] (II) NOUVEAU(0): Default color space is primary color space
[  4677.074] (II) NOUVEAU(0): First detailed timing is preferred mode
[  4677.074] (II) NOUVEAU(0): redX: 0.640 redY: 0.330   greenX: 0.300 greenY: 
0.600
[  4677.074] (II) NOUVEAU(0): blueX: 0.150 blueY: 0.060   whiteX: 0.312 whiteY: 
0.329
[  4677.074] (II) NOUVEAU(0): Supported established timings:
[  4677.074] (II) NOUVEAU(0): 720x400@70Hz
[  4677.074] (II) NOUVEAU(0): 640x480@60Hz
[  4677.074] (II) NOUVEAU(0): 640x480@75Hz
[  4677.074] (II) NOUVEAU(0): 800x600@60Hz
[  4677.074] (II) NOUVEAU(0): 800x600@75Hz
[  4677.074] (II) NOUVEAU(0): 1024x768@60Hz
[  4677.074] (II) NOUVEAU(0): 1024x768@75Hz
[  4677.074] (II) NOUVEAU(0): 1280x1024@75Hz
[  4677.074] (II) NOUVEAU(0): Manufacturer's mask: 0
[  4677.074] (II) NOUVEAU(0): Supported standard timings:
[  4677.074] (II) NOUVEAU(0): #0: hsize: 1280  vsize 1024  refresh: 60  vid: 
32897
[  4677.074] (II) NOUVEAU(0): #1: hsize: 1600  vsize 1200  refresh: 60  vid: 
16553
[  4677.074] (II) NOUVEAU(0): #2: hsize: 1152  vsize 864  refresh: 75  vid: 
20337
[  4677.074] (II) NOUVEAU(0): Supported detailed timing:
[  4677.074] (II) NOUVEAU(0): clock: 162.0 MHz   Image Size:  367 x 275 mm
[  4677.074] (II) NOUVEAU(0): h_active: 1600  h_sync: 1664  h_sync_end 1856 
h_blank_end 2160 h_border: 0
[  4677.074] (II) NOUVEAU(0): v_active: 1200  v_sync: 1201  v_sync_end 1204 
v_blanking: 1250 v_border: 0
[  4677.074] (II) NOUVEAU(0): Serial No: Y992365P0DAS
[  4677.074] (II) NOUVEAU(0): Monitor name: DELL 2007FP
[  4677.074] (II) NOUVEAU(0): Ranges: V min: 56 V max: 76 Hz, H min: 30 H max: 
83 kHz, PixClock max 175 MHz
[  4677.074] (II) NOUVEAU(0): EDID (in hex):
[  4677.074] (II) NOUVEAU(0):   000010ac21a053414430
[  4677.074] (II) NOUVEAU(0):   1510010380291f7891a3544c9926
[  4677.074] (II) NOUVEAU(0):   0f5054a54b008180a940714f01010101
[  4677.074] (II) NOUVEAU(0):   010101010101483f403062b0324040c0
[  4677.074] (II) NOUVEAU(0):   13006f13111e00ff00593939
[  4677.074] (II) NOUVEAU(0):   3233363550304441530a00fc0044
[  4677.074] (II) NOUVEAU(0):   454c4c203230303746500a2000fd
[  4677.074] (II) NOUVEAU(0):   00384c1e5311000a2020202020200084
[  4677.074] (II) NOUVEAU(0): EDID vendor DEL, prod id 40993
[  4677.074] (II) NOUVEAU(0): Using EDID range info for horizontal sync
[  4677.074] (II) NOUVEAU(0): Using EDID range info for vertical refresh
[  4677.074] (II) NOUVEAU(0): Printing DDC gathered Modelines:
[  4677.074] (II) NOUVEAU(0): Modeline 1600x1200x0.0  162.00  1600 1664 1856 
2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz)
[  4677.074] (II) NOUVEAU(0): Modeline 800x600x0.0   40.00  800 840 968 1056  
600 601 605 628 +hsync +vsync (37.9 kHz)
[  4677.074] (II) NOUVEAU(0): Modeline 640x480x0.0   31.50  640 656 720 840  
480 481 484 500 -hsync -vsync (37.5 kHz)
[  4677.074] (II) NOUVEAU(0): Modeline 640x480x0.0   25.18  640 656 752 800  
480 490 492 525 -hsync -vsync (31.5 kHz)
[  

Re: [Nouveau] NV43: Native resolution not available on Dell 2007FP

2012-05-04 Thread Maarten Maathuis
On Fri, May 4, 2012 at 5:55 PM, Mark Hills m...@pogo.org.uk wrote:
 I have a Dell 2007FP monitor. NV43 (GeForce 6600) can not use the native
 resolution.

 1600x1200 is listed under DDC gathered Modelines with the rest of the
 info, but then is missing from probed modes.

 I have a secondary card, NV4a (GeForce 6200, PCI). It works with this
 card. This card does not show DDC gathered modelines at all, and
 1600x1200 is listed under probed modes.

 Does this mean the NV4a card is not using the DDC info? Is it a bug
 preventing 1600x1200 being used with the NV43, or some consequence of DDC
 info?

 I am using Nouveau from Git, and kernel 3.4.0-rc4. The proprietary NVidia
 driver fully works, as does another 1600x1200 monitor (Lacie).

 Thanks

 --
 Mark



 [  4676.920] (--) NOUVEAU(0): Chipset: NVIDIA NV43
 [  4676.920] (II) NOUVEAU(0): Creating default Display subsection in Screen 
 section
        Default Screen Section for depth/fbbpp 24/32
 [  4676.920] (==) NOUVEAU(0): Depth 24, (--) framebuffer bpp 32
 [  4676.920] (==) NOUVEAU(0): RGB weight 888
 [  4676.920] (==) NOUVEAU(0): Default visual is TrueColor
 [  4676.920] (==) NOUVEAU(0): Using HW cursor
 [  4676.920] (==) NOUVEAU(0): GLX sync to VBlank disabled.
 [  4676.920] (==) NOUVEAU(0): Page flipping enabled
 [  4676.920] (==) NOUVEAU(0): Swap limit set to 1 [Max allowed 2]
 [  4676.940] (II) NOUVEAU(0): Output DVI-I-1 has no monitor section
 [  4676.966] (II) NOUVEAU(0): Output DVI-I-2 has no monitor section
 [  4677.054] (II) NOUVEAU(0): Output TV-1 has no monitor section
 [  4677.073] (II) NOUVEAU(0): EDID for output DVI-I-1
 [  4677.073] (II) NOUVEAU(0): Manufacturer: DEL  Model: a021  Serial#: 
 809779539
 [  4677.073] (II) NOUVEAU(0): Year: 2006  Week: 21
 [  4677.073] (II) NOUVEAU(0): EDID Version: 1.3
 [  4677.074] (II) NOUVEAU(0): Digital Display Input
 [  4677.074] (II) NOUVEAU(0): Max Image Size [cm]: horiz.: 41  vert.: 31
 [  4677.074] (II) NOUVEAU(0): Gamma: 2.20
 [  4677.074] (II) NOUVEAU(0): DPMS capabilities: StandBy Suspend Off
 [  4677.074] (II) NOUVEAU(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
 [  4677.074] (II) NOUVEAU(0): Default color space is primary color space
 [  4677.074] (II) NOUVEAU(0): First detailed timing is preferred mode
 [  4677.074] (II) NOUVEAU(0): redX: 0.640 redY: 0.330   greenX: 0.300 greenY: 
 0.600
 [  4677.074] (II) NOUVEAU(0): blueX: 0.150 blueY: 0.060   whiteX: 0.312 
 whiteY: 0.329
 [  4677.074] (II) NOUVEAU(0): Supported established timings:
 [  4677.074] (II) NOUVEAU(0): 720x400@70Hz
 [  4677.074] (II) NOUVEAU(0): 640x480@60Hz
 [  4677.074] (II) NOUVEAU(0): 640x480@75Hz
 [  4677.074] (II) NOUVEAU(0): 800x600@60Hz
 [  4677.074] (II) NOUVEAU(0): 800x600@75Hz
 [  4677.074] (II) NOUVEAU(0): 1024x768@60Hz
 [  4677.074] (II) NOUVEAU(0): 1024x768@75Hz
 [  4677.074] (II) NOUVEAU(0): 1280x1024@75Hz
 [  4677.074] (II) NOUVEAU(0): Manufacturer's mask: 0
 [  4677.074] (II) NOUVEAU(0): Supported standard timings:
 [  4677.074] (II) NOUVEAU(0): #0: hsize: 1280  vsize 1024  refresh: 60  vid: 
 32897
 [  4677.074] (II) NOUVEAU(0): #1: hsize: 1600  vsize 1200  refresh: 60  vid: 
 16553
 [  4677.074] (II) NOUVEAU(0): #2: hsize: 1152  vsize 864  refresh: 75  vid: 
 20337
 [  4677.074] (II) NOUVEAU(0): Supported detailed timing:
 [  4677.074] (II) NOUVEAU(0): clock: 162.0 MHz   Image Size:  367 x 275 mm
 [  4677.074] (II) NOUVEAU(0): h_active: 1600  h_sync: 1664  h_sync_end 1856 
 h_blank_end 2160 h_border: 0
 [  4677.074] (II) NOUVEAU(0): v_active: 1200  v_sync: 1201  v_sync_end 1204 
 v_blanking: 1250 v_border: 0
 [  4677.074] (II) NOUVEAU(0): Serial No: Y992365P0DAS
 [  4677.074] (II) NOUVEAU(0): Monitor name: DELL 2007FP
 [  4677.074] (II) NOUVEAU(0): Ranges: V min: 56 V max: 76 Hz, H min: 30 H 
 max: 83 kHz, PixClock max 175 MHz
 [  4677.074] (II) NOUVEAU(0): EDID (in hex):
 [  4677.074] (II) NOUVEAU(0):   000010ac21a053414430
 [  4677.074] (II) NOUVEAU(0):   1510010380291f7891a3544c9926
 [  4677.074] (II) NOUVEAU(0):   0f5054a54b008180a940714f01010101
 [  4677.074] (II) NOUVEAU(0):   010101010101483f403062b0324040c0
 [  4677.074] (II) NOUVEAU(0):   13006f13111e00ff00593939
 [  4677.074] (II) NOUVEAU(0):   3233363550304441530a00fc0044
 [  4677.074] (II) NOUVEAU(0):   454c4c203230303746500a2000fd
 [  4677.074] (II) NOUVEAU(0):   00384c1e5311000a2020202020200084
 [  4677.074] (II) NOUVEAU(0): EDID vendor DEL, prod id 40993
 [  4677.074] (II) NOUVEAU(0): Using EDID range info for horizontal sync
 [  4677.074] (II) NOUVEAU(0): Using EDID range info for vertical refresh
 [  4677.074] (II) NOUVEAU(0): Printing DDC gathered Modelines:
 [  4677.074] (II) NOUVEAU(0): Modeline 1600x1200x0.0  162.00  1600 1664 
 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz)
 [  4677.074] (II) NOUVEAU(0): Modeline 800x600x0.0   40.00  800 840 968 
 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
 [  4677.074] (II) NOUVEAU(0): Modeline 640x480x0.0   31.50  640 656 720 840 
  480 481 484 500 

Re: [Nouveau] NV43: Native resolution not available on Dell 2007FP

2012-05-04 Thread Ben Skeggs
On Saturday, 5 May 2012, Mark Hills wrote:

 On Sat, 5 May 2012, Maarten Maathuis wrote:

  On Fri, May 4, 2012 at 5:55 PM, Mark Hills m...@pogo.org.uk wrote:
   I have a Dell 2007FP monitor. NV43 (GeForce 6600) can not use the
 native
   resolution.
  
   1600x1200 is listed under DDC gathered Modelines with the rest of the
   info, but then is missing from probed modes.
  
   I have a secondary card, NV4a (GeForce 6200, PCI). It works with this
   card. This card does not show DDC gathered modelines at all, and
   1600x1200 is listed under probed modes.
  
   Does this mean the NV4a card is not using the DDC info? Is it a bug
   preventing 1600x1200 being used with the NV43, or some consequence of
 DDC
   info?
  
   I am using Nouveau from Git, and kernel 3.4.0-rc4. The proprietary
 NVidia
   driver fully works, as does another 1600x1200 monitor (Lacie).
  
   Thanks
  
   --
   Mark
  
  
  
   [  4676.920] (--) NOUVEAU(0): Chipset: NVIDIA NV43
   [  4676.920] (II) NOUVEAU(0): Creating default Display subsection in
 Screen section
  Default Screen Section for depth/fbbpp 24/32
   [  4676.920] (==) NOUVEAU(0): Depth 24, (--) framebuffer bpp 32
   [  4676.920] (==) NOUVEAU(0): RGB weight 888
   [  4676.920] (==) NOUVEAU(0): Default visual is TrueColor
   [  4676.920] (==) NOUVEAU(0): Using HW cursor
   [  4676.920] (==) NOUVEAU(0): GLX sync to VBlank disabled.
   [  4676.920] (==) NOUVEAU(0): Page flipping enabled
   [  4676.920] (==) NOUVEAU(0): Swap limit set to 1 [Max allowed 2]
   [  4676.940] (II) NOUVEAU(0): Output DVI-I-1 has no monitor section
   [  4676.966] (II) NOUVEAU(0): Output DVI-I-2 has no monitor section
   [  4677.054] (II) NOUVEAU(0): Output TV-1 has no monitor section
   [  4677.073] (II) NOUVEAU(0): EDID for output DVI-I-1
   [  4677.073] (II) NOUVEAU(0): Manufacturer: DEL  Model: a021  Serial#:
 809779539
   [  4677.073] (II) NOUVEAU(0): Year: 2006  Week: 21
   [  4677.073] (II) NOUVEAU(0): EDID Version: 1.3
   [  4677.074] (II) NOUVEAU(0): Digital Display Input
   [  4677.074] (II) NOUVEAU(0): Max Image Size [cm]: horiz.: 41  vert.:
 31
   [  4677.074] (II) NOUVEAU(0): Gamma: 2.20
   [  4677.074] (II) NOUVEAU(0): DPMS capabilities: StandBy Suspend Off
   [  4677.074] (II) NOUVEAU(0): Supported color encodings: RGB 4:4:4
 YCrCb 4:4:4
   [  4677.074] (II) NOUVEAU(0): Default color space is primary color
 space
   [  4677.074] (II) NOUVEAU(0): First detailed timing is preferred mode
   [  4677.074] (II) NOUVEAU(0): redX: 0.640 redY: 0.330   greenX: 0.300
 greenY: 0.600
   [  4677.074] (II) NOUVEAU(0): blueX: 0.150 blueY: 0.060   whiteX:
 0.312 whiteY: 0.329
   [  4677.074] (II) NOUVEAU(0): Supported established timings:
   [  4677.074] (II) NOUVEAU(0): 720x400@70Hz
   [  4677.074] (II) NOUVEAU(0): 640x480@60Hz
   [  4677.074] (II) NOUVEAU(0): 640x480@75Hz
   [  4677.074] (II) NOUVEAU(0): 800x600@60Hz
   [  4677.074] (II) NOUVEAU(0): 800x600@75Hz
   [  4677.074] (II) NOUVEAU(0): 1024x768@60Hz
   [  4677.074] (II) NOUVEAU(0): 1024x768@75Hz
   [  4677.074] (II) NOUVEAU(0): 1280x1024@75Hz
   [  4677.074] (II) NOUVEAU(0): Manufacturer's mask: 0
   [  4677.074] (II) NOUVEAU(0): Supported standard timings:
   [  4677.074] (II) NOUVEAU(0): #0: hsize: 1280  vsize 1024  refresh: 60
  vid: 32897
   [  4677.074] (II) NOUVEAU(0): #1: hsize: 1600  vsize 1200  refresh: 60
  vid: 16553
   [  4677.074] (II) NOUVEAU(0): #2: hsize: 1152  vsize 864  refresh: 75
  vid: 20337
   [  4677.074] (II) NOUVEAU(0): Supported detailed timing:
   [  4677.074] (II) NOUVEAU(0): clock: 162.0 MHz   Image Size:  367 x
 275 mm
   [  4677.074] (II) NOUVEAU(0): h_active: 1600  h_sync: 1664  h_sync_end
 1856 h_blank_end 2160 h_border: 0
   [  4677.074] (II) NOUVEAU(0): v_active: 1200  v_sync: 1201  v_sync_end
 1204 v_blanking: [...]
 
  Hi, the nouveau driver contains a table that list per gpu generation
  the maximum bandwidth a single tmds link can sustain.
 
  Your NV4A is newer than your NV43, it can do the full 165 MHz, instead
  of the 155 MHz that the NV43 gets. Your 1600x1200 mode requires 162
  MHz.
 
  I do not know if the limits are accurate, but a reduced blanking
  1600x1200 should use less bandwith, so if you somehow can get such a
  mode into the system (maybe there is a kernel option to do this), but
  this i do not know.

 Thanks, I see what you're saying. I think the relevant code looks to be
 get_tmds_link_bandwidth.

 But then if the mode given by the DDC is over this limit, I don't
 understand why the proprietary drivers do not have the same problem.

 Does it mean that the prietary driver is falling-back to one of its own
 built-in 1600x1200 modes?


I've looked at this issue previously, and IIRC the binary driver builds a
reduced blanking mode instead of what the monitor reports.



 The same NV43 with Nouveau is happy with the 1920x1200 of another Dell
 screen, and the 1600x1200 of the Lacie. These modes are:

 [ 13816.407] (II) NOUVEAU(0): Modeline 1920x1200x0.0  154.00  1920 1968
 2000