Bug 216004 - X server restarts when detaching eGPU, even when not used
Summary: X server restarts when detaching eGPU, even when not used
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(Other) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-other
Depends on:
Reported: 2022-05-20 06:41 UTC by Roberto
Modified: 2022-05-20 09:07 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.17.0-1003-oem #3-Ubuntu SMP PREEMPT
Regression: No
Bisected commit-id:

Xorg.0.log (63.01 KB, text/plain)
2022-05-20 06:41 UTC, Roberto

Description Roberto 2022-05-20 06:41:51 UTC
Created attachment 301002 [details]

I have an external egpu (Radeon 6600 RX) connected through thunderbolt3 to a Thinkpad X1 carbon 6th Gen.

Note that no display is attached to the eGPU, since I use it only to offloading the computation using the DRI_PRIME=1 env variable.

Upon connection, the eGPU is recognized, amdgpu driver is loaded, and it becomes available in offloading mode. No Xserver restart occurred at this stage, since the integrated intel gpu is still the one managing the display. So far so good.

Instead, When I disconnect the thunderbolt3 cable I get that Xserver restarts, even though I'm not using the eGPU. This is very annoying, and I see no reasons to kill the Xserver in this situation.

I would expect that the eGPU is released, and that the amdgpu driver being unloaded.
Comment 1 Roberto 2022-05-20 09:07:26 UTC
See also attachments in bug 215958

Note You need to log in before you can comment on or make changes to this bug.