Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deferent graphics cards #4

Open
godalming123 opened this issue Sep 10, 2023 · 1 comment · May be fixed by #6
Open

Deferent graphics cards #4

godalming123 opened this issue Sep 10, 2023 · 1 comment · May be fixed by #6

Comments

@godalming123
Copy link

godalming123 commented Sep 10, 2023

For some reason, I do not have /dev/dri/card0 on my laptop, but instead, only /dev/dri/card1 while reading the source code of another DRM demo, I found a comment mentioning using libudev for "real" hot plugging and multiple seats instead of hard coding /dev/dri/card0 in. Could you explain what this is and potentially write a 4th tutorial that does this for me.

SideNote: this project is incredibly useful, I simply could not find another DRM demo that has such good documentation on how these systems work, or even implements vsynced page flips.

@godalming123 godalming123 linked a pull request Sep 11, 2023 that will close this issue
@emersion
Copy link
Contributor

emersion commented Oct 5, 2023

Neither libudev nor multi-seat would help here. Instead, drmGetDevices() can be used to find a KMS device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants