You are not logged in.

#1 2017-10-27 09:22:13

mk0lev
Member
Registered: 2017-06-13
Posts: 26

Lenovo y510p HDMI Output to Monitor doesn't work

Hello,
I encountered the following problem: I can't get my HDMI to output to a monitor. It shows no output found on the monitor and after running dmesg -w and disconnecting the HDMI cable and then inserting it back there is no reaction by the OS, which means that the HDMI port doesn't even gets recognized by it.  It could be because of graphics card drivers (it's NVidia), also some grub details to load different modules and etc I really don't know. Has anyone had this particular problem on this particular laptop? I haven't tried anything yet. Couldn't find a topic which could help me, so I created that one, I hope the same topic doesn't already exist! Thanks in advance!

Offline

#2 2017-10-27 10:56:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,743

Re: Lenovo y510p HDMI Output to Monitor doesn't work

What's the output of

xrandr -q
xrandr --listproviders

An educated guess: https://wiki.archlinux.org/index.php/Bu … VIDIA_chip (If you haven't yet set up bumblebee, read the whole article instead of just the linked section)

Last edited by V1del (2017-10-27 10:58:20)

Offline

#3 2017-10-27 13:25:38

mk0lev
Member
Registered: 2017-06-13
Posts: 26

Re: Lenovo y510p HDMI Output to Monitor doesn't work

Hello, thanks for the answer!
The outputs are:

xrandr -q
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 345mm x 194mm
   1920x1080     59.91*+
   1680x1050     60.00  
   1400x1050     59.98    60.00  
   1280x1024     59.95    60.02  
   1280x960      60.00    59.99  
   1152x864      59.97  
   1024x768      60.04    60.00    59.95  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   800x600       60.00    60.32    59.96    56.25  
   700x525       59.98  
   640x512       60.02  
   640x480       60.00    59.94    59.94  
   720x400       59.97  
   640x400       59.96  
   640x350       59.84  
   512x384       60.00  
   400x300       60.32    56.34  
   320x240       60.05  
HDMI-1 disconnected (normal left inverted right x axis y axis)
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-2 disconnected (normal left inverted right x axis y axis)
VGA-1-2 disconnected (normal left inverted right x axis y axis)
 
xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x46 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 3 associated providers: 1 name:modesetting
Provider 1: id: 0x51c cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 2 associated providers: 1 name:modesetting

I tried setting bumblebee 1 year ago, but I couldn't get it right to work on my laptop, it always had some bugs.

Last edited by mk0lev (2017-10-27 13:45:32)

Offline

#4 2017-10-28 21:14:46

mk0lev
Member
Registered: 2017-06-13
Posts: 26

Re: Lenovo y510p HDMI Output to Monitor doesn't work

Update: I changed the drivers to nvidia through pacman and enabled SLI, since I have two nvidia graphics cards. The problem is I think that the HDMI port is connected to the Intel graphics card, cause the monitor doesn't even recognize or react in any way to the laptop. Neither does dmesg -w . I'm not sure about that at all, but I don't find a reason why it shouldn't be even recognized by dmesg...?

Offline

#5 2017-10-29 16:22:04

ironLink21
Member
From: Utah
Registered: 2017-04-02
Posts: 9

Re: Lenovo y510p HDMI Output to Monitor doesn't work

if you've got both graphics cards (nvidia & intel)  have you try loading the drivers for them in the KMS?  if you're using the nvidia propietary driver add

/etc/mkinitcpio.conf

MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)

per DRM kernel mode
you'll also need to update your bootloader with the nvidia-drm.modeset=1

then for your intel card add in

 i915 

to you /etc/mkinitcpio.conf MODULES section also.

then run to recreate your ramdisk

 mkinitcpio -p linux 

this will insure that both drivers are getting loaded at boot and you should see entries for them with

 lsmod 

once all those drivers are loaded then you should be able to see both cards with

 lspci | grep -i '3D\|VGA' 

if they're then both listed you shouldn't have a problem using the hdmi.

if that doesn't help you can always try to disable the intel card completely from the 1st comment here Intel + Nvidia issues

Offline

#6 2017-10-30 11:25:20

mk0lev
Member
Registered: 2017-06-13
Posts: 26

Re: Lenovo y510p HDMI Output to Monitor doesn't work

ironLink21 wrote:

if you've got both graphics cards (nvidia & intel)  have you try loading the drivers for them in the KMS?

I haven't tried yet. I have 2x nVidia GeForce GT 755M and one Intel HD Graphics 4600 card. I thought only the nVidia graphics cards are used, no? So I'm not sure if this is going to work, since now only the nvidia cards get recognized.
Also, when I installed the [bold]nvidia[/bold] drivers, some of the outputs changed, as expected.

martin➜~» xrandr -q                                                                            [12:10:58]
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
VGA-0 disconnected primary (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 345mm x 194mm
   1920x1080     59.91*+

martin➜~» xrandr --listproviders                                                               [12:16:59]
Providers: number : 1
Provider 0: id: 0x279 cap: 0x1, Source Output crtcs: 4 outputs: 3 associated providers: 0 name:NVIDIA-0
ironLink21 wrote:

if you're using the nvidia propietary driver add /etc/mkinitcpio.conf MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm) per DRM kernel mode.

What do you mean by "per DRM kernel mode" ? Just add them as MODULES="nvidia nvidia_modeset nvidia_uvm nvidia_drm" in the [bold]/etc/mkinitcpio.conf[/bold] file?

@ironLink21
I will try all of this, but first I want to be sure, that after the outputs above I won't screw it up a lot (: . I read somewhere, that if I have 2x nVidia graphics cards, I shouldn't mess around a lot with the intel graphics card, it could be wrong, but I'm not sure.
Thanks in advance!

Last edited by mk0lev (2017-10-30 12:12:19)

Offline

#7 2017-10-30 15:03:09

ironLink21
Member
From: Utah
Registered: 2017-04-02
Posts: 9

Re: Lenovo y510p HDMI Output to Monitor doesn't work

so it looks like by all the outputs that you've provided is that the system isn't even recognizing the intel graphics. So loading the i915 module at boot will make sure that it's getting loaded and you can also check to see if it's being blacklisted somewhere in /etc/modprobe.d or /usr/lib/modprobe.d/.

The "xrandr -q"  just shows you all the displays you have ever connected to your laptop so your VGA-0 and HDMI-0 were 2 outputs that connected to your laptop at one point in time but aren't being recognized if they're plugged in right now.

the "per DRM kernel mode" was a link to the exact arch wiki page that talks about nvidia and KMS modules.

I haven't read anything about messing around with the intel graphics card with 2 nvidia cards in my researching my own nvidia setup so I'm not entirely sure that it will break anything. With that said I'm not saying you're wrong I just personally haven't seen anything about it.

Also what is the output of

lspci | grep -i '3D\|VGA' 

you should see 3 cards if your system is recognizing all your graphics cards. e.g. mine says:

$ lspci | grep -i '3D\|VGA'
01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1)

because I only have 1 nvidia graphics card

Offline

#8 2017-10-30 15:40:42

mk0lev
Member
Registered: 2017-06-13
Posts: 26

Re: Lenovo y510p HDMI Output to Monitor doesn't work

ironLink21 wrote:

Also what is the output of

lspci | grep -i '3D\|VGA' 

The output is:

martin➜~» lspci | grep -i '3D\|VGA'                          [16:30:48]
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 755M] (rev a1)
07:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 755M] (rev a1)

which clearly shows that indeed the Intel graphics card doesn't get recognized. But what it doesn't show is that, if I remove the second nVidia graphics card(it's particularly easy on my laptop), then the Intel graphics card gets recognized.

I also deleted the xf86-video-intel, cause that's what I read, but probably could be also wrong. Should I install it and then try the steps you mentioned in the previous comment or not? I will try it anyway, I'm just asking if I need that package.
Thanks!

Last edited by mk0lev (2017-10-30 17:25:50)

Offline

#9 2017-10-30 21:30:39

mk0lev
Member
Registered: 2017-06-13
Posts: 26

Re: Lenovo y510p HDMI Output to Monitor doesn't work

@ironLink21
Tried the things you said, but the monitor still doesn't get recognized... I'm assuming it could be something in the /etc/X11/xorg.conf, since I ran nvidia-xconfig and that's everything I configured there. I'm not sure what should I configure exactly and it what way.

Offline

#10 2017-11-05 02:36:37

mk0lev
Member
Registered: 2017-06-13
Posts: 26

Re: Lenovo y510p HDMI Output to Monitor doesn't work

Update: It was a hardware issue.

Last edited by mk0lev (2018-01-17 01:28:44)

Offline

#11 2018-01-19 13:09:31

mk0lev
Member
Registered: 2017-06-13
Posts: 26

Re: Lenovo y510p HDMI Output to Monitor doesn't work

Although the broken controller was changed with a new one the HDMI isn't detected by every OS. When I boot live Ubuntu and connect the monitor to the laptop and run

 dmesg -w 

it gives me this error

 [   95.417789] nouveau 0000:01:00.0: DRM: DDC responded, but no EDID for HDMI-A-1 

and when I boot Arch

 dmesg -w 

returns nothing, like it's not even recognized by the OS. It still says "No Signal" on the monitor in any case. It's not cable's or monitor's fault, since I tried it with other laptop and a raspberrypi.
I use latest nvidia drivers on Arch and my /etc/X11/xorg.conf is following:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "ON-LAP"
    ModelName      "ON-LAP 2501"
    HorizSync       30.0 - 121.0
    VertRefresh     50.0 - 160.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    Option         "NoLogo"
    Option         "UseEDIDFreqs" "false"
    Option         "ConnectedMonitor" "CRT,CRT"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 755M"
    BusID          "PCI:3:0:0"
    Screen          1
EndSection

This is semi-manual config. The last Monitor and Device sections are manually added by me (copy/paste from a thread in the forum about wrong EDIDs and just changed the hardware names), and the rest is nvida-xconfig configured.
I don't know where the problem is, but atleast it's not a hardware issue anymore, I hope...
I'll appreciate any response! Thanks in advance!

Last edited by mk0lev (2018-01-19 13:16:45)

Offline

Board footer

Powered by FluxBB