Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [kms]

Use this tag on questions regarding the Kernel Mode Setting (KMS).

Filter by
Sorted by
Tagged with
1 vote
0 answers
17 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
2 votes
0 answers
107 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
2 votes
1 answer
568 views

Unloading KMS driver / Replacing NVIDIA Linux drivers without rebooting

In the past you could trivially replace NVIDIA proprietary drivers on the fly after switching to the text console, killing X.org and unloading (rmmod) the appropriate NVIDIA modules, and installing ...
Artem S. Tashkinov's user avatar
1 vote
1 answer
506 views

How to set Number of Lines in tty terminals

I running Manjaro Linux (21.2) with KDE. I have a large ultra-wide screen monitor with ideal resolution of 3400x1440. KDE and Konsole appear to be running this resolution fine but when I switch to ...
MattP's user avatar
  • 111
2 votes
2 answers
313 views

Xorg problem with Radeon Mobility X1600 on a 20" iMac LCD from 2006

My attempt to give a meaningful purpose to a 20-inch 2006 iMac 4.1 choked on an odd Xorg problem. Tried FreeBSD 13.0 Release/amd64 and elementaryOS 6.0 Odin as up-to-date systems with their respective ...
Keve's user avatar
  • 123
0 votes
0 answers
392 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
0 votes
2 answers
1k views

Linux issues on iMac

Linux issues on iMac I have Ubuntu 18.04.4 LTS and Arch Linux installed on an iMac, which I think doesn't support KMS. I have gotten Ubuntu to work with several desktops, window managers, and ...
Not me's user avatar
  • 169
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
0 votes
0 answers
1k views

How to set a large stty size?(default 80x24)

I'm really not sure where is the problem, so I'm putting all message i think helpful here. dmesg | grep drm [ 0.316388] fb0: switching to cirrusdrmfb from EFI VGA [ 0.316769] [drm] fb mappable ...
Obsessive's user avatar
1 vote
0 answers
812 views

Struggling with display KMS options on Lenovo D330-10igm

I'm trying to replace the default Windows 10 installation with Linux on this hybrid tablet. What I tried First I tried with Ubuntu 18.04, blank screen, I thought about starting modifying the KMS ...
Yaron's user avatar
  • 233
2 votes
1 answer
4k views

How to load a modified EDID into RAM after boot to fix defective monitor's EDID report?

I've acquired a couple of HP L1750 monitors, which have VGA & DVI inputs. The VGA inputs work without issue. However, the DVI input only works until Kernel Mode Setting (KMS) occurs, after which ...
emacsomancer's user avatar
0 votes
1 answer
2k views

set kms specific resolution at boot time

i'm trying to set a specific resolution for kms, at boot time. by default kms choose the highest resolution available (2500x1600) which is a bit hard to read. i'd like to set 1440x900 instead. i ...
nsklaus's user avatar
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
254 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,017
2 votes
0 answers
335 views

Debugging "client 0 refused switch" with hybrid graphics

I have an old MacBook with both integrated and discrete graphics, on which I run Fedora. When I first installed it, and sometimes when I update, it fails to boot with a weird "screen crash" where ...
Tom Anderson's user avatar
  • 1,008
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

Can't boot with Kernel Modesetting

I need to enable Kernel Modesetting in order for my video card to be used with the amdgpu driver, but I have this new Lenovo IdeaPad laptop that won't boot unless I boot the kernel with the nomodeset ...
nnyby's user avatar
  • 123
2 votes
0 answers
3k views

How to set custom EDID manually?

My monitor connects to the videocard through the DVI->VGA adapter, and EDID is not transmitted. If you use Xserver, then this problem is solved by adding previosly saved EDID in xorg.conf: Option ...
darthvlado's user avatar
6 votes
0 answers
823 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
385 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
1 vote
0 answers
1k views

Setting WQHD resolution in text mode

This is an yet another question about setting higher resolution in text mode, but I've already tested some solutions posted on U&L and unfortunatelly with no effect. Let's start at the very ...
Adam Przedniczek's user avatar
1 vote
0 answers
450 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
1 vote
0 answers
342 views

Empty output file in systemd unit file

I created the below systemd unit file (Centos 7) to run KMS server and logs the client requests to the kms-server.txt file. The service runs without any problem and responses to the client's requests ...
reza's user avatar
  • 41
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
1 vote
1 answer
543 views

Increasing Kernel Mode Setting (KMS) scrollback buffer size

I'm using Kernel Mode Setting to set my server's tty resolution. I added GRUB_GFXMODE=1280x1024x24,auto to /etc/default/grub, and GRUB_GFXPAYLOAD_LINUX=keep was already there. There's no vga= or ...
user1902689's user avatar
  • 1,218
2 votes
0 answers
847 views

Disable KMS on Debian Sid

I've recently started having trouble resuming my Sid laptop from suspend. I'm not sure if this was caused by an upgrade or by me tinkering to try and get a splash screen working, but anyway, I have my ...
Joel Cross's user avatar
13 votes
2 answers
3k views

Kernel modesetting hangs my boot, but the ATI driver requires it

I have a late 2011 MacBook Pro. It has an integrated Intel video card and a discrete ATI video card. Ideally, I'd like my Xorg to use the ATI card with the free driver (no Catalyst). Here's the ...
strugee's user avatar
  • 15k
2 votes
1 answer
2k views

KMS Terminal: How to disable second screen, or how to force a certaion resolution?

I have two screens with different native resolution connected to my Gentoo/systemd machine. since the VTs try to mirror the outputs, they do not use the whole size of the higher resolution screen. I ...
soulsource's user avatar
10 votes
2 answers
57k views

What is i915.modeset=1 for?

I'm running Ubuntu 13.10 and since I upgraded to kernel 3.12.8 (build from source, including ubuntu patches) on a ivybridge video, the boot spash screen was flickering and messing up. So I googled ...
lviggiani's user avatar
  • 3,599
2 votes
1 answer
3k views

Nouveau doesn't work after upgrade to Debian Wheezy

I upgraded from Debian squeeze to wheezy. My box contains an old graphics card not supported by current Nvidia drivers for distros newer than lenny (NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]), so in my ...
zebonaut's user avatar
  • 1,125
2 votes
0 answers
335 views

Is there a way to undo VGA adapter modesetting in Linux

I'm looking for a way to reset the graphics adapter to textmode after it has been set to some sort of graphical mode by the kernel on bootup, and possibly used by an X server. Is there any code to do ...
mic_e's user avatar
  • 639
2 votes
0 answers
446 views

Is it possible to set different resolution between console and X when Kernel Mode Setting is enabled?

My LCD monitor is dying. It has white screen issue: when power on, it's black screen (power LED is flashing), after a while (maybe one hour), it turns to white screen. Then I need switch to different ...
LiuYan 刘研's user avatar
5 votes
1 answer
3k views

Linux USB Boot results in black screen

I'm trying to install Linux alongside Windows 8 on my new Asus Zenbook UX32VD, which has both an Intel HD 4000 and a NVidia 620M I've been having quite a few problems booting up linux via USB so I ...
Naps62's user avatar
  • 113
3 votes
0 answers
2k views

modetest.c from libdrm tests lists no framebuffers

I wanted to play with KMS since it seems to be the preferred low-level graphics library on Linux. However, after compiling the appropriate modetest.c version (2.4.32, since that's the version of ...
Janus Troelsen's user avatar
4 votes
2 answers
2k views

How to increase the speed of a text console (kernel mode setting)?

On a Fedora 17 system (i915 hardware) KMS works out of the box - and using the console (i.e. Ctrl+Alt+F2 etc.) is very framebuffer-like. To the point that scrolling through a man page or cat log-files ...
maxschlepzig's user avatar
  • 57.7k
31 votes
2 answers
12k views

Kernel Mode Setting vs. Framebuffer?

With KMS, the graphics drivers are moved into the kernel. Since the framebuffer was already in the kernel, I wouldn't expect this to affect framebuffer operation. Yet, I read that KMS supercedes the ...
user5184's user avatar
  • 705