Optimus NVIDIA GPU - How to use HDMI output?

Friends,

I own an NVIDIA GPU with OPTIMUS TECHNOLOGY (MODEL: NVIDIA Corporation GF108M [GeForce GT 630M]). The GPU is properly installed on my ASUS notebook, but I can not use the HDMI output.

I installed the GPU using a PROPRIETARY DRIVER through the command…

# mhwd -a pci nonfree 0300 -f

MY QUESTION IS:

ANYONE IN A SIMILAR SITUATION CAN USE THE HDMI OUTPUT? IF SO, HOW DID YOU DO IT?


Here’s a thread done by me teaching how to install a GPU with Optimus technology…

1 Like

Whenever I connect a monitor to the HDMI port the message “No External Display” is displayed and the external monitor is not recognized.

This is a very old problem for me on Linux. A problem with tons of explanations and no solution.

The only opportunity I had this port functional using Linux was when I used Linux Mint which means that: “Yes! My HDMI port works with Linux!”

Any clue what it might be? I would be grateful for any help!

Thanks! :grinning:

PLUS I: I can succesfully use the discrete GPU using primusrun. When I connect my monitor to the HDMI port and I start some application with primusrun, some signal appears, but only black screen.

PLUS II: “inxi -G”, “mhwd -li” and “xrandr” outputs…

[root@eduardo-nb eduardo]# inxi -G
Graphics:  Card-1: Intel 3rd Gen Core processor Graphics Controller
           Card-2: NVIDIA GF108M [GeForce GT 630M]
           Display Server: X.org 1.19.3 driver: intel tty size: 110x35 Advanced Data: N/A for root
[root@eduardo-nb eduardo]# mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI
video-hybrid-intel-nvidia-bumblebee            2017.03.12               false            PCI


Warning: No installed USB configs!
[root@eduardo-nb eduardo]# xrandr
Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767
LVDS1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 310mm x 170mm
   1366x768      60.10*+
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   640x480       59.94  
   720x405       60.00  
   680x384       60.00  
   640x360       60.00  
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Some possible solution ahead…

NOTE: My NVIDIA GPU is wired to the HDMI port!

1 - Check /etc/bumblebee/xorg.conf.nvidia configuration;

2 - Run intel-virtual-output command.

FURTHER I: How do I get a better resolution for my monitor? The resolution 1024X768 is very low…

FURTHER II: Why use “VIRTUAL2”, but not “VIRTUAL1”?

[root@eduardo-nb eduardo]# xrandr
Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767
LVDS1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 310mm x 170mm
   1366x768      60.10*+
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   640x480       59.94  
   720x405       60.00  
   680x384       60.00  
   640x360       60.00  
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
VIRTUAL2 connected (normal left inverted right x axis y axis)
   1024x768      60.00  
   VIRTUAL2.639-800x600  72.19  
   800x600       60.32    56.25  
   640x480       59.94  
   VIRTUAL2.643-512x384  60.00  
   VIRTUAL2.644-400x300  72.19  
   VIRTUAL2.645-320x240  60.05

Unfortunately, I don’t know. On my laptop the correct possible resolution gets detected automatically.

It seems to be random. On my laptop, it is using “VIRTUAL6”.

1 Like

To solve the thread problem I created this script…

This is a bash script that will try to DISCOVER THE MAXIMUM POSSIBLE RESOLUTIONS (resolutions that do not “crash” the display and keep its proportions) for an EXTERNAL display connected on NOTEBOOKS with a NVIDIA GPU (OPTIMUS TECHNOLOGY) and the HDMI port WIRED to the GPU. It will also TRY TO ACTIVATE A DISPLAY CONNECTED TO THAT HDMI.

Basically this script will find out the settings needed to use with the command xrandr according to your hardware!

Example:

intel-virtual-output && xrandr -q &>/dev/null
xrandr --newmode "1392x892_60.00"  102.00  1392 1472 1616 1840  892 895 905 926 -hsync +vsync
xrandr --addmode VIRTUAL2 1392x892_60.00
xrandr --output VIRTUAL2 --mode 1392x892_60.00
xrandr --output LVDS1 --left-of LVDS1

NOTE: dis_r_dis is under BSD license! =D

1 Like

PLUS!

@philm

Philip Müller,

In view of your words…

Manjaro Linux targets beginners and advanced users at the same time. We provide user interface tools and scripts to make life easier. Manjaro supports NVIDIA’s Optimus technology out of the box… – Philip Müller

… at https://manjaro.org/ I think this thread is in your best interest since it addresses a common issue for users who have the HDMI port WIRED to the NVIDIA GPU (OPTIMUS TECHNOLOGY).

I’m at the disposal of the Manjaro Team (@oberon) in what I can be useful!

Thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.