Fedora 28
kernel-4.17.12-200
390.77
Acer G7 Series G247HYU
HDMI
ASUS GeForce GTX 1080 8GB ROG STRIX OC Edition Graphic Card STRIX-GTX1080-O8G-GAMING
Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3"
Option "UseNvKmsCompositionPipeline" "Off"
Option "TripleBuffer" "On"
Option "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
Option "Coolbits" "28"
Option "RegistryDwords" "RMUseSwI2c=0x01; RMI2cSpeed=100"
ddccontrol version 0.4.2
Copyright 2004-2005 Oleg I. Vdovikin (oleg@cs.msu.su)
Copyright 2004-2006 Nicolas Boichat (nicolas@boichat.ch)
This program comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of this program under the terms of the GNU General Public License.
ddcpci initing...
Starting /usr/bin/ddcpci 1 1392641745 &...
Probing for available monitors...
Found PCI device (pci:01:00.0-0)
Found PCI device (pci:01:00.0-1)
Found PCI device (pci:01:00.0-2)
Device: pci:01:00.0-0
Error while reading write message answer: Bad message
Reading EDID 0x50 failed.
ddcci_open returned -2
Device: pci:01:00.0-1
Error while reading write message answer: Bad message
Reading EDID 0x50 failed.
ddcci_open returned -2
Device: pci:01:00.0-2
Error while reading write message answer: Bad message
Reading EDID 0x50 failed.
ddccontrol -p
Recherche des moniteurs disponiblesnvidia_open: mmap failed: Operation not permitted
Moniteurs détectés :
Pas de moniteur supportant le DDC/CI disponible.
Vérifiez que les modules du noyau sont chargés (i2c-dev, et votre driver de “framebuffer”), si votre carte graphique en a besoin.
Same issue with displayport no ddc/ci support, no monitors detected.
Tried some i2c-tools handshaking but they fails, all devices driver files report empty addresses,
cant fetch any edid or ddc/ci address.
Please test 390.77 which has a fix for DP_port[display]-DP_port[gpu].
If you still observe issue please provide :
nvidia bug report in repro state
your display model, connector used to connect monitor and gpu - hdmi/dp/dvi, mentioned if min-DP/single_or_dual-link-dvi etc, mentioned if used any dongle/ adaptor.
Make sure you have the latest firmware for monitor and Please test with multiple display monitors
See if war mentioned at may help : http://www.ddcutil.com/nvidia/Option “RegistryDwords” “RMUseSwI2c=0x01; RMI2cSpeed=100” . I think DVI/HDMI bug doesn’t occur with SW I2C.
Make sure you have the latest version of ddccontrol
We have a bug for DVI or HDMI case 200421152 [ddcutil not able to get monitor info through HW i2c on Pascal].
Hi birdie,
I think you are using Acer G7 Series G247HYU monitor which has DVI, DP and HDMI ports. Can you please test with latest 390 driver with DP and DVI port and display?
Don’t use regkeys Option “RegistryDwords” “PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3” regkeys for testing.
Only use regkeys Option “RegistryDwords” “RMUseSwI2c=0x01; RMI2cSpeed=100” for testing.
Later see if these regkeys helps to WAR the issue. Test one regkey at a time, first RMUseSwI2c and if needed RMI2cSpeed.
Make sure to rmmod nvidia_drm nvidia_modeset nvidia before every new X/Graphics start.
I tried my Asus PG278QR displayport with 390.84 drivers.
I can detect edid address 0x50 now, but cant dump data, got XXXX and read data errors.
I will try your options, perhaps may help.
Tanks.
Tested with Ubuntu 16.04.2. “RMUseSwI2c=0x01; RMI2cSpeed=100” are working for HDMI display . Ubuntu 17.10 it’s working too. Only on latest Debian[kernel 4.17.0-1-amd64] it’s failing. User Artum also using same kernel version 4.17.12-ic64 on Centos 6.10. I have tested with Ubuntu 18.04.1 LTS. It’s not failing with kernel 4.15.0-29-generic but its failing with kernel 4.17.1-041701-generic. So I think kernel 4.17 is affected. Tested HDMI display.
Thanks, this is awesome.
Tested and works out of the box (without RMUseSwI2c and RMI2cSpeed) with ddcutil over DP on
Arch Linux
Kernel 4.18.8
Driver 390.77
DELL U2515H
MSI GS65 laptop
For those wondering, I couldn’t make ddcontrol to work because it uses an nvidia proprietary interface based on writing to /dev/mem, which is not available by default on most kernels. My workaround was to use ddcutil instead, which works after manually modprobe-ing i2c-dev on Archlinux.
tl;dr:
$ yay -S ddcutil
$ sudo modprobe i2c-dev
$ sudo ddcutil probe # works
You can auto-enable i2c-dev by adding a new file:
$ echo i2c-dev | sudo tee /etc/modules-load.d/i2c.conf
# ddcutil probe
Failure getting EDID for /dev/i2c-4: status code=DDCRC_INVALID_EDID(-3010): unable to parse EDID
Display not found
# ddccontrol -p -v
ddccontrol version 0.4.3
Copyright 2004-2005 Oleg I. Vdovikin (oleg@cs.msu.su)
Copyright 2004-2006 Nicolas Boichat (nicolas@boichat.ch)
This program comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of this program under the terms of the GNU General Public License.
ddcpci initing...
Starting /usr/bin/ddcpci 1 -1308610785 &...
Probing for available monitors...
nvidia_open: mmap failed: Operation not permitted
Found I2C device (dev:/dev/i2c-7)
ioctl(): Invalid argument
ioctl returned -1
Reading EDID 0x50 failed.
ddcci_open returned -2
Found I2C device (dev:/dev/i2c-6)
ioctl(): Invalid argument
ioctl returned -1
Reading EDID 0x50 failed.
ddcci_open returned -2
Found I2C device (dev:/dev/i2c-5)
ioctl(): Invalid argument
ioctl returned -1
Reading EDID 0x50 failed.
ddcci_open returned -2
Found I2C device (dev:/dev/i2c-4)
ioctl(): Invalid argument
ioctl returned -1
Reading EDID 0x50 failed.
ddcci_open returned -2
Found I2C device (dev:/dev/i2c-3)
ioctl(): Invalid argument
ioctl returned -1
Reading EDID 0x50 failed.
ddcci_open returned -2
Found I2C device (dev:/dev/i2c-2)
ioctl(): Invalid argument
ioctl returned -1
Reading EDID 0x50 failed.
ddcci_open returned -2
Found I2C device (dev:/dev/i2c-1)
ioctl(): Invalid argument
ioctl returned -1
Reading EDID 0x50 failed.
ddcci_open returned -2
Found I2C device (dev:/dev/i2c-0)
ioctl(): Operation not supported
ioctl returned -1
Reading EDID 0x50 failed.
ddcci_open returned -2
Detected monitors :
No monitor supporting DDC/CI available.
If your graphics card need it, please check all the required kernel modules are loaded (i2c-dev, and your framebuffer driver).
ddcpci being released...
==>ddcpci is quitting.
That’s with NVIDIA drivers 410.73 and kernel 4.18.16-300.fc29.x86_64.
Everything works just fine under Windows.
GTX 1060 here with LG 24MP55 display connected via HDMI.