Page 1 of 1

Hybrid graphics => hdmi not working

Posted: Mon Feb 11, 2019 6:45 am
by kenar
Hi! Could you please help make my hdmi port running?
I want to use it basically for watching smth on my TV.

Code: Select all

System:    Host: *********  Kernel: 4.19.0-1-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 
           Desktop: Xfce 4.12.3 Distro: MX-18_x64 Continuum Dec 20  2018 
           base: Debian GNU/Linux 9 (stretch) 
Machine:   Type: Laptop System: HP product: OMEN by HP Laptop v: Type1ProductConfigId 
           serial: <filter> 
           Mobo: HP model: 8259 v: 83.45 serial: <filter> UEFI: Insyde v: F.35 date: 01/23/2017 [code]
CPU:       Topology: Quad Core model: Intel Core i5-7300HQ bits: 64 type: MCP arch: Kaby Lake 
           rev: 9 L2 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19968 
           Speed: 2093 MHz min/max: 800/3500 MHz Core speeds (MHz): 1: 2093 2: 1352 3: 1368 
           4: 1306 
Graphics:  Device-1: Intel vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: NVIDIA vendor: Hewlett-Packard driver: nvidia v: 390.87 bus ID: 01:00.0 
           Display: x11 server: X.Org 1.19.2 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 630 (Kaby Lake GT2) v: 4.5 Mesa 18.2.6 
           direct render: Yes 
Audio:     Device-1: Intel vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
           bus ID: 00:1f.3 
           Sound Server: ALSA v: k4.19.0-1-amd64 
Actually nothing works via hdmi. Here is xrandr with my TV turned on and connected to the hdmi port:

Code: Select all

xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.01*+  59.93    40.00  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1280x1024     60.02  
   1440x900      59.89  
   1280x960      60.00  
   1360x768      59.80    59.96  
   1152x864      60.00  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   960x600       60.00  
   960x540       59.99  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   800x512       60.17  
   700x525       59.98  
   640x512       60.02  
   720x450       59.89  
   640x480       60.00    59.94  
   680x384       59.80    59.96  
   576x432       60.06  
   512x384       60.00  
   400x300       60.32    56.34  
   320x240       60.05  
HDMI-1 disconnected (normal left inverted right x axis y axis)

Re: Hybrid graphics => hdmi not working

Posted: Mon Feb 11, 2019 7:56 am
by Jerry3904
I think you have to install bumblebee from the repos and maybe reboot, but others will know better.

Re: Hybrid graphics => hdmi not working

Posted: Mon Feb 11, 2019 8:52 am
by kenar
Jerry3904 wrote:
Mon Feb 11, 2019 7:56 am
I think you have to install bumblebee from the repos and maybe reboot, but others will know better.
I believe it has been already, as I installed the Nvidia driver with the mx utility

Re: Hybrid graphics => hdmi not working

Posted: Mon Feb 11, 2019 9:11 am
by chrispop99
If your machine works in the same way as similar DELL machines, it will not be possible to use the HDMI port under Linux when using hybrid graphics.

The only way to use the HDMI port when running Linux is to go into the BIOS and turn off Optimus. The machine will then run exclusively on NVIDIA graphics. It will run hot, the fan noise will be high, and battery life shortened. It's also possible your BIOS doesn't support Optimus switching, in which case you won't be able to use the HDMI port at all.

Unfortunately, once BumbleBee has been installed, turning off Optimus in the BIOS makes the graphics default to VGA, and so far I haven't found a fix for that situation.

I'm sorry to provide such a negative point of view; I really hope I'm wrong, and you come up with a solution, but after spending a lot of time trying to fix this with DELL E6430 Optimus machines, I gave up.

Chris

Re: Hybrid graphics => hdmi not working

Posted: Tue Feb 12, 2019 8:55 am
by kenar
chrispop99
Well, that really is a pity

I've recently tried this solution: https://unix.stackexchange.com/a/321276
Then intel-virtual-output + xrandr gave

Code: Select all

xrandr 
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
   1920x1080     60.01*+  59.93    40.00  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
  ...
   720x405       60.00  
   640x360       60.00  
HDMI1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
Any suggestions?

Apart from that I read here: https://github.com/Bumblebee-Project/Bu ... ith-laptop
Because everything is rendered through the nvidia chip, the nvidia card must stay on (see above for disabling PM) and the OpenGL library path must be set to nvidia' libGL.so directory. Alternatively, uninstall Bumblebee as it does currently not fully support external monitors. If you want to keep bumblebee and have desktop on external monitor, you can do it killing bumblebee, setting your nvidia graphic card on (/proc/acpi/bbswitch), then you need to export your nvidia library
I am not quite sure, but, maybe there is an alternative to bumblebee?

Say https://cubethethird.wordpress.com/2017 ... idia-xrun/