Bug 47182

Summary: GeFroce 6150SE nForce 430: misaligned reg 0x0060081D
Product: xorg Reporter: Frank Schaefer <fschaefer.oss>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED NOTABUG QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.6 (2010.12)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Frank Schaefer 2012-03-10 04:07:35 UTC
On system start-up, the messages "misaligend reg 0x0060081D" appear in the log:

[    3.165315] nouveau 0000:00:0d.0: setting latency timer to 64
[    3.166731] [drm] nouveau 0000:00:0d.0: Detected an NV40 generation card (0x04c000a2)
[    3.166739] fb: conflicting fb hw usage nouveaufb vs VESA VGA - removing generic driver
[    3.169138] [drm] nouveau 0000:00:0d.0: Attempting to load BIOS image from PRAMIN
[    3.208458] [drm] nouveau 0000:00:0d.0: ... appears to be valid
[    3.208461] [drm] nouveau 0000:00:0d.0: BIT BIOS found
[    3.208464] [drm] nouveau 0000:00:0d.0: Bios version 05.61.32.14
[    3.208467] [drm] nouveau 0000:00:0d.0: TMDS table version 1.1
[    3.208469] [drm] nouveau 0000:00:0d.0: TMDS table script pointers not stubbed
[    3.208549] [drm] nouveau 0000:00:0d.0: MXM: no VBIOS data, nothing to do
[    3.208552] [drm] nouveau 0000:00:0d.0: DCB version 3.0
[    3.208555] [drm] nouveau 0000:00:0d.0: DCB outp 00: 01000310 00000023
[    3.208558] [drm] nouveau 0000:00:0d.0: DCB outp 01: 00110204 974f0000
[    3.208560] [drm] nouveau 0000:00:0d.0: DCB conn 00: 0000
[    3.208566] [drm] nouveau 0000:00:0d.0: Parsing VBIOS init table 0 at offset 0xDA6D
[    3.208569] [drm] nouveau 0000:00:0d.0: ======= misaligned reg 0x0060081D =======
[    3.208576] [drm] nouveau 0000:00:0d.0: ======= misaligned reg 0x0060081D =======
[    3.208624] [drm] nouveau 0000:00:0d.0: Parsing VBIOS init table 1 at offset 0xDBC4
[    3.208626] [drm] nouveau 0000:00:0d.0: Parsing VBIOS init table 2 at offset 0xDBC5
[    3.208677] [drm] nouveau 0000:00:0d.0: Parsing VBIOS init table 3 at offset 0xDD47
[    3.208681] [drm] nouveau 0000:00:0d.0: Parsing VBIOS init table 4 at offset 0xDD90
[    3.209464] [drm] nouveau 0000:00:0d.0: 1 available performance level(s)
[    3.209468] [drm] nouveau 0000:00:0d.0: 0: core 425MHz shader 425MHz fanspeed 100%
[    3.209475] [drm] nouveau 0000:00:0d.0: c:
[    3.209656] [drm] nouveau 0000:00:0d.0: Detected 256MiB VRAM
[    3.210308] [drm] nouveau 0000:00:0d.0: 64 MiB GART (aperture)
[    3.214207] [drm] nouveau 0000:00:0d.0: DCB type 4 not known
[    3.214209] [drm] nouveau 0000:00:0d.0: Unknown-1 has no encoders, removing
[    3.215658] [drm] nouveau 0000:00:0d.0: Setting dpms mode 3 on vga encoder (output 0)
[    3.255055] [drm] nouveau 0000:00:0d.0: allocated 1680x1050 fb: 0x49000, bo f0314200
[    3.255142] fbcon: nouveaufb (fb0) is primary device
[    3.316418] [drm] nouveau 0000:00:0d.0: Setting dpms mode 0 on vga encoder (output 0)
[    3.316422] [drm] nouveau 0000:00:0d.0: Output VGA-1 is running on CRTC 0 using output A
[    3.318438] fb0: nouveaufb frame buffer device
[    3.318444] [drm] Initialized nouveau 0.0.16 20090420 for 0000:00:0d.0 on minor 0
[  110.134496] [drm] nouveau 0000:00:0d.0: Setting dpms mode 3 on vga encoder (output 0)
[  110.168161] [drm] nouveau 0000:00:0d.0: Setting dpms mode 0 on vga encoder (output 0)
[  110.168173] [drm] nouveau 0000:00:0d.0: Output VGA-1 is running on CRTC 0 using output A


Tested with kernel 3.1.9 an 3.3.0-rc6.
Comment 1 rgquadro 2012-07-09 16:05:27 UTC
Same bug.
[drm] Initialized drm 1.1.0 20060810
[drm] nouveau 0000:00:0d.0: ======= misaligned reg 0x0060081D =======
[drm] nouveau 0000:00:0d.0: ======= misaligned reg 0x0060081D =======


Video :
00:0d.0 VGA compatible controller: NVIDIA Corporation C61 [GeForce 7025 / nForce 630a] (rev a2)
Kernel : 3.2 & 3.4
Arch : amd64
Comment 2 Emil Velikov 2012-07-09 20:35:35 UTC
Have you experienced any issues with nouveau ?

The messages mentioned are harmless, and iirc indicate a buggy bios than anything else
Comment 3 Frank Schaefer 2012-07-11 17:54:57 UTC
(In reply to comment #2)
> Have you experienced any issues with nouveau ?

Yes, I have several issues with the GeForce 6150SE, e.g. Bug 48434 (, problems with flash player, pixmap/image/background corruption, ...).

What's the function of reg 0x0060081D ?
Comment 4 Emil Velikov 2012-07-14 11:12:16 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Have you experienced any issues with nouveau ?
> 
> Yes, I have several issues with the GeForce 6150SE, e.g. Bug 48434 (, problems
> with flash player, pixmap/image/background corruption, ...).
> 
> What's the function of reg 0x0060081D ?

Registers should be aligned to 0x4, otherwise bad things may happen depending on the motherboard chipset

The register mentioned is "off by one" to NV_PCRTC_GPIO_EXT (0x0060081c). Whenever nouveau detects a misaligned register, we strip and align it before accessing it

The bug mentioned is very unlikely to be related to the misaligned registers in the vbios, as the register in question does handle the crtc gpio (display controller)

Feel free to take a look at nouveau_bios.c: valid_reg() and bios_rd32()
There are some hints that may help us out and get rid of those annoying messages


Appreciated
Comment 5 Frank Schaefer 2012-07-28 20:13:43 UTC
(In reply to comment #4)
> ...
> The register mentioned is "off by one" to NV_PCRTC_GPIO_EXT (0x0060081c).
> ...
> Feel free to take a look at nouveau_bios.c: valid_reg() and bios_rd32()
> There are some hints that may help us out and get rid of those annoying
> messages

Hmmm... thanks for the pointer.

According to the comments in valid_reg() and bios_rd32(), some C51 have this register misaligned on purpose.

There is something special about the DVI-connector of my GeForce 6150SE nForce 430 (NV4C): it is connected via a Sil1364 sDVO !
The DVI connector currently doesn't work (anyone out there with a datasheet for the Sil1364 ? ;-) ), so I can't test it. See bug 26797 for details.
No problems with the VGA connector.

I don't know about GeForce 7025 nForce 630a, might be similar ?

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.