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

DRI does not work with screen1/fb1 #33

Open
mittorn opened this issue Mar 11, 2014 · 4 comments
Open

DRI does not work with screen1/fb1 #33

mittorn opened this issue Mar 11, 2014 · 4 comments

Comments

@mittorn
Copy link

mittorn commented Mar 11, 2014

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?

@reinforce
Copy link

According commit 9808a58, libdrm automatically
provides the correct device node path.

@mittorn
Copy link
Author

mittorn commented Mar 11, 2014

It does not work because drmOpen opens wrong device.

@mittorn
Copy link
Author

mittorn commented Mar 11, 2014

Patch that adds DRIDevicePath option to specify correct dri device. http://pastebin.com/Bu2cGGqZ

@ssvb
Copy link
Owner

ssvb commented Mar 11, 2014

@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.

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

No branches or pull requests

3 participants