Skip to main content

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.

Filter by
Sorted by
Tagged with
1 vote
0 answers
17 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 ...
Yugandhar Babu's user avatar
0 votes
0 answers
14 views

Is it possible to get separate framebuffers for displays on Nouveau?

I'm using a simple Nvidia GPU (gt730) to run desktop system on a home server. I'm using nouveau as the GPU driver built-in on the 6.9 latest kernel. I use FBDEV (on /dev/fb0) to run the X server. /dev/...
melonfsck's user avatar
0 votes
0 answers
23 views

How are framebuffers, graphics cards and window systems connected?

Loose TL;DR: is the framebuffer device still used in Linux today? If so, does (for example) the X window system first write to, say, /dev/fb0, and then to GPU, or does it write to GPU directly, ...
mteXD's user avatar
  • 1
1 vote
0 answers
51 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 ...
gcb's user avatar
  • 420
0 votes
0 answers
130 views

User-defined mode not supported

I'm trying to get my NanoPI R5S, which is running a custom Debian build, to run Wayfire at the connected monitor's native resolution (3440x1440@60). When Wayfire attempts to display, it crashes with ...
sl33nyc's user avatar
2 votes
0 answers
151 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 ...
user3161924's user avatar
0 votes
1 answer
169 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 - ...
Alex028502's user avatar
1 vote
1 answer
58 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 ...
mic_e's user avatar
  • 649
1 vote
0 answers
135 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 ...
apadana's user avatar
  • 123
0 votes
0 answers
44 views

Mirror/"stream" iGPU display over USB-to-HDMI adapter?

Does anyone know any way for to mirror iGPU display over a USB-to-HDMI adapter? For various reasons my laptop can't use the dedicated Nvidia card and all HDMI and USB-C ports are wired to dGPU. iGPU ...
Daniel Krajnik's user avatar
0 votes
1 answer
241 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 ...
user2741831's user avatar
1 vote
1 answer
182 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 ...
ptiza_v_nebe's user avatar
0 votes
1 answer
931 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 ...
Bram's user avatar
  • 899
0 votes
0 answers
450 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 ...
Heath Raftery's user avatar
2 votes
0 answers
47 views

Unable to access contents of only certain DVDs

I am using the NexStar DX Bluray drive enclosure with LG WH14NS40 internal Bluray drive with Pop!_OS. For some reason, there are some DVDs which simply do not seem to work. Usually, when I insert a ...
Charlim's user avatar
  • 131
0 votes
2 answers
288 views

How to find DRM protected WMA files on Ubuntu Linux

On my Ubuntu Linux 18.04 machine I have a whole bunch of WMA files (don't ask) which have gotten mixed up with several files from another computer that are DRM protected. The latter won't play and ...
Frank van Wensveen's user avatar
0 votes
1 answer
757 views

How do I write directly to video memory without xorg?

Kind of an odd question I know, but fifteen years ago I was able to use svgalib on some ancient version of Debian to draw directly to video memory without xorg. To my dismay I see svgalib was pulled ...
cat pants's user avatar
  • 487
0 votes
0 answers
4k views

failed to open /dev/dri/card0: Permission denied

I am trying to get Chromium to run with hardware acceleration on an embedded ARM board (under Wayland), however when I run it I get libEGL warning: failed to open /dev/dri/card0: Permission denied ...
jdm's user avatar
  • 579
0 votes
0 answers
411 views

Low-Latency method to read Xorg or DRM framebuffer

I am trying to build an application that can measure the latency/processing time of graphics frameworks on Linux. My idea is to implement simple programs that react to an input event (e.g. mouse click)...
Andreas Schmid's user avatar
5 votes
0 answers
153 views

Firefox seems to need “catchup time” after unlocking screen (using light-locker/lightdm)

(Possibly related to After unlocking light-locker, screen remains blank proportional to how long it's been locked) I’ve recently switched from xscreensaver to light-locker because of an annoying ...
obadz's user avatar
  • 206
0 votes
1 answer
266 views

Root cannot install packages in rescue or chroot plus service errors

I am using Arch linux. Currently, I am having the trouble of: User Login Management failed User Login Management failed User Login Management failed User Login Management failed Kernel Module drm ...
Quagmire's user avatar
2 votes
0 answers
144 views

Netflix and Linux and VM

I heard that Netflix needs PlayReady 3.0, Widevine, HEVC 10 bits de/encoder, HDCP 2.2... to play 4K/UHD contents So I want to know if Linux support these technologies, and if Netflix support those ...
aaa's user avatar
  • 167
1 vote
1 answer
1k views

Why the hdmi output doesn't work on orange pi one?

I made a small linux distro to use on my projects involving an orange pi one H3, but the HDMI output never works To know if the device was supported by the linux kernel, i tested another distro (...
Andre Augusto's user avatar
2 votes
0 answers
701 views

Initializing framebuffer device without udev

I am trying to reduce boot time in a Raspberry Pi 4 using Yocto Linux. The system uses SysV init. There is psplash that uses framebuffer, and Qt application that uses DRM/eglfs, displayed ...
mozcelikors's user avatar
1 vote
0 answers
60 views

Path from the user-space application to the GPU. X server vs. Direct rendering

Are these hierarchies correct for applications (or some part of) that use OpenGL directly(i.e not GLX) and for those which use XLib in linux? OpenGL: OpenGL --> libmesa --> libdrm --> ...
Parsa Mousavi's user avatar
1 vote
1 answer
609 views

Known Issues With CBS All Access Streaming?

I'm porting this over from the Ubuntu SE, since I'm leaning more toward this being a general linux issue. I saw another post on Ubuntu that had been removed by the moderator on this very same issue. ...
CreationTribe's user avatar
2 votes
0 answers
78 views

drm/kms: Limit graphics memory usage of process

Is there a way to limit the amount of graphics resources allocated by a process in the DRM/KMS subsystem, similar to the way one can limit system memory consumption with rlimits and cgroups? Is there ...
novice's user avatar
  • 429
3 votes
0 answers
981 views

How can I display graphics on the screen from the kernel over the top of my X11/Wayland session?

I want to draw simple (2D bitmapped) graphics onto my screen (in response to (simple) external inputs) with the lowest latency possible (the order of tens of milliseconds) so I can empirically test ...
i336_'s user avatar
  • 1,027
4 votes
2 answers
2k views

How to set bytes of EDID on a i2c device

I have a monitor LG E2251 (monitor details). My computer was connected to the monitor via DVI-I cable; after the power supply broke, the display went black. I rebooted the system and all seemed ok. I ...
pathox's user avatar
  • 41
7 votes
1 answer
5k views

What's the difference between DRM and a graphics driver?

I'm trying to understand what the difference is between DRM (Direct Rendering Manager) and a graphics driver, such as AMD or Nvidia GPU drivers. Reading the DRM wiki[1], it seems to me like DRM is ...
Matt's user avatar
  • 73
9 votes
3 answers
5k views

HDMI monitors not correctly detected after suspend if laptop lid closed

When my Dell XPS 15 9570 laptop is on, the monitor plugged in the HDMI port is correctly detected. Unplugging the monitor also works as expected. However, when waking up from suspend by briefly ...
istepaniuk's user avatar
0 votes
0 answers
261 views

How do I find the video memory region(s) representing what's on my screen, from within the Linux kernel?

About 5-20 times a day I am presented with brief visual glitches and heisenbugs caused by race conditions that only occur under high I/O load. These disappear off the screen far too quickly for me to ...
i336_'s user avatar
  • 1,027
2 votes
2 answers
2k views

Can I see the amount of memory which is allocated as GEM buffers?

My /proc/meminfo shows about 500 MB is allocated as Shmem. I want to get more specific figures. I found an explanation here: https://lists.kernelnewbies.org/pipermail/kernelnewbies/2013-July/008628....
sourcejedi's user avatar
  • 51.1k
2 votes
1 answer
2k views

mapping linux /dev/fb0 to DDR for displaying

I want to write a linux driver which maps my specified memory address space to /dev/fb0. the driver should be specified by what part of linux? drm or frame buffer or server X or somthing else? Which ...
Mojtaba Ahmadi's user avatar
2 votes
0 answers
2k views

Freezing with nvidia-drm modeset=1

Setup I have an Optimus laptop with a GTX 1050, Intel i7 7700HQ, a 128GB SSD and 8GB of RAM. Using Arch Linux and KDE Plasma. Using Nvidia proprietary drivers version 396.24-19. $ kf5-config --...
zjeffer's user avatar
  • 445
0 votes
1 answer
2k views

pkg set-publisher: One or more client key and certificate files have expired

I have an older Solaris 11.3 box. The box has my old key and certificate on it and they are expired. It is causing pkg update to fail: pkg update: One or more client key and certificate files have ...
user avatar
0 votes
1 answer
3k views

pkg set-publisher fails on Solaris 11

I'm trying to install Sun/Oracle Studio on Solaris 11. We have a free developer account on the Sun Developer Network. I have the developer key and certificate. I scp'd them to the UltraSPARC ...
user avatar
4 votes
0 answers
15k views

How to switch drivers from radeon to amdgpu?

The issue: switching over from Radeon kernel driver (radeon.ko) over to Amdgpu (amdgpu.ko). I was able to get up to the point where it seems to load the amdgpu as seen in the boot screen, but it it ...
Demon's user avatar
  • 251
3 votes
2 answers
11k views

Is it possible to convert Apple Music format to MP3? [closed]

A few days ago, I dragged some Apple Music songs to my MP3 player. When I played it, there was no sound. I googled to find a solution, but people all said that the files are DRM-encrypted on Apple ...
Audrey Clarke's user avatar
6 votes
0 answers
832 views

DRM KMS and Frame buffer

I need to build a graphics driver for E4690 card with ATI Raden RV730 GPU on it. Its only beginning. I am trying to understand the relationship between the following from linux sources: DRM KMS Frame ...
anupamD's user avatar
  • 161
4 votes
0 answers
387 views

Any way to run multiple fullscreen EGL applications?

This came up while trying to launch Retroarch from Kodi on a Raspbian without X, both applications built to run on top of KMS/DRM with OpenGL ES2/EGL as the backend. While the first application (Kodi)...
neuviemeporte's user avatar
10 votes
1 answer
8k views

Disable framebuffer in QEMU guests

The QEMU options -display curses and -nographic -device sga (the serial graphics adapter) are very convenient for running QEMU outside of a graphical environment. (think: remote ssh connection, ...
maxschlepzig's user avatar
  • 57.9k
18 votes
3 answers
29k views

How to play AAX audio books from Audible?

I have bought some audio books at Audible. The default .aa files play fine in VLC, but the quality is pretty bad - there's a constant background hum during any speech. Their enhanced quality audio ...
l0b0's user avatar
  • 51.8k
3 votes
0 answers
132 views

DRM Encoder Slave Driver [closed]

I need to write a DRM encoder slave driver (to be used by a Xilinx board). I've looked at several encoder slave drivers that are in the Xilinx kernel repository but I'm still trying to wrap my head ...
Desertman13's user avatar
5 votes
0 answers
1k views

DRM Intel DP failure

I have a Thinkpad X1C (gen 3) with Arch Linux installed. When I connect a monitor to the laptop DP it flicks on and off, some of the time causing kernel panic. Looking at the system log I see the ...
noamelf's user avatar
  • 51
1 vote
0 answers
349 views

x11 - can't move mouse cursor with nouveau, xev still reports movement

I am currently using the nouveau DRM with fallback xf86-video-modesetting drivers on arch linux with a GTX 1080. I am currently experiencing an issue in x.org where my mouse will be stuck at the ...
cellsheet's user avatar
  • 121
1 vote
0 answers
474 views

Current display mode

Under the sysfs drm module I can obtain all available modes for a particular connector at /sys/class/drm/card0-*/modes. Is it possible or even logical to request the current state the card is in? All ...
Felipe's user avatar
  • 21
2 votes
0 answers
424 views

Enable/disable display using libdrm

I want to know if it's possible to turn on/turn off the display using some function of DRM.
Alex's user avatar
  • 75
3 votes
0 answers
298 views

What processes are used by DRM?

Whenever some content is DRM-protected, screenshots of such content are masked. Even using Terminal does not avoid such problems. Which processes in ps ax are used by DRM that is implemented by ...
Andy's user avatar
  • 85
5 votes
1 answer
4k views

Mounting a SafeDisc-protected ISO on Linux

I have a copy of a very old and obscure software CD (circa 2004). The disc uses SafeDisc copy protection and needs to be in the CD tray for the program to run. I have been using the original CD under ...
user339676's user avatar