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

Re-scan /sys until no new devices are found #78

Open
jcnelson opened this issue Nov 1, 2015 · 5 comments
Open

Re-scan /sys until no new devices are found #78

jcnelson opened this issue Nov 1, 2015 · 5 comments
Labels

Comments

@jcnelson
Copy link
Owner

jcnelson commented Nov 1, 2015

Vdevd needs to re-walk /sys/devices until no new devices are found. This is because handling a sysfs device tree can have the side-effect of creating more device trees in directories vdevd already handled.

@Jamessall
Copy link

On boot, my X tries to start before /dev/dri exists...is this the same issue, or should I start a new one?

@jcnelson
Copy link
Owner Author

Does /dev/dri come into existence after X starts, or does it never show up? If /dev/dri isn't showing up, it could be because the module never gets loaded (which this issue is tracking). If you ensure that your video drivers are loaded before vdevd starts, does /dev/dri show up?

@Jamessall
Copy link

The Xorg log says that /dev/dri/card0 does not exist. But when I look, /dev/dri/card0 does exist. I then have to start X manually on every boot, which works. This happens on two different laptops, both with integrated intel gpu's and both running devuan-jessie.

If you ensure that your video drivers are loaded before vdevd starts, does /dev/dri show up?

Not sure how to do that.../etc/modules?

@jcnelson
Copy link
Owner Author

jcnelson commented Dec 1, 2015

@jimyyz It looks like vdevd is creating /dev/dri, if it shows up in ls. Can you verify that the X server has read/write access to /dev/dri/card0, and the parent directories?

@Jamessall
Copy link

By the time I can look, the device exists with read/write access, so manually starting X works with no fixing of permissions.

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

No branches or pull requests

2 participants