You are not logged in.
I've used ddcutil to change input of my monitor using script.
From Jun 14 my ddcutil stopped detecting my monitors (after update) and I do not know how to track "what has happen".
socek:~ $ sudo ddcutil detect
No displays found.
Run "ddcutil environment" to check for system configuration problems.
socek:~ $
socek:~ $ ddcutil detect
No displays found.
Run "ddcutil environment" to check for system configuration problems.
socek:~ $ sudo ddcutil detect
No displays found.
Run "ddcutil environment" to check for system configuration problems.
socek:~ $ ls -l /dev/i2c-*
crw-rw----+ 1 root i2c 89, 0 Jun 26 19:04 /dev/i2c-0
crw-rw----+ 1 root i2c 89, 1 Jun 26 19:04 /dev/i2c-1
crw-rw----+ 1 root i2c 89, 2 Jun 26 19:04 /dev/i2c-2
crw-rw----+ 1 root i2c 89, 3 Jun 26 19:04 /dev/i2c-3
crw-rw----+ 1 root i2c 89, 4 Jun 26 19:04 /dev/i2c-4
crw-rw----+ 1 root i2c 89, 5 Jun 26 19:04 /dev/i2c-5
crw-rw---- 1 root i2c 89, 6 Jun 26 19:04 /dev/i2c-6
crw-rw---- 1 root i2c 89, 7 Jun 26 19:04 /dev/i2c-7
socek:~ $ cat /etc/group | grep "$USER" | grep i2c
i2c:x:972:socekSo this is not a problem with permissions I think.
I tried to go back to my old nvidia drivers, but that did not work (my X11 stopped working, but I honestly do not remember for sure).
Here are packages that were updated that day:
socek:cache/pacman/pkg $ ls -l | grep "Jun 14"
-rw-r--r-- 1 root root 27752 Jun 14 2022 alsa-card-profiles-1:0.3.52-2-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 119 Jun 14 2022 alsa-card-profiles-1:0.3.52-2-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 36275194 Jun 14 09:22 calibre-6.21.0-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 566 Jun 14 09:22 calibre-6.21.0-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 94346911 Jun 14 02:05 chromium-114.0.5735.133-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 310 Jun 14 07:06 chromium-114.0.5735.133-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 180747 Jun 14 22:49 duktape-2.7.0-6-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 141 Jun 14 22:49 duktape-2.7.0-6-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 140526 Jun 14 23:09 glib-networking-1:2.76.0-2-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 141 Jun 14 23:09 glib-networking-1:2.76.0-2-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 97975 Jun 14 00:34 gst-libav-1.22.3-6-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 141 Jun 14 00:34 gst-libav-1.22.3-6-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 36924 Jun 14 00:34 gst-plugin-gtk-1.22.3-6-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 141 Jun 14 00:34 gst-plugin-gtk-1.22.3-6-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 1138910 Jun 14 00:34 gst-plugins-bad-1.22.3-6-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 141 Jun 14 00:34 gst-plugins-bad-1.22.3-6-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 2516248 Jun 14 00:34 gst-plugins-bad-libs-1.22.3-6-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 141 Jun 14 00:34 gst-plugins-bad-libs-1.22.3-6-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 330033 Jun 14 00:34 gst-plugins-base-1.22.3-6-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 141 Jun 14 00:34 gst-plugins-base-1.22.3-6-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 2288232 Jun 14 00:34 gst-plugins-base-libs-1.22.3-6-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 141 Jun 14 00:34 gst-plugins-base-libs-1.22.3-6-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 2282082 Jun 14 00:34 gst-plugins-good-1.22.3-6-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 141 Jun 14 00:34 gst-plugins-good-1.22.3-6-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 216552 Jun 14 00:34 gst-plugins-ugly-1.22.3-6-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 141 Jun 14 00:34 gst-plugins-ugly-1.22.3-6-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 1880148 Jun 14 00:34 gstreamer-1.22.3-6-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 141 Jun 14 00:34 gstreamer-1.22.3-6-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 2086368 Jun 14 18:09 libjxl-0.8.2-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 119 Jun 14 18:09 libjxl-0.8.2-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 1190134 Jun 14 15:52 libtiff-4.5.1-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 119 Jun 14 15:52 libtiff-4.5.1-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 9610 Jun 14 2022 libutempter-1.2.1-3-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 590 Jun 14 2022 libutempter-1.2.1-3-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 78188 Jun 14 23:04 libxnvctrl-535.54.03-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 566 Jun 14 23:04 libxnvctrl-535.54.03-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 785402 Jun 14 23:04 nvidia-settings-535.54.03-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 566 Jun 14 23:04 nvidia-settings-535.54.03-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 281115149 Jun 14 17:11 nvidia-utils-535.54.03-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 566 Jun 14 17:11 nvidia-utils-535.54.03-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 957045 Jun 14 02:34 onevpl-2023.3.0-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 119 Jun 14 02:34 onevpl-2023.3.0-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 2881902 Jun 14 17:11 opencl-nvidia-535.54.03-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 566 Jun 14 17:11 opencl-nvidia-535.54.03-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 1509664 Jun 14 2022 opera-ffmpeg-codecs-102.0.5005.115-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 119 Jun 14 2022 opera-ffmpeg-codecs-102.0.5005.115-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 1735550 Jun 14 2022 pipewire-1:0.3.52-2-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 119 Jun 14 2022 pipewire-1:0.3.52-2-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 29493 Jun 14 2022 python-bcrypt-3.2.1-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 566 Jun 14 2022 python-bcrypt-3.2.1-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 583070 Jun 14 2022 python-setuptools-1:61.3.1-1-any.pkg.tar.zst
-rw-r--r-- 1 root root 566 Jun 14 2022 python-setuptools-1:61.3.1-1-any.pkg.tar.zst.sig
-rw-r--r-- 1 root root 347134 Jun 14 2022 qt6-5compat-6.3.1-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 310 Jun 14 2022 qt6-5compat-6.3.1-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 13394508 Jun 14 2022 qt6-base-6.3.1-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 310 Jun 14 2022 qt6-base-6.3.1-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 11673378 Jun 14 2022 qt6-declarative-6.3.1-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 310 Jun 14 2022 qt6-declarative-6.3.1-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 63641 Jun 14 2022 qt6-imageformats-6.3.1-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 310 Jun 14 2022 qt6-imageformats-6.3.1-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 357233 Jun 14 2022 qt6-positioning-6.3.1-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 310 Jun 14 2022 qt6-positioning-6.3.1-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 185020 Jun 14 2022 qt6-svg-6.3.1-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 310 Jun 14 2022 qt6-svg-6.3.1-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 1764948 Jun 14 2022 qt6-translations-6.3.1-1-any.pkg.tar.zst
-rw-r--r-- 1 root root 310 Jun 14 2022 qt6-translations-6.3.1-1-any.pkg.tar.zst.sig
-rw-r--r-- 1 root root 1089813 Jun 14 2022 qt6-wayland-6.3.1-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 310 Jun 14 2022 qt6-wayland-6.3.1-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 124543 Jun 14 2022 qt6-webchannel-6.3.1-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 310 Jun 14 2022 qt6-webchannel-6.3.1-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 82354458 Jun 14 2022 qt6-webengine-6.3.1-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 310 Jun 14 2022 qt6-webengine-6.3.1-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 48212 Jun 14 2021 tinyxml2-9.0.0-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 310 Jun 14 2021 tinyxml2-9.0.0-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 2256677 Jun 14 02:53 vim-9.0.1628-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 566 Jun 14 02:53 vim-9.0.1628-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 7353450 Jun 14 02:53 vim-runtime-9.0.1628-1-x86_64.pkg.tar.zst
-rw-r--r-- 1 root root 566 Jun 14 02:53 vim-runtime-9.0.1628-1-x86_64.pkg.tar.zst.sig
-rw-r--r-- 1 root root 926773 Jun 14 2022 vulkan-headers-1:1.3.217-1-any.pkg.tar.zst
-rw-r--r-- 1 root root 310 Jun 14 2022 vulkan-headers-1:1.3.217-1-any.pkg.tar.zst.sig
-rw-r--r-- 1 root root 880828 Jun 14 2022 xkeyboard-config-2.36-2-any.pkg.tar.zst
-rw-r--r-- 1 root root 310 Jun 14 2022 xkeyboard-config-2.36-2-any.pkg.tar.zst.sigOffline
I am having a similar issue with ddccontrol (also used that to switch monitor inputs via commandline). It only detects one of my four attached monitors after the nvidia-dkms driver update from 530.x to 535.x . Trying to downgrade to previous nvidia driver module failed with a module compilation error. I'll try to investigate more how to get the old module to compile again. Don't know where to report this because I don't even know for sure if it is the new nvidia driver causing the issue or if it's something else and how to figure out what it is.
edit:
downgrade attempt log:
[dennis@DB2arch pkg]$ cd /var/cache/pacman/pkg/
[dennis@DB2arch pkg]$ sudo pacman -U nvidia-dkms-530.41.03-1-x86_64.pkg.tar.zst nvidia-settings-530.41.03-1-x86_64.pkg.tar.zst nvidia-utils-530.41.03-1-x86_64.pkg.tar.zst lib32-nvidia-utils-530.41.03-1-x86_64.pkg.tar.zst
loading packages...
warning: downgrading package nvidia-dkms (535.54.03-1 => 530.41.03-1)
warning: downgrading package nvidia-settings (535.54.03-1 => 530.41.03-1)
warning: downgrading package nvidia-utils (535.54.03-1 => 530.41.03-1)
warning: downgrading package lib32-nvidia-utils (535.54.03-2 => 530.41.03-1)
resolving dependencies...
looking for conflicting packages...
Packages (4) lib32-nvidia-utils-530.41.03-1 nvidia-dkms-530.41.03-1
nvidia-settings-530.41.03-1 nvidia-utils-530.41.03-1
Total Installed Size: 913.78 MiB
Net Upgrade Size: -42.58 MiB
:: Proceed with installation? [Y/n] Y
(4/4) checking keys in keyring [######################] 100%
(4/4) checking package integrity [######################] 100%
(4/4) loading package files [######################] 100%
(4/4) checking for file conflicts [######################] 100%
(4/4) checking available disk space [######################] 100%
:: Running pre-transaction hooks...
(1/1) Remove DKMS modules
==> dkms remove --no-depmod nvidia/535.54.03 -k 6.3.9-arch1-1
==> dkms remove --no-depmod nvidia/535.54.03 -k 6.4.0-pf1
==> depmod 6.4.0-pf1
==> depmod 6.3.9-arch1-1
:: Processing package changes...
(1/4) downgrading nvidia-utils [######################] 100%
If you run into trouble with CUDA not being available, run nvidia-modprobe first.
If you use GDM on Wayland, you might have to run systemctl enable --now nvidia-resume.service
(2/4) downgrading nvidia-dkms [######################] 100%
(3/4) downgrading nvidia-settings [######################] 100%
(4/4) downgrading lib32-nvidia-utils [######################] 100%
:: Running post-transaction hooks...
(1/7) Creating system user accounts...
(2/7) Reloading system manager configuration...
(3/7) Reloading device manager configuration...
(4/7) Arming ConditionNeedsUpdate...
(5/7) Install DKMS modules
==> dkms install --no-depmod nvidia/530.41.03 -k 6.3.9-arch1-1
==> dkms install --no-depmod nvidia/530.41.03 -k 6.4.0-pf1
Error! Bad return status for module build on kernel: 6.4.0-pf1 (x86_64)
Consult /var/lib/dkms/nvidia/530.41.03/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia/530.41.03 -k 6.4.0-pf1' exited 10
==> depmod 6.3.9-arch1-1
(6/7) Reloading system bus configuration...
(7/7) Updating the desktop file MIME type cache...
[dennis@DB2arch pkg]$ cat /var/lib/dkms/nvidia/530.41.03/build/make.log | grep -n3 Error
410-/var/lib/dkms/nvidia/530.41.03/build/nvidia-drm/nvidia-drm-drv.c:1439:18: error: ‘struct drm_driver’ has no member named ‘dumb_destroy’
411- 1439 | nv_drm_driver.dumb_destroy = nv_drm_dumb_destroy;
412- | ^
413:make[2]: *** [scripts/Makefile.build:252: /var/lib/dkms/nvidia/530.41.03/build/nvidia-drm/nvidia-drm-drv.o] Error 1
414-make[2]: *** Waiting for unfinished jobs....
415- CC [M] /var/lib/dkms/nvidia/530.41.03/build/nvidia-drm/nvidia-drm-helper.o
416-/var/lib/dkms/nvidia/530.41.03/build/nvidia-drm/nvidia-drm-crtc.c: In function ‘__nv_drm_plane_atomic_destroy_state’:
417-/var/lib/dkms/nvidia/530.41.03/build/nvidia-drm/nvidia-drm-crtc.c:678:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
418- 678 | struct nv_drm_plane_state *nv_drm_plane_state =
419- | ^~~~~~
420:make[1]: *** [Makefile:2026: /var/lib/dkms/nvidia/530.41.03/build] Error 2
421:make: *** [Makefile:82: modules] Error 2What's interesting is how the module does not fail for mainline kernel, just for the pf kernel. Maybe that kernel is the issue?
Last edited by Dennis (2023-06-30 15:07:18)
Offline
Well I have a workaround.
after I downgraded kernel and headers:
$ sudo pacman -U linux-pf-headers-generic-v4-6.3.4-1-x86_64.pkg.tar.zst
$ sudo pacman -U linux-pf-generic-v4-6.3.4-1-x86_64.pkg.tar.zst
downgrading the nvidia packages finished successfully(no more module build error):
$ sudo pacman -U nvidia-dkms-530.41.03-1-x86_64.pkg.tar.zst nvidia-settings-530.41.03-1-x86_64.pkg.tar.zst nvidia-utils-530.41.03-1-x86_64.pkg.tar.zst lib32-nvidia-utils-530.41.03-1-x86_64.pkg.tar.zst
to make sure the downgraded recompiled modules get put into the boot images I also ran: $ mkinitcpio -P
ddcutil before reboot:
[dennis@DB2arch pkg]$ sudo ddcutil detect
Invalid display
I2C bus: /dev/i2c-3
DRM connector: card0-DP-2
EDID synopsis:
Mfg id: GSM - Goldstar Company Ltd (LG)
Model: 24MB65
Product code: 23117 (0x5a4d)
Serial number: 512NTPCBQ472
Binary serial number: 398472 (0x00061488)
Manufacture year: 2015, Week: 12
DDC communication failed
(shows only 1 of my 4 screens)ddcutil after reboot:
[dennis@DB2arch pkg]$ sudo ddcutil detect
Invalid display
I2C bus: /dev/i2c-2
DRM connector: card0-DP-1
EDID synopsis:
Mfg id: WAC - Wacom Tech
Model: Cintiq 13HD
Product code: 4160 (0x1040)
Serial number: 8DBH000599
Binary serial number: 599 (0x00000257)
Manufacture year: 2018, Week: 16
DDC communication failed
Invalid display
I2C bus: /dev/i2c-3
DRM connector: card0-DP-2
EDID synopsis:
Mfg id: GSM - Goldstar Company Ltd (LG)
Model: 24MB65
Product code: 23117 (0x5a4d)
Serial number: 512NTPCBQ472
Binary serial number: 398472 (0x00061488)
Manufacture year: 2015, Week: 12
DDC communication failed
Display 1
I2C bus: /dev/i2c-4
DRM connector: card0-HDMI-A-1
EDID synopsis:
Mfg id: BNQ - UNK
Model: BenQ EW3270U
Product code: 31056 (0x7950)
Serial number: 86K03809019
Binary serial number: 21573 (0x00005445)
Manufacture year: 2019, Week: 23
VCP version: 2.2
Invalid display
I2C bus: /dev/i2c-5
DRM connector: card0-DP-3
EDID synopsis:
Mfg id: NEC - NEC Corporation
Model: 90GX2
Product code: 26258 (0x6692)
Serial number: 73110991GB
Binary serial number: 16843009 (0x01010101)
Manufacture year: 2007, Week: 11
DDC communication failed
And similarly my scripts which use ddccontrol to switch monitor inputs also work again after the kernel and nvidia module downgrades. So it's either just the new nvidia driver or just the new kernel or a combination of both causing the issue.
(edit: well, seeing how original post's upgrade log does not include any kernel update, I guess it is safe to blame it on the nvidia driver)
Last edited by Dennis (2023-06-30 15:41:46)
Offline
Unfortunately I can't add any more information to this, other than this happened to me as well. Card is a NVidia 2070, update that broke it was 2 days ago.
[00:37:30] rimio@rimio-pc : ~
$ pacman -Q nvidia
nvidia 535.54.03-3
[00:37:34] rimio@rimio-pc : ~
$ pacman -Q linux
linux 6.3.9.arch1-1Anybody have an idea of what to investigate further and/or report?
Offline
I am facing the same issue. Card is a NVidia 3070.
Running `ddcutil environment` I recognized the following output. Not sure if this was present before ...
Performing driver specific checks...
Checking for special settings for proprietary Nvidia driver
(Needed for some newer Nvidia cards).
grep: /etc/X11/xorg.conf: Datei oder Verzeichnis nicht gefunden
Executing: grep -iH nvidia modprobe.conf modprobe.d/*
grep: modprobe.conf: Datei oder Verzeichnis nicht gefunden
grep: modprobe.d/*: Datei oder Verzeichnis nicht gefunden
Executing: grep RegistryDwords /proc/driver/nvidia/params
RegistryDwords: ""
RegistryDwordsPerDevice: ""Offline
I've switched from X.org with nvidia official drivers into Wayland Nouveau drivers. Now it works. I know that it does not solve the problem from the thread, but maybe someone will see this helpful.
Offline
The original issue is fixed in a later driver version (see below). May or may not have already been fixed in another update before the one below but I only updated mine today and I can confirm that changing monitor inputs via ddcutil or ddccontrol works again with this version.
$ pacman -Q | grep nvidia
lib32-nvidia-cg-toolkit 3.1-8
lib32-nvidia-utils 535.86.05-1
lib32-opencl-nvidia 535.86.05-1
nvidia-cg-toolkit 3.1-6
nvidia-dkms 535.86.05-2
nvidia-sdk 11.1.5-1
nvidia-settings 535.86.05-1
nvidia-utils 535.86.05-2
opencl-nvidia 535.86.05-2Offline