3.0.0-1.1 causes AMDGPU to disappear from PCI bus and freezes Plasma immediately after login
Hi,
After upgrading from 2.2.7-1.1 to 3.0.0-1.1 on CachyOS/Arch Linux, KDE Plasma freezes shortly after login. The mouse and keyboard stop responding and switching to another TTY is not possible.
The failure is reproducible across repeated boots. PowerDevil initializes libddcutil 3.0.0 and immediately receives EREMOTEIO errors while probing AMD-related I2C buses. Within a few seconds, the kernel reports that the discrete AMD GPU has been lost from the PCI bus. KWin then continuously reports page-flip timeouts.
The same system, kernel, Plasma version, and hardware worked immediately before the ddcutil upgrade. In the pre-upgrade session, PowerDevil initialized ddcutil 2.2.7 successfully and the GPU-loss/page-flip failure did not occur.
My system details:
Distribution: CachyOS (Arch Linux based) Kernel: 7.2.4-1-cachyos Kernel compiler: clang 22.1.8 / LLD 22.1.8 Desktop: KDE Plasma 6.7.5 KWin: 6.7.5-1.1 PowerDevil: 6.7.5-1 Session type: Wayland Bootloader: Limine Root filesystem: Btrfs Motherboard: MSI PRO X870-P WIFI (MS-7E47) GPU: AMD Radeon RX 9070 XT
Post upgrade log events:
On the first recorded boot after the upgrade, login starts at approximately 12:40:09. PowerDevil loads libddcutil 3.0.0 and begins probing I2C buses:
Sep 12 12:40:10 myhost org_kde_powerdevil[1534]: Initializing libddcutil. ddcutil version: 3.0.0, shared library: /usr/lib/libddcutil.so.5.6.0
Sep 12 12:40:10 myhost org_kde_powerdevil[1534]: [ 1629][ 0.044838] (i2c_ioctl_reader1) Error in ioctl() read, rc=-1, errno=EREMOTEIO(-121): Remote I/O error, device=/dev/i2c-10
Sep 12 12:40:10 myhost org_kde_powerdevil[1534]: [ 1628][ 0.044880] (i2c_ioctl_reader1) Error in ioctl() read, rc=-1, errno=EREMOTEIO(-121): Remote I/O error, device=/dev/i2c-9
One second later the discrete GPU begins timing out:
Sep 12 12:40:11 myhost kernel: amdgpu 0000:03:00.0: Fence fallback timer expired on ring gfx_0.0.0
Sep 12 12:40:12 myhost kernel: amdgpu 0000:03:00.0: Fence fallback timer expired on ring gfx_0.0.0
The GPU is then lost from the PCI bus:
Sep 12 12:40:13 myhost kernel: amdgpu 0000:03:00.0: device lost from bus!
Sep 12 12:40:13 myhost kernel: amdgpu 0000:03:00.0: SMU: bus error for message: EnableSmuFeaturesLow(8) response:0xFFFFFFFF
Sep 12 12:40:13 myhost kernel: amdgpu 0000:03:00.0: Failed to enable GFXCLK DS!
Sep 12 12:40:13 myhost kernel: amdgpu 0000:03:00.0: device lost from bus!
Sep 12 12:40:13 myhost kernel: amdgpu 0000:03:00.0: SMU: bus error for message: SetWorkloadMask(36) response:0xFFFFFFFF
Sep 12 12:40:13 myhost kernel: amdgpu 0000:03:00.0: Failed to set workload mask 0x00000001
Sep 12 12:40:13 myhost kernel: amdgpu 0000:03:00.0: (-121) failed to disable fullscreen 3D power profile mode
KWin then reports repeated page-flip failures and the visible desktop freezes:
Sep 12 12:40:14 myhost kwin_wayland[1333]: Pageflip timed out! This is a bug in the amdgpu kernel driver
Sep 12 12:40:15 myhost kwin_wayland[1333]: Pageflip timed out! This is a bug in the amdgpu kernel driver
Sep 12 12:40:20 myhost kernel: amdgpu 0000:03:00.0: [drm] *ERROR* [CRTC:437:crtc-1] flip_done timed out
Further AMDGPU failures follow:
Sep 12 12:40:23 myhost kernel: amdgpu 0000:03:00.0: Fence fallback timer expired on ring sdma0
Sep 12 12:40:25 myhost kernel: amdgpu 0000:03:00.0: SMU: bus error for message: DisallowGfxOff(41) response:0xFFFFFFFF
Sep 12 12:40:25 myhost kernel: amdgpu 0000:03:00.0: Failed to disable gfxoff!
Sep 12 12:40:29 myhost kernel: amdgpu 0000:03:00.0: MES(1) failed to respond to msg=MISC (WAIT_REG_MEM)
Sep 12 12:40:30 myhost kernel: amdgpu 0000:03:00.0: failed to reg_write_reg_wait
PowerDevil itself times out and cannot be killed cleanly:
Sep 12 12:40:25 myhost systemd[1244]: plasma-powerdevil.service: start operation timed out. Terminating.
Sep 12 12:40:30 myhost systemd[1244]: plasma-powerdevil.service: State 'stop-sigterm' timed out. Killing.
Sep 12 12:40:36 myhost systemd[1244]: plasma-powerdevil.service: Processes still around after SIGKILL. Ignoring.
Sep 12 12:40:46 myhost systemd[1244]: plasma-powerdevil.service: Processes still around after final SIGKILL. Entering failed mode.
Sep 12 12:40:46 myhost systemd[1244]: plasma-powerdevil.service: Failed with result 'timeout'.
The same sequence occurs on later boots:
- At 12:42:40, PowerDevil initializes ddcutil 3.0.0 and immediately receives EREMOTEIO on /dev/i2c-9 and /dev/i2c-10.
- At 12:42:50, amdgpu reports that 0000:03:00.0 is lost from the bus.
- SMU and MES communication then fail repeatedly.
- KWin reports repeated page-flip timeouts and the desktop becomes unusable.
- A further boot around 12:47 reproduces the same ddcutil initialization, I2C errors, GPU loss, and page-flip timeout pattern.
Downgraded to version 2.2.7-1.1, then it works again.
Let me know if you need any more details.
Kind regards Damian
Confirming this on different hardware.
- Distribution: CachyOS (Arch-based)
- Kernel: 7.2.4-1-cachyos
- ddcutil: 3.0.0-1.1 (broken), 2.2.7-1.1 (working)
- KDE Plasma 6.7.5, KWin (Wayland)
- GPU: RX 7900 XTX (discrete) + AMD Raphael (integrated)
- CPU: Ryzen 7 7800X3D
- Single display, 1920x1080 @ 144Hz — also reproduced with only one display connected
Sequence from the hung boot (journalctl -b -1 -p 3): ~40 lines of EACCES
from org_kde_powerdevil across /dev/i2c-3 through /dev/i2c-13, all in the
same second, immediately followed by:
kwin_wayland: Pageflip timed out! This is a bug in the amdgpu kernel driver
kernel: amdgpu 0000:03:00.0: SMU is in hanged state, failed to send smu message
kernel: amdgpu 0000:03:00.0: [drm] *ERROR* [CRTC:381:crtc-1] hw_done or flip_done timed out
The pageflip timeouts then repeat until the machine is force-powered-off. VT switching from SDDM still works, so the kernel survives — only the session is lost.
Two workarounds both resolve it here: downgrading to 2.2.7, or keeping 3.0.0 and setting POWERDEVIL_NO_DDCUTIL=1.
The EACCES pattern resembles the transient permission issue noted in the 2.2.7 release notes, except here it ends in an unrecoverable SMU hang. Possibly related to #194.
Logs are photographs only — the journal was still buffered in /run at power-off. Happy to reproduce deliberately and capture full text if that would help.
After upgrading ddcutil from 2.2.7-1.1 to 3.0.0-1.1 on CachyOS, my KDE Plasma Wayland session freezes immediately after login.
The desktop begins loading, but the graphical session stops responding. The journal shows that KDE PowerDevil initializes libddcutil 3.0.0 and encounters repeated I²C errors. Within seconds, KWin begins reporting pageflip timeouts, followed by AMDGPU display, SMU, and GPU-ring timeouts.
Restoring the system snapshot from immediately before the update returns ddcutil to 2.2.7 and completely resolves the problem.
I reproduced the failure across four consecutive boots with ddcutil 3.0.0.
System information
- Distribution: CachyOS, rolling release
- Desktop: KDE Plasma 6.7.5
- Session: Wayland
- KWin: 6.7.5
- PowerDevil: 6.7.5
- Kernel:
linux-cachyos 7.2.4-1 - Architecture: x86_64
- CPU: AMD Ryzen 7 7800X3D
- Primary GPU: AMD Navi 31 / Radeon RX 7900 series
- PCI ID:
1002:744c - Subsystem: PowerColor
148c:2422 - Driver:
amdgpu
- PCI ID:
- Secondary GPU: AMD Raphael integrated graphics
- PCI ID:
1002:164e - Driver:
amdgpu
- PCI ID:
- Active monitor connection: DisplayPort
- Qt: 6.11.2
- Mesa: 26.2.2
- libdrm: 2.4.134
Package versions
Working:
ddcutil 2.2.7-1.1
libddcutil.so.5.5.1
linux-cachyos 7.2.4-1
plasma-workspace 6.7.5-1.1
kwin 6.7.5-1.1
powerdevil 6.7.5-1.1
Broken:
ddcutil 3.0.0-1.1
libddcutil.so.5.6.0
linux-cachyos 7.2.4-1
plasma-workspace 6.7.5-1.1
kwin 6.7.5-1.1
powerdevil 6.7.5-1.1
The kernel and KDE versions were the same in the working and broken boots.
Steps to reproduce
- Start with ddcutil 2.2.7 installed.
- Boot and log into KDE Plasma Wayland.
- Confirm that the session works normally.
- Upgrade ddcutil to 3.0.0.
- Reboot.
- Log into KDE Plasma.
- PowerDevil initializes libddcutil and begins probing the display I²C devices.
- The graphical session freezes shortly afterward.
- Restore/downgrade ddcutil to 2.2.7 and reboot.
- KDE works normally again.
Boot-by-boot comparison
Boot ddcutil DDC I/O errors KWin pageflip timeouts
-5 2.2.7 0 0
-4 3.0.0 3 57
-3 3.0.0 1 62
-2 3.0.0 3 10
-1 3.0.0 4 7
current 2.2.7 0 0
The -4 through -1 boots were consecutive attempts after the upgrade. The current boot is after restoring the pre-update snapshot.
Relevant journal excerpt
This is from the first broken boot:
2026-09-12T09:01:05-05:00 kernel: Linux version 7.2.4-1-cachyos (linux-cachyos@cachyos) (clang version 22.1.8, LLD 22.1.8)
2026-09-12T09:01:18-05:00 org_kde_powerdevil[3493]:
Initializing libddcutil. ddcutil version: 3.0.0, shared library: /usr/lib/libddcutil.so.5.6.0
2026-09-12T09:01:18-05:00 org_kde_powerdevil[3493]:
(i2c_ioctl_reader1) Error in ioctl() read, rc=-1, errno=EREMOTEIO(-121): Remote I/O error, device=/dev/i2c-8
2026-09-12T09:01:19-05:00 org_kde_powerdevil[3493]:
(i2c_ioctl_reader1) Error in ioctl() read, rc=-1, errno=EREMOTEIO(-121): Remote I/O error, device=/dev/i2c-8
2026-09-12T09:01:19-05:00 org_kde_powerdevil[3493]:
(i2c_ioctl_reader1) Error in ioctl() read, rc=-1, errno=EREMOTEIO(-121): Remote I/O error, device=/dev/i2c-8
2026-09-12T09:01:20-05:00 kwin_wayland[3288]:
Pageflip timed out! This is a bug in the amdgpu kernel driver
2026-09-12T09:01:22-05:00 kwin_wayland[3288]:
Pageflip timed out! This is a bug in the amdgpu kernel driver
The pageflip messages then repeat approximately once per second.
Later in the affected boots, the kernel reports errors including:
amdgpu 0000:03:00.0: [drm] *ERROR* [CRTC:376:crtc-0] flip_done timed out
amdgpu 0000:03:00.0: SMU: No response msg_reg: 24 resp_reg: 0
amdgpu 0000:03:00.0: Failed to disable gfxoff!
amdgpu 0000:03:00.0: ring comp_1.3.0 timeout
amdgpu 0000:03:00.0: Process plasmashell
amdgpu 0000:03:00.0: Starting comp_1.3.0 ring reset
After restoring ddcutil 2.2.7, the corresponding PowerDevil startup is:
org_kde_powerdevil[3494]:
Initializing libddcutil. ddcutil version: 2.2.7, shared library: /usr/lib/libddcutil.so.5.5.1
There are no subsequent I²C ioctl failures, pageflip timeouts, SMU errors, or GPU-ring timeouts in that boot.
Expected behavior
PowerDevil should initialize libddcutil without causing the graphical session or AMDGPU display engine to become unresponsive.
A failed or unsupported DDC/CI probe should fail gracefully and should not leave the GPU/display stack hung.
Actual behavior
With ddcutil 3.0.0:
- PowerDevil starts libddcutil.
- libddcutil probes
/dev/i2c-8. - The probe returns repeated
EREMOTEIOerrors. - KWin begins timing out while waiting for pageflips.
- The AMDGPU display/SMU path stops responding.
- The Plasma session becomes visually frozen.
Regression information
This appears to be a regression between:
Good: ddcutil 2.2.7 / libddcutil.so.5.5.1
Bad: ddcutil 3.0.0 / libddcutil.so.5.6.0
The strong correlation across repeated boots suggests that ddcutil 3.0.0's I²C probing is triggering an AMDGPU driver/display-engine failure.
The underlying hard hang manifests in AMDGPU, but it is consistently triggered immediately after PowerDevil initializes libddcutil 3.0.0. It does not occur with libddcutil 2.2.7 under the same kernel, KDE, hardware, and monitor configuration.
Workaround
Downgrading to the cached 2.2.7 package restores normal operation
Confirming this regression pattern on another Navi 31 system, with whole-device PCIe loss affecting the GPU-integrated USB controller as well.
Environment
- CachyOS
- Kernel:
linux-cachyos 7.2.4-1(7.2.4-1-cachyos) - KDE packages: Plasma Workspace
6.7.5-1.1, KWin6.7.5-1.1, PowerDevil6.7.5-1.1 - Working:
ddcutil 2.2.7-1.1,libddcutil.so.5.5.1 - Affected:
ddcutil 3.0.0-1.1,libddcutil.so.5.6.0 - GPU: Radeon RX 7900 XT / Navi 31
03:00.0VGA:1002:744c(subsystem1002:1002)03:00.1HDMI/DP audio:1002:ab3003:00.2Navi 31 USB/xHCI:1002:744603:00.3serial/I2C:1002:7444
Reproduction and A/B result
The system had been stable with 2.2.7-1.1. After upgrading only ddcutil to 3.0.0-1.1, graphical-session startup intermittently froze. I reproduced the failure with both Plasma and Caelestia session configurations. A full power cycle could temporarily restore operation.
Downgrading only ddcutil to 2.2.7-1.1 restored stability: Plasma and Caelestia start normally, warm reboots work, and the machine's usual services run normally. The package is now temporarily pinned.
pacman.log records:
2026-09-12T13:57:08+0100 upgraded ddcutil (2.2.7-1.1 -> 3.0.0-1.1)
2026-09-12T15:46:40+0100 downgraded ddcutil (3.0.0-1.1 -> 2.2.7-1.1)
Failure signature
The first preserved failure sequence included:
xhci_hcd 0000:03:00.2: xHCI host controller not responding, assume dead
amdgpu 0000:03:00.0: device lost from bus!
amdgpu 0000:03:00.0: SMU: bus error for message: TransferTableSmu2Dram
amdgpu 0000:03:00.0: SMU: bus error for message: SetWorkloadMask
amdgpu 0000:03:00.0: (-121) failed to disable fullscreen 3D power profile mode
amdgpu 0000:03:00.0: ring sdma0 timeout
AMDGPU device coredump file has been created
The graphical session froze, and mouse/keyboard input was lost because those devices were downstream of the Navi 31 xHCI function at 03:00.2.
PowerDevil was observed starting libddcutil during the affected graphical startup. The affected boot journals are no longer queryable locally after the unclean shutdowns, so I cannot reconstruct the exact sub-second ordering between libddcutil initialization and the first xHCI/GPU event from the current journal store.
For comparison, after the downgrade the retained journal shows:
org_kde_powerdevil: Initializing libddcutil. ddcutil version: 2.2.7, shared library: /usr/lib/libddcutil.so.5.5.1
org_kde_powerdevil: Library initialization complete.
No matching xHCI-dead, GPU-lost, SMU-bus-error, SDMA-timeout, or AMDGPU-coredump event followed in that boot.
This does not establish ddcutil as the root cause, but the upgrade/reproduction/rollback result is a strong correlation with the 3.0.0 change on this system.
Confirming this on a different motherboard and a different desktop environment, which I think narrows it down usefully.
Same GPU (RX 9070 XT), same PCI address, same failure. Downgrading to 2.2.7-1.1 fixes it completely.
System
| GPU | AMD Radeon RX 9070 XT, Navi 48, 1002:7550 (rev c0) at 0000:03:00.0 |
| Board | Minisforum BD790i (DMI: Meigao Innovation Technology, DRFXI), BIOS 1.15 |
| CPU | AMD Ryzen 9 7945HX3D |
| Distro | CachyOS |
| Kernel | 7.2.4-1-cachyos |
| Mesa | 3:26.2.2-2 |
| linux-firmware | 1:20260810-2 |
| Desktop | Hyprland 0.56.2 + SDDM 0.21.0 (no Plasma, no PowerDevil) |
| Bad | ddcutil 3.0.0-1.1 |
| Good | ddcutil 2.2.7-1.1 |
The original report is on Plasma with PowerDevil driving the I2C access. I am on Hyprland with SDDM, so PowerDevil is not involved at all. That suggests the trigger is ddcutil's probing itself rather than anything specific to Plasma.
Standalone reproducer
I can trigger it without any desktop power management in the loop. Running detect by hand is enough:
$ ddcutil detect --brief
Timeline from the journal:
16:41:20 ddcutil[2512]: [ 2525][ 0.019642] (i2c_ioctl_reader1 ) Error in ioctl() read, rc=-1, errno=EREMOTEIO(-121): Remote I/O error, device=/dev/i2c-9
16:41:20 ddcutil[2512]: [ 2525][ 0.019680] i2c_detect_x37
16:41:20 ddcutil[2512]: [ 2526][ 0.019780] (i2c_ioctl_reader1 ) Error in ioctl() read, rc=-1, errno=EREMOTEIO(-121): Remote I/O error, device=/dev/i2c-10
16:41:31 kernel: amdgpu 0000:03:00.0: [drm] *ERROR* [CRTC:432:crtc-0] flip_done timed out
16:41:48 kernel: amdgpu 0000:03:00.0: device lost from bus!
So: the I2C probe fails on /dev/i2c-9 and /dev/i2c-10 with EREMOTEIO(-121), about 11 seconds later the display pipeline starts timing out, and about 28 seconds after that the card is gone from the PCIe bus. Same bus numbers and same errno as the original report.
The failing call path is i2c_threaded_initial_checks_by_businfo -> i2c_check_bus -> i2c_detect_x37 -> invoke_i2c_reader -> i2c_ioctl_reader -> i2c_ioctl_reader1.
Second failure mode, trigger not identified
On the first boot after the upgrade I did not run ddcutil manually, and no ddcutil process appears anywhere in that boot's log. The card died anyway, a few seconds after the power daemons started:
16:38:51 systemd[1]: Started Power Profiles daemon.
16:38:51 systemd[1]: Started Daemon for power management.
16:38:55 kernel: amdgpu 0000:03:00.0: Fence fallback timer expired on ring sdma1
16:38:56 kernel: amdgpu 0000:03:00.0: device lost from bus!
16:38:56 kernel: amdgpu 0000:03:00.0: SMU: bus error for message: EnableSmuFeaturesLow(8) response:0xFFFFFFFF
16:38:56 kernel: amdgpu 0000:03:00.0: Failed to enable GFXCLK DS!
16:38:56 kernel: amdgpu 0000:03:00.0: (-121) failed to disable fullscreen 3D power profile mode
16:38:57 kernel: amdgpu 0000:03:00.0: Dumping IP State
16:38:57 kernel: amdgpu 0000:03:00.0: SMU: bus error for message: DisallowGfxOff(41) response:0xFFFFFFFF
Every subsequent SMU message returns 0xFFFFFFFF, which is just the kernel reading a device that is no longer on the bus. Note the (-121) there is the same EREMOTEIO the ddcutil probe hits.
I could not identify what touched I2C on that boot. I diffed the 2.2.7-1.1 and 3.0.0-1.1 packages: the only udev change is that 3.0.0 comments out the SUBSYSTEM=="i2c-dev" ... GROUP="i2c", MODE="0660" rule and leaves the uaccess tag, and 3.0.0 ships no systemd units. So nothing in the package itself probes at boot, and I do not have an explanation for this one. Flagging it in case it matches what anyone else sees.
One caveat on these kernel lines: I have since rolled the system back with snapper, which removed those journal entries. They are quoted verbatim from the journal as read before the rollback, but I can no longer re-dump them. The ddcutil output in the earlier section is still on disk and I can provide the full log for that one if it helps.
Isolating it
Only 20 packages were upgraded in the transaction that broke it. No kernel, no mesa, no linux-firmware. /boot is on a separate non-snapshotted partition, so after rolling back the root subvolume I was running the exact same kernel and initramfs as the crashing boots, and it was stable. That rules out the kernel side.
I then re-ran the update with --ignore upower,ddcutil, which was stable, and afterwards applied the upower update on its own (1.91.3-1.1 -> 1.91.4-1.1), which is also stable. ddcutil 3.0.0-1.1 is the only remaining difference.
Workaround
Downgrading to 2.2.7-1.1 restores full functionality, matching the original report:
sudo pacman -U /var/cache/pacman/pkg/ddcutil-2.2.7-1.1-x86_64_v4.pkg.tar.zst
Happy to run any diagnostics that would help narrow this down.
A other +1 from me
Environment
Archlinux Kernel: linux 7.2.4-1 KDE packages: Plasma Workspace 6.7.5-1.1, KWin 6.7.5-1.1, PowerDevil 6.7.5-1.1 GPU: Radeon RX 7900 XTX / Navi 31
i2c read while detecting x37 fail :
org_kde_powerdevil[1529]: Starting libddcutil. library built Not set at Not set. stdout_stderr_redirected=true
org_kde_powerdevil[1529]: Starting. library built Not set at Not set, library_initialized=false, libopts=|(null)|
org_kde_powerdevil[1529]: Initializing libddcutil. ddcutil version: 3.0.0, shared library: /usr/lib/libddcutil.so.5.6.0
org_kde_powerdevil[1529]: library built Not set at Not set. stdout_stderr_redirected=true
org_kde_powerdevil[1529]: [ 1529][ 0.029257] Options passed from client:
org_kde_powerdevil[1529]: [ 1529][ 0.029271] Applying combined libddcutil options:
org_kde_powerdevil[1529]: [ 1608][ 0.055413] (i2c_ioctl_reader1 ) Error in ioctl() read, rc=-1, errno=EREMOTEIO(-121): Erreur d'entrée/sortie sur l'hôte cible, device=/dev/i2c-10
org_kde_powerdevil[1529]: [ 1608][ 0.055422] Traced function stack 0x7f1854000880 for current thread [ 1608]
org_kde_powerdevil[1529]: [ 1608][ 0.055426] i2c_threaded_initial_checks_by_businfo
org_kde_powerdevil[1529]: [ 1608][ 0.055429] i2c_check_bus
org_kde_powerdevil[1529]: [ 1608][ 0.055431] check_x37_for_businfo
org_kde_powerdevil[1529]: [ 1608][ 0.055435] i2c_detect_x37
org_kde_powerdevil[1529]: [ 1608][ 0.055438] invoke_i2c_reader
org_kde_powerdevil[1529]: [ 1608][ 0.055442] i2c_ioctl_reader
org_kde_powerdevil[1529]: [ 1608][ 0.055444] i2c_ioctl_reader1
org_kde_powerdevil[1529]: [ 1606][ 0.055415] (i2c_ioctl_reader1 ) Error in ioctl() read, rc=-1, errno=EREMOTEIO(-121): Erreur d'entrée/sortie sur l'hôte cible, device=/dev/i2c-8
org_kde_powerdevil[1529]: [ 1606][ 0.055459] Traced function stack 0x7f185c000880 for current thread [ 1606]
org_kde_powerdevil[1529]: [ 1608][ 0.055454] (i2c_detect_x37 ) Extra x37 sleep: Sleeping for 100 milliseconds
org_kde_powerdevil[1529]: [ 1606][ 0.055464] i2c_threaded_initial_checks_by_businfo
org_kde_powerdevil[1529]: [ 1606][ 0.055476] i2c_check_bus
org_kde_powerdevil[1529]: [ 1606][ 0.055478] check_x37_for_businfo
org_kde_powerdevil[1529]: [ 1606][ 0.055481] i2c_detect_x37
org_kde_powerdevil[1529]: [ 1606][ 0.055483] invoke_i2c_reader
org_kde_powerdevil[1529]: [ 1606][ 0.055486] i2c_ioctl_reader
org_kde_powerdevil[1529]: [ 1606][ 0.055488] i2c_ioctl_reader1
org_kde_powerdevil[1529]: [ 1606][ 0.055498] (i2c_detect_x37 ) Extra x37 sleep: Sleeping for 100 milliseconds
org_kde_powerdevil[1529]: [ 1606][ 6.243988] (i2c_ioctl_reader1 ) Error in ioctl() read, rc=-1, errno=EREMOTEIO(-121): Erreur d'entrée/sortie sur l'hôte cible, device=/dev/i2c-8
org_kde_powerdevil[1529]: [ 1606][ 6.244161] Traced function stack 0x7f185c000880 for current thread [ 1606]
org_kde_powerdevil[1529]: [ 1606][ 6.244168] i2c_threaded_initial_checks_by_businfo
org_kde_powerdevil[1529]: [ 1606][ 6.244171] i2c_check_bus
org_kde_powerdevil[1529]: [ 1606][ 6.244173] check_x37_for_businfo
org_kde_powerdevil[1529]: [ 1606][ 6.244175] i2c_detect_x37
org_kde_powerdevil[1529]: [ 1606][ 6.244177] invoke_i2c_reader
org_kde_powerdevil[1529]: [ 1606][ 6.244179] i2c_ioctl_reader
org_kde_powerdevil[1529]: [ 1606][ 6.244181] i2c_ioctl_reader1
org_kde_powerdevil[1529]: [ 1606][ 6.244190] (i2c_detect_x37 ) Extra x37 sleep: Sleeping for 100 milliseconds
org_kde_powerdevil[1529]: [ 1606][ 9.760203] (i2c_ioctl_reader1 ) Error in ioctl() read, rc=-1, errno=EREMOTEIO(-121): Erreur d'entrée/sortie sur l'hôte cible, device=/dev/i2c-8
org_kde_powerdevil[1529]: [ 1606][ 9.760212] Traced function stack 0x7f185c000880 for current thread [ 1606]
org_kde_powerdevil[1529]: [ 1606][ 9.760216] i2c_threaded_initial_checks_by_businfo
org_kde_powerdevil[1529]: [ 1606][ 9.760218] i2c_check_bus
org_kde_powerdevil[1529]: [ 1606][ 9.760220] check_x37_for_businfo
org_kde_powerdevil[1529]: [ 1606][ 9.760222] i2c_detect_x37
org_kde_powerdevil[1529]: [ 1606][ 9.760223] invoke_i2c_reader
org_kde_powerdevil[1529]: [ 1606][ 9.760225] i2c_ioctl_reader
org_kde_powerdevil[1529]: [ 1606][ 9.760226] i2c_ioctl_reader1
org_kde_powerdevil[1529]: [ 1608][ 37.479001] (i2c_ioctl_reader1 ) Error in ioctl() read, rc=-1, errno=EREMOTEIO(-121): Erreur d'entrée/sortie sur l'hôte cible, device=/dev/i2c-10
org_kde_powerdevil[1529]: [ 1608][ 37.479011] Traced function stack 0x7f1854000880 for current thread [ 1608]
org_kde_powerdevil[1529]: [ 1608][ 37.479015] i2c_threaded_initial_checks_by_businfo
org_kde_powerdevil[1529]: [ 1608][ 37.479017] i2c_check_bus
org_kde_powerdevil[1529]: [ 1608][ 37.479018] check_x37_for_businfo
org_kde_powerdevil[1529]: [ 1608][ 37.479020] i2c_detect_x37
org_kde_powerdevil[1529]: [ 1608][ 37.479022] invoke_i2c_reader
org_kde_powerdevil[1529]: [ 1608][ 37.479023] i2c_ioctl_reader
org_kde_powerdevil[1529]: [ 1608][ 37.479025] i2c_ioctl_reader1
org_kde_powerdevil[1529]: [ 1608][ 37.479035] (i2c_detect_x37 ) Extra x37 sleep: Sleeping for 100 milliseconds
It does detect correct sub i2c bus though, they are both the correct i2c attached to the two display port It then takes down the amdgpu driver and freeze the whole desktop
kernel: amdgpu 0000:03:00.0: [drm] *ERROR* [CRTC:376:crtc-0] hw_done or flip_done timed out
kwin_wayland[1324]: Pageflip timed out! This is a bug in the amdgpu kernel driver
kwin_wayland[1324]: Pageflip timed out! This is a bug in the amdgpu kernel driver
Hello, cachyos maintainer here, could someone try this?
download ddcutil from arch direct download here then sudo pacman -U /path/to/file
Hello, cachyos maintainer here, could someone try this? download ddcutil from arch direct download here then
sudo pacman -U /path/to/file
@simiscoool-afk I just tried but still got the same issue.
Hello, cachyos maintainer here, could someone try this? download ddcutil from arch direct download here then
sudo pacman -U /path/to/file
Edited to pull back after further testing, and other replied. I was dumb.
Workaround found (RX 9070 XT, CachyOS, ddcutil 3.0.0-1.1)
Create ~/.config/ddcutil/ddcutilrc with:
[libddcutil]
options = --i2c-bus-checks-async-min 99 --i2c-init-async-min 99
[ddcutil]
options = --i2c-bus-checks-async-min 99 --i2c-init-async-min 99
This keeps ddcutil 3.0.0 and libddcutil enabled, unlike POWERDEVIL_NO_DDCUTIL=1.
- ddcutil 3.0.0 checks I2C buses in parallel once there are enough of them (threshold 4). In 2.2.7 this was effectively off (threshold 99).
- This was turned off in 4523d679, then turned back on in 09263068.
- amdgpu creates a bus for each connector, plus one for each DisplayPort, so most cards reach that threshold.
- The setting above raises the threshold back to 99, so buses are checked one at a time, like in 2.2.7.
- With the workaround, the same DDC reads still fail (EIO/ETIMEDOUT), but the GPU stays fine.
- So the failed reads aren't the problem: running them at the same time is what hangs amdgpu.
@simiscoool-afk The Arch x86_64 3.0.0-1 build (no AVX-512) also froze Plasma, so this isn't specific to the znver4 build.
I believe @JiPaix has nailed the immediate change that triggered the failure. If so, setting --i2c-bus-checks-async-min 4 in ddcutil 2.2.7 should trigger the same failure.
I have reset the default i2c-bus-check-async-min value to 99 in branch 3.0.1-dev. I'd appreciate confirmation that this solves the problem.
That said, I'd like to probe deeper. This failure is similar to issue #194 from several years ago. The workaround was to ignore /dev/i2c buses whose name begins with "AMDGPU SMU". My understanding is that the driver bug was fixed, but the bus name check is still in the code.
On branch 3.0.1, I'd like to see the trace output from ddcutil detect --trcfunc ignorable_i2c_device_sysfs_name --trcfunc sysfs_is_ignorable_i2c_device --trcfunc i2c_detect_attached_buses
Here is the trace from 3.0.1 on my system :
(i2c_detect_attached_buses ) Starting
(sysfs_is_ignorable_i2c_device ) Starting busno=0
(ignorable_i2c_device_sysfs_name) Starting name=|Synopsys DesignWare I2C adapter|, driver=|(null)|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|Synopsys DesignWare I2C adapter|, driver=|(null)|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=0
(sysfs_is_ignorable_i2c_device ) Starting busno=1
(ignorable_i2c_device_sysfs_name) Starting name=|Synopsys DesignWare I2C adapter|, driver=|i2c_designware_pci|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|Synopsys DesignWare I2C adapter|, driver=|i2c_designware_pci|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=1
(sysfs_is_ignorable_i2c_device ) Starting busno=2
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU SMU 0|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|AMDGPU SMU 0|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=2
(sysfs_is_ignorable_i2c_device ) Starting busno=3
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU SMU 1|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|AMDGPU SMU 1|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=3
(sysfs_is_ignorable_i2c_device ) Starting busno=4
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 0|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 0|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=4
(sysfs_is_ignorable_i2c_device ) Starting busno=5
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 1|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 1|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=5
(sysfs_is_ignorable_i2c_device ) Starting busno=6
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 2|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 2|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=6
(sysfs_is_ignorable_i2c_device ) Starting busno=7
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 3|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 3|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=7
(sysfs_is_ignorable_i2c_device ) Starting busno=8
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM aux hw bus 0|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM aux hw bus 0|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=8
(sysfs_is_ignorable_i2c_device ) Starting busno=9
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM aux hw bus 1|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM aux hw bus 1|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=9
(sysfs_is_ignorable_i2c_device ) Starting busno=10
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM aux hw bus 2|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM aux hw bus 2|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=10
(sysfs_is_ignorable_i2c_device ) Starting busno=11
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 0|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 0|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=11
(sysfs_is_ignorable_i2c_device ) Starting busno=12
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 1|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 1|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=12
(sysfs_is_ignorable_i2c_device ) Starting busno=13
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 2|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 2|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=13
(sysfs_is_ignorable_i2c_device ) Starting busno=14
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM aux hw bus 1|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM aux hw bus 1|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=14
(sysfs_is_ignorable_i2c_device ) Starting busno=15
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM aux hw bus 2|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM aux hw bus 2|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=15
(sysfs_is_ignorable_i2c_device ) Starting busno=16
(ignorable_i2c_device_sysfs_name) Starting name=|SMBus PIIX4 adapter port 0 at 0b00|, driver=|i2c_piix4|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|SMBus PIIX4 adapter port 0 at 0b00|, driver=|i2c_piix4|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=16
(sysfs_is_ignorable_i2c_device ) Starting busno=17
(ignorable_i2c_device_sysfs_name) Starting name=|SMBus PIIX4 adapter port 2 at 0b00|, driver=|i2c_piix4|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|SMBus PIIX4 adapter port 2 at 0b00|, driver=|i2c_piix4|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=17
(sysfs_is_ignorable_i2c_device ) Starting busno=18
(ignorable_i2c_device_sysfs_name) Starting name=|SMBus PIIX4 adapter port 1 at 0b20|, driver=|i2c_piix4|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|SMBus PIIX4 adapter port 1 at 0b20|, driver=|i2c_piix4|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=18
(i2c_detect_attached_buses ) Done possible i2c device bus numbers: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
(i2c_detect_attached_buses ) Starting
(sysfs_is_ignorable_i2c_device ) Starting busno=0
(ignorable_i2c_device_sysfs_name) Starting name=|Synopsys DesignWare I2C adapter|, driver=|(null)|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|Synopsys DesignWare I2C adapter|, driver=|(null)|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=0
(sysfs_is_ignorable_i2c_device ) Starting busno=1
(ignorable_i2c_device_sysfs_name) Starting name=|Synopsys DesignWare I2C adapter|, driver=|i2c_designware_pci|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|Synopsys DesignWare I2C adapter|, driver=|i2c_designware_pci|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=1
(sysfs_is_ignorable_i2c_device ) Starting busno=2
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU SMU 0|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|AMDGPU SMU 0|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=2
(sysfs_is_ignorable_i2c_device ) Starting busno=3
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU SMU 1|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|AMDGPU SMU 1|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=3
(sysfs_is_ignorable_i2c_device ) Starting busno=4
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 0|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 0|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=4
(sysfs_is_ignorable_i2c_device ) Starting busno=5
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 1|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 1|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=5
(sysfs_is_ignorable_i2c_device ) Starting busno=6
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 2|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 2|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=6
(sysfs_is_ignorable_i2c_device ) Starting busno=7
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 3|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 3|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=7
(sysfs_is_ignorable_i2c_device ) Starting busno=8
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM aux hw bus 0|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM aux hw bus 0|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=8
(sysfs_is_ignorable_i2c_device ) Starting busno=9
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM aux hw bus 1|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM aux hw bus 1|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=9
(sysfs_is_ignorable_i2c_device ) Starting busno=10
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM aux hw bus 2|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM aux hw bus 2|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=10
(sysfs_is_ignorable_i2c_device ) Starting busno=11
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 0|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 0|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=11
(sysfs_is_ignorable_i2c_device ) Starting busno=12
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 1|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 1|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=12
(sysfs_is_ignorable_i2c_device ) Starting busno=13
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 2|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 2|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=13
(sysfs_is_ignorable_i2c_device ) Starting busno=14
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM aux hw bus 1|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM aux hw bus 1|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=14
(sysfs_is_ignorable_i2c_device ) Starting busno=15
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM aux hw bus 2|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM aux hw bus 2|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=15
(sysfs_is_ignorable_i2c_device ) Starting busno=16
(ignorable_i2c_device_sysfs_name) Starting name=|SMBus PIIX4 adapter port 0 at 0b00|, driver=|i2c_piix4|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|SMBus PIIX4 adapter port 0 at 0b00|, driver=|i2c_piix4|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=16
(sysfs_is_ignorable_i2c_device ) Starting busno=17
(ignorable_i2c_device_sysfs_name) Starting name=|SMBus PIIX4 adapter port 2 at 0b00|, driver=|i2c_piix4|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|SMBus PIIX4 adapter port 2 at 0b00|, driver=|i2c_piix4|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=17
(sysfs_is_ignorable_i2c_device ) Starting busno=18
(ignorable_i2c_device_sysfs_name) Starting name=|SMBus PIIX4 adapter port 1 at 0b20|, driver=|i2c_piix4|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|SMBus PIIX4 adapter port 1 at 0b20|, driver=|i2c_piix4|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=18
(i2c_detect_attached_buses ) Done possible i2c device bus numbers: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
Display 1
I2C bus: /dev/i2c-8
DRM_connector: card1-DP-1
EDID synopsis:
Mfg id: SAM - Samsung Electric Company
Model: Odyssey G5
Product code: 29863 (0x74a7)
Serial number: HNAX401798
Binary serial number: 810825521 (0x30543731)
Model year: 2245
VCP version: 2.0
Display 2
I2C bus: /dev/i2c-10
DRM_connector: card1-DP-3
EDID synopsis:
Mfg id: SAM - Samsung Electric Company
Model: Odyssey G50F
Product code: 31196 (0x79dc)
Serial number: HNAYA03447
Binary serial number: 825314616 (0x31314d38)
Manufacture year: 2025, Week: 42
VCP version: 2.0
vs the trace on the previous working version :
(i2c_detect_attached_buses ) Starting
(sysfs_is_ignorable_i2c_device ) Starting busno=0
(ignorable_i2c_device_sysfs_name) Starting name=|Synopsys DesignWare I2C adapter|, driver=|(null)|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|Synopsys DesignWare I2C adapter|, driver=|(null)|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=0
(sysfs_is_ignorable_i2c_device ) Starting busno=1
(ignorable_i2c_device_sysfs_name) Starting name=|Synopsys DesignWare I2C adapter|, driver=|i2c-designware-pci|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|Synopsys DesignWare I2C adapter|, driver=|i2c-designware-pci|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=1
(sysfs_is_ignorable_i2c_device ) Starting busno=2
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU SMU 0|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|AMDGPU SMU 0|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=2
(sysfs_is_ignorable_i2c_device ) Starting busno=3
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU SMU 1|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|AMDGPU SMU 1|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=3
(sysfs_is_ignorable_i2c_device ) Starting busno=4
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 0|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 0|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=4
(sysfs_is_ignorable_i2c_device ) Starting busno=5
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 1|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 1|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=5
(sysfs_is_ignorable_i2c_device ) Starting busno=6
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 2|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 2|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=6
(sysfs_is_ignorable_i2c_device ) Starting busno=7
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 3|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 3|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=7
(sysfs_is_ignorable_i2c_device ) Starting busno=8
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM aux hw bus 0|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM aux hw bus 0|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=8
(sysfs_is_ignorable_i2c_device ) Starting busno=9
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM aux hw bus 1|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM aux hw bus 1|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=9
(sysfs_is_ignorable_i2c_device ) Starting busno=10
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM aux hw bus 2|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM aux hw bus 2|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=10
(sysfs_is_ignorable_i2c_device ) Starting busno=11
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 0|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 0|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=11
(sysfs_is_ignorable_i2c_device ) Starting busno=12
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 1|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 1|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=12
(sysfs_is_ignorable_i2c_device ) Starting busno=13
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 2|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 2|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=13
(sysfs_is_ignorable_i2c_device ) Starting busno=14
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM aux hw bus 1|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM aux hw bus 1|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=14
(sysfs_is_ignorable_i2c_device ) Starting busno=15
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM aux hw bus 2|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM aux hw bus 2|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=15
(sysfs_is_ignorable_i2c_device ) Starting busno=16
(ignorable_i2c_device_sysfs_name) Starting name=|SMBus PIIX4 adapter port 0 at 0b00|, driver=|piix4_smbus|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|SMBus PIIX4 adapter port 0 at 0b00|, driver=|piix4_smbus|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=16
(sysfs_is_ignorable_i2c_device ) Starting busno=17
(ignorable_i2c_device_sysfs_name) Starting name=|SMBus PIIX4 adapter port 2 at 0b00|, driver=|piix4_smbus|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|SMBus PIIX4 adapter port 2 at 0b00|, driver=|piix4_smbus|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=17
(sysfs_is_ignorable_i2c_device ) Starting busno=18
(ignorable_i2c_device_sysfs_name) Starting name=|SMBus PIIX4 adapter port 1 at 0b20|, driver=|piix4_smbus|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|SMBus PIIX4 adapter port 1 at 0b20|, driver=|piix4_smbus|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=18
(i2c_detect_attached_buses ) Done possible i2c device bus numbers: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
(i2c_detect_attached_buses ) Starting
(sysfs_is_ignorable_i2c_device ) Starting busno=0
(ignorable_i2c_device_sysfs_name) Starting name=|Synopsys DesignWare I2C adapter|, driver=|(null)|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|Synopsys DesignWare I2C adapter|, driver=|(null)|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=0
(sysfs_is_ignorable_i2c_device ) Starting busno=1
(ignorable_i2c_device_sysfs_name) Starting name=|Synopsys DesignWare I2C adapter|, driver=|i2c-designware-pci|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|Synopsys DesignWare I2C adapter|, driver=|i2c-designware-pci|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=1
(sysfs_is_ignorable_i2c_device ) Starting busno=2
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU SMU 0|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|AMDGPU SMU 0|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=2
(sysfs_is_ignorable_i2c_device ) Starting busno=3
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU SMU 1|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|AMDGPU SMU 1|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=3
(sysfs_is_ignorable_i2c_device ) Starting busno=4
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 0|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 0|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=4
(sysfs_is_ignorable_i2c_device ) Starting busno=5
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 1|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 1|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=5
(sysfs_is_ignorable_i2c_device ) Starting busno=6
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 2|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 2|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=6
(sysfs_is_ignorable_i2c_device ) Starting busno=7
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 3|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 3|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=7
(sysfs_is_ignorable_i2c_device ) Starting busno=8
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM aux hw bus 0|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM aux hw bus 0|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=8
(sysfs_is_ignorable_i2c_device ) Starting busno=9
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM aux hw bus 1|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM aux hw bus 1|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=9
(sysfs_is_ignorable_i2c_device ) Starting busno=10
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM aux hw bus 2|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM aux hw bus 2|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=10
(sysfs_is_ignorable_i2c_device ) Starting busno=11
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 0|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 0|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=11
(sysfs_is_ignorable_i2c_device ) Starting busno=12
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 1|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 1|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=12
(sysfs_is_ignorable_i2c_device ) Starting busno=13
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM i2c hw bus 2|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM i2c hw bus 2|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=13
(sysfs_is_ignorable_i2c_device ) Starting busno=14
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM aux hw bus 1|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM aux hw bus 1|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=14
(sysfs_is_ignorable_i2c_device ) Starting busno=15
(ignorable_i2c_device_sysfs_name) Starting name=|AMDGPU DM aux hw bus 2|, driver=|amdgpu|
(ignorable_i2c_device_sysfs_name) Done Returning: false. name=|AMDGPU DM aux hw bus 2|, driver=|amdgpu|
(sysfs_is_ignorable_i2c_device ) Done Returning: false. busno=15
(sysfs_is_ignorable_i2c_device ) Starting busno=16
(ignorable_i2c_device_sysfs_name) Starting name=|SMBus PIIX4 adapter port 0 at 0b00|, driver=|piix4_smbus|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|SMBus PIIX4 adapter port 0 at 0b00|, driver=|piix4_smbus|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=16
(sysfs_is_ignorable_i2c_device ) Starting busno=17
(ignorable_i2c_device_sysfs_name) Starting name=|SMBus PIIX4 adapter port 2 at 0b00|, driver=|piix4_smbus|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|SMBus PIIX4 adapter port 2 at 0b00|, driver=|piix4_smbus|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=17
(sysfs_is_ignorable_i2c_device ) Starting busno=18
(ignorable_i2c_device_sysfs_name) Starting name=|SMBus PIIX4 adapter port 1 at 0b20|, driver=|piix4_smbus|
(ignorable_i2c_device_sysfs_name) Done Returning: true. name=|SMBus PIIX4 adapter port 1 at 0b20|, driver=|piix4_smbus|
(sysfs_is_ignorable_i2c_device ) Done Returning: true. busno=18
(i2c_detect_attached_buses ) Done possible i2c device bus numbers: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
Display 1
I2C bus: /dev/i2c-8
DRM_connector: card1-DP-1
EDID synopsis:
Mfg id: SAM - Samsung Electric Company
Model: Odyssey G5
Product code: 29863 (0x74a7)
Serial number: HNAX401798
Binary serial number: 810825521 (0x30543731)
Model year: 2245
VCP version: 2.0
Display 2
I2C bus: /dev/i2c-10
DRM_connector: card1-DP-3
EDID synopsis:
Mfg id: SAM - Samsung Electric Company
Model: Odyssey G50F
Product code: 31196 (0x79dc)
Serial number: HNAYA03447
Binary serial number: 825314616 (0x31314d38)
Manufacture year: 2025, Week: 42
VCP version: 2.0
I don't see any immediate differente The fix is working though and don't trigger the bug
@rockowitz I built 3.0.1-dev at b7b13fac and it worked without the ddcutilrc workaround:
ddcutil --hhshowsDefault=99for both--i2c-bus-checks-async-minand--i2c-init-async-min.ddcutil environment --verbose, which froze the machine every time with the 3.0.0 defaults, now runs to completion.- Plasma login: powerdevil initializes libddcutil with bus access (no EACCES), scans serially, and the GPU doesn't hang.
- Side note: the branch still reports
ddcutil version: 3.0.0.
The trace you asked for is attached (same 3.0.1-dev build, no ddcutilrc).
In case it helps: each DP connector shows up on two buses, its DM i2c hw bus and its DM aux hw bus (for example DP-1 is on both i2c-4 and i2c-8). A parallel scan could therefore reach the same connector over both paths at once. I haven't confirmed that this is what triggers the hang.
Hi y'all, adding my 2 cents to this. I am getting the same lockup.
- Dell XPS 15 9520 (BIOS 1.43.0), Intel Alder Lake-P iGPU
- eGPU: Radeon RX 7800 XT [1002:747e] in a Sonnet eGPU Breakaway Box 750ex, Thunderbolt 3
- CachyOS, kernel 7.2.3-1-cachyos, KDE Plasma 6.7.5 (powerdevil 6.7.5-1.1), Mesa 26.2.2
I get the login screen to KDE, and then as soon as I hit enter, I hang on a black screen and can't switch TTYs or interact with anything. Boots fine to GUI without the AMD GPU connected.
I downgraded to ddcutil 2.2.7-1.1 and get my desktop back fine.
i2c-21: AMDGPU DM i2c hw bus 2 (0000:06:00.0, behind the TB3 bridge chain)
org_kde_powerdevil: Initializing libddcutil. ddcutil version: 2.2.7, shared library: /usr/lib/libddcutil.so.5.5.1
org_kde_powerdevil: (check_supported_feature) busno=21, sleep-multiplier = 2.00. Testing for supported feature 0x10 returned Error_Info[DDCRC_RETRIES in ddc_write_read_with_retry, causes: DDCRC_NULL_RESPONSE(10)]
org_kde_powerdevil: busno=21, Feature 0xdd should not exist but ddc_get_nontable_vcp_value() succeeds, returning mh=0xff ml=0xff sh=0x00 sl=0x00
Same on a fresh Arch Linux
Sep 13 05:48:50 asus-pc org_kde_powerdevil[1349]: Starting. library built Not set at Not set, library_initialized=false, libopts=|(null)|
Sep 13 05:48:50 asus-pc org_kde_powerdevil[1349]: Initializing libddcutil. ddcutil version: 3.0.0, shared library: /usr/lib/libddcutil.so.5.6.0
Sep 13 05:48:50 asus-pc org_kde_powerdevil[1349]: library built Not set at Not set. stdout_stderr_redirected=true
Sep 13 05:48:50 asus-pc org_kde_powerdevil[1349]: [ 1349][ 0.179210] Options passed from client:
Sep 13 05:48:50 asus-pc org_kde_powerdevil[1349]: [ 1349][ 0.179224] Applying combined libddcutil options:
Sep 13 05:48:50 asus-pc org_kde_powerdevil[1349]: [ 1409][ 0.187934] (i2c_ioctl_reader1 ) Error in ioctl() read, rc=-1, errno=EREMOTEIO(-121): Remote I/O error, device=/dev/i2c-13
Sep 13 05:48:50 asus-pc org_kde_powerdevil[1349]: [ 1409][ 0.187947] Traced function stack 0x55e40bea8af0 for current thread [ 1409]
Sep 13 05:48:50 asus-pc org_kde_powerdevil[1349]: [ 1409][ 0.187952] i2c_threaded_initial_checks_by_businfo
Sep 13 05:48:50 asus-pc org_kde_powerdevil[1349]: [ 1409][ 0.187954] i2c_check_bus
Sep 13 05:48:50 asus-pc org_kde_powerdevil[1349]: [ 1409][ 0.187956] check_x37_for_businfo
Sep 13 05:48:50 asus-pc org_kde_powerdevil[1349]: [ 1409][ 0.187958] i2c_detect_x37
Sep 13 05:48:50 asus-pc org_kde_powerdevil[1349]: [ 1409][ 0.187959] invoke_i2c_reader
Sep 13 05:48:50 asus-pc org_kde_powerdevil[1349]: [ 1409][ 0.187961] i2c_ioctl_reader
Sep 13 05:48:50 asus-pc org_kde_powerdevil[1349]: [ 1409][ 0.187962] i2c_ioctl_reader1
Sep 13 05:48:50 asus-pc org_kde_powerdevil[1349]: [ 1409][ 0.187969] (i2c_detect_x37 ) Extra x37 sleep: Sleeping for 100 milliseconds
It seems breaking the I2C bus and the AMD GPU driver got stuck communicating with the GPU
Sep 13 05:48:54 asus-pc kernel: amdgpu 0000:03:00.0: SMU is in hanged state, failed to send smu message!
Sep 13 05:48:54 asus-pc kernel: amdgpu 0000:03:00.0: Failed to set workload mask 0x00000001
Sep 13 05:48:54 asus-pc kernel: amdgpu 0000:03:00.0: (-121) failed to disable fullscreen 3D power profile mode
Sep 13 05:48:54 asus-pc kernel: amdgpu 0000:03:00.0: SMU is in hanged state, failed to send smu message!
Sep 13 05:48:54 asus-pc kernel: amdgpu 0000:03:00.0: Failed to export SMU metrics table!
Sep 13 05:48:54 asus-pc logid[1011]: [INFO] /dev/hidraw0:1 fell asleep.
Sep 13 05:48:54 asus-pc kernel: amdgpu 0000:03:00.0: SMU is in hanged state, failed to send smu message!
Sep 13 05:48:54 asus-pc kernel: amdgpu 0000:03:00.0: Failed to export SMU metrics table!
Sep 13 05:48:55 asus-pc kernel: amdgpu 0000:03:00.0: SMU is in hanged state, failed to send smu message!
Sep 13 05:48:55 asus-pc kernel: amdgpu 0000:03:00.0: Failed to export SMU metrics table!
Sep 13 05:48:55 asus-pc kernel: amdgpu 0000:03:00.0: SMU is in hanged state, failed to send smu message!
RX 7900 XT
Another Navi 31 confirmation, plain Arch this time, with a few data points that differ from the reports above: on my machine the failure was intermittent (one boot in two on 3.0.0), and it was a slow death — the card took 29 minutes to fall off the bus rather than seconds.
Environment
| Distro / kernel | Arch Linux, linux 7.2.4.arch1-2 (plain Arch build, no CachyOS) |
| Desktop | KDE Plasma 6.7.5 Wayland, SDDM, plasma-workspace / kwin / powerdevil 6.7.5-1 |
| GPU | Radeon RX 7900 XTX, Navi 31 1002:744c (rev c8) at 0000:03:00.0, plus Raphael iGPU 1002:164e at 6b:00.0 |
| Board / CPU | ASUS ROG STRIX X670E-I (BIOS 3881), Ryzen 9 7950X |
| Monitors | Acer XB273U GX on DP-3, Dell U2724DE on HDMI-A-1 (two outputs active) |
| Firmware / Mesa | linux-firmware-amdgpu 20260910-1, Mesa 26.2.2 |
| Bad | ddcutil 3.0.0-1 (libddcutil.so.5.6.0), installed 2026-09-12 13:05 |
| Good | ddcutil 2.2.7-1 (libddcutil.so.5.5.1) |
19 /dev/i2c-* buses total, 15 of them on the two amdgpu devices. On the 7900 XTX: i2c-2/3 = AMDGPU SMU 0/1, i2c-4..7 = DM i2c hw bus 0..3, i2c-8..10 = DM aux hw bus 0..2. So the async threshold of 4 is exceeded several times over, matching @JiPaix's analysis. As @JiPaix noted, the connected DP monitor is reachable on two buses at once (DP-3 = i2c-6 and i2c-10).
Timeline of the bad boot (first boot after the upgrade, cold boot)
22:49:26.1 sddm: session opened (login)
22:49:27.8 org_kde_powerdevil: Initializing libddcutil. ddcutil version: 3.0.0, shared library: /usr/lib/libddcutil.so.5.6.0
22:49:27.9 org_kde_powerdevil: (i2c_ioctl_reader1) Error in ioctl() read, rc=-1, errno=EREMOTEIO(-121), device=/dev/i2c-10 <- DP-3 aux bus (connected Acer)
22:49:33.1 org_kde_powerdevil: ... EREMOTEIO(-121), device=/dev/i2c-10 <- 5.2 s later: the probe itself is stalling
22:49:33.7 org_kde_powerdevil: ... errno=EIO(-5): Input/output error, device=/dev/i2c-7 <- DM i2c hw bus 3 = HDMI DDC, a *connected* Dell
22:49:34.5 org_kde_powerdevil: ... EIO(-5), device=/dev/i2c-7
22:49:35.6 org_kde_powerdevil: ... EIO(-5), device=/dev/i2c-7
22:49:35.9 kwin_wayland: Pageflip timed out! This is a bug in the amdgpu kernel driver <- 8 s after libddcutil init; screen frozen from here
22:49:39.5 kernel: amdgpu 0000:03:00.0: Fence fallback timer expired on ring sdma1
22:49:52.7 org_kde_powerdevil: (ddca_get_display_refs) Returning DDCA_Display_Ref list: <- detection took 24.8 s (2.3 s on a good boot)
22:55:38.6 kernel: amdgpu 0000:03:00.0: [drm] *ERROR* [CRTC:376:crtc-0] hw_done or flip_done timed out <- then alternating crtc-0 / crtc-1 every ~10 s
22:58:30.1 kernel: INFO: task kscreenlocker_g:11308 blocked for more than 122 seconds.
... __mutex_lock -> amdgpu_dpm_get_sclk -> amdgpu_info_ioctl ("blocked on a mutex likely owned by task plasmashell")
23:18:27.7 kernel: amdgpu 0000:03:00.0: device lost from bus!
23:18:27.8 kernel: amdgpu 0000:03:00.0: SMU: bus error for message: DisallowGfxOff(41) response:0xFFFFFFFF
23:18:29.1 kernel: i2c-designware-pci 0000:03:00.3: timeout while trying to abort current transfer
23:18:29.8 kernel: amdgpu 0000:03:00.0: SMU is in hanged state, failed to send smu message! / Failed to disable gfxoff!
23:18:29.8 kernel: amdgpu 0000:03:00.0: ring sdma0 timeout, signaled seq=1261, emitted seq=1264 / Starting sdma0 ring reset
23:18:30.2 kernel: amdgpu 0000:03:00.0: MES failed to respond to msg=MISC (WAIT_REG_MEM) / failed to reg_write_reg_wait
23:18:37.8 kernel: amdgpu 0000:03:00.0: Ring sdma0 reset failed / GPU reset begin!. Source: 1 / GPU reset end with ret = -19 / GPU Recovery Failed: -19
... sdma0/sdma1 reset + "GPU Recovery Failed: -19" repeating every ~1.6 s until hard power-off at 23:56
So the order here was: libddcutil's parallel probe stalls → display engine stops completing flips → SDMA fences stall → DPM mutex held by a process waiting on the SMU → SMU dead → card gone from PCIe. Same end state as everyone else, just stretched out. GPU fans went to 100% once the SMU was gone, which made it look like a hardware failure from across the room.
Two things I think support @JiPaix's "it's the concurrency, not the failed reads": (1) the EIO was on the HDMI DDC bus of a monitor that is connected and works with 2.2.7, and (2) the same EREMOTEIO on i2c-10 also appears on the good boot below, with no consequence.
The next boot on 3.0.0 was fine
Same package set, same monitors, warm boot 70 minutes later: powerdevil logged exactly one EREMOTEIO on /dev/i2c-10, ddca_get_display_refs returned in 2.3 s, and the session ran normally. So on this machine it is a race that does not lose every time — similar to what @MauroFigueira described as intermittent.
Ruled out
- Kernel: 7.2.3 → 7.2.4 on the same day. Upstream ChangeLog-7.2.2/7.2.3/7.2.4 contain no drm/amd commits beyond three Apple-Studio-Display/HDCP display quirks; the previous 13.5 h session ran on 7.2.4 without issue.
- Firmware: linux-firmware-amdgpu 20260810 → 20260910 on the same day, but every Navi 31 blob (
smu_13_0_0,gc_11_0_0_mes*,psp_13_0_0_*,sdma_6_0_0,dcn_3_2_0_dmcub) is byte-identical between the two packages; SMU FW 78.133.0 in both good and bad boots. - No overclock/undervolt (0 mV offset, stock power cap), no AER errors on the GPU link (PCIe 4.0 x16, ASPM L1 enabled, BAMACO runtime PM — unchanged for 20 months).
- The journal on this box goes back to 2025-01 across 167 boots; there is not a single prior "Pageflip timed out", "SMU is in hanged state", or "device lost from bus" before 2026-09-12.
Current state
Downgraded to 2.2.7-1 from the pacman cache and pinned with IgnorePkg = ddcutil; restarting plasma-powerdevil.service on 2.2.7 initialized libddcutil with zero I2C errors. Happy to test 3.0.1-dev or run --trcfunc traces if useful.
I can confirm this issue on Arch Linux with an AMD Radeon RX 9070 XT.
The symptoms and kernel logs on my machine are extremely similar to those reported here, and I was able to isolate ddcutil 3.0.0-1 as the trigger.
System information
OS: Arch Linux
Kernel: 7.2.5-273-tkg-eevdf
GPU: AMD Radeon RX 9070 XT (Navi 48)
PCI ID: 1002:7550, rev c0
Subsystem: ASUS 1043:061a
Driver: amdgpu
Hyprland: 0.56.2-3
Mesa: 1:26.2.1-1
linux-firmware-amdgpu: 20260910-1
PowerDevil: 6.7.5-1
Failing ddcutil version: 3.0.0-1
Working ddcutil version: 2.2.7-1
lspci:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 48 [Radeon RX 9070/9070 XT/9070 GRE] [1002:7550] (rev c0)
Subsystem: ASUSTeK Computer Inc. Device [1043:061a]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
Symptoms
With ddcutil 3.0.0-1, my normal Hyprland session frequently freezes almost immediately after startup.
KDE Plasma Wayland also freezes.
A minimal Sway session, however, is stable.
At first this looked like a compositor, Mesa, kernel, firmware, or display-mode regression. I tested multiple kernels (linux-zen, linux-lts, and multiple linux-tkg versions), downgraded Mesa, downgraded linux-firmware-amdgpu, tested 60 Hz instead of 200 Hz, disabled VRR, disabled DRM modifiers, and disabled atomic modesetting. None of these fixed the issue.
During the failure, SSH remains reachable for a short time, but becomes extremely slow. Eventually the machine becomes unreachable entirely.
The important kernel messages are:
amdgpu 0000:03:00.0: Fence fallback timer expired on ring sdma1
amdgpu 0000:03:00.0: Dumping IP State
amdgpu 0000:03:00.0: device lost from bus!
amdgpu 0000:03:00.0: SMU: bus error for message: DisallowGfxOff(41) response:0xFFFFFFFF
amdgpu 0000:03:00.0: Failed to disable gfxoff!
amdgpu 0000:03:00.0: device lost from bus!
amdgpu 0000:03:00.0: SMU: bus error for message: EnableSmuFeaturesLow(8) response:0xFFFFFFFF
amdgpu 0000:03:00.0: Failed to enable GFXCLK DS!
amdgpu 0000:03:00.0: device lost from bus!
amdgpu 0000:03:00.0: SMU: bus error for message: SetWorkloadMask(36) response:0xFFFFFFFF
amdgpu 0000:03:00.0: Failed to set workload mask 0x00000001
amdgpu 0000:03:00.0: (-121) failed to disable fullscreen 3D power profile mode
amdgpu 0000:03:00.0: Fence fallback timer expired on ring sdma0
amdgpu 0000:03:00.0: [drm] *ERROR* [CRTC:117:crtc-0] flip_done timed out
There was also an active AMDGPU reset worker while the system was becoming unresponsive:
kworker/u64:3+amdgpu-reset-dev
How I isolated ddcutil
My Hyprland setup is based on end-4/dots-hyprland.
Its Quickshell brightness service automatically runs:
ddcutil detect --brief
during initialization, and then uses ddcutil getvcp / setvcp for DDC-capable monitors.
With ddcutil 3.0.0-1 installed:
- normal Hyprland session with the ddcutil brightness probing enabled: GPU hang / device lost from bus
- Plasma Wayland: same type of freeze
- minimal Sway session: stable
- minimal Hyprland config without the normal desktop services: stable
- full normal Hyprland config, but with the ddcutil probing disabled: stable
I then restored my normal monitor configuration, including 2560x1440 @ 200 Hz. As long as ddcutil was not invoked, the system remained stable across repeated logout/login cycles.
Finally, I downgraded:
ddcutil 3.0.0-1 -> 2.2.7-1
and restored the normal brightness/DDC integration.
The machine is now stable again.
So on my system the regression is very specifically associated with ddcutil 3.0.0-1. Version 2.2.7-1 works.
The resulting failure is quite severe: after the DDC operation the RX 9070 XT eventually becomes inaccessible on the PCI bus, followed by SMU failures, page-flip timeouts, and near-total system lockup.
Please let me know if any additional ddcutil/I2C/AMDGPU diagnostics would be useful.
This bug is fixed in Release 3.0.1., on branches 3.0.1-release and master.
Unfortunately issue still exists for me Issue confirmed to be ddcutil since disabling it solves the problem
Unfortunately issue still exists for me Issue confirmed to be ddcutil since disabling it solves the problem
+1
ddcutil 3.0.1 works for me after a reboot and login with PowerDevil's DDC integration enabled. Thanks for the fix.
I had repeated login freezes with ddcutil 3.0.0-1 on CachyOS, an AMD Radeon RX 7600 (Navi 33), and Plasma/PowerDevil 6.7.5 on Wayland. The failed boots logged EREMOTEIO on /dev/i2c-10, followed by AMDGPU/SMU and page-flip timeouts and a wedged GPU. Setting POWERDEVIL_NO_DDCUTIL=1 allowed login. The triggering update included other packages; I did not perform an isolated downgrade test.
I built upstream v3.0.1 at bbe30d7f7add0ea1ce29feb2af6ae1160ad20d01 without source changes, installed it as a local pacman package (3.0.1-0.1, GCC with Zen 4/O3/LTO), removed the PowerDevil override, and rebooted. I'm using my original desktop settings and kernel 7.2.4-1-cachyos.
After login, I checked PowerDevil's running process: it has no POWERDEVIL_NO_DDCUTIL variable and has loaded the installed library. PowerDevil logged:
Initializing libddcutil. ddcutil version: 3.0.1, shared library: /usr/lib/libddcutil.so.5.6.0
Library initialization complete.
PowerDevil started display watching and obtained a valid display reference on /dev/i2c-10. The desktop remains responsive. I found no matching AMDGPU hang or page-flip timeout messages in this boot's logs. I've tested one reboot/login; I haven't tested long-term stability or suspend/resume.