-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
drmModeGetResources failed
on 11.0.0 Preview 2
#9178
Comments
|
I am getting this same issue as well System: Radxa model rock 3 Operating system: Debian bullseye Kmscube is running fine |
Could this be a problem for us as well? when I look into /dev/dri/* I see card0, card1, renderD128 and renderD129 |
I get a different error now when I specify the card to use. I don't have an ssh connection to the SBC. But when specifying /dev/dri/card0 I get a EGL_BAD_MATCH error. at CreateWindowSurface. Maybe that helps |
The card search order got changed by #7749 I think it is now somewhat random since it enumerates cards in filesystem order. We should probably rewrite our code to scan cards in numeric order and to pick the first one that actually works instead of the first one we can get a file descriptor for. As a workaround, pass the correct card to the |
I did I get the above error now: EGL_BAD_MATCH now. I am debugging why I am getting that particular error |
Now gives:
|
work in |
I'm use Lubancat 2, RK3568 |
I have the same problem |
你目前解决这个问题了吗?能不能说明一下我也用的鲁班猫2 |
这边建议你换板子,鲁班猫2的固件bug很多 |
那rk3568用drm效果如何? |
走GPU的话就很好 |
我找到问题了,是因为使用gbm_surface_create是输入的图像格式不对,应该从XR24改为AR24 将
Avalonia.LinuxFramebuffer.Output.LibDrm.GbmColorFormats.GBM_FORMAT_XRGB8888 { get; } = FourCC('X', 'R', '2', '4');
改为
Avalonia.LinuxFramebuffer.Output.LibDrm.GbmColorFormats.GBM_FORMAT_XRGB8888 { get; } = FourCC('A', 'R', '2', '4'); 这样就可以正常运行。 |
我用rk3566的orangepi 3B没这问题,估计还是lubancat的驱动问题 |
Describe the bug
drmModeGetResources failed
when start, it error in11.0.0 Preview 2
, but work in0.10.18
To Reproduce
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: