Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[SOLVED] xrandr can't see HDMI output

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
g4s8
n00b
n00b
Posts: 16
Joined: Fri Dec 15, 2017 6:21 pm
Contact:
Contact g4s8
Website

[SOLVED] xrandr can't see HDMI output

  • Quote

Post by g4s8 » Mon Dec 24, 2018 8:04 am

I have a laptop with i915 + nvidia graphic cards configured using optimus.

I'm trying to connect TV with HDMI cable as an additional monitor, but TV show message "no signal" and xrandr show "HDMI1 disconnected".
(I've read a lot of forum topics about HDMI output with optimus, such as https://wiki.gentoo.org/wiki/NVIDIA_Opt ... figuration)

I can assure that the cable is OK and TV configured correctly, because I'm able to connect another device using same cable and same TV settings, and it's working fine.

When I'm connecting HDMI cable there are no logs in Xorg.0.log file, the only message in logs is

Code: Select all

ACPI event unhandled: video/switchmode VMOD 00000080 00000000
in /var/log/messages

here is xrandr output

Code: Select all

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
   1920x1080     60.02*+  59.93    48.03  
   1680x1050     59.88  
   1400x1050     59.98  
   1600x900      60.00    59.95    59.82  
   1280x1024     60.02  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1368x768      60.00    59.88    59.85  
   1280x800      59.81    59.91  
   1280x720      59.86    60.00    59.74  
   1024x768      60.00  
   1024x576      60.00    59.90    59.82  
   960x540       60.00    59.63    59.82  
   800x600       60.32    56.25  
   864x486       60.00    59.92    59.57  
   640x480       59.94  
   720x405       59.51    60.00    58.99  
   640x360       59.84    59.32    60.00  
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
lspci output:

Code: Select all

lspci -nnmvk | awk '/VGA/,/Driver/'
Class:	VGA compatible controller [0300]
Vendor:	Intel Corporation [8086]
Device:	Device [3e9b]
SVendor:	Dell [1028]
SDevice:	Device [0825]
Driver:	i915
Class:	VGA compatible controller [0300]
Vendor:	NVIDIA Corporation [10de]
Device:	GP106M [GeForce GTX 1060 Mobile 3GB] [1c20]
SVendor:	Dell [1028]
SDevice:	GP106M [GeForce GTX 1060 Mobile 3GB] [0825]
Rev:	a1
Driver:	nvidia
and lsmod output:

Code: Select all

lsmod | grep -e 'nvidia\|i915\|bb'
bbswitch               16384  0
nvidia_drm             40960  0
nvidia_modeset        995328  1 nvidia_drm
nvidia              16715776  1 nvidia_modeset
i915                 1912832  2
ipmi_msghandler        49152  1 nvidia
i2c_algo_bit           16384  1 i915
drm_kms_helper        163840  2 nvidia_drm,i915
drm                   389120  5 drm_kms_helper,nvidia_drm,i915
I tried to edit xorg.conf file to detect HDMI output manually, but without success:

Code: Select all

Section "ServerLayout"
    Identifier     "intel"
    Screen      0  "Screen0"     0 0
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "intel"
    Option         "Backingstore" "true"
    Option         "AccelMethod" "glamor"
    Option          "DRI" "3"
    Screen         0
EndSection

# tried to add these sections:
#Section "Screen"
#	Identifier "Screen1"
#	Device 	   "nvidia"
#EndSection
#
#Section "Device"
#    Identifier "nvidia"
#    Driver "nvidia"
#    BusID "PCI:0@1:0:0"
#    Option "ConstrainCursor" "off"
#    Option "NoLogo" "true"
#    Option "ConnectedMonitor" "DFP-0"
#    Option "RenderAccel" "true"
#    Option "AllowGLXWithComposite" "true"
#EndSection
Maybe I need to reconfigure kernel somehow or update xorg.conf?
Last edited by g4s8 on Thu Dec 27, 2018 8:47 am, edited 1 time in total.
Top
hhfeuer
Apprentice
Apprentice
Posts: 185
Joined: Thu Jul 28, 2005 9:58 am

  • Quote

Post by hhfeuer » Mon Dec 24, 2018 1:04 pm

You're using an intel only config, so you don't see the hdmi that's connected to the nvidia gpu. PRIME config:
https://devtalk.nvidia.com/default/topi ... 0/#5203910
You'll also have to switch opengl to nvidia
eselect opengl nvidia
Top
g4s8
n00b
n00b
Posts: 16
Joined: Fri Dec 15, 2017 6:21 pm
Contact:
Contact g4s8
Website

  • Quote

Post by g4s8 » Thu Dec 27, 2018 8:46 am

hhfeuer wrote:You're using an intel only config, so you don't see the hdmi that's connected to the nvidia gpu. PRIME config:
https://devtalk.nvidia.com/default/topi ... 0/#5203910
You'll also have to switch opengl to nvidia
eselect opengl nvidia
I've uninstalled bumblbee and switched to pure optimus config as described in https://wiki.gentoo.org/wiki/NVIDIA/Optimus
Now it's working, thanks a lot.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic