Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [kms]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
44 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 ...
user avatar
  • 111
1 vote
1 answer
66 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 ...
user avatar
  • 113
0 votes
0 answers
54 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
0 votes
2 answers
603 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 ...
user avatar
  • 129
2 votes
0 answers
46 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
0 votes
0 answers
470 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 ...
user avatar
1 vote
0 answers
626 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 ...
user avatar
  • 233
2 votes
1 answer
2k 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 ...
user avatar
0 votes
1 answer
954 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 ...
user avatar
5 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
171 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
  • 889
2 votes
0 answers
298 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 ...
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
  • 375
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 ...
user avatar
  • 123
2 votes
0 answers
2k 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 ...
user avatar
5 votes
0 answers
600 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
305 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
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 ...
user avatar
1 vote
0 answers
256 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
1 vote
0 answers
249 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 ...
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. ...
user avatar
1 vote
1 answer
479 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 ...
user avatar
  • 1,058
2 votes
0 answers
744 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 ...
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 ...
user avatar
  • 14.1k
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 ...
user avatar
9 votes
2 answers
48k 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 ...
user avatar
  • 3,349
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 ...
user avatar
  • 1,075
2 votes
0 answers
329 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 ...
user avatar
  • 435
2 votes
0 answers
434 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 ...
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 ...
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 ...
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 ...
user avatar
28 votes
2 answers
10k 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 ...
user avatar
  • 665