HDMI wired to Nvidia does not work in a Nvidia Optimus Enabled Laptop

Bug #904476 reported by mediterran81
52
This bug affects 9 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Having a Xinerama desktop environment is impossibe as long as the HDMI video port is linked to the Nvidia car in a optimus enabled laptop (here , the Dell XPS 15).

Installing Bumblebee, openbox, and synergy with some tweaking, we can enable the HDMI video having a separate window manager with low quality rendering.
No possibility to have a xinerama desktop out of the box using Unity or Gnome Shell.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: xorg 1:7.6+7ubuntu7
ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
Uname: Linux 3.0.0-14-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 1.23-0ubuntu4
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,vpswitch,resize,regex,move,snap,place,imgpng,mousepoll,gnomecompat,grid,session,animation,workarounds,wall,expo,ezoom,staticswitcher,fade,scale,unityshell]
CompositorRunning: compiz
Date: Wed Dec 14 22:58:13 2011
DistUpgraded: Fresh install
DistroCodename: oneiric
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu
GraphicsCard:
 Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:04b6]
 nVidia Corporation Device [10de:0df5] (rev ff) (prog-if ff)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MachineType: Dell Inc. Dell System XPS L502X
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-14-generic root=UUID=24540d0f-5803-493c-ace9-e3b3c0cedb26 ro quiet splash vt.handoff=7
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/20/2011
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A06
dmi.board.name: 0YR8NN
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnDellInc.:bvrA06:bd07/20/2011:svnDellInc.:pnDellSystemXPSL502X:pvr:rvnDellInc.:rn0YR8NN:rvrA00:cvnDellInc.:ct8:cvr0.1:
dmi.product.name: Dell System XPS L502X
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu6
version.ia32-libs: ia32-libs 20090808ubuntu26
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu7
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2.1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1

Revision history for this message
mediterran81 (kyoshuu) wrote :
Bryce Harrington (bryce)
affects: xorg (Ubuntu) → nvidia-graphics-drivers (Ubuntu)
Revision history for this message
Jeff Lane  (bladernr) wrote :

We are unable to certify any system with Optimus video in cases like this where HDMI does not function. Example: Precision 6600

tags: added: blocks-hwcert
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Confirmed
summary: - HDMI wired to Nvidia does not work
+ HDMI wired to Nvidia does not work in a Nvidia Optimus Enabled Laptop
Revision history for this message
Hanine HAMZIOUI (hanynowsky) wrote :

Unfortunately, in a hybrid graphics laptop, enabling the HDMI through Xork, means blacklisting Intel graphics driver, which is not feasable!

The one solution for certification imho is to add Nvidia HDMI support through Bumblebee 3.1 which might likely become a default official package in Ubuntu.
Isn't it possible?

Revision history for this message
Yusuf Güngör (yusuf2) wrote :

This bug effects me, too.

Revision history for this message
madbiologist (me-again) wrote :

"Reverse PRIME" support has just been added to the upstream xf86-video-nouveau driver, which should allow your NVIDIA GPU to scan-out what's being rendered by the Intel graphics processor. This should make it's way into Ubuntu at some point in the future.

Patch details:

author Dave Airlie
committer Dave Airlie
commit 1fdd7db94b55c65ea62cc9eaefff620b20e9e4ea

nouveau: add reverse prime support

This allows the nvidia card to scanout Intel cards rendering.

Signed-off-by: Dave Airlie

Revision history for this message
mediterran81 (kyoshuu) wrote : Re: [Bug 904476] Re: HDMI wired to Nvidia does not work in a Nvidia Optimus Enabled Laptop

Thanks. Looking forward to it in 13.10 :)

On Thu, Feb 7, 2013 at 7:03 AM, madbiologist <email address hidden>wrote:

> "Reverse PRIME" support has just been added to the upstream xf86-video-
> nouveau driver, which should allow your NVIDIA GPU to scan-out what's
> being rendered by the Intel graphics processor. This should make it's
> way into Ubuntu at some point in the future.
>
> Patch details:
>
> author Dave Airlie
> committer Dave Airlie
> commit 1fdd7db94b55c65ea62cc9eaefff620b20e9e4ea
>
> nouveau: add reverse prime support
>
> This allows the nvidia card to scanout Intel cards rendering.
>
> Signed-off-by: Dave Airlie
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/904476
>
> Title:
> HDMI wired to Nvidia does not work in a Nvidia Optimus Enabled Laptop
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/904476/+subscriptions
>

Revision history for this message
madbiologist (me-again) wrote :

It turns out the patch was already added to xserver-xorg-video-nouveau 1:1.0.6-0ubuntu2 in Ubuntu 13.04 "Raring Ringtail" ahead of it being committed to the mainline upstream driver - see https://launchpad.net/ubuntu/+source/xserver-xorg-video-nouveau
And just to confirm it's the same patch you can read http://launchpadlibrarian.net/129937213/xserver-xorg-video-nouveau_1%3A1.0.6-0ubuntu1_1%3A1.0.6-0ubuntu2.diff.gz

Revision history for this message
madbiologist (me-again) wrote :

Can you test with a 13.04 daily build and report back here?

Revision history for this message
mediterran81 (kyoshuu) wrote :

Still using RARING in a Virtual Machine. I'll be upgrading to raring next
week.
Will uninstall Bumblebee, re-install nouveau and feedback with results.
Thanks for your valuable information.

On Fri, Feb 8, 2013 at 7:19 AM, madbiologist <email address hidden>wrote:

> Can you test with a 13.04 daily build and report back here?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/904476
>
> Title:
> HDMI wired to Nvidia does not work in a Nvidia Optimus Enabled Laptop
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/904476/+subscriptions
>

Revision history for this message
Hanine HAMZIOUI (hanynowsky) wrote :

HEllo Back,

Sorry for the delay.
I have installed a vanilla Raring (Build of 23 February) for testing purposes and tested right away the HDMI support. SO this is what I obtained so far:

- HDMI is indeed recognized: When I plug the HDMI Cable in the laptop's HDMI port and the monitor, the monitor is recognized and I can see that in the DISPLAY (System settings) applet, as well as using XRANDR -q command.
- HDMI Audio is not supported (the Nvidia Audio through HDMI is not routed).
- Only the MIRROR option is functional (Mirrored displays): If I try to disable the laptop display and let the external display enabled, lightdm restarts immediately or I get an error of type:

-- gnome-settings-daemon : CRASH triggering apport-gtk.
-- DBUS error popup saying that the new configuration cannot be written (Right after clicking on Apply button). I did not test directly with xrandr commands but I suppose the same results would be produced.

--------------Output of xrandr -q --------------------------------------
@l502x:~$ xrandr -q
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 32767 x 32767
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1366x768 60.0*+
   1360x768 59.8 60.0
   1024x768 60.0
   800x600 60.3 56.2
   640x480 59.9
VGA2 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)
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected (normal left inverted right x axis y axis)
   1360x768 60.0 +
   1920x1080 50.0 60.0 30.0 25.0 24.0
   1920x1080i 25.0 30.0
   1680x1050 59.9
   1680x945 60.0
   1400x1050 59.9
   1600x900 60.0
   1280x1024 60.0
   1440x900 59.9
   1280x960 60.0
   1366x768 60.0
   1280x800 74.9 59.9
   1152x864 75.0
   1280x768 74.9 60.0
   1280x720 50.0 60.0
   1024x768 75.1 70.1 60.0
   1024x576 60.0
   832x624 74.6
   800x600 72.2 75.0 60.3 56.2
   720x576 50.0
   848x480 60.0
   720x480 59.9
   640x480 72.8 75.0 66.7 60.0
   720x400 70.1
  1024x768 (0x8d) 65.0MHz
        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
  800x600 (0x8e) 40.0MHz
        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 (0x8f) 36.0MHz
        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

Revision history for this message
Tim (tim-schier) wrote :

Hi all,

Similar problem here for me with my Asus N56VZ.

Hardware:
- Intel 3rd Gen (Ivy Bridge) integrated graphics chipset
- nVidia Geforce GT650M (Optimus).

Ubuntu 12.10
Linux kernel 3.7.0-7-generic
nvidia-319.12
bumblebee 3.1-1~quantalppa1
(xorg-edgers)
xserver-xorg 1:7.7+1ubuntu4

For me, xrandr -q doesn't list the HDMI port, even when plugged in:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 32767 x 32767
LVDS1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080 60.0*+ 59.9
   1680x1050 60.0 59.9
   1600x1024 60.2
   1400x1050 60.0
   1280x1024 60.0
   1440x900 59.9
   1280x960 60.0
   1360x768 59.8 60.0
   1152x864 60.0
   1024x768 60.0
   800x600 60.3 56.2
   640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)

My VGA port does work though.

Changed in nvidia-graphics-drivers (Ubuntu):
importance: Undecided → Medium
Revision history for this message
madbiologist (me-again) wrote :

A further patch has been added to the upstream xf86-video-nouveau driver:

author Maarten Lankhorst <email address hidden> 2013-06-10 11:06:35 (GMT)
committer Maarten Lankhorst <email address hidden> 2013-06-10 11:06:38 (GMT)
commit 2e34d11541e1f987c7ca0556592cb16f4d232299

nouveau: enable support for normal optimus configuration

nvd7 has no display engine, only enable sink output capability if there is a crtc.

drmmode doesn't work without crtc's, so prevent crashes by skipping the drmmode code in that case.

Signed-off-by: Maarten Lankhorst <email address hidden>

This patch is available in xf86-video-nouveau 1.0.8, which is currently available in the development version of Ubuntu 13.10 "Saucy Salamander" as xserver-xorg-video-nouveau 1:1.0.8-0ubuntu1

Revision history for this message
madbiologist (me-again) wrote :

Re comment #13 - according to bug 1142733 there is a corresponding kernel patch.

Revision history for this message
dino99 (9d9) wrote :

That version is no more supported; please open a new bug report if the actual archive found version also has the same issue.

Changed in nvidia-graphics-drivers (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.