mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-03-13 02:53:42 +00:00
v4p: using /dev/dri/by-path/platform-gpu-card instead of card0
This commit is contained in:
@@ -75,7 +75,8 @@ us_drm_s *us_drm_init(void) {
|
|||||||
|
|
||||||
us_drm_s *drm;
|
us_drm_s *drm;
|
||||||
US_CALLOC(drm, 1);
|
US_CALLOC(drm, 1);
|
||||||
drm->path = "/dev/dri/card0";
|
// drm->path = "/dev/dri/card0";
|
||||||
|
drm->path = "/dev/dri/by-path/platform-gpu-card";
|
||||||
drm->port = "HDMI-A-1";
|
drm->port = "HDMI-A-1";
|
||||||
drm->n_bufs = 4;
|
drm->n_bufs = 4;
|
||||||
drm->timeout = 5;
|
drm->timeout = 5;
|
||||||
|
|||||||
Reference in New Issue
Block a user