As of May 31, 2023, we have updated our Code of Conduct.

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
0 votes
1 answer
65 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
42 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
0 answers
57 views

Usage of DRM_IOCTL_WAIT_VBLANK ioctl

I tried to adapt the code at http://betteros.org/tut/graphics1.php#dumb to prevent screen tearing. The example code draws different colors to the screen in rapid succession. My assumption is that the ...
redWaterFish's user avatar
0 votes
0 answers
79 views

Making a driver for an LCD panel: backlight on but nothing on the screen

First, some context: I have here a device that runs some kind of "Buildroot Linux". Despite many contacts to the vendor, I haven't been able to get kernel sources for it. The positive side ...
Rui Oliveira's user avatar
0 votes
1 answer
207 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
  • 849
0 votes
0 answers
162 views

On a Debian based distro, wanting to use kmsdrm driver for SDL2 with Pygame 2.x.x but not working

I was using /dev/fb0 (running basic examples) with the python3-pygame package but I decided to look at Pygame 2.x.x. So Pygame 2.x.x uses SDL2 which removes /dev/fb0 support. I wanted to see if I ...
user529436's user avatar
0 votes
0 answers
233 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
39 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
189 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
361 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
  • 723
0 votes
0 answers
2k 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
  • 569
0 votes
0 answers
182 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
3 votes
0 answers
113 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
  • 176
0 votes
1 answer
186 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
114 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
  • 147
1 vote
1 answer
701 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
1 vote
0 answers
548 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
51 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
604 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
64 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
  • 419
3 votes
0 answers
731 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
  • 967
4 votes
1 answer
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
6 votes
1 answer
4k 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
  • 63
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
209 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
  • 967
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
  • 47.5k
2 votes
1 answer
1k 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
  • 425
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
2k 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
14k 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
  • 211
3 votes
2 answers
10k 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
749 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
352 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
7k 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
  • 55.6k
18 votes
3 answers
27k 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
  • 50k
3 votes
0 answers
127 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
312 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
335 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
332 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
288 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
3k 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
1 vote
0 answers
2k views

Linux 4.1.6 Radeon UVD Not Responding

I've seen the same problem before version 3.19, could not remember since when, but it seems to disappear on version 3.19. But when I compile version 4.1.6 using 3.19 config, the problem came back. ...
user1950676's user avatar
2 votes
0 answers
446 views

Specify Virtual Size using DRM with Frambuffer Emulation

I am attempting make use of double buffering on an AM335x processor. We have an example running on a demo image that was not created by us. I am working on putting together our own image using ...
Matt Minga's user avatar
1 vote
0 answers
423 views

Tegra Mesa GLES without X

I am trying to setup a Tegra 3 (Toradex Apalis T30) based system that will have an OpenGL ES based user interface on a touch screen. Unfortunately the standard Linux4Tegra kernel is seriously outdated ...
Gerharddc's user avatar
  • 325
3 votes
1 answer
2k views

What is MCH_SSKPD warning in dmesg?

While i was reading dmesg log just to check that everything is fine, i met [ 18.956187] [drm] Wrong MCH_SSKPD value: 0x16040307 [ 18.956190] [drm] This can cause pipe underruns and display ...
Lapshin Dmitry's user avatar
4 votes
1 answer
3k views

DisplayPort and Intel HD cause GPU hangs

My system has problems with the displayport connection. This is indicated by several problems that, at the first glance, do not have anything in common. The reason why I claim DP for being the cause, ...
ManuelSchneid3r's user avatar