xf86-video-fbturbo
xf86-video-fbturbo copied to clipboard
DRI does not work with screen1/fb1
Mali EGL does not work when using /dev/fb1 because fbturbo is trying to use /dev/dri/card0 instead of /dev/dri/card1. After replacing /dev/dri/card0 by /dev/dri/card1 and restarting X-server dri works. Are there any way to specify correct dri device?
According commit 9808a58d33192032d63ddc0cc730c2e14272481c, libdrm automatically provides the correct device node path.
It does not work because drmOpen opens wrong device.
Patch that adds DRIDevicePath option to specify correct dri device. http://pastebin.com/Bu2cGGqZ
@mittorn Thanks for investigating the problem and providing a fix!
Just to make it complete and ready to be applied, please also add a description for this new option to the man page and a commit message to the patch itself with a signed-off-by notice. And if by chance any other drivers happen to have the same option, it would be a good idea to use the same name for it in order to keep things consistent.