Bug 91142 - [Intel HD 4000][intel-virtual-output] Screens attached to secondary graphics card no longer function
Summary: [Intel HD 4000][intel-virtual-output] Screens attached to secondary graphics ...
Status: CLOSED INVALID
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-29 12:47 UTC by Jeff Katz
Modified: 2017-07-24 22:46 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
xrandr for main display (1.29 KB, text/plain)
2015-06-29 12:47 UTC, Jeff Katz
no flags Details
xrandr for "extra" display (726 bytes, text/plain)
2015-06-29 12:48 UTC, Jeff Katz
no flags Details
output of dmesg (65.30 KB, text/plain)
2015-06-29 12:48 UTC, Jeff Katz
no flags Details
output of lshw (17.96 KB, text/plain)
2015-06-29 12:49 UTC, Jeff Katz
no flags Details
uname, showing kernel version and architecture (93 bytes, text/plain)
2015-06-29 12:49 UTC, Jeff Katz
no flags Details
output of intel-virtual-output in debug mode (7.95 KB, text/plain)
2015-06-29 12:50 UTC, Jeff Katz
no flags Details
xorg.8.log (39.02 KB, text/plain)
2015-06-29 13:29 UTC, Jeff Katz
no flags Details

Description Jeff Katz 2015-06-29 12:47:55 UTC
Created attachment 116791 [details]
xrandr for main display

It's me again ;)

I have a Lenovo T430 with "Optimus"--HD4000 + Nvidia. Previously, I was able to use intel-virtual-output to enable using displays connected to the Nvidia chip. However, in a recent update (relatively recent--last months--can't say for sure) this has ceased to work, with the displays showing as not connected. 

This is the same laptop/setup as https://bugs.freedesktop.org/show_bug.cgi?id=76146

I would expect things to work as before:

1) Boot the laptop
2) run 'intel-virtual-output'
3) attach laptop to dock
4) xrandr / turn displays on. 

however, at step 4, the additional displays/modes are not available, and the devices show as disconnected.
Comment 1 Jeff Katz 2015-06-29 12:48:28 UTC
Created attachment 116792 [details]
xrandr for "extra" display
Comment 2 Jeff Katz 2015-06-29 12:48:45 UTC
Created attachment 116793 [details]
output of dmesg
Comment 3 Jeff Katz 2015-06-29 12:49:01 UTC
Created attachment 116794 [details]
output of lshw
Comment 4 Jeff Katz 2015-06-29 12:49:40 UTC
Created attachment 116795 [details]
uname, showing kernel version and architecture

Running ARCH linux with git intel graphics drivers.
Comment 5 Jeff Katz 2015-06-29 12:50:46 UTC
Created attachment 116796 [details]
output of intel-virtual-output in debug mode
Comment 6 Chris Wilson 2015-06-29 12:54:48 UTC
I presume you expect

Screen 0: minimum 8 x 8, current 3000 x 1920, maximum 16384 x 16384
VGA-0 disconnected primary (normal left inverted right x axis y axis)
LVDS-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 connected 1080x1920+1+0 right (normal left inverted right x axis y axis) 477mm x 268mm panning 2160x1920+0+0 tracking 3000x1920+0+0 border 0/0/0/0
   1920x1080      60.0*+
   1680x1050      60.0  
   1600x900       60.0  
   1280x1024      75.0     60.0  
   1280x800       59.8  
   1280x720       60.0  
   1024x768       75.0     60.0  
   800x600        75.0     60.3  
   640x480        75.0     59.9  
DP-2 connected 1920x1080+1+0 (normal left inverted right x axis y axis) 477mm x 268mm panning 3000x1080+0+0 tracking 3000x1920+0+0 border 0/0/0/0
   1920x1080      60.0*+
   1680x1050      60.0  
   1600x900       60.0  
   1280x1024      75.0     60.0  
   1280x800       59.8  
   1280x720       60.0  
   1024x768       75.0     60.0  
   800x600        75.0     60.3  
   640x480        75.0     59.9  
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)

i.e. a pair of DisplayPort outputs on the nvidia device. However, it is only reporting 

Screen 0: minimum 8 x 8, current 8 x 8, maximum 16384 x 16384
VGA-0 connected primary (normal left inverted right x axis y axis)
   1024x768      60.00 +
   800x600       72.19    60.32    56.25  
   640x480       59.94  
   512x384       60.00  
   400x300       72.19  
   320x240       60.05  
LVDS-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)


The problem seems to be originating in the nVidia driver not detecting the outputs. The ACPI warnings are related, but I don't know if they are significant. Look for something in the bumblebee Xorg.8.log and try rolling back the kernel, or the nvidia driver.
Comment 7 Jeff Katz 2015-06-29 13:29:47 UTC
Created attachment 116797 [details]
xorg.8.log

nothing suspicious here. will attempt newer/older verisons and report back.
Comment 8 Jeff Katz 2015-06-29 16:28:08 UTC
Right you are; the NVIDIA driver somehow lost its mind. Remove->reinstall fixed it.

Thanks.
Comment 9 Chris Wilson 2015-06-29 20:12:31 UTC
Thanks for the follow up! As always shout if you spot something that can be improved.


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.