Skip to content

drmSetMaster failed: Device or resource busy #1565

@K1D77A

Description

@K1D77A

Select the version

Git master branch

Describe your issue

Hi,
I have been using xlibre for quite sometime and not so long ago I started running into an issue where I'd have to keep restarting my PC to get xlibre to start.
I am using Gentoo with OpenRC.
Kernel: 6.12.54-gentoo-dist
Mesa: 25.1.9
I have an amdgpu, mesa is compiled with radeon and amdgpu.
When this happens display manager crashes and XDM never starts. I would just have to reboot over and over until it eventually works. However this has now gotten to the point where I had restarted 20 times but still no XDM login screen. Just before submitting this I swapped back to xorg-server and my machine booted into XDM first try...
https://dpaste.com/47WNQVMSH
This is my Xorg.0.log that I took as a backup before I swapped back.
I tried launching xlibre as both root and as my user, in the case of my user I get permission denied, and in the case of root I have an output the same as the one provided.
I tried disabling display manager and launching manually, that also didn't work.
I also tried to compile xlibre with the debug flag to see if I get any extra error output and unfortunately there wasn't.
I also tried xlibre compiled with and without suid (it worked without before these issues). And its always been compiled with elogind.
I also have the amdgpu module loaded explicitly, that was one attempt I made to fix this.
Not sure what else I can do but I will help the best I can.
Thanks.

Steps to reproduce

Attempt to launch xlibre with my amdgpu.

What did you expect?

XDM to start so I can login and use my PC

Additional Information

No response

Extra fields

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions