Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cannot detach gpu with virsh after kde6 upgrade [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5924

PostPosted: Fri Sep 06, 2024 7:55 am    Post subject: cannot detach gpu with virsh after kde6 upgrade [solved] Reply with quote

Greetings,

until a few days ago, I had a system that has one gpu and runs either linux or windows inside a vm with the only gpu as vfio.
with the stabilization of kde6, I had to upgrade because portage didn't upgraded anything.
as kde6 requires wayland, I had to enable it.
after a few days of fighting with the system I was able to switch to kde6.
but ever since, the windows vm freezes on boot.
infact, it freezes on the gpu detachment.
dmesg reports this:
Code:
[ 2457.352480] NVRM: Attempting to remove device 0000:05:00.0 with non-zero usage count!

both fuser -v /dev/nvidia* and nvidia-smi returns no processes found.
so before I start looking for kde replacement, I'd like to know if there is a possible solution for this.

frankly. I find it hard to believe there is no solution as I know there are linux users that run a windows vm for gaming
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5924

PostPosted: Sat Sep 07, 2024 8:58 pm    Post subject: Reply with quote

solved.

so it seem like nvidia driver + wayland and virsh detach doesn't play along.
I'd suggest not compiling nvidia driver with wayland if one intends to pass the gpu to a vm.
banning this flag on the driver works.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum