Questions tagged [kms]

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

Kernel Mode Setting (KMS)

Mode setting is a software operation that activates a display mode (screen resolution, color depth, and refresh rate) for a computer's display controller.

In kernel mode-setting (KMS), the display mode is set by the kernel. In user-space mode-setting (UMS), the display mode is set by a userland process.

Kernel mode-setting is more flexible and allows displaying of an error in the case of a fatal error in the kernel, even when using a user-space display server.

KMS is part of the whole kernel DRM subsystem.

Learn more on Wikipedia:

35 questions
29
votes
2 answers

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 fb, augments the fb, requires the fb, and requires…
user5184
  • 685
  • 2
  • 6
  • 11
13
votes
2 answers

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 problem: kernel modesetting hangs my boot (verified by…
strugee
  • 14,723
  • 17
  • 73
  • 119
10
votes
2 answers

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 around and tried adding i915.modeset=1 paramenter to…
lviggiani
  • 3,549
  • 7
  • 35
  • 67
9
votes
3 answers

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 lifting the lid open, the HDMI port is not…
istepaniuk
  • 173
  • 1
  • 12
6
votes
0 answers

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 buffer What is the purpose for each? How do…
anupamD
  • 161
  • 2
5
votes
1 answer

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 can install it. So far, I've tried Linux Mint Debian…
Naps62
  • 113
  • 1
  • 9
4
votes
2 answers

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 is dog-slow. How can I configure the console…
maxschlepzig
  • 56,316
  • 50
  • 205
  • 279
4
votes
0 answers

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) is running, I can launch the other one…
neuviemeporte
  • 355
  • 1
  • 3
  • 7
3
votes
0 answers

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 libdrm-dev I have), it shows no framebuffers when…
Janus Troelsen
  • 1,463
  • 1
  • 15
  • 27
2
votes
1 answer

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 /etc/X11/xorg.conf, I had Driver "nv" specified…
zebonaut
  • 1,115
  • 3
  • 16
  • 31
2
votes
1 answer

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 new drivers. However nowadays NVIDIA recommends to…
Artem S. Tashkinov
  • 26,392
  • 4
  • 33
  • 64
2
votes
0 answers

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 this in the Kernel or the X Server? I figure…
mic_e
  • 607
  • 6
  • 12
2
votes
0 answers

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 a way to create a render node with such…
novice
  • 419
  • 3
  • 12
2
votes
0 answers

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 resolutions many many times (hundreds, maybe) to…
LiuYan 刘研
  • 3,910
  • 5
  • 31
  • 34
2
votes
1 answer

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 it declares it isn't receiving a signal and enters…
emacsomancer
  • 499
  • 6
  • 18
1
2 3