You are not logged in.

#1 2020-06-24 10:41:22

Sventimir
Member
Registered: 2014-09-01
Posts: 16

HDMI monitor not working when ethernet device is disabled

This is very strange. Recently I have changed my internet provider and therefore disabled ethernet-dhcp service (I'm using netctl for network configuration) using enp2s0 interface in favour of using USB modem (enp0s20f0u2). As soon as I rebooted the system, one of my 2 screens (connected with an HDMI cable) stopped working. When I re-enabled the service (and rebooted) – the screen is working again. I tried xrandr:

Output with ethernet-dhcp enabled:

$ xrandr
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
DVI-D-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
   1920x1080     60.00*+
   1680x1050     59.95  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      60.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   640x480       75.00    72.81    59.94  
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 531mm x 299mm
   1920x1080     60.00*+
   1680x1050     59.95  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1280x720      60.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   640x480       75.00    72.81    59.94  
HDMI-2 disconnected (normal left inverted right x axis y axis)

With ethernet-dhcp disabled it's much less verbose:

$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
   1920x1080      0.00* 
   640x480        0.00  

So to my (not that much experienced) eye it looks like some kernel modules (probably ones on which ethernet service depends) might not being loaded. So I compared output of lsmod, but it's almost identical. This is the diff after sorting all entries:

$ diff lsmod-working.srt.txt lsmod.srt.txt 
20c20
< drm                   581632  7 drm_kms_helper,nvidia_drm
---
> drm                   581632  3 drm_kms_helper,nvidia_drm
76,78c76,78
< nvidia              20512768  376 nvidia_modeset
< nvidia_drm             53248  4
< nvidia_modeset       1118208  8 nvidia_drm
---
> nvidia              20512768  1 nvidia_modeset
> nvidia_drm             53248  0
> nvidia_modeset       1118208  1 nvidia_drm

There are some differences in numbers of dependent modules (?) but there is nothing really missing. Also the enp2s0 device is still visible, which would probably not be the case if kernel modules responsible hadn't been loaded.

This is my complete lsmod output when both screens are working:

Module                  Size  Used by
cfg80211              897024  0
rfkill                 28672  2 cfg80211
xt_conntrack           16384  4
xt_MASQUERADE          20480  4
nf_conntrack_netlink    57344  0
nfnetlink              16384  2 nf_conntrack_netlink
xfrm_user              45056  1
xfrm_algo              16384  1 xfrm_user
xt_addrtype            16384  2
iptable_filter         16384  1
iptable_nat            16384  1
nf_nat                 53248  2 iptable_nat,xt_MASQUERADE
nf_conntrack          172032  4 xt_conntrack,nf_nat,nf_conntrack_netlink,xt_MASQUERADE
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
libcrc32c              16384  2 nf_conntrack,nf_nat
br_netfilter           32768  0
bridge                225280  1 br_netfilter
overlay               139264  0
nvidia_drm             53248  5
nvidia_modeset       1118208  9 nvidia_drm
nvidia              20512768  450 nvidia_modeset
sr_mod                 28672  0
cdrom                  77824  1 sr_mod
8021q                  40960  0
garp                   16384  1 8021q
mrp                    20480  1 8021q
stp                    16384  2 bridge,garp
llc                    16384  3 bridge,stp,garp
intel_rapl_msr         20480  0
intel_rapl_common      32768  1 intel_rapl_msr
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
coretemp               20480  0
kvm_intel             327680  0
kvm                   835584  1 kvm_intel
squashfs               69632  5
irqbypass              16384  1 kvm
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
drm_kms_helper        258048  1 nvidia_drm
joydev                 28672  0
input_leds             16384  0
mousedev               24576  0
snd_hda_codec_realtek   135168  1
snd_hda_codec_hdmi     73728  1
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
aesni_intel           368640  0
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_hda_codec_realtek
cec                    69632  1 drm_kms_helper
crypto_simd            16384  1 aesni_intel
snd_hda_intel          53248  3
loop                   40960  10
nls_iso8859_1          16384  1
nls_cp437              20480  1
cryptd                 24576  2 crypto_simd,ghash_clmulni_intel
glue_helper            16384  1 aesni_intel
rc_core                61440  1 cec
iTCO_wdt               16384  0
intel_cstate           16384  0
vfat                   24576  1
snd_intel_dspcfg       28672  1 snd_hda_intel
fat                    86016  1 vfat
iTCO_vendor_support    16384  1 iTCO_wdt
hid_generic            16384  0
ipmi_devintf           20480  0
r8169                  98304  0
snd_hda_codec         167936  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
ppdev                  24576  0
mxm_wmi                16384  0
intel_uncore          159744  0
ipmi_msghandler        73728  2 ipmi_devintf,nvidia
psmouse               184320  0
intel_rapl_perf        16384  0
pcspkr                 16384  0
snd_virtuoso           61440  0
realtek                24576  0
i2c_i801               36864  0
syscopyarea            16384  1 drm_kms_helper
uas                    32768  0
libphy                147456  2 r8169,realtek
cdc_ether              24576  0
snd_hda_core          106496  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
sysfillrect            16384  1 drm_kms_helper
usbnet                 53248  1 cdc_ether
mei_me                 49152  0
sysimgblt              16384  1 drm_kms_helper
usb_storage            77824  1 uas
mii                    16384  1 usbnet
mei                   126976  1 mei_me
fb_sys_fops            16384  1 drm_kms_helper
snd_hwdep              16384  1 snd_hda_codec
intel_pch_thermal      16384  0
usbhid                 65536  0
hid                   143360  2 usbhid,hid_generic
parport_pc             53248  0
parport                61440  2 parport_pc,ppdev
wmi                    36864  1 mxm_wmi
evdev                  28672  12
mac_hid                16384  0
snd_oxygen             32768  0
snd_oxygen_lib         53248  2 snd_oxygen,snd_virtuoso
snd_mpu401_uart        16384  1 snd_oxygen_lib
snd_rawmidi            45056  1 snd_mpu401_uart
snd_seq_device         16384  1 snd_rawmidi
snd_pcm               147456  5 snd_hda_codec_hdmi,snd_hda_intel,snd_oxygen_lib,snd_hda_codec,snd_hda_core
snd_timer              45056  1 snd_pcm
drm                   581632  8 drm_kms_helper,nvidia_drm
snd                   114688  20 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_oxygen,snd_hda_intel,snd_oxygen_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_virtuoso,snd_mpu401_uart,snd_pcm,snd_rawmidi
soundcore              16384  1 snd
sg                     40960  0
crypto_user            16384  0
agpgart                53248  1 drm
ip_tables              36864  2 iptable_filter,iptable_nat
x_tables               53248  5 xt_conntrack,iptable_filter,xt_addrtype,ip_tables,xt_MASQUERADE
ext4                  798720  4
crc32c_generic         16384  0
crc16                  16384  1 ext4
mbcache                16384  1 ext4
jbd2                  139264  1 ext4
serio_raw              20480  0
atkbd                  36864  0
libps2                 20480  2 atkbd,psmouse
crc32c_intel           24576  6
xhci_pci               20480  0
xhci_hcd              286720  1 xhci_pci
i8042                  32768  0
serio                  28672  6 serio_raw,atkbd,psmouse,i8042

So it's probably not kernel modules after all, but what else could it be?

Last edited by Sventimir (2020-06-24 10:51:21)

Offline

Board footer

Powered by FluxBB