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
0 answers
20 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 ...
user avatar
0 votes
0 answers
54 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 ...
user avatar
2 votes
0 answers
21 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 ...
user avatar
  • 131
0 votes
1 answer
78 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 ...
user avatar
0 votes
1 answer
93 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 ...
user avatar
  • 333
0 votes
0 answers
679 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 ...
user avatar
  • 559
0 votes
0 answers
57 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)...
user avatar
2 votes
0 answers
74 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 ...
user avatar
  • 156
0 votes
1 answer
46 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 ...
user avatar
1 vote
0 answers
81 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 ...
user avatar
  • 83
1 vote
1 answer
364 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 (...
user avatar
1 vote
0 answers
416 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 ...
user avatar
1 vote
0 answers
27 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 --> ...
user avatar
1 vote
1 answer
600 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. ...
user avatar
2 votes
0 answers
48 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 ...
user avatar
  • 419
4 votes
0 answers
518 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 ...
user avatar
  • 909
3 votes
1 answer
1k 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 ...
user avatar
  • 31
5 votes
1 answer
3k 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 ...
user avatar
  • 53
6 votes
3 answers
4k 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 ...
user avatar
0 votes
0 answers
173 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 ...
user avatar
  • 909
2 votes
2 answers
1k 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....
user avatar
  • 44.5k
1 vote
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 ...
user avatar
2 votes
0 answers
1k 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 --...
user avatar
  • 385
0 votes
1 answer
1k 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
13k 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 ...
user avatar
  • 201
3 votes
2 answers
8k 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 ...
user avatar
5 votes
0 answers
611 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 ...
user avatar
  • 151
4 votes
0 answers
309 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)...
user avatar
9 votes
1 answer
6k 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, ...
user avatar
  • 53.2k
18 votes
3 answers
26k 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 ...
user avatar
  • 47.1k
3 votes
0 answers
115 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 ...
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 ...
user avatar
  • 51
1 vote
0 answers
278 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 ...
user avatar
  • 121
1 vote
0 answers
258 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 ...
user avatar
  • 21
2 votes
0 answers
232 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.
user avatar
  • 75
3 votes
0 answers
263 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 ...
user avatar
  • 93
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 ...
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. ...
user avatar
2 votes
0 answers
395 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 ...
user avatar
1 vote
0 answers
413 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 ...
user avatar
  • 315
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 ...
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, ...
user avatar