Bug 30845

Summary: [855 missing dvo driver] DVI output unsupported
Product: DRI Reporter: Paweł Pałucha <pawel.palucha>
Component: DRM/IntelAssignee: Default DRI bug account <dri-devel>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: lowest CC: jbarnes
Version: XOrg git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg log file
none
X logs with monitor connected to DVI output
none
X logs with monitor connected to VGA output
none
dmesg log with drm.debug=0xe option set none

Description Paweł Pałucha 2010-10-13 14:09:47 UTC
Created attachment 39418 [details]
dmesg log file

I've got industrial PLC computer from Kontron, using Intel Corporation 82852/855GM Integrated Graphics Device (rev 02). Computer has single DVI+VGA output. Monitor connected with DVI+VGA -> VGA connector and VGA cable works ok under both text console and X. Using VESA driver (with KMS turned off) I'm able to use both DVI and VGA outputs at the same time (with DVI/VGA splitter), with cloned picture.

But I'm not able to use monitor connected to DVI output using X-org intel driver. It looks like it never worked - I tried different combinations of kernel/X/driver from Debian lenny to newest version from Debian unstable and experimental. 

When booting system with monitor connected to DVI, monitor stops displays picture after i915 module is loaded and system changes console graphics mode.

xrandr seems to see output correctly, I can turn it on/off, set mode, but monitor always displays 'no signal'. 

The strange thing is that in X logs EDI always reports that monitor is connected to VGA1 output, even if it is physically connected to LVDS1 output. Monitor model is detected correctly.

Currently I was trying with kernel version 2.6.32-rc6 (Debian package version 2.6.36~rc6-1~experimental.1), xorg 7.5, intel driver 2.13 (Debian version 2:2.13.0-1).

I'm attaching dmesg, X logs with monitor attached to VGA display and another one with monitor attached to DVI display will follow.

Debian bug number is 580989, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580989

There's an output of some commands following. Please let me know if I can provide any more details.

Thank
Paweł

# lspci -v 

00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
        Subsystem: Intel Corporation Device 1968
        Flags: bus master, fast devsel, latency 0
        Memory at <unassigned> (32-bit, prefetchable)
        Capabilities: [40] Vendor Specific Information: Len=05 <?>
        Kernel driver in use: agpgart-intel

00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
        Subsystem: Intel Corporation Device 1968
        Flags: bus master, fast devsel, latency 0

00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
        Subsystem: Intel Corporation Device 1968
        Flags: bus master, fast devsel, latency 0

00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02) (prog-if 00 [VGA controller])
        Subsystem: Intel Corporation Device 1968
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at f0000000 (32-bit, prefetchable) [size=128M]
        Memory at fe980000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at df80 [size=8]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [d0] Power Management version 1
        Kernel driver in use: i915
        Kernel modules: i915

00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
        Subsystem: Intel Corporation Device 1968
        Flags: bus master, fast devsel, latency 0
        Memory at e8000000 (32-bit, prefetchable) [size=128M]
        Memory at fe880000 (32-bit, non-prefetchable) [size=512K]
        Capabilities: [d0] Power Management version 1

00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation Device 24c0
        Flags: bus master, medium devsel, latency 0, IRQ 16
        I/O ports at df00 [size=32]
        Kernel driver in use: uhci_hcd
        Kernel modules: uhci-hcd

00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation Device 24c0
        Flags: bus master, medium devsel, latency 0, IRQ 19
        I/O ports at de80 [size=32]
        Kernel driver in use: uhci_hcd
        Kernel modules: uhci-hcd

00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation Device 24c0
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at de00 [size=32]
        Kernel driver in use: uhci_hcd
        Kernel modules: uhci-hcd

00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI])
        Subsystem: Intel Corporation Device 24c0
        Flags: bus master, medium devsel, latency 0, IRQ 23
        Memory at fe977c00 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=0080
        Kernel driver in use: ehci_hcd
        Kernel modules: ehci-hcd

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        I/O behind bridge: 0000e000-0000efff
        Memory behind bridge: fea00000-febfffff
        Kernel modules: shpchp

00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 02)
        Flags: bus master, medium devsel, latency 0
        Kernel modules: intel-rng, iTCO_wdt

00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 02) (prog-if 8f [Master SecP SecO PriP PriO])
        Subsystem: Intel Corporation Device 24c0
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at dd80 [size=8]
        I/O ports at dd00 [size=4]
        I/O ports at dc80 [size=8]
        I/O ports at dc00 [size=4]
        I/O ports at db80 [size=16]
        Memory at fe977800 (32-bit, non-prefetchable) [size=1K]
        Kernel driver in use: ata_piix
        Kernel modules: ata_piix

00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 02)
        Subsystem: Intel Corporation Device 24c0
        Flags: medium devsel, IRQ 17
        I/O ports at 0400 [size=32]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c-i801

01:0c.0 Unassigned class [ff80]: PLX Technology, Inc. PCI9030 32-bit 33MHz PCI <-> IOBus Bridge (rev 0a)
        Subsystem: Kontron Modular Computers GmbH Device 0240
        Flags: medium devsel, IRQ 14
        Memory at febffc00 (32-bit, non-prefetchable) [size=128]
        I/O ports at ef80 [size=128]
        Memory at febc0000 (32-bit, non-prefetchable) [size=128K]
        Memory at feba0000 (32-bit, non-prefetchable) [size=128K]
        Memory at fea00000 (32-bit, non-prefetchable) [size=1M]
        Memory at feb80000 (32-bit, non-prefetchable) [size=128K]

01:0d.0 Ethernet controller: Intel Corporation 8255xER/82551IT Fast Ethernet Controller (rev 10)
        Flags: bus master, medium devsel, latency 64, IRQ 20
        Memory at febfe000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at ef00 [size=64]
        Memory at feb60000 (32-bit, non-prefetchable) [size=128K]
        Expansion ROM at febe0000 [disabled] [size=64K]
        Capabilities: [dc] Power Management version 2
        Kernel driver in use: e100
        Kernel modules: e100

01:0e.0 Ethernet controller: Intel Corporation 8255xER/82551IT Fast Ethernet Controller (rev 10)
        Flags: bus master, medium devsel, latency 64, IRQ 21
        Memory at febfd000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at ee80 [size=64]
        Memory at feb40000 (32-bit, non-prefetchable) [size=128K]
        Expansion ROM at feb30000 [disabled] [size=64K]
        Capabilities: [dc] Power Management version 2
        Kernel driver in use: e100
        Kernel modules: e100

# xrandr -q 

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 2048 x 2048
LVDS1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       60.0*+   85.0     75.0     70.1     60.0*    43.5  
   832x624        74.6  
   800x600        85.1     72.2     75.0     60.3     56.2  
   640x480        85.0     72.8     75.0     59.9  
   720x400        85.0  
   640x400        85.1  
   640x350        85.1  
VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 304mm x 228mm
   1024x768       60.0 +   75.1     72.0     70.1* 
   832x624        74.6  
   800x600        72.2     75.0     60.3  
   640x480        72.8     75.0     66.7     60.0  
   720x400        70.1  
   640x350        70.1  

# xrandr -q --verbose

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 2048 x 2048
LVDS1 connected 1024x768+0+0 (0x43) normal (normal left inverted right x axis y axis) 0mm x 0mm
        Identifier: 0x41
        Timestamp:  428731
        Subpixel:   horizontal rgb
        Clones:    
        CRTC:       1
        CRTCs:      1
        scaling mode: Full aspect
                supported: None         Full         Center       Full aspect 
  1024x768 (0x43)   65.0MHz -HSync -VSync *current +preferred
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
        v: height  768 start  771 end  777 total  806           clock   60.0Hz
  1024x768 (0x44)   94.5MHz +HSync +VSync
        h: width  1024 start 1072 end 1168 total 1376 skew    0 clock   68.7KHz
        v: height  768 start  769 end  772 total  808           clock   85.0Hz
  1024x768 (0x45)   78.8MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock   60.0KHz
        v: height  768 start  769 end  772 total  800           clock   75.0Hz
  1024x768 (0x46)   75.0MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock   56.5KHz
        v: height  768 start  771 end  777 total  806           clock   70.1Hz
  1024x768 (0x43)   65.0MHz -HSync -VSync *current
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
        v: height  768 start  771 end  777 total  806           clock   60.0Hz
  1024x768 (0x47)   44.9MHz +HSync +VSync Interlace
        h: width  1024 start 1032 end 1208 total 1264 skew    0 clock   35.5KHz
        v: height  768 start  768 end  776 total  817           clock   43.5Hz
  832x624 (0x48)   57.3MHz -HSync -VSync
        h: width   832 start  864 end  928 total 1152 skew    0 clock   49.7KHz
        v: height  624 start  625 end  628 total  667           clock   74.6Hz
  800x600 (0x49)   56.3MHz +HSync +VSync
        h: width   800 start  832 end  896 total 1048 skew    0 clock   53.7KHz
        v: height  600 start  601 end  604 total  631           clock   85.1Hz
  800x600 (0x4a)   50.0MHz +HSync +VSync
        h: width   800 start  856 end  976 total 1040 skew    0 clock   48.1KHz
        v: height  600 start  637 end  643 total  666           clock   72.2Hz
  800x600 (0x4b)   49.5MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock   46.9KHz
        v: height  600 start  601 end  604 total  625           clock   75.0Hz
  800x600 (0x4c)   40.0MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
        v: height  600 start  601 end  605 total  628           clock   60.3Hz
  800x600 (0x4d)   36.0MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock   35.2KHz
        v: height  600 start  601 end  603 total  625           clock   56.2Hz
  640x480 (0x4e)   36.0MHz -HSync -VSync
        h: width   640 start  696 end  752 total  832 skew    0 clock   43.3KHz
        v: height  480 start  481 end  484 total  509           clock   85.0Hz
  640x480 (0x4f)   31.5MHz -HSync -VSync
        h: width   640 start  664 end  704 total  832 skew    0 clock   37.9KHz
        v: height  480 start  489 end  492 total  520           clock   72.8Hz
  640x480 (0x50)   31.5MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock   37.5KHz
        v: height  480 start  481 end  484 total  500           clock   75.0Hz
  640x480 (0x51)   25.2MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   59.9Hz
  720x400 (0x52)   35.5MHz -HSync +VSync
        h: width   720 start  756 end  828 total  936 skew    0 clock   37.9KHz
        v: height  400 start  401 end  404 total  446           clock   85.0Hz
  640x400 (0x53)   31.5MHz -HSync +VSync
        h: width   640 start  672 end  736 total  832 skew    0 clock   37.9KHz
        v: height  400 start  401 end  404 total  445           clock   85.1Hz
  640x350 (0x54)   31.5MHz +HSync -VSync
        h: width   640 start  672 end  736 total  832 skew    0 clock   37.9KHz
        v: height  350 start  382 end  385 total  445           clock   85.1Hz
VGA1 connected 1024x768+0+0 (0x46) normal (normal left inverted right x axis y axis) 304mm x 228mm
        Identifier: 0x42
        Timestamp:  428731
        Subpixel:   unknown
        Clones:    
        CRTC:       0
        CRTCs:      0 1
  1024x768 (0x43)   65.0MHz -HSync -VSync +preferred
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
        v: height  768 start  771 end  777 total  806           clock   60.0Hz
  1024x768 (0x55)   78.8MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock   60.1KHz
        v: height  768 start  769 end  772 total  800           clock   75.1Hz
  1024x768 (0x56)   78.4MHz -HSync +VSync
        h: width  1024 start 1080 end 1192 total 1360 skew    0 clock   57.7KHz
        v: height  768 start  769 end  772 total  801           clock   72.0Hz
  1024x768 (0x46)   75.0MHz -HSync -VSync *current
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock   56.5KHz
        v: height  768 start  771 end  777 total  806           clock   70.1Hz
  832x624 (0x48)   57.3MHz -HSync -VSync
        h: width   832 start  864 end  928 total 1152 skew    0 clock   49.7KHz
        v: height  624 start  625 end  628 total  667           clock   74.6Hz
  800x600 (0x4a)   50.0MHz +HSync +VSync
        h: width   800 start  856 end  976 total 1040 skew    0 clock   48.1KHz
        v: height  600 start  637 end  643 total  666           clock   72.2Hz
  800x600 (0x4b)   49.5MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock   46.9KHz
        v: height  600 start  601 end  604 total  625           clock   75.0Hz
  800x600 (0x4c)   40.0MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
        v: height  600 start  601 end  605 total  628           clock   60.3Hz
  640x480 (0x57)   31.5MHz -HSync -VSync
        h: width   640 start  664 end  704 total  832 skew    0 clock   37.9KHz
        v: height  480 start  489 end  491 total  520           clock   72.8Hz
  640x480 (0x50)   31.5MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock   37.5KHz
        v: height  480 start  481 end  484 total  500           clock   75.0Hz
  640x480 (0x58)   30.2MHz -HSync -VSync
        h: width   640 start  704 end  768 total  864 skew    0 clock   35.0KHz
        v: height  480 start  483 end  486 total  525           clock   66.7Hz
  640x480 (0x59)   25.2MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   60.0Hz
  720x400 (0x5a)   28.3MHz -HSync +VSync
        h: width   720 start  738 end  846 total  900 skew    0 clock   31.5KHz
        v: height  400 start  412 end  414 total  449           clock   70.1Hz
  640x350 (0x5b)   25.2MHz +HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  350 start  357 end  359 total  449           clock   70.1Hz
Comment 1 Paweł Pałucha 2010-10-13 14:11:14 UTC
Created attachment 39419 [details]
X logs with monitor connected to DVI output
Comment 2 Paweł Pałucha 2010-10-13 14:11:55 UTC
Created attachment 39420 [details]
X logs with monitor connected to VGA output
Comment 3 Chris Wilson 2010-12-15 16:47:06 UTC
It appears that we lack support for the DVI connector on that DVO chipset. The DVI-I connector will share a DDC line between the DVI and VGA connection and so an EDID probe is successful even for the a monitor connected via DVI when the kernel only knows about VGA.

The first question is then which DVO chipset do you have? A drm.debug=0xe dmesg should hold some clues as to which bit of code is responsible.

There are other possibilities as well, such as a DVI-I connector where the VGA is handled by the onboard CRT chips, but the DVI by an unrecognised DVO chipset, again sharing the same DDC pin.

At the end of the day, we are missing support for the DVO chipset...
Comment 4 Paweł Pałucha 2011-02-23 11:52:29 UTC
Created attachment 43726 [details]
dmesg log with drm.debug=0xe option set

Sorry for the long reply time, I'm attaching requested dmesg log.
Comment 5 Eugeni Dodonov 2011-09-08 15:56:01 UTC
This issue is affecting a hardware component which is not being actively worked on anymore.

Moving the assignee to the dri-devel list as contact, to give this issue a better coverage.
Comment 6 Daniel Vetter 2012-05-25 05:05:59 UTC
Downgrading all missing dvo driver bugs to feature request level.
Comment 7 Daniel Vetter 2012-11-06 11:25:45 UTC
Mass-closing missing dvo driver bugs. We won't ever do that, so this needs a RE effort from someone else.

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.