You are not logged in.
Did a fresh install about a month ago on my newish Lenovo P52. Everything's been working great, except GPU switching. It has an intel iGPU, and a Nvidia P2000. I am using the nvidia drivers, with optimus-manager, and xfce.
Now, I hadn't restarted it in a while so take this with a grain of salt: I think I was on 5.8.10 or so. I updated to 5.8.13 and then to 5.8.14-1 (and a new nvidia driver), and still both hang when trying to use the nvidia GPU, which I need to use external displays attached to a dock. But again this could have existed from day 1 for all I know, it may not be kernel/nvidia driver related.
But it's weird, the external displays come on and work fine, but the xfce-settings-display settings opens and if I change anything (and hit apply), the GPU hangs. And by that I mean the mouse freezes, and the system appears unresponsive. I can still log in with ssh, but rebooting doesn't work. Have to hard power off.
The one time it automatically configured them relatively sanely I was able to use it fine for a while until I got adventurous with the display settings. But usually the monitors (2 external) are set to mirror the laptop lid.
journalctl reports this soon after switching:
[ 111.408071] typec_displayport port0-partner.0: failed to enter mode
[ 112.719634] xhci_hcd 0000:3e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 36
[ 112.719648] xhci_hcd 0000:3e:00.0: Looking for event-dma 0000000a025a8a90 trb-start 0000000a025a8aa0 trb-end 0000000a025a8aa0 seg-start 0000000a025a8000 seg-end 0000000a025a8ff0
[ 112.759160] xhci_hcd 0000:3e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ 112.759174] xhci_hcd 0000:3e:00.0: Looking for event-dma 0000000a025a8d10 trb-start 0000000a025a8d20 trb-end 0000000a025a8d20 seg-start 0000000a025a8000 seg-end 0000000a025a8ff0
[ 114.502167] xhci_hcd 0000:3e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ 114.502180] xhci_hcd 0000:3e:00.0: Looking for event-dma 0000000a11687a40 trb-start 0000000a11687a50 trb-end 0000000a11687a50 seg-start 0000000a11687000 seg-end 0000000a11687ff0
[ 115.404181] xhci_hcd 0000:3e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ 115.404195] xhci_hcd 0000:3e:00.0: Looking for event-dma 0000000a116872c0 trb-start 0000000a116872d0 trb-end 0000000a116872d0 seg-start 0000000a11687000 seg-end 0000000a11687ff0
[ 115.445185] xhci_hcd 0000:3e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ 115.445199] xhci_hcd 0000:3e:00.0: Looking for event-dma 0000000a11687540 trb-start 0000000a11687550 trb-end 0000000a11687550 seg-start 0000000a11687000 seg-end 0000000a11687ff0
[ 116.011076] xhci_hcd 0000:3e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ 116.011090] xhci_hcd 0000:3e:00.0: Looking for event-dma 0000000a11687860 trb-start 0000000a11687870 trb-end 0000000a11687870 seg-start 0000000a11687000 seg-end 0000000a11687ff0
[ 116.011999] xhci_hcd 0000:3e:00.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 1 comp_code 1
[ 116.012010] xhci_hcd 0000:3e:00.0: Looking for event-dma 0000000a11687870 trb-start 0000000a11687880 trb-end 0000000a11687880 seg-start 0000000a11687000 seg-end 0000000a11687ff0
[ 138.878647] nvidia-modeset: ERROR: GPU:0: Idling display engine timed out: 0x0000987d:0:0:1098
[ 140.879682] nvidia-modeset: ERROR: GPU:0: Idling display engine timed out: 0x0000987d:0:0:1098
[ 142.879919] nvidia-modeset: ERROR: GPU:0: Idling display engine timed out: 0x0000987d:0:0:1098I also saw this one in a previous attempt:
nvidia-modeset: WARNING: GPU:0: Lost display notification (0:0x00000000); continuing.I've searched a bit and tried the following with no success:
* Disabling Intel IOMMU via kernel parameter
* Setting the Nvidia GPU the default in the BIOS
* Setting nvidia or hybrid as the startup device with optimus-manager
* Turning on the Thunderbolt/Type C BIOS helper (which can brick your laptop I found out later if the firmware isn't up-to-date, fun)
If I switch to nvidia with no external monitors/dock attached, I can modify display settings without issue.
But the second I attach a monitor *and* adjust the settings it locks up.
Last edited by krovisser (2020-10-16 11:27:40)
Offline
Well, I gave up and put windows on it. Then found out my LTSC licenses cannot be activated, and there's no way I'm using any other version of windows. So, I left some space to dual boot and am trying arch again, but without optimus-manager. This time I will try nvidia-xrun.
I also tried an Ubuntu LiveUSB but it too had issues with the dock and I couldn't get the nvidia drivers to run (as opposed to nouveau). I did get external monitors working with nouveau though.
Offline
I tried with nvidia-xrun and its the same. I can switch on/off the card fine. Run xfce4-session on the dGPU, hook up the monitors but the moment I try to apply monitor settings it locks up. I did find out that rebooting via ssh works it just waits for Xorg for like 5 mins before killing it and rebooting.
Offline
Turns out it's my type C dock. Hooking up external monitors directly to the laptop (still need to use nvidia for these outputs) and it works fine. My mini-dp port does not seem to work though, but I will try it in Windows to see if it is a hardware problem.
Offline
You're not on kernel 5.9, and I am not familiar with the situation (only that I've been dealing with it tonight) as I've just read about it, but the new nvidia driver is causing issues https://bbs.archlinux.org/viewtopic.php?id=259936
And it seems to have been leading up to this for a couple weeks https://bbs.archlinux.org/viewtopic.php?id=259530
Offline