Skip to content
Snippets Groups Projects
Commit 7ab1cdac authored by Tobias Jakobi's avatar Tobias Jakobi Committed by Simon Ser
Browse files

xf86drm: ignore symlinks in process_device()


If the user has some UDev rules in place that creates symlinks for
one of the card or render nodes, and the name of the symlink is
too long, then drmDeviceAlloc() ends up truncating the name of
the node.
This in turn results in chaos in different subsystems. E.g.
vulkaninfo dies early with this:

Code 0 : failed to stat DRM primary node /dev/dri/my-favorite- (VK_ERROR_INITIALIZATION_FAILED)
(if the symlink is called /dev/dri/my-favorite-card-node)

Signed-off-by: default avatarTobias Jakobi <tjakobi@math.uni-bielefeld.de>
parent 14094328
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment