Questions tagged [drm]
DRM stands for Direct Rendering Manager. It is a hardware specific kernel module giving access to the memory of the graphics card (DMA, AGP) and is part of the Direct Rendering Infrastructure (DRI). This tag should be used for any questions related to the Direct Rendering Manager core or its process libdrm.
56 questions
2 votes
0 answers
384 views
DRM: Artificially simulating a monitor Disconnect+Reconnect event, or a HOTPLUG uevent
Is there a way to simulate a physical HDMI cable unplugging and replugging on a Linux system running Xorg with AMDGPU driver? In my Xfce system on X11, I have trouble with monitor output/connector ...
0 votes
0 answers
682 views
Chromium: how to make it use Widevine DRM without relying on Google Chrome?
On AlmaLinux 8.10, how to make Chromium "Version 133.0.6943.141 (Official version) Fedora Project 64 bits" use Widevine DRM without needing to install Google Chrome? The (alternative) ...
0 votes
2 answers
147 views
DRM initializing very late
I'm porting an embedded Linux device to mainline from a vendor kernel. I am almost there but there is one issue I can't seem to get rid of, which is DRM initializing very slowly. Here's the setup: SOC:...
0 votes
1 answer
243 views
How to better understand and reverse-engineer system calls within processes given a specific example
I am very new to linux and as such would appreciate any pointers with respect to understanding system calls and having the ability, knowledge and tools to reverse-engineer their origin or their ...
2 votes
1 answer
1k views
How can I change the resolution for DRM?
I need to change the standard resolution for my DRM mode. How can I achieve that? When I do cat on cat /sys/class/drm/card0/card0-HDMI-A-1/modes 1920x1080 1920x1080 1920x1080 1280x720 1280x720 ...
1 vote
1 answer
301 views
drmModePageFlip() is failing when process started by systemd service
I created one Linux(STM32MP157 Olinuxino) application which uses DRM and OpenGL libs. The app is running without any issues when started from terminal. My application calls drmModePageFlip() twice ...
2 votes
0 answers
373 views
delaying or speeding up drm/kms with amdgpu driver?
I have a amdgpu, using the open source driver. amdgpu driver claims to do early kms by default, but the early is very late. Exactly 2.5s! I wouldn't care much but it breaks and delays my disk ...
3 votes
0 answers
654 views
How does this whole FrameBuffer, DRM, KMS stuff work in todays Linux / Kernel?
I'm confused about what is what nowadays with Linux and video support for the console interface vs X. Do the /dev/fb* items only relate to the old original framebuffer support? Does DRM create/support ...
0 votes
1 answer
446 views
how to test screens and DRM without x11 or wayland
I'm trying to debug why I can't have all my screens on at the same time. In order to zero in on the problem, I am hoping to find an easy way to control my screens without involving X11 or wayland - ...
1 vote
1 answer
133 views
How to check whether my Vestel TV is in standby mode? (X11, HDMI)
I would like to automatically change my xrandr settings depending on whether my second monitor (a Smart TV) is switched on or off. No check or utility that I could think of could differentiate between ...
1 vote
0 answers
312 views
Question about libdrm and GPU device drivers
An article summarizes the steps involved in 3D rendering with OpenGL in this way: Your program starts up, using “OpenGL” to draw. A library, “Mesa”, implements the OpenGL API. It uses card-specific ...
0 votes
1 answer
340 views
Direct Rendering Manager not working with RTX3060 on propriatery NVIDIA Driver
I have tried to enable the DRM by setting this kernel parameter in Manjaro i3: nvidia_drm.modeset=1 but afterwards the system refused to start lightDM because of the following Xorg error: failed to ...
1 vote
1 answer
310 views
Writing device tree file for ti sn65dsi86
I'm new to device trees, but from all the research I can't find a comprehensive tutorial on writing device trees. If concrete I have an ti sn65dsi86 and I want to connect it to an imx8 chip. Linux has ...
1 vote
1 answer
2k views
DRM render node numbering
Why do DRM render nodes in /dev/dri/renderD<X> start their numbering from 128 while the privileged interaces in /dev/dri/card<X> start at zero? $ ls -al /dev/dri/ total 0 drwxr-xr-x 3 ...
0 votes
0 answers
640 views
How to record screen when using eglfs on Broadcom VideoCore IV
I have a full-screen Qt app running on a Raspberry Pi 3 using the "eglfs" platform. It draws using KMS/DRM and the /dev/dri/core0 GPU device. The GPU is a Broadcom VideoCore IV. I'd like to ...