• HDMI External screen is not detected by RandR


    Hello!

    The same hardware was working fine (Plug & Play without any configuration) but I stopped using the screen for a while (and many Kernel updates were done).

    Now the screen is not working and even xrandr is not showing it.

    Laptop: LENOVO Legion Y520
    Graphics cards:

    00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:591b] (rev 04) (prog-if 00 [VGA controller])
    01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] [10de:1c20] (rev a1) (prog-if 00 [VGA controller])
    

    System version: Antergos Linux 18.4-ISO-Rolling
    Kernel: Linux 4.17.6
    (Same issue with LTS)

    Desktop Environment: KDE

    xrandr output:

    Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
    eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
       1920x1080     60.02*+  60.01    59.97    59.96    59.93  
       1680x1050     59.95    59.88  
       1400x1050     59.98  
       1600x900      59.99    59.94    59.95    59.82  
       1280x1024     60.02  
       1400x900      59.96    59.88  
       1280x960      60.00  
       1440x810      60.00    59.97  
       1368x768      59.88    59.85  
       1280x800      59.99    59.97    59.81    59.91  
       1280x720      60.00    59.99    59.86    59.74  
       1024x768      60.04    60.00  
       960x720       60.00  
       928x696       60.05  
       896x672       60.01  
       1024x576      59.95    59.96    59.90    59.82  
       960x600       59.93    60.00  
       960x540       59.96    59.99    59.63    59.82  
       800x600       60.00    60.32    56.25  
       840x525       60.01    59.88  
       864x486       59.92    59.57  
       700x525       59.98  
       800x450       59.95    59.82  
       640x512       60.02  
       700x450       59.96    59.88  
       640x480       60.00    59.94  
       720x405       59.51    58.99  
       684x384       59.88    59.85  
       640x400       59.88    59.98  
       640x360       59.86    59.83    59.84    59.32  
       512x384       60.00  
       512x288       60.00    59.92  
       480x270       59.63    59.82  
       400x300       60.32    56.34  
       432x243       59.92    59.57  
       320x240       60.05  
       360x202       59.51    59.13  
       320x180       59.84    59.32  
    

    The screen is VGA but the laptop is HDMI and there’s an adaptor in between (same setup wored fine previously).

    What else should I check?

    Your time is really appreciated! Thanks in advance.

  • Okay I tried the nvidia-installer package, is explained here:
    https://forum.antergos.com/topic/6360/gnome-doesn-t-detect-ext-monitor-via-hdmi-with-vga-works-fine/2

    But I ran myself into more issues :D

    I started with testing nvidia-installer -t first and after it was all green I went for the installation and it succeeds. After the reboot, the Desktop Manager no longer works and only a black screen with a marker are displayed.

    I used tty2 and tried nvidia-installer -b and -n but none could complete so I removed the package and reboot but still stuck on that black screen.

  • removing the package nvidia-installer will not revert the settings and installed programms the script is pushing to your system.

    and if you want to get bumblebee working read here first:

    https://antergos.com/wiki/hardware/bumblebee-for-nvidia-optimus/

    If you can access CLI by pressing [Ctrl+alt+F2] you can try again to revert settings and installs by proceeding:

    sudo pacman -S nvidia-installer
    sudo nvidia-installer -n
    

    and reboot

  • @joekamprad Thanks for your attention.

    I have guessed so and I have tried it before removing the package but it threw errors (I don’t remember them though).

    Now I have tried again. Installing the package succeeded, but the nouveau option didn’t work. It gave errors about multilib file can’t be retrieved because hostnames can’t be resolved.

    I have tried pinging google.com and it also failed.

  • Wired or wireless network?

  • systemctl start NetworkManager.service
    

    or dhcpcdstart network

  • Try lshw -c video, what driver does the nvidia card use?

    On previous laptops the HDMI output has been driven by the discrete GPU, ie the nvidia card. So if the card is not in use, has bad drivers etc, the hdmi port won’t work.

    If I remember correctly the nvidia drivers doesn’t work 100% with the bleeding edge kernels, they are usually a version or two behind, but I might be wrong about that. Was a while ago since I used nvidia, back then it only worked with 4.13 tops even though the current version was 4.16.

  • Back to my system now!

    @joekamprad said in HDMI External screen is not detected by RandR:

    Wired or wireless network?

    It was wireless. My bad - I should have tried a wired connection before I ask. It worked with the wired connection and I ran the nouveau option and it worked. I am wondering how the system was able to install the package (after being removed) when there was no connection? 🤔

    Thanks for your time and help!

  • @stingray454 Thanks for your reply.

    [[email protected] ahassoun]# lshw -c video
      *-display UNCLAIMED       
           description: VGA compatible controller
           product: GP106M [GeForce GTX 1060 Mobile]
           vendor: NVIDIA Corporation
           physical id: 0
           bus info: [email protected]:01:00.0
           version: a1
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress vga_controller bus_master cap_list
           configuration: latency=0
           resources: memory:a3000000-a3ffffff memory:90000000-9fffffff memory:a0000000-a1ffffff ioport:4000(size=128) memory:a4000000-a407ffff
      *-display
           description: VGA compatible controller
           product: Intel Corporation
           vendor: Intel Corporation
           physical id: 2
           bus info: [email protected]:00:02.0
           version: 04
           width: 64 bits
           clock: 33MHz
           capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
           configuration: driver=i915 latency=0
           resources: irq:140 memory:a2000000-a2ffffff memory:b0000000-bfffffff ioport:5000(size=64) memory:c0000-dffff
    
  • @ahassoun as you have Nvidia-Installer installed before it was stored in pacman cache locally…

  • @joekamprad Good to know.

    So now back to the original issue, any suggestion? Should I roll back to a tested Kernel?

  • @ahassoun said in HDMI External screen is not detected by RandR:

    @stingray454 Thanks for your reply.

    [[email protected] ahassoun]# lshw -c video
      *-display UNCLAIMED       
           ...
           configuration: latency=0
           ...
      >   *-display
           ...
           configuration: driver=i915 latency=0
    

    The first GPU has no driver loaded. The second has driver=i915 (ie intel driver), so that would probably make the first your nvidia gpu.

    As to why the driver can’t load, it could be a number of things. Make sure you have the latest driver installed, and I would try earlier kernel versions as well. As long as it doesn’t load the driver I wouldn’t have much hope of the video out working from that card.

  • Hello again! I have an update and a super strange issue now 🤔

    I saw a Kernel update available (4.17.10) along with some Nvidia packages so I proceeded with a full upgrade, and rebooted, and I was surprised that the external screen is now working.

    The strange thing now is that the laptop screen no longer works. Only external.

    • I started with toggling external screen settings (left, right, primary only, external only, unify, etc).
    • When I reboot, the booting options are displayed on the laptop display.
    • Once Antergos is loaded, the login screen is displayed on the external display only.
    • I tried rebooting with the external screen disconnected but the laptop screen didn’t work at all
    • On the laptop screen only a still (not blinking) marker displayed.
    • If I went to CLI (CTRL+ALT+F2), the CLI is displayed on the laptop screen.

    Output of xrandr and lshw

    [[email protected] ahassoun]# xrandr
    Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
    DP-0 disconnected (normal left inverted right x axis y axis)
    DP-1 disconnected (normal left inverted right x axis y axis)
    HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
       1920x1080     60.00*+
       1280x1024     75.02    60.02  
       1152x864      75.00  
       1024x768      75.03    60.00  
       800x600       75.00    60.32  
       640x480       75.00    59.94  
    DP-2 disconnected (normal left inverted right x axis y axis)
    DP-3 disconnected (normal left inverted right x axis y axis)
    
    [[email protected] ahassoun]# lshw -c video
      *-display                 
           description: VGA compatible controller
           product: GP106M [GeForce GTX 1060 Mobile]
           vendor: NVIDIA Corporation
           physical id: 0
           bus info: [email protected]:01:00.0
           version: a1
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
           configuration: driver=nvidia latency=0
           resources: irq:142 memory:a3000000-a3ffffff memory:90000000-9fffffff memory:a0000000-a1ffffff ioport:4000(size=128) memory:a4000000-a407ffff
      *-display
           description: VGA compatible controller
           product: Intel Corporation
           vendor: Intel Corporation
           physical id: 2
           bus info: [email protected]:00:02.0
           version: 04
           width: 64 bits
           clock: 33MHz
           capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
           configuration: driver=i915 latency=0
           resources: irq:140 memory:a2000000-a2ffffff memory:b0000000-bfffffff ioport:5000(size=64) memory:c0000-dffff
    
  • @ahassoun do you try setup with nvidia-settings ?

    I do have some screwed shit around Multimonitor setup on Nvidia graphics…
    I do use a script to set them up for lightdm (xrandr command)

  • @joekamprad said in HDMI External screen is not detected by RandR:

    @ahassoun do you try setup with nvidia-settings ?

    I do have some screwed shit around Multimonitor setup on Nvidia graphics…
    I do use a script to set them up for lightdm (xrandr command)

    Does it mean I will struggle with this setup forever? 😕

    Here’s what I got with nvidia-settings GUI tool. DELL is the external display by the way.
    0_1532985900554_DeepinScreenshot_nvidia-settings_20180731012304.png

  • No not forever😋
    If there is a will, there is always a way!

    It seem that HDMI is driven by Nvidia card and internal Display by Intel graphics. So you will need to get bumblebee working…

  • @joekamprad Okay now I am stuck in between -_-

    For installing bublebee, I tried both the (automated?) way of the nvidia-installer package and the step-by-step method of https://antergos.com/wiki/hardware/bumblebee-for-nvidia-optimus/ . My BIOS doesn’t offer any display configuration options by the way.

    Both ways completed without issues but still the only marker on the display

    Restoring nouveau option didn’t work either -_-

    I will post the errors soon.

hdmi17 external16 detected14 randr2 Posts 17Views 906
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.