Bug 85346

Summary: [ilk] Setting VGA to 1920x1200@60Hz causes WARN(loop in pipe configuration)
Product: DRI Reporter: Colin E <colin.e.uk>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED WORKSFORME QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: brian, intel-gfx-bugs
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
TGZ containing dmesg, xorg.conf (modified) and Xorg.0.log none

Description Colin E 2014-10-22 20:51:19 UTC
Created attachment 108259 [details]
TGZ containing dmesg, xorg.conf (modified) and Xorg.0.log

System environment:
-- chipset: Intel Z97
-- system architecture: 64-bit
-- xf86-video-intel: ?
-- xserver: xorg-server 2:1.16.1-1
-- mesa: ?
-- libdrm: 2.4.58-2
-- kernel:3.16-2-amd64
-- Linux distribution: SMP Debian 3.16.3-2 (2014-09-20) x86_64 GNU/Linux
-- Machine or mobo model: MSI Z97M-G43
-- Display connector: VGA
-- Monitor: Dell 2405FPW (24" 1920x1200)

Reproducing steps:

System is not picking up correct monitor resolutions via EDID. The only choices offered are: 1024x768, 800x600, 848x480, 640x480 (all at 60Hz)

get-edid reports: "The EDID data should not be trusted as the VBE call failed"

1) Generate a new modeline with gtf

$ gtf 1920 1200 60

  # 1920x1200 @ 60.00 Hz (GTF) hsync: 74.52 kHz; pclk: 193.16 MHz
  Modeline "1920x1200_60.00"  193.16  1920 2048 2256 2592  1200 1201 1204 1242  -HSync +Vsync

2) Generate new Xorg.conf

Go to a new virtual terminal (as root).

$ service lightdm stop
$ Xorg -configure /etc/X11/xorg.conf.current
$ service lightdm start
$ cp /etc/X11//etc/X11/xorg.conf.current xorg.conf

3) Edit Xorg.conf to add new modeline (copy attached)
4) Restart Xorg again (as in step 2)

5) Attempt to set new mode

System sees newly defined mode-

$ xrandr --current
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1920x1200_60  60.00  
   1024x768      60.00* 
   800x600       60.32    56.25  
   848x480       60.00  
   640x480       59.94  
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)

Attempt to use new mode-

$ xrandr --output VGA1 --mode "1920x1200_60"
xrandr: Configure crtc 0 failed

Additional info:

Motherboard (MSI Z97M-G43) specifically states that the board supports up to 1920x1200@60Hz on the VGA port.

dmesg includes the following error-

[768761.630664] WARNING: CPU: 0 PID: 14759 at /build/linux-P15SNz/linux-3.16.3/drivers/gpu/drm/i915/intel_display.c:9696 __intel_set_mode+0x131f/0x1560 [i915]()

(not sure if this is relevant)
Comment 1 Jesse Barnes 2014-12-10 21:24:19 UTC
So two issues here: we apparently don't get the EDID over VGA in this config, and when trying to set a 19x12 mode, we fail in the mode set code.

Can you build the drm-intel-nightly branch from git://anongit.freedesktop.org/drm-intel and boot it with drm.debug=6 and attach the dmesg?  Then "dmesg -c" and try the mode set and attach the dmesg output from that failure?
Comment 2 Jani Nikula 2015-02-12 11:35:25 UTC
Colin, please attach the information requested in comment #1.
Comment 3 Colin E 2015-03-02 13:48:26 UTC
Not sure i'm in a position to start building Xorg from scratch guys, i'm a user/administrator, not a developer i'm afraid. Given step by step instructions I can give it a go, but I suspect that would take an expert more time than doing the build themselves.
Comment 4 Ander Conselvan de Oliveira 2015-06-04 19:14:36 UTC
(In reply to Colin E from comment #3)
> Not sure i'm in a position to start building Xorg from scratch guys, i'm a
> user/administrator, not a developer i'm afraid. Given step by step
> instructions I can give it a go, but I suspect that would take an expert
> more time than doing the build themselves.

Note that you were requested to build a new kernel, not Xorg. Given that request was made several months ago, I believe testing with the lastest kernel release, 4.0, would be enough.

I'm closing this bug due to inactivity, but please feel free to reopen if you can provide the information requested in comment 1 with kernel 4.0.

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.