RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 876295 - [vgaswitcheroo] Switching to discrete graphics disconnects Internal display
Summary: [vgaswitcheroo] Switching to discrete graphics disconnects Internal display
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.4
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Dave Airlie
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-13 18:38 UTC by Jiri Koten
Modified: 2017-12-06 11:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-06 11:44:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
dmesg output (61.25 KB, text/plain)
2012-11-13 18:42 UTC, Jiri Koten
no flags Details
Xorg log (94.25 KB, text/plain)
2012-11-13 18:44 UTC, Jiri Koten
no flags Details

Description Jiri Koten 2012-11-13 18:38:56 UTC
Description of problem:
I have ThinkPad T430 (2349G6G) with NV Optimus. When I switch to discrete graphics I get output only from  display port. Internal LVDS1 display is disconnected.

On the other hand with integrated graphics I only get LVDS1 and VGA output, no DP or DVI.  

$ xrandr -q
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 8192 x 8192
LVDS-1 disconnected (normal left inverted right x axis y axis)
VGA-1 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 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 459mm x 296mm
   1680x1050      59.9*+
   1680x945       60.0  
   1400x1050      59.9  
   1600x900       60.0  
   1280x1024      75.0     60.0  
   1440x900       75.0     59.9  
   1280x960       60.0  
   1366x768       60.0  
   1360x768       60.0  
   1280x800       74.9     59.9  
   1152x864       75.0  
   1280x768       74.9     60.0  
   1024x768       75.1     70.1     60.0  
   1024x576       60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   848x480        60.0  
   640x480        72.8     75.0     66.7     60.0  
   720x400        70.1  


hw: 
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [Quadro NVS 5400M] [10de:0def] (rev a1)



Version-Release number of selected component (if applicable):
kernel-2.6.32-340.el6.x86_64
mesa-dri-drivers-9.0-0.2.el6.x86_64
xorg-x11-server-Xorg-1.13.0-7.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. switch to discrete graphics
# echo DDIS > /sys/kernel/debug/vgaswitcheroo/switch
2. start Xorg

  
Actual results:
LVDS-1 disconnected (normal left inverted right x axis y axis)
Internal Laptop screen is dead

Expected results:
Internal screen is on

Additional info:

Comment 1 Jiri Koten 2012-11-13 18:42:00 UTC
Created attachment 644322 [details]
dmesg output

[snip]
...
VGA switcheroo: detected Optimus DSM method \_SB_.PCI0.PEG_.VID_ handle
...
vga_switcheroo: enabled
vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=none:owns=io+mem
...
i915: switched off
i915 0000:00:02.0: power state changed by ACPI to D3

Comment 2 Jiri Koten 2012-11-13 18:44:25 UTC
Created attachment 644324 [details]
Xorg log

Comment 3 Dave Airlie 2012-12-12 03:16:51 UTC
does it work with the bios option?

most of the new optimus laptops don't really support old style GPU switching.

Comment 4 Jiri Koten 2012-12-12 10:00:36 UTC
(In reply to comment #3)
> does it work with the bios option?
No sure what you mean exactly. When I switch to discrete graphics mode (nV graphics) in BIOS a get internal screen and all the outputs (VGA included). When I switch to integrated Intel graphics I'm still limited to Internal LVDS screen ans VGA output. 

> most of the new optimus laptops don't really support old style GPU switching.
What the "old style" refers to?

Comment 5 RHEL Program Management 2012-12-16 06:48:32 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 7 RHEL Program Management 2013-10-14 04:39:30 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 8 Jan Kurik 2017-12-06 11:44:05 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/


Note You need to log in before you can comment on or make changes to this bug.