Bug 42869

Summary: [3.3-rc1 regression] [nouveau] Spurious TV-out detected
Product: Drivers Reporter: Andreas Schwab (schwab)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.3-rc5 Subsystem:
Regression: Yes Bisected commit-id:
Bug Depends on:    
Bug Blocks: 42644    
Attachments: drm messages from 3.2.1
drm messages from 3.3-rc5

Description Andreas Schwab 2012-03-05 14:21:28 UTC
Created attachment 72540 [details]
drm messages from 3.2.1

0000:f0:10.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200 Ultra] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: nVidia Corporation Device 0010
        Flags: bus master, 66MHz, medium devsel, latency 16, IRQ 48
        Memory at 91000000 (32-bit, non-prefetchable) [size=16M]
        Memory at 98000000 (32-bit, prefetchable) [size=128M]
        Expansion ROM at 90000000 [disabled] [size=128K]

The monitor is connected to DVI-I-2, but the driver claims output is on
TV-1.

Here's the difference of the kernel output between 3.2.1 and 3.3-rc5:

< [drm] nouveau 0000:f0:10.0: Found Display Configuration Block version 2.2
< [drm] nouveau 0000:f0:10.0: Raw DCB entry 0: 01100102 00000000
< [drm] nouveau 0000:f0:10.0: Raw DCB entry 1: 01000100 000088b8
< [drm] nouveau 0000:f0:10.0: Raw DCB entry 2: 02110212 11b00000
< [drm] nouveau 0000:f0:10.0: Raw DCB entry 3: 02010210 11b088b8
< [drm] nouveau 0000:f0:10.0: Raw DCB entry 4: 02010211 11b00003
> [drm] nouveau 0000:f0:10.0: I2C4: type 3 index 0/0 unknown
> [drm] nouveau 0000:f0:10.0: I2C7: type 3 index 0/0 unknown
> [drm] nouveau 0000:f0:10.0: I2C8: type 3 index 0/0 unknown
> [drm] nouveau 0000:f0:10.0: I2C9: type 2 index 0/0 unknown
> [drm] nouveau 0000:f0:10.0: I2C15: type 3 index 0/0 unknown
> [drm] nouveau 0000:f0:10.0: MXM: no VBIOS data, nothing to do
> [drm] nouveau 0000:f0:10.0: DCB version 2.2
> [drm] nouveau 0000:f0:10.0: DCB outp 00: 01100102 00000000
> [drm] nouveau 0000:f0:10.0: DCB outp 01: 01000100 000088b8
> [drm] nouveau 0000:f0:10.0: DCB outp 02: 02110212 11b00000
> [drm] nouveau 0000:f0:10.0: DCB outp 03: 02010210 11b088b8
> [drm] nouveau 0000:f0:10.0: DCB outp 04: 02010211 11b00003
---
< [drm] nouveau 0000:f0:10.0: allocated 1280x1024 fb: 0x49000, bo c000000177cd8000
< [drm] nouveau 0000:f0:10.0: Setting dpms mode 0 on tmds encoder (output 2)
< [drm] nouveau 0000:f0:10.0: Output DVI-I-2 is running on CRTC 1 using output B
> [drm] nouveau 0000:f0:10.0: Load detected on output B
> [drm] nouveau 0000:f0:10.0: allocated 720x576 fb: 0x49000, bo
> c000000177c00400
> [drm] nouveau 0000:f0:10.0: Setting dpms mode 0 on TV encoder (output 4)
> [drm] nouveau 0000:f0:10.0: Output TV-1 is running on CRTC 1 using output B

Reverting commit a0b25635515ef5049f93b032a1e37f18b16e0f6f ("drm/nouveau/gpio: reimplement as nouveau_gpio.c, fixing a number of issues") (together with 47e5d5cb83d4b41168f4afa1ca32843d4a126cc8, 52c4d767437b40b0cbc02d6a4480abb45ace64bb and 7df898b1a70b13c3a8892625f4ead929d9554293 which depend on it) fixes the issue, and nouveau.tv_disable=1 is also a workaround.
Comment 1 Andreas Schwab 2012-03-05 14:22:09 UTC
Created attachment 72541 [details]
drm messages from 3.3-rc5