[Nouveau] [Bug 47965] I can't modify brightness with nVidia 1000m Quadro

2012-11-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47965

Emil Velikov emil.l.veli...@gmail.com changed:

   What|Removed |Added

   See Also||https://bugs.freedesktop.or
   ||g/show_bug.cgi?id=39550

--- Comment #7 from Emil Velikov emil.l.veli...@gmail.com ---
Try using acpi_backlight=vendor (as a parameter to your kernel command line).
It will force the nouveau backlight to be used rather than the ACPI one

Note that there is a similar issue with HP Elitebook 8530w (see bug 39550)
Quick search indicates that HP laptops are quite common with those type of
issues

Apart from that can you attach your vbios [1]


[1] http://nouveau.freedesktop.org/wiki/DumpingVideoBios

-- 
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] [Bug 39550] Brightness stuck to low value after suspend/resume

2012-11-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39550

Emil Velikov emil.l.veli...@gmail.com changed:

   What|Removed |Added

   See Also||https://bugs.freedesktop.or
   ||g/show_bug.cgi?id=47965

-- 
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


Re: [Nouveau] Fix for vblank on nvc0

2012-11-12 Thread Kelly Doran
Okay I have added two patches, one of them should fix the problem...

On Sun, Nov 11, 2012 at 12:51 PM, Kelly Doran kel.p.do...@gmail.com wrote:
 I was under the impression that the else block was only executed for nvc0
 code, but maybe the nv92 code was executing it too, so that may need an
 extra code block to work again.  Otherwise the bar flush in the nv50 section
 is causing the problems...  I can write up some patches later if you want
 but I don't have any cards from these chipsets to test with, and I gotta go
 for the afternoon.


 On Sun, Nov 11, 2012 at 12:35 PM, Marcin Slusarz marcin.slus...@gmail.com
 wrote:

 On Sun, Nov 11, 2012 at 07:26:17PM +0100, Marcin Slusarz wrote:
  On Tue, Nov 06, 2012 at 07:30:00PM +0100, Maarten Lankhorst wrote:
  
  
   Op 06-11-12 15:48, Kelly Doran schreef:
The vblank on nvc0 was not working correctly and would freeze X, I
managed
to track it down and fix it with some help from m.b.lankhorst, see
https://bugs.freedesktop.org/show_bug.cgi?id=56692 for details.
   
   Reviewed-by: Maarten Lankhorst maarten.lankho...@canonical.com
  
   I recommended the bar flush since nvd0 does as well, and there might
   be a small race
   otherwise.
  
   Can this still get in before final 3.7 release?
 
  This patch breaks vblank here (nv92) completely.
 
  [ 6879.200427] Console: switching to colour VGA+ 80x25
  [ 6879.202884] drm: unregistered panic notifier
  [ 6879.334278] [TTM] Finalizing pool allocator
  [ 6879.334518] [TTM] Finalizing DMA pool allocator
  [ 6879.334765] [TTM] Zone  kernel: Used memory at exit: 0 kiB
  [ 6879.335004] [TTM] Zone   dma32: Used memory at exit: 0 kiB
  [ 6879.340472] [drm] Module unloaded
  [ 6879.397744] [drm] Initialized drm 1.1.0 20060810
  [ 6879.408149] nouveau  [  DEVICE][:02:00.0] BOOT0  : 0x092a00a2
  [ 6879.408401] nouveau  [  DEVICE][:02:00.0] Chipset: G92 (NV92)
  [ 6879.408641] nouveau  [  DEVICE][:02:00.0] Family : NV50
  [ 6879.409752] nouveau  [   VBIOS][:02:00.0] checking PRAMIN for
  image...
  [ 6879.409997] nouveau  [   VBIOS][:02:00.0] ... signature not found
  [ 6879.410236] nouveau  [   VBIOS][:02:00.0] checking PROM for
  image...
  [ 6879.549018] nouveau  [   VBIOS][:02:00.0] ... appears to be valid
  [ 6879.549259] nouveau  [   VBIOS][:02:00.0] using image from PROM
  [ 6879.549640] nouveau  [   VBIOS][:02:00.0] BIT signature found
  [ 6879.549879] nouveau  [   VBIOS][:02:00.0] version 62.92.63.00
  [ 6879.570275] nouveau  [ MXM][:02:00.0] no VBIOS data, nothing
  to do
  [ 6879.572488] nouveau  [ PFB][:02:00.0] RAM type: GDDR3
  [ 6879.572726] nouveau  [ PFB][:02:00.0] RAM size: 512 MiB
  [ 6879.572964] nouveau  [ PFB][:02:00.0]ZCOMP: 4032 tags
  [ 6879.597652] [TTM] Zone  kernel: Available graphics memory: 3047140
  kiB
  [ 6879.597892] [TTM] Zone   dma32: Available graphics memory: 2097152
  kiB
  [ 6879.598130] [TTM] Initializing pool allocator
  [ 6879.598367] [TTM] Initializing DMA pool allocator
  [ 6879.602860] nouveau  [ DRM] VRAM: 512 MiB
  [ 6879.603102] nouveau  [ DRM] GART: 512 MiB
  [ 6879.603339] nouveau  [ DRM] BIT BIOS found
  [ 6879.603575] nouveau  [ DRM] Bios version 62.92.63.00
  [ 6879.603813] nouveau  [ DRM] TMDS table version 2.0
  [ 6879.604050] nouveau  [ DRM] DCB version 4.0
  [ 6879.604287] nouveau  [ DRM] DCB outp 00: 02000300 0028
  [ 6879.604524] nouveau  [ DRM] DCB outp 01: 01000302 00020030
  [ 6879.604763] nouveau  [ DRM] DCB outp 02: 04011310 0028
  [ 6879.605000] nouveau  [ DRM] DCB outp 03: 02011312 00020030
  [ 6879.605238] nouveau  [ DRM] DCB conn 00: 1030
  [ 6879.605516] nouveau  [ DRM] DCB conn 01: 2130
  [ 6879.648012] [drm] Supports vblank timestamp caching Rev 1
  (10.10.2010).
  [ 6879.648257] [drm] No driver support for vblank timestamp query.
  [ 6879.648708] nouveau  [ DRM] 1 available performance level(s)
  [ 6879.648953] nouveau  [ DRM] 3: core 650MHz shader 1625MHz memory
  1000MHz voltage 1050mV fanspeed 100%
  [ 6879.649391] nouveau  [ DRM] c: core 399MHz shader 810MHz memory
  399MHz voltage 1050mV fanspeed 34%
  [ 6879.693947] nouveau  [ DRM] MM: using CRYPT for buffer copies
  [ 6879.791680] nouveau  [ DRM] allocated 1920x1080 fb: 0x7, bo
  880018f20800
  [ 6879.792175] fbcon: nouveaufb (fb0) is primary device
  [ 6879.850216] Console: switching to colour frame buffer device 240x67
  [ 6879.897075] fb0: nouveaufb frame buffer device
  [ 6879.897075] drm: registered panic notifier
  [ 6879.897078] [drm] Initialized nouveau 1.1.0 20120801 for :02:00.0
  on minor 0
  I'm starting glxgears here
  xorg hangs, with occasional mouse movement
  [ 6907.054696] nouveau  [   PFIFO][:02:00.0] unknown intr
  0x0040, ch 2
  pkill glxgears from fbcon
  [ 6963.987969] nouveau E[   15318] failed to idle channel 0x
  xorg still hangs
  [ 7034.713069] nouveau E[  

Re: [Nouveau] Fix for vblank on nvc0

2012-11-12 Thread Kelly Doran
I had Sven test this patch... he said it works.  I think chipset
number test was executing code that we thought was only either 0x50 or
0xc0, but was actually more specific with things like 0x92.

On Sun, Nov 11, 2012 at 2:25 PM, Maarten Lankhorst
maarten.lankho...@canonical.com wrote:
 Op 11-11-12 19:35, Marcin Slusarz schreef:
 On Sun, Nov 11, 2012 at 07:26:17PM +0100, Marcin Slusarz wrote:
 On Tue, Nov 06, 2012 at 07:30:00PM +0100, Maarten Lankhorst wrote:

 Op 06-11-12 15:48, Kelly Doran schreef:
 The vblank on nvc0 was not working correctly and would freeze X, I managed
 to track it down and fix it with some help from m.b.lankhorst, see
 https://bugs.freedesktop.org/show_bug.cgi?id=56692 for details.

 Reviewed-by: Maarten Lankhorst maarten.lankho...@canonical.com

 I recommended the bar flush since nvd0 does as well, and there might be a 
 small race
 otherwise.

 Can this still get in before final 3.7 release?
 This patch breaks vblank here (nv92) completely.
 Does removing the bar flush help?

 ~Maarte


vblank-fix1.patch
Description: Binary data
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 57034] New: [Quadro FX 4800] display port connectors not recognized

2012-11-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57034

  Priority: medium
Bug ID: 57034
  Assignee: nouveau@lists.freedesktop.org
   Summary: [Quadro FX 4800] display port connectors not
recognized
QA Contact: xorg-t...@lists.x.org
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: or...@cora.nwra.com
  Hardware: x86-64 (AMD64)
Status: NEW
   Version: unspecified
 Component: Driver/nouveau
   Product: xorg

Created attachment 69963
  -- https://bugs.freedesktop.org/attachment.cgi?id=69963action=edit
Xorg.0.log

02:00.0 VGA compatible controller: NVIDIA Corporation GT200GL [Quadro FX 4800]
(rev a1)

System does not appear to recognize or be able to use the two display port
connectors on this card.

# dmesg |grep drm
[2.771310] [drm] Initialized drm 1.1.0 20060810
[2.775685] [drm] nouveau :02:00.0: Detected an NV50 generation card
(0x0a0f00b1)
[2.778295] [drm] nouveau :02:00.0: Checking PRAMIN for VBIOS
[2.849995] [drm] nouveau :02:00.0: ... appears to be valid
[2.849997] [drm] nouveau :02:00.0: Using VBIOS from PRAMIN
[2.85] [drm] nouveau :02:00.0: BIT BIOS found
[2.850002] [drm] nouveau :02:00.0: Bios version 62.00.25.01
[2.850004] [drm] nouveau :02:00.0: TMDS table version 2.0
[2.850101] [drm] nouveau :02:00.0: MXM: no VBIOS data, nothing to do
[2.850103] [drm] nouveau :02:00.0: DCB version 4.0
[2.850105] [drm] nouveau :02:00.0: DCB outp 00: 04000320 0028
[2.850106] [drm] nouveau :02:00.0: DCB outp 01: 01000322 00020030
[2.850107] [drm] nouveau :02:00.0: DCB outp 02: 02132336 0f220d00
[2.850108] [drm] nouveau :02:00.0: DCB outp 03: 02132332 00020d00
[2.850109] [drm] nouveau :02:00.0: DCB outp 04: 01121336 0f220e00
[2.850110] [drm] nouveau :02:00.0: DCB outp 05: 01121332 00020e00
[2.850111] [drm] nouveau :02:00.0: DCB conn 00: 1030
[2.850113] [drm] nouveau :02:00.0: DCB conn 01: a146
[2.850114] [drm] nouveau :02:00.0: DCB conn 02: 00050246
[2.850115] [drm] nouveau :02:00.0: DCB conn 03: 0360
[2.850118] [drm] nouveau :02:00.0: Parsing VBIOS init table 0 at offset
0xD0B6
[2.872973] [drm] nouveau :02:00.0: Parsing VBIOS init table 1 at offset
0xD39A
[2.875818] [drm] nouveau :02:00.0: Parsing VBIOS init table 2 at offset
0xE7FE
[2.875824] [drm] nouveau :02:00.0: Parsing VBIOS init table 3 at offset
0xE8FF
[2.876832] [drm] nouveau :02:00.0: Parsing VBIOS init table 4 at offset
0xE9BA
[2.876833] [drm] nouveau :02:00.0: Parsing VBIOS init table at offset
0xEA1F
[2.896837] [drm] nouveau :02:00.0: 0xEA1F: Condition still not met
after 20ms, skipping following opcodes
[2.901853] [drm] nouveau :02:00.0: Detected 1536MiB VRAM (GDDR3)
[2.907334] [drm] nouveau :02:00.0: 512 MiB GART (aperture)
[2.955290] [drm] nouveau :02:00.0: Off-chip encoder 6/1 unsupported
[2.955292] [drm] nouveau :02:00.0: Off-chip encoder 2/1 unsupported
[2.955293] [drm] nouveau :02:00.0: Off-chip encoder 6/0 unsupported
[2.955294] [drm] nouveau :02:00.0: Off-chip encoder 2/0 unsupported
[2.957289] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[2.957291] [drm] No driver support for vblank timestamp query.
[2.965008] [drm] nouveau :02:00.0: 3 available performance level(s)
[2.965011] [drm] nouveau :02:00.0: 0: core 300MHz shader 600MHz memory
100MHz voltage 1050mV fanspeed 100%
[2.965013] [drm] nouveau :02:00.0: 2: core 400MHz shader 800MHz memory
300MHz voltage 1050mV fanspeed 100%
[2.965015] [drm] nouveau :02:00.0: 3: core 602MHz shader 1204MHz memory
800MHz voltage 1180mV fanspeed 100%
[2.965017] [drm] nouveau :02:00.0: c: core 399MHz shader 810MHz memory
297MHz voltage 1180mV
[3.010759] [drm] nouveau :02:00.0: MM: using CRYPT for buffer copies
[3.084261] [drm] nouveau :02:00.0: allocated 1600x1200 fb: 0x2c, bo
880134e45000
[3.103452] drm: registered panic notifier
[3.103457] [drm] Initialized nouveau 1.0.0 20120316 for :02:00.0 on
minor 0
[   29.907369] [drm] nouveau :02:00.0: Failed to idle channel 4.
[   32.907403] [drm] nouveau :02:00.0: Failed to idle channel 4.
[   35.907393] [drm] nouveau :02:00.0: Failed to idle channel 4.
[   38.907465] [drm] nouveau :02:00.0: Failed to idle channel 4.
[   41.907473] [drm] nouveau :02:00.0: Failed to idle channel 4.

-- 
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


Re: [Nouveau] Fix for vblank on nvc0

2012-11-12 Thread Maarten Lankhorst
Op 12-11-12 22:30, Kelly Doran schreef:
 I had Sven test this patch... he said it works.  I think chipset
 number test was executing code that we thought was only either 0x50 or
 0xc0, but was actually more specific with things like 0x92.

Oh right vblank is busted anyway... needs to be nv_device(priv-)card_type == 
NV_50 to work.

Your patch is the correct fix.

~Maarten
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 47965] I can't modify brightness with nVidia 1000m Quadro

2012-11-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47965

--- Comment #8 from Charles-Antoine Couret rena...@fedoraproject.org ---
I have tested this option and the result is :
-The brightness didn't change
-The shortcut (Fn+XX) didn't detect by the system, usually the brightness
didn't change but Gnome display a bar with the « new » brightness (but it's
virtual…).

I post the vbios with the command line :
cat /sys/kernel/debug/dri/0/vbios.rom  vbios.rom 

I tested the tool vbtracetool, but it can't do that and the patch no improve
the situation.

-- 
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] [Bug 47965] I can't modify brightness with nVidia 1000m Quadro

2012-11-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47965

--- Comment #9 from Charles-Antoine Couret rena...@fedoraproject.org ---
Created attachment 69964
  -- https://bugs.freedesktop.org/attachment.cgi?id=69964action=edit
nVidia Quadro 1000m vbios

-- 
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] [Bug 56461] NV11 black screen kernel hang on loading nouveaufb

2012-11-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56461

--- Comment #4 from Chris Paulson-Ellis ch...@edesix.com ---
Created attachment 69965
  -- https://bugs.freedesktop.org/attachment.cgi?id=69965action=edit
Video BIOS as produced by vbtracetool

Video BIOS as requested - thank you for caring about my ancient hardware.
Chris.

-- 
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


Re: [Nouveau] Fix for vblank on nvc0

2012-11-12 Thread Marcin Slusarz
On Mon, Nov 12, 2012 at 06:14:05AM -0600, Kelly Doran wrote:
 Okay I have added two patches, one of them should fix the problem...
 

vblank-fix1.patch works, thanks.

Marcin
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 56461] NV11 black screen kernel hang on loading nouveaufb

2012-11-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56461

--- Comment #5 from Marcin Slusarz marcin.slus...@gmail.com ---
Created attachment 69969
  -- https://bugs.freedesktop.org/attachment.cgi?id=69969action=edit
fix

This should fix it.

(Condition checking DCB entry sanity was accidentally inverted during rewrite.)

-- 
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] [Bug 56461] NV11 black screen kernel hang on loading nouveaufb

2012-11-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56461

--- Comment #6 from Chris Paulson-Ellis ch...@edesix.com ---
Created attachment 69973
  -- https://bugs.freedesktop.org/attachment.cgi?id=69973action=edit
console output of hang with patch

With that patch it's still hanging the kernel with a black screen. I've
attached the serial console output from modprobe nouveau.

-- 
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