linux-surface / linux-surface

Linux Kernel for Surface Devices
4.53k stars 202 forks source link

Timed Out Waiting for DTX on Bootup #1420

Closed manuth closed 1 month ago

manuth commented 1 month ago

Sometimes (avg. every 2 out of 3 times), ArchLinux gets stuck with the message "Timed out waiting for /dev/surface/dtx".

Waiting for the boot to finish (after having the step skipped by waiting for about 10mins), causes a black screen with nothing but the cursor visible.

Environment

dmesg output

n/a cannot boot into a graphical environment after the error occurred.

manuth commented 1 month ago

Do you guys know of anything I could do to prevent this from happening? I tried adding the dtx module to the initrd with no success.

qzed commented 1 month ago

It looks like for some reason the /dev/suface/dtx device doesn't show up. This causes the 'surface-dtx-daemon' to wait for it, which ultimately causes that message.

I think this is related to #1319 and #1271, where the SAM driver fails to load for some reason. Due to that missing, the DTX driver will also not load. Meaning the device won't be there and you get that message.

A temporary workaround could be to systemctl disable surface-dtx-daemon.service, but that means that the SB2 detachment will be slower.

manuth commented 1 month ago

Awesome! Thank you so much for helping me out once more 😄 Should this issue be closed, considering that there are other issues describing the problem more accurately?

qzed commented 1 month ago

Should this issue be closed, considering that there are other issues describing the problem more accurately?

Yeah, that's probably a good idea. Also see https://github.com/linux-surface/linux-surface/issues/1319#issuecomment-2059468939 for a potential workaround.