You are not logged in.
Hi,
So I have a laptop and a second monitor connected by HDMI. The laptop screen works fine but xrandr doesn't detect my monitor.
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 381mm x 214mm
1920x1080 60.01*+ 60.01 59.97 59.96 59.93 48.01
1680x1050 59.95 59.88
1400x1050 59.98
[...]
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)I use the linux-zen kernel, I installed nvidia-dkms, ran sudo modprobe nvidia then sudo nvidia-xconfig --prime. After, I configured lightdm to run as display setup script this :
#!/bin/bash
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --autoI got a black screen at boot and had to delete my xorg.conf using the tty to fix it.
My xorg.conf.nvidia in /etc/bumblebee/ :
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "true"
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "DiscreteNvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "ProbeAllGpus" "false"
Option "NoLogo" "true"
Option "UseEDID" "true"
Option "AllowEmptyInitialConfiguration"
# Option "UseDisplayDevice" "none"
EndSection
Section "Screen"
Identifier "Screen0"
Device "DiscreteNvidia"
EndSectionOutput of intel-virtual-output :
No VIRTUAL outputs on ":0".Output of nvidia-settings :
ERROR: Unable to load info from any available systemXorg.0.log : https://pastebin.com/dgMDKwdG
Xorg.8.log : https://pastebin.com/XqJeAZvL
I didn't find any option allowing to set the nvidia GPU as principal in my BIOS.
My GPU is a GTX 1060 Max-Q.
Last edited by Quebinck (2021-02-17 16:34:05)
Offline
Drop bumblebee (is configured to use nouveau, btw), reverse prime was a good idea, but "nvidia-xconfig --prime" likely wasn't.
https://wiki.archlinux.org/index.php/PR … erse_PRIME
Offline
I uninstalled bumblebee and put this in my xorg.conf :
Section "ServerLayout"
Identifier "layout"
Screen 0 "intel"
Inactive "nvidia"
Option "AllowNVIDIAGPUScreens"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
EndSection
Section "Device"
Identifier "intel"
Driver "intel"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSectionAs xrandr detected only one provider, I moved it to /etc/xorg.conf.d/ and renamed it 20-nvidia.conf.
I also added nvidia to the list of modules to preload then I ran sudo mkinitcpio -P linux.
It didn't change anything.
Here's what lspci says about my intel and nvidia cards :
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
01:00.0 3D controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1)I think that the problem may come from the fact that I doesn't detect the nvidia card as a VGA compatible controller.
Last edited by Quebinck (2021-02-17 13:12:08)
Offline
The nvidia GPU doesn't provide a crtc, ie. the HDMI output is wired to the intel chip and likely either DP-1 or HDMI-1
=> Cable (still #1 reason for all problems ;-)
Are there any adapters involved and do you have a second monitor and/or a spare cable for a cross test?
Offline
I don't have any adapters, the cable and monitor work perfectly with an other laptop.
I tried changing the cable but it did nothing.
I really hope the problem doesn't come from the HDMI port.
Offline
Check dmesg for errors (likely around "dmesg | grep -E '(drm|dp|i915)'"), try the LTS kernel and/or a live distro to test a different software stack.
Offline
I tried the lts kernel and a live distro, both didn't work.
Here's the output of dmesg | grep -E '(drm|dp|i915)' :
[ 3.382572] systemd[1]: Created slice system-modprobe.slice.
[ 3.395395] systemd[1]: Starting Load Kernel Module drm...
[ 3.399793] systemd[1]: Starting Coldplug All udev Devices...
[ 3.402904] systemd[1]: modprobe@configfs.service: Succeeded.
[ 3.411237] systemd[1]: modprobe@fuse.service: Succeeded.
[ 3.455671] systemd[1]: modprobe@drm.service: Succeeded.
[ 3.455946] systemd[1]: Finished Load Kernel Module drm.
[ 3.465383] VBoxNetAdp: Successfully started.
[ 3.498573] systemd[1]: Finished Coldplug All udev Devices.
[ 4.163760] fb0: switching to inteldrmfb from EFI VGA
[ 4.164477] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 4.178328] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 4.179210] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[ 4.180608] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[ 5.295117] [drm] Initialized i915 1.6.0 20200917 for 0000:00:02.0 on minor 0
[ 5.299115] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 5.330553] fbcon: i915drmfb (fb0) is primary device
[ 6.048869] snd_hda_codec_realtek hdaudioC0D0: Headphone Mic=0x1a
[ 6.098514] input: HDA Intel PCH Headphone Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input24
[ 6.456944] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer deviceOffline
The dmesg doesn't suggest a failed handshake.
Is this a new notebook?
Are there maybe BIOS updates available?
Offline
It's something like three years old, there's a BIOS update but the file is an exe
Offline
Has the HDMI worked before?
(Usually I'd say *cable* - it's always the cable - but since you ruled that out and if there's no signal w/ no software stack…)
Offline
I think I never tried it...
I guess I'm good to setup displaylink
Offline