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

gldisplay "could not find or open DRM device" #50

Closed
nuno27 opened this issue Jan 13, 2022 · 5 comments
Closed

gldisplay "could not find or open DRM device" #50

nuno27 opened this issue Jan 13, 2022 · 5 comments

Comments

@nuno27
Copy link

nuno27 commented Jan 13, 2022

Hi, I can't solve this, on RaspberryPi.

0:00:01.124568875 9435 0x179fc60 WARN gleglgbm gstgl_gbm_utils.c:472:gst_gl_gbm_find_and_open_drm_node: Found no matching DRM devices
0:00:01.124909969 9435 0x179fc60 ERROR gldisplay gstgldisplay_gbm.c:394:gst_gl_display_gbm_new: could not find or open DRM device
0:00:01.133443405 9435 0x179fc60 WARN glwindow gstglwindow.c:293:gst_gl_window_new: Could not create window. user specified (null), creating dummy window

Full log below:
Pastebin Link

@fduncanh
Copy link
Collaborator

This is some kind of gstreamer video problem. Gstreamer cannot find find a video display that It can use. It seems to be trying all the possible plugins and nothing works. Either your video is messed up, or GStreamer is not properly installed or both (?)

@fduncanh
Copy link
Collaborator

Consider trying RPiPlay https://github.com/FD-/RPiPlay which has audio and video renderers that are specific to Pi. (OpenMax)
UxPlay probably needs RPi4 for GStreamer to work well.

@fduncanh
Copy link
Collaborator

fduncanh commented Jan 13, 2022

actually, I am surprised that uxplay didnt give any error message that video could not be initialized.
You seem to have shown the GST_DEBUG=2 Gstreamer error messages.
If you run uxplay -d, (with GST_DEBUG=0) do you see this message

,"Initialized GStreamer video renderer"
?

Compare your uxplay -d output with the example in the UxPlay Wiki

@nuno27
Copy link
Author

nuno27 commented Jan 14, 2022

i found out why it wasn't working, i was using an ssh session insted of the terminal "on screen", now i found that the video is super slow, but maybe cause it is an RPI2 (on RPiPlay it was fine), the audio it's fine.
I used to use RPiPlay but i wanted to stream video from apps and that is not possible on RPiPlay.
Another question off topic, can this be compatible with RHEL based linux?

@fduncanh
Copy link
Collaborator

fduncanh commented Jan 14, 2022

RHEL: Please Read the README (Yes full instructions for RHEL + Centos successors are given)
I heard that RPi2 is not powerful enough for good quality GStreamer (RPi4 is fine, I think) but RPiPlay offers OMX for Pi . I would have thought you can stream video with that.
(It also has Gstreamer renderers backported from early UxPlay)

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

No branches or pull requests

2 participants