Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
0 answers
21 views
Is it possible to change screen resolution without a desktop environment or a window manager
I looked up how I can use commands to resize the display, but all of them seem to require a window manager or a desktop environment, for example‌, `xrandr`, but it says `No display found`. I'm assuming that just means that I didn't install Xorg (but I could be wrong though.) I am using the Arch Linu...
I looked up how I can use commands to resize the display, but all of them seem to require a window manager or a desktop environment, for example‌, xrandr, but it says No display found. I'm assuming that just means that I didn't install Xorg (but I could be wrong though.) I am using the Arch Linux installation ISO. Since I don't have a desktop environment or a window manager, it seems that I can't resize the display. Is it possible that even without a desktop environment or window manager, I can change the screen resolution, let's say from something like 1280x800 to 1366x720? If yes, how? Does the installation ISO already let me do that?
Sul4ur (9 rep)
Aug 7, 2025, 05:33 AM
3 votes
1 answers
5663 views
HDMI signal showing as disconnected on Manjaro
I have been doing some research and it looks like my xrandr has some issues. The problem is I connect a HDMI monitor and it shows that is disconnected; somehow the port is not working properly. I'm using Manjaro. xrandr output: Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767 eDP1...
I have been doing some research and it looks like my xrandr has some issues. The problem is I connect a HDMI monitor and it shows that is disconnected; somehow the port is not working properly. I'm using Manjaro. xrandr output: Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767 eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 380mm x 210mm 1920x1080 60.03*+ 48.01 1400x1050 59.98 1600x900 60.00 1280x1024 60.02 1280x960 60.00 1368x768 60.00 1280x720 60.00 1024x768 60.00 1024x576 60.00 960x540 60.00 800x600 60.32 56.25 864x486 60.00 640x480 59.94 720x405 60.00 640x360 60.00 DP1 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) VGA1 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) As you see, it show as disconnected but the HDMI is connected. Is there any way to solve this?
Rey Pena (31 rep)
Aug 16, 2016, 03:15 PM • Last activity: Aug 2, 2025, 01:02 PM
2 votes
2 answers
3465 views
Xorg and xrandr detect a connected monitor that doesn't exist
I'm on a laptop with no additional monitors connected, but when I run `xrandr -q`, the output lists two connected devices. Xfce's Display settings dialog also shows two monitors, and so does Xorg.0.log. Here's the `xrandr -q` output: ```Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384...
I'm on a laptop with no additional monitors connected, but when I run xrandr -q, the output lists two connected devices. Xfce's Display settings dialog also shows two monitors, and so does Xorg.0.log. Here's the xrandr -q output:
0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080     60.00*+  59.97    59.96    59.93    48.00  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   (omitting many more resolutions)
DP-1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768      60.00*  
   800x600       60.32    56.25  
   848x480       60.00  
   640x480       59.94  
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
Is this normal? If not, what can I do to remove this imaginary monitor? Restarting the laptop (with no external monitors connected at any point) doesn't change anything. (My guess it that something about this is causing a weird display problem I have - my login screen starts at the wrong resolution, and afterward the resolution gets corrected but the virtual desktop sizes are wrong.) Here are related Xorg.0.log lines - DP-1 (the imaginary monitor) does not have an EDID, but it is listed as connected with initial mode 1024x768, and also seems to somehow cause eDP-1 (the actual laptop monitor) to use initial mode 1024x768 instead of 1920x1080; then it gets classified as a keyboard for some reason:
[    13.093] (II) modeset(0): Output eDP-1 has no monitor section
[    13.921] (II) modeset(0): Output DP-1 has no monitor section
[    13.921] (II) modeset(0): Output DP-2 has no monitor section
[    13.921] (II) modeset(0): Output DP-3 has no monitor section
[    13.923] (II) modeset(0): EDID for output eDP-1
[    13.923] (II) modeset(0): Manufacturer: BOE  Model: 853  Serial#: 0
[    13.923] (II) modeset(0): Year: 2018  Week: 48
[    13.923] (II) modeset(0): EDID Version: 1.4
(skipping a bunch more EDID information for eDP-1)
[    13.924] (II) modeset(0): Printing probed modes for output eDP-1
[    13.924] (II) modeset(0): Modeline "1920x1080"x60.0  141.72  1920 1968 2000 2124  1080 1083 1089 1112 +hsync -vsync (66.7 kHz eP)
[    13.924] (II) modeset(0): Modeline "1920x1080"x119.9  266.50  1920 1944 1960 2000  1080 1081 1084 1111 doublescan +hsync -vsync (133.2 kHz d)
[    13.924] (II) modeset(0): Modeline "1920x1080"x60.0  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync (67.2 kHz d)
(skipping a lot more modelines for eDP-1)
[    14.754] (II) modeset(0): EDID for output DP-1
[    14.754] (II) modeset(0): Printing probed modes for output DP-1
[    14.755] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    14.755] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    14.755] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    14.755] (II) modeset(0): Modeline "848x480"x60.0   33.75  848 864 976 1088  480 486 494 517 +hsync +vsync (31.0 kHz e)
[    14.755] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    14.755] (II) modeset(0): EDID for output DP-2
[    14.755] (II) modeset(0): EDID for output DP-3
[    14.755] (II) modeset(0): Output eDP-1 connected
[    14.755] (II) modeset(0): Output DP-1 connected
[    14.755] (II) modeset(0): Output DP-2 disconnected
[    14.755] (II) modeset(0): Output DP-3 disconnected
[    14.755] (II) modeset(0): Using fuzzy aspect match for initial modes
[    14.755] (II) modeset(0): Output eDP-1 using initial mode 1024x768 +0+0
[    14.755] (II) modeset(0): Output DP-1 using initial mode 1024x768 +0+0
(skipping a bunch of lines that seem unrelated - let me know if I should paste the whole thing)
[    15.141] (II) config/udev: Adding input device DP-1 (/dev/input/event10)
[    15.142] (**) DP-1: Applying InputClass "libinput keyboard catchall"
[    15.142] (II) Using input driver 'libinput' for 'DP-1'
[    15.142] (**) DP-1: always reports core events
[    15.142] (**) Option "Device" "/dev/input/event10"
[    15.142] (**) Option "_source" "server/udev"
[    15.144] (II) event10 - DP-1: is tagged by udev as: Keyboard Pointingstick
[    15.144] (II) event10 - DP-1: device is a pointer
[    15.144] (II) event10 - DP-1: device is a keyboard
[    15.145] (II) event10 - DP-1: device removed
[    15.161] (II) libinput: DP-1: needs a virtual subdevice
[    15.162] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:02.0/rc/rc0/input11/event10"
[    15.162] (II) XINPUT: Adding extended input device "DP-1" (type: MOUSE, id 9)
[    15.162] (**) Option "AccelerationScheme" "none"
[    15.162] (**) DP-1: (accel) selected scheme none/0
[    15.162] (**) DP-1: (accel) acceleration factor: 2.000
[    15.162] (**) DP-1: (accel) acceleration threshold: 4
[    15.164] (II) event10 - DP-1: is tagged by udev as: Keyboard Pointingstick
[    15.165] (II) event10 - DP-1: device is a pointer
[    15.165] (II) event10 - DP-1: device is a keyboard
Unfortunately my Xorg.0.log.old is from the same day and has the same issues, but I found an Xorg.1.log.old from last year which doesn't. It lists the same eDP-1, but doesn't list any information for DP-1 or classify it as a keyboard or list it as connected, and the initial display mode was 1920x1080 (which is what it should be):
[   942.577] (II) modeset(0): EDID for output DP-1
    [   942.577] (II) modeset(0): EDID for output DP-2
    [   942.577] (II) modeset(0): EDID for output DP-3
    [   942.577] (II) modeset(0): Output eDP-1 connected
    [   942.577] (II) modeset(0): Output DP-1 disconnected
    [   942.577] (II) modeset(0): Output DP-2 disconnected
    [   942.577] (II) modeset(0): Output DP-3 disconnected
    [   942.577] (II) modeset(0): Using exact sizes for initial modes
    [   942.577] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0
I'm on a ThinkPad P1 with Xubuntu 20.04 and Xfce 4.14.
weronika (365 rep)
Sep 23, 2021, 07:41 PM • Last activity: Jul 27, 2025, 04:03 AM
0 votes
0 answers
14 views
xrandr not detecting screen size after re-connecting
I'm struggling with very weird issue. I have two displays connected to my laptop. When I first start X everything is working fine. `xrandr` displays: DVI-I-2-2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm 1920x1080 60.00*+ 119.98 50.00 59.94 DVI-I-1-1 connected 25...
I'm struggling with very weird issue. I have two displays connected to my laptop. When I first start X everything is working fine. xrandr displays: DVI-I-2-2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm 1920x1080 60.00*+ 119.98 50.00 59.94 DVI-I-1-1 connected 2560x1440+1920+0 (normal left inverted right x axis y axis) 597mm x 336mm 2560x1440 59.95*+ 74.97 However, if I disconnect those displays and connect again it reports: DVI-I-2-2 connected (normal left inverted right x axis y axis) 1920x1080 60.00 + 119.98 50.00 59.94 DVI-I-1-1 connected (normal left inverted right x axis y axis) 2560x1440 59.95 + 74.97 Notice missing size of screen in mm at the end of each line. When I try to run xrandr to configure those displays it's crashing. I've debugged it and it's because it's trying to divide by screen size in mm but DisplayHeightMM returns 0: https://man.docs.euro-linux.com/EL%209/libX11-devel/DisplayHeightMM.3.en.html It's failing with floating point error. After restarting X it's working fine again. I'm using USB-C hub but when I tried connecting a display using HDMI I had the same issue. I'm using amdgpu driver. Any ideas?
Efrum (1 rep)
Jul 18, 2025, 07:13 PM
9 votes
2 answers
11523 views
Why do the command cvt and gtf give different frequency values
I am trying to setup a xrandr mode line for a X display but in attempting to find the appropriate parameters, I note there are two different calculation programs (see below). Why the difference in values? Which set should I use for a NON-CRT display? $ gtf 1600 1200 60 # 1600x1200 @ 60.00 Hz (GTF) h...
I am trying to setup a xrandr mode line for a X display but in attempting to find the appropriate parameters, I note there are two different calculation programs (see below). Why the difference in values? Which set should I use for a NON-CRT display? $ gtf 1600 1200 60 # 1600x1200 @ 60.00 Hz (GTF) hsync: 74.52 kHz; pclk: 160.96 MHz Modeline "1600x1200_60.00" 160.96 1600 1704 1880 2160 1200 1201 1204 1242 -HSync +Vsync $ cvt 1600 1200 60 # 1600x1200 59.87 Hz (CVT 1.92M3) hsync: 74.54 kHz; pclk: 161.00 MHz Modeline "1600x1200_60.00" 161.00 1600 1712 1880 2160 1200 1203 1207 1245 -hsync +vsync
mdpc (6991 rep)
Dec 21, 2017, 12:27 AM • Last activity: Jul 13, 2025, 12:05 PM
6 votes
1 answers
2159 views
XRandR crops displayed area on certain multi-monitor configurations
I have total of four monitors. One (1680x1050) is connected to integrated Intel display adapter, and three (1440x900 and two 1920x1080) are connected to dedicated ATI display adapter. With certain XRandR configurations some monitors have their display area cropped, so that for example lower part of...
I have total of four monitors. One (1680x1050) is connected to integrated Intel display adapter, and three (1440x900 and two 1920x1080) are connected to dedicated ATI display adapter. With certain XRandR configurations some monitors have their display area cropped, so that for example lower part of the screen is not usable. I'd like to use configuration like this one: xrandr \ --output VGA-1 --mode 1440x900 --pos 780x1080 --rotate left \ --output HDMI2 --mode 1680x1050 --pos 0x30 --rotate normal \ --output HDMI-3 --mode 1920x1080 --pos 1680x1080 --rotate normal \ --output DVI-0 --mode 1920x1080 --pos 1680x0 --rotate normal But the lower part (below the bottom edge of the bottom right screen) of the bottom left screen is cut off: Failure On the other hand, this configuration works: xrandr \ --output VGA-1 --mode 1440x900 --pos 780x1050 --rotate left \ --output HDMI2 --mode 1680x1050 --pos 0x0 --rotate normal \ --output HDMI-3 --mode 1920x1080 --pos 1680x1080 --rotate normal \ --output DVI-0 --mode 1920x1080 --pos 1680x0 --rotate normal , as shown here: Success 1 Also this configuration works: xrandr \ --output VGA-1 --mode 1440x900 --pos 780x0 --rotate left \ --output HDMI2 --mode 1680x1050 --pos 0x1440 --rotate normal \ --output HDMI-3 --mode 1920x1080 --pos 1680x1440 --rotate normal \ --output DVI-0 --mode 1920x1080 --pos 1680x360 --rotate normal , as shown here: Success 2 In addition, the configuration below works xrandr \ --output VGA-1 --mode 1440x900 --pos 780x1080 --rotate left \ --output HDMI2 --mode 1680x1050 --pos 0x30 --rotate normal \ --output HDMI-3 --mode 1920x1080 --pos 1680x1440 --rotate normal \ --output DVI-0 --mode 1920x1080 --pos 1680x0 --rotate normal as shown here: Success 3 **UPDATE:** Strangely, I managed to get the wanted layout by command sequence: xrandr \ --output VGA-1 --mode 1440x900 --pos 780x1080 --rotate left \ --output HDMI2 --mode 1680x1050 --pos 0x30 --rotate normal \ --output HDMI-3 --mode 1920x1080 --pos 1680x1440 --rotate normal \ --output DVI-0 --mode 1920x1080 --pos 1680x0 --rotate normal xrandr \ --output HDMI2 --mode 1680x1050 --pos 0x30 --rotate normal \ --output DVI-0 --mode 1920x1080 --pos 1680x0 --rotate normal \ --output VGA-1 --mode 1440x900 --pos 780x1080 --rotate left \ --output HDMI-3 --mode 1920x1080 --pos 1680x1080 --rotate normal \ --primary so that it works on freshly started Xorg instance, but I don't have a clue why it works. Besides, that solution seems a bit ugly. Can anybody enlighten me on this issue, please? My OS is Arch Linux, window manager is i3, and the version of XRandR is 1.4.2. Xorg configuration files have only InputClass and Files sections.
montiainen (163 rep)
May 31, 2014, 05:03 PM • Last activity: Jul 9, 2025, 08:02 AM
0 votes
0 answers
35 views
Chromium kiosk mode across dual monitors - portrait mode (1080×1920), and stacked vertically
I have two monitors, both originally 1920×1080 (landscape). I want to rotate both to portrait mode so that their effective resolution becomes 1080×1920, and then stack them vertically using xrandr. Here’s what I want to achieve: 1. Both monitors in portrait orientation 2. HDMI1 on top 3. D...
I have two monitors, both originally 1920×1080 (landscape). I want to rotate both to portrait mode so that their effective resolution becomes 1080×1920, and then stack them vertically using xrandr. Here’s what I want to achieve: 1. Both monitors in portrait orientation 2. HDMI1 on top 3. DP2 on bottom 4. Total virtual screen resolution: 1080×3840 5. Preferably with HDMI1 as the primary display ❌ What I tried and the result: I followed this thread, and it worked for landscape mode (3840x1080). This is my Python code where I am executing the xrandr commands using subprocess.
cmds = [
        ["xrandr", "--output", secondary, "--same-as", primary],
        ["xrandr", "--output", primary, "--panning", "1080x3840+0+0/0x0+0+0/0/0/0/0"],
        ["xrandr", "--output", secondary, "--pos", "0x1920"],
        ["xrandr", "--output", primary, "--panning", "0x0"],
        ["xrandr", "--output", secondary, "--panning", "0x0"],
        ["xrandr", "--output", primary, "--auto", "--pos", "0x0", "--primary"],
        ["xrandr", "--output", secondary, "--auto", "--pos", "0x1920"]
    ]
**Result:** 1. On one screen, the Chrome video is displayed half (HDMI1) which is correct, and the other half should be displayed on another screen (DP2). **But DP2 is not showing the video that I am playing in Chrome.** what could be the problem? Your suggestion will be greatly appreciated.
Praveen Deshmane (1 rep)
Jul 8, 2025, 06:24 AM
3 votes
1 answers
5014 views
xrandr scaling: blurry fonts when downscaling
Is there any option to downscale the monitor without getting blurry fonts? I am forced to work on 1366x768 monitor at the moment, which is painful due to low amount of content I can pack on my screen (I'm coding). I've tried `> $ xrandr --output LVDS1 --scale 1.2x1.2 --panning [±master ●●]` whi...
Is there any option to downscale the monitor without getting blurry fonts? I am forced to work on 1366x768 monitor at the moment, which is painful due to low amount of content I can pack on my screen (I'm coding). I've tried > $ xrandr --output LVDS1 --scale 1.2x1.2 --panning [±master ●●] which helped a bit, but fonts look just super-bad. Any option for this?
Mikhail Krutov (1084 rep)
Jul 3, 2017, 09:57 AM • Last activity: Jul 6, 2025, 10:04 PM
0 votes
1 answers
2350 views
How to setup :0.1 virtual display on-the-fly in X
I want to create a virtual monitor, add it to my current display as a seperate screen (In X sense) and share it over VNC. Now what I want to do is neatly described below in Arch Linux Wiki article on [Multihead](https://wiki.archlinux.org/title/Multihead#Separate_screens) setup > This is the origina...
I want to create a virtual monitor, add it to my current display as a seperate screen (In X sense) and share it over VNC. Now what I want to do is neatly described below in Arch Linux Wiki article on [Multihead](https://wiki.archlinux.org/title/Multihead#Separate_screens) setup > This is the original way of configuring multiple monitors with X, and it has been around for decades. Each physical monitor is assigned as an X screen, and while you can move the mouse between them, they are more or less independent. Normally the X display has a single identifier such as :0 set in the DISPLAY environment variable, but in this configuration each screen has a different $DISPLAY value. The first screen is :0.0, the second is :0.1 and so on. With this configuration, it is not possible to move windows between screens, apart from a few special programs like GIMP and Emacs which have multi-screen support. For most programs you must change the DISPLAY environment variable when launching to have the program appear on another screen:
# Launch a terminal on the second screen
$ DISPLAY=:0.1 urxvt &
> Alternatively, if you have a terminal on each screen launching programs will inherit the DISPLAY value and appear on the same screen they were launched on. But moving an application between screens involves closing it and reopening it again on the other screen. Working this way does have certain advantages, such as windows popping up on one screen will not steal the focus away from you if you are working on another screen - each screen is quite independent. Tl;dr: A display like :0.1 I have created virtual displays at past which are extenstion of current screen, with xrandr.
xrandr --newmode "1024x768_60.00"  64.11  1024 1080 1184 1344  768 769 772 795  -HSync +Vsync
xrandr --addmode VIRTUAL1 1024x768_60.00  
xrandr --output VIRTUAL1
The problem which arise that I need to pull the windows between monitors (Pull from actual monitor to VNC monitor). How can I specify to make the new display to be a new screen ? I want to do thing opposite to this [question](https://unix.stackexchange.com/questions/239220/possible-to-move-a-window-from-one-x-screen-to-another-on-same-host) , inducing the "problem", so that windows open in same monitor it is called from.
Abdullah Ibn Fulan (1370 rep)
Sep 11, 2021, 01:40 PM • Last activity: Jul 4, 2025, 05:06 PM
26 votes
3 answers
175401 views
How to scale the resolution/display of the desktop and/or applications?
While using Xorg X11, on KDE/Gnome/XFCE **how can we scale the display/resolution** for the whole desktop and/or per application? **(when this is not available on the settings GUI)** The purpose is to keep the screen resolution unchanged (at max) while scaling the size (bigger/smaller) of the deskto...
While using Xorg X11, on KDE/Gnome/XFCE **how can we scale the display/resolution** for the whole desktop and/or per application? **(when this is not available on the settings GUI)** The purpose is to keep the screen resolution unchanged (at max) while scaling the size (bigger/smaller) of the desktop/applications.
intika (15066 rep)
Jul 5, 2020, 08:46 PM • Last activity: Jun 24, 2025, 08:59 PM
1 votes
0 answers
55 views
Unable to rotate screen using xrandr with VMware SVGA II adapter on SUSE Linux
I am using a SUSE Linux Enterprise Desktop in a virtual environment with a VMware SVGA II Adapter. I need to rotate my screens using `xrandr`, but every time I try to do so, I get the following error: ``` xrandr: output Virtual1 cannot use rotation "left" reflection "none" ``` Here is some relevant...
I am using a SUSE Linux Enterprise Desktop in a virtual environment with a VMware SVGA II Adapter. I need to rotate my screens using xrandr, but every time I try to do so, I get the following error:
xrandr: output Virtual1 cannot use rotation "left" reflection "none"
Here is some relevant information about my setup: - Graphics Adapter: VMware SVGA II Adapter (driver: vmwgfx) - Display Server: X11 (X.Org version 1.21.1.4) - Driver: vmwgfx (OpenGL v: 4.5 Mesa 22.3.5) - VM Environment: VMware VDI When I run inxi -G, it gives me:
Graphics:
  Device-1: VMware SVGA II Adapter driver: vmwgfx v: 2.20.0.0
  Display: x11 server: X.Org v: 1.21.1.4 driver: gpu: vmwgfx note: X driver n/a - try sudo/root
  API: OpenGL v: 4.5 Mesa 22.3.5 renderer: llvmpipe (LLVM 15.0.7 256 bits)
What I’ve tried: - Using xrandr to rotate the screen (xrandr --output Virtual1 --rotate left) - Checked for any VMware or SUSE settings that might enable screen rotation None of these have worked. Is there any way to enable screen rotation using xrandr or another tool while using the VMware SVGA II Adapter in a VDI environment? Any suggestions or workarounds would be greatly appreciated!
Corvo (11 rep)
Oct 10, 2024, 02:06 PM • Last activity: Jun 23, 2025, 05:25 AM
2 votes
1 answers
3392 views
How do I correctly transfer xrandr settings to xorg.conf?
I have run multiple `xrandr` commands to set all my monitors settings as I want them. Then I used `autorandr` to save the state to a config file printed here: ``` hanke@debian ~ » cat .config/autorandr/3-displays/config output DP-1 off output DP-2 off output DP-3 off output DP-4 off output DP-5...
I have run multiple xrandr commands to set all my monitors settings as I want them. Then I used autorandr to save the state to a config file printed here:
hanke@debian ~ » cat .config/autorandr/3-displays/config 
output DP-1
off
output DP-2
off
output DP-3
off
output DP-4
off
output DP-5
off
output DVI-D-0
crtc 1
mode 1600x900
pos 3840x0
rate 59.98
rotate left
output DP-0
crtc 0
mode 1920x1080
pos 1920x191
primary
rate 144.00
output HDMI-0
crtc 2
mode 1920x1080
pos 0x260
rate 60.00
I have been using autorandr --change 3-displays in my window managers startup script to configure the displays, but I run into problems with this approach if I enable lightdm to get the greeter/login screen, which is run before my window manager, and in extension before my monitors are configured correctly. Because of this, the login screen is displayed on the wrong monitors in the wrong resolutions and orientations. Because of this I now wish to transfer these settings to the /etc/X11/xorg.conf config file. Here is my attempt so far:
Section "Monitor"
        Identifier      "DP-0"
        Option          "Position"      "1920 191"
        Option          "Primary"       "true"
        Option          "PreferredMode" "1920x1080_144.00"
        Option          "Enable"        "true"
EndSection

Section "Monitor"
        Identifier      "HDMI-0"
        Option          "Position"      "0 260"
        Option          "PreferredMode" "1920x1080_60.00"
        Option          "Enable"        "true"
EndSection

Section "Monitor"
        Identifier      "DVI D-0"
        Option          "Rotate"        "left"
        Option          "Position"      "3840 900"
        Option          "PreferredMode" "1600x900_59.98"
        Option          "Enable"        "true"
EndSection

Section "Monitor"
        Identifier      "DP-1"
        Option          "Enable"        "false"
EndSection

Section "Monitor"
        Identifier      "DP-2"
        Option          "Enable"        "false"
EndSection

Section "Monitor"
        Identifier      "DP-3"
        Option          "Enable"        "false"
EndSection

Section "Monitor"
        Identifier      "DP-4"
        Option          "Enable"        "false"
EndSection

Section "Monitor"
        Identifier      "DP-5"
        Option          "Enable"        "false"
EndSection
Sadly, this does not seem to work. My gaming display is not getting set to 144 Hz refresh rate, the orientation on my DVI screen is all wrong and the positions seem to be ignored as well. I have previously had startx fail because of bad xorg.conf values, but using this config it starts without crashing. Am I missing something here? I just want my screens to be correctly configured in a nice and declarative way. Running a bunch of xrandr commands in scripts feels hacky. The xorg.conf file seems like the correct way to do it, but I am failing to get it to work correctly. Any help is appreciated.
Hannes Knutsson (33 rep)
Feb 6, 2022, 05:34 PM • Last activity: Jun 21, 2025, 10:02 AM
2 votes
1 answers
2501 views
Can't set xrandr brightness and gamma correctly
What is wrong? $ xrandr --output HDMI-1 --gamma 0.6:1.0:1.6 --brightness 0.76 $ xrandr --verbose | sed -n '/HDMI-1/,/Brightness/p' HDMI-1 connected 1920x1080+0+0 (0x6c) normal (normal left inverted right x axis y axis) 510mm x 290mm Identifier: 0x63 Timestamp: 65733000 Subpixel: unknown Gamma: 1.7:1...
What is wrong? $ xrandr --output HDMI-1 --gamma 0.6:1.0:1.6 --brightness 0.76 $ xrandr --verbose | sed -n '/HDMI-1/,/Brightness/p' HDMI-1 connected 1920x1080+0+0 (0x6c) normal (normal left inverted right x axis y axis) 510mm x 290mm Identifier: 0x63 Timestamp: 65733000 Subpixel: unknown Gamma: 1.7:1.0:0.63 Brightness: 0.75
MichalH (2489 rep)
Jul 30, 2015, 07:07 PM • Last activity: Jun 13, 2025, 11:02 AM
3 votes
1 answers
2548 views
Set up three (3) monitors in Debian
I have two identical external monitors, which I have tested in Windows.  They work perfectly with no extra configuration – just connect them and done.  When I boot to my **Debian 8 OS** with the three monitors connected, I can see the mouse moving, but that's all (black...
I have two identical external monitors, which I have tested in Windows.  They work perfectly with no extra configuration – just connect them and done.  When I boot to my **Debian 8 OS** with the three monitors connected, I can see the mouse moving, but that's all (black screens with mouse moving). This is my xrandr output with two monitors: $ xrandr Screen 0: minimum 320 x 200, current 1920 x 2130, maximum 8192 x 8192 eDP1 connected primary 1920x1080+0+1050 (normal left inverted right x axis y axis) 382mm x 215mm 1920x1080 60.01*+ 59.93 1680x1050 59.95 59.88 1600x1024 60.17 1400x1050 59.98 1280x1024 60.02 1440x900 59.89 1280x960 60.00 1360x768 59.80 59.96 1152x864 60.00 1024x768 60.00 800x600 60.32 56.25 640x480 59.94 VGA1 disconnected (normal left inverted right x axis y axis) HDMI1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 459mm x 296mm 1680x1050 59.88*+ 1280x1024 75.02 60.02 1440x900 74.98 59.90 1280x960 60.00 1280x800 74.93 59.91 1152x864 75.00 1280x720 60.00 50.00 59.94 1024x768 75.08 70.07 60.00 832x624 74.55 800x600 72.19 75.00 60.32 56.25 720x576 50.00 720x480 60.00 59.94 640x480 75.00 72.81 66.67 60.00 59.94 720x400 70.08 As you might see the VGA port is not connected – it is the port for my third monitor... My system is a: + Acer V3-772G + Nvidia GT 750M + Core i7 + Intel Graphics How can I get three monitors to work?
T04435 (31 rep)
Feb 24, 2016, 10:06 PM • Last activity: Jun 9, 2025, 04:09 PM
0 votes
1 answers
136 views
How to Swap Monitor Outputs
I'm trying to setup a virtual Monitor for different purposes, e.g. screen sharing. And I think I already succeeded in this, so I now have two different outputs shown, when using the `xrandr` command: ``` Screen 0: minimum 320 x 200, current 3843 x 1080, maximum 16384 x 16384 eDP-1 connected primary...
I'm trying to setup a virtual Monitor for different purposes, e.g. screen sharing. And I think I already succeeded in this, so I now have two different outputs shown, when using the xrandr command:
Screen 0: minimum 320 x 200, current 3843 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 173mm
   1920x1080     60.03*+  60.01    59.97    59.96    59.93    48.03
... zap ...
HDMI-1 disconnected 1920x1080+1923+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1920x1080     60.03*
eDP-1 is my Laptop display and HDMI-1 is the not existing 'virtual' display. Now my question is simple. How can I swap the contents of these two outputs, such that I am able to use the virtual display? By swap I mean, that I want to transfer the output of HDMI-1 to eDP-1. After I used the virtual display, of course, I want to be able to revert the swap, so the original contents should not be lost. To clarify, since "swapping displays" is a bit ambigous: There are already some answers on how to swap between dual and single monitor settings or how to swap the position of screens in a dual monitor setting. However I coulnd't derive a solution for my problem from these settings. My problem rather compares to a dual monitor setting where I want to swap what is seen on both monitors. Edit: Another way to accomplish what I want to do would be to setup two virtual monitors on the same screen and switch between them, or resize them, as asked in this question . **Edit (debug)**: Without executing any of the commands from the solution, the output of xrandr | grep '^[^ ]' is:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 310mm x 170mm
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
VIRTUAL2 disconnected (normal left inverted right x axis y axis)
After executing
xrandr --setmonitor VIRT-0 1920/309x1080/173+0+0 eDP1
xrandr --setmonitor VIRT-1 1920/309x1080/173+1920+0 none
xrandr --fb 3840x1080
There seems to be another monitor created, because my wm (i3) opens some windows there and these windows can be transfered back. The output of xrandr | grep '^[^ ]' is:
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 310mm x 170mm
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
VIRTUAL2 disconnected (normal left inverted right x axis y axis)
And the output of xrandr --listmonitors is:
Monitors: 2
 0: VIRT-0 1920/309x1080/173+0+0  eDP1
 1: VIRT-1 1920/309x1080/173+1920+0
The command
xrandr --fb 3840x1080 --output eDP1 --pos 0x0
does not seem to have any effect. The output of xrandr | grep '^[^ ]' after issuing the command is:
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 310mm x 170mm
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
VIRTUAL2 disconnected (normal left inverted right x axis y axis)
Again the command
xrandr --fb 3840x1080 --output eDP1 --pos 1920x0
does not seem to have any effect. The output of xrandr | grep '^[^ ]' after issuing the command is:
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 310mm x 170mm
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
VIRTUAL2 disconnected (normal left inverted right x axis y axis)
So the output of xrandr | grep '^[^ ]' doesn't seem to change.
Lord Bo (101 rep)
Sep 16, 2024, 08:18 AM • Last activity: Jun 5, 2025, 08:06 AM
0 votes
0 answers
50 views
BSPWM invalid descriptor not found
a few months ago there was a problem where the configuration with internet monitor only gives the error invalid descriptor found in "eDP-1-1", while with the connected HDMI-0 everything works fine. I'm trying different combinations, and I've found a working crutch. But it seems to me that it certain...
a few months ago there was a problem where the configuration with internet monitor only gives the error invalid descriptor found in "eDP-1-1", while with the connected HDMI-0 everything works fine. I'm trying different combinations, and I've found a working crutch. But it seems to me that it certainly shouldn't work that way. I use autorandr to configure the monitors, but just in case, I still recreate using xrandr. All the configs and scripts that may be required in my opinion are also provided. **$HOME/.config/autorandr/postswitch**
#!/bin/bash
LOCK="/tmp/autorandr.lock"
# Ожидаем инициализации мониторов
#sleep 1

# Перезагружаем рабочие столы
if autorandr | grep "^docked (detected)"; then
    bspc monitor HDMI-0 -d 1 2 3 4 5 6 7
    bspc monitor eDP-1-1 -d 8
    bspc wm -O HDMI-0 eDP-1-1
elif autorandr | grep "^undocked (detected)"; then
    xrandr --output eDP-1-1 --mode 1920x1080 --rate 60 --primary --output HDMI-0 --off
	bspc monitor eDP-1-1 -d 1 2 3 4 5 6 7 8
    if [[ -f "$LOCK" ]]; then
	    echo "exist"
		rm "$LOCK"
		exit 0
    fi
	touch "$LOCK"
	echo "not exist"
	bspc wm -r
	#autorandr --load undocked
	bspc monitor -d 1 2 3 4 5 6 7 8
	bspc desktop -f 2
fi

# Перезапускаем полибар
#~/.config/polybar/launch.sh

# Обновляем об1ои
#~/.config/bspwm/scripts/launch.sh
**$HOME/.config/bspwm/bspwmrc**
#!/bin/sh

# Логирование
exec > ~/.bspwm.log 2>&1

# Запуск базовых сервисов
pgrep -x sxhkd > /dev/null || sxhkd &
xrdb merge ~/.Xresources
xsetroot -cursor_name left_ptr

if xrandr | grep 'HDMI-0 connected' >/dev/null; then
		echo "docked"
		autorandr --load docked
else
		echo "undocked"
		autorandr --load undocked 
fi

# Настройки bspwm
bspc config focus_follows_pointer true
#bspc config window_animation_duration 0
bspc config border_width 0
bspc config borderless_monocle true
bspc config gapless_monocle false
bspc config window_gap 10
bspc config pointer_modifier mod4
bspc config pointer_action1 move
bspc config pointer_action2 resize_side
bspc config pointer_action3 resize_corner

# Правила для окон
bspc rule -a Eww sticky=on layer=above manage=off
bspc rule -a PlayerWindow state=floating sticky=on layer=above manage=off
bspc rule -a feh state=floating

# Автозапуск приложений
~/.config/bspwm/scripts/launch.sh &
~/.config/polybar/launch.sh
dunst -config $HOME/.config/bspwm/dunstrc &
pkill battery-alert; ~/bin/battery-alert &
#pgrep -x redshift > /dev/null || redshift 
picom --config $HOME/.config/bspwm/picom_configurations/1.conf &
flameshot &
# Запуск autorandr при старте
#autorandr --change
Everything works with this configuration and there are no errors, but I don't like this approach, but I couldn't find a better solution. Also here are my specifications
====================================    OS: Arch Linux x86_64
   ⣿⣿⣿⣿⣿⣿⣿⠿⢛⢛⡛⡻⢿⣿⣿⣿⣿⠟⠛⢛⠻⢿⣿⣿⣿⣿⣿⣿⣿⣿   Kernel: 6.14.7-arch2-1
   ⣿⣿⣿⣿⢟⢱⡔⡝⣜⣜⢜⢜⡲⡬⡉⢕⢆⢏⢎⢇⢇⣧⡉⠿⣿⣿⣿⣿⣿⣿   Uptime: 11 mins
   ⣿⣿⡟⡱⣸⠸⢝⢅⢆⢖⣜⣲⣵⣴⣱⣈⡣⣋⢣⠭⣢⣒⣬⣕⣄⣝⡻⢿⣿⣿   Packages: 1975 (pacman), 18 (f
   ⣿⠟⡜⣎⢎⢇⢇⣵⣷⣿⣿⡿⠛⠉⠉⠛⢿⣦⢵⣷⣿⣿⣿⠟⠛⠋⠓⢲⡝⣿   Shell: fish 4.0.2
   ⢏⢰⢱⣞⢜⢵⣿⣿⣿⣿⣿⠁⠐⠄⠄⠄⠄⢹⣻⣿⣿⣿⠡⠄⠄⠄⠄⠄⠹⣺   Resolution: 1920x1080
   ⢕⢜⢕⢕⢵⠹⢿⣿⣿⣿⣿⡀⠸⠗⣀⠄⠄⣼⣻⣿⣿⣿⡀⢾⠆⣀⠄⠄⣰⢳   WM: bspwm
   ⡕⣝⢜⡕⣕⢝⣜⢙⢿⣿⣿⣷⣦⣤⣥⣤⣾⢟⠸⢿⣿⣿⣿⣦⣄⣉⣤⡴⢫⣾   Theme: Dracula-pink-accent [GT
   ⡪⡪⣪⢪⢎⢮⢪⡪⡲⢬⢩⢩⢩⠩⢍⡪⢔⢆⢏⡒⠮⠭⡙⡙⠭⢝⣨⣶⣿⣿   Icons: Papirus [GTK2], dracula
   ⡪⡪⡎⡮⡪⡎⡮⡪⣪⢣⢳⢱⢪⢝⢜⢜⢕⢝⢜⢎⢧⢸⢱⡹⡍⡆⢿⣿⣿⣿   Terminal: alacritty
   ⡪⡺⡸⡪⡺⣸⠪⠚⡘⠊⠓⠕⢧⢳⢹⡸⣱⢹⡸⡱⡱⡕⡵⡱⡕⣝⠜⢿⣿⣿   CPU: Intel i5-9300H (8) @ 4.10
   ⡪⡺⡸⡪⡺⢐⢪⢑⢈⢁⢋⢊⠆⠲⠰⠬⡨⡡⣁⣉⠨⡈⡌⢥⢱⠐⢕⣼⣿⣿   GPU: NVIDIA GeForce GTX 1650 M
   ⡪⣪⢣⢫⠪⢢⢅⢥⢡⢅⢅⣑⡨⡑⠅⠕⠔⠔⠄⠤⢨⠠⡰⠠⡂⣎⣼⣿⣿⣿   GPU: Intel CoffeeLake-H GT2 [U
   ⠪⣪⡪⡣⡫⡢⡣⡣⡣⡣⡣⣣⢪⡪⡣⡣⡲⣑⡒⡎⡖⢒⣢⣥⣶⣿⣿⣿⣿⣿   Memory: 2360MiB / 15857MiB
   ⢁⢂⠲⠬⠩⣁⣙⢊⡓⠝⠎⠮⠮⠚⢎⡣⡳⠕⡉⣬⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿   CPU Usage: 10%
   ⢐⠐⢌⠐⠅⡂⠄⠄⢌⢉⠩⠡⡉⠍⠄⢄⠢⡁⡢⠠⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿   Disk (/): 68G / 108G (67%)
abrikos 232 (1 rep)
Jun 2, 2025, 12:02 AM • Last activity: Jun 2, 2025, 06:44 AM
0 votes
1 answers
111 views
Lenovo 4k60hz Monitor is stuck at 30hz on Linux+Windows. Is this Lenovo EDID the problem?
This EDID is from a Lenovo P32p-20 4k monitor connected to a ThinkPad P16v Gen 2 laptop (Intel 155H). On other laptops (older thinkpads and macbooks) it works at 4k@60hz but on newer Intel ThinkPads including P16vG2 & X1 Carbon Gen 12 it only works at 4k@30hz. On Windows 11 I can select 59.95hz but...
This EDID is from a Lenovo P32p-20 4k monitor connected to a ThinkPad P16v Gen 2 laptop (Intel 155H). On other laptops (older thinkpads and macbooks) it works at 4k@60hz but on newer Intel ThinkPads including P16vG2 & X1 Carbon Gen 12 it only works at 4k@30hz. On Windows 11 I can select 59.95hz but then the resolution drops to 2560x1440. Going back to 4k reverts to 30hz. I originally suspected a flakey EDID or Linux decoding it but now I suspect the Intel/ThinkPad hardware. I note it says "EDID conformity: FAIL". The laptop's built-in panel (eDP-1) correctly shows "3840x2400 59.98*" but the external Lenovo monitor (DP-4) only goes to 30hz according to xrandr. OS is OpenSUSE w/KDE + Wayland however I think the desktop environment is unrelated because it's a kernel issue decoding the available modes, right? edid-decode (hex): 00 ff ff ff ff ff ff 00 30 ae a2 62 00 00 00 00 1c 1e 01 04 b5 46 27 78 3a e5 a5 ae 4f 43 ab 26 0c 50 54 a1 08 00 d1 00 d1 c0 b3 00 81 c0 81 80 95 00 a9 c0 81 00 4d d0 00 a0 f0 70 3e 80 30 20 35 00 b9 88 21 00 00 1a 00 00 00 fd 00 17 4c 1e a0 3c 01 0a 20 20 20 20 20 20 00 00 00 fc 00 4c 45 4e 20 50 33 32 70 2d 32 30 0a 20 00 00 00 ff 00 56 4e 41 34 59 35 33 52 0a 20 20 20 20 01 b7 02 03 1b f1 4e 61 60 5f 10 1f 05 14 04 13 12 11 03 02 01 23 09 7f 07 83 01 00 00 a3 66 00 a0 f0 70 1f 80 30 20 35 00 b9 88 21 00 00 1a 56 5e 00 a0 a0 a0 29 50 30 20 35 00 b9 88 21 00 00 1a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0c ---------------- Block 0, Base EDID: EDID Structure Version & Revision: 1.4 Vendor & Product Identification: Manufacturer: LEN Model: 25250 Made in: week 28 of 2020 Basic Display Parameters & Features: Digital display Bits per primary color channel: 10 DisplayPort interface Maximum image size: 70 cm x 39 cm Gamma: 2.20 DPMS levels: Off Supported color formats: RGB 4:4:4, YCrCb 4:4:4, YCrCb 4:2:2 First detailed timing includes the native pixel format and preferred refresh rate Color Characteristics: Red : 0.6826, 0.3105 Green: 0.2626, 0.6689 Blue : 0.1503, 0.0488 White: 0.3134, 0.3291 Established Timings I & II: IBM : 720x400 70.081663 Hz 9:5 31.467 kHz 28.320000 MHz DMT 0x04: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz DMT 0x09: 800x600 60.316541 Hz 4:3 37.879 kHz 40.000000 MHz DMT 0x10: 1024x768 60.003840 Hz 4:3 48.363 kHz 65.000000 MHz Standard Timings: DMT 0x45: 1920x1200 59.884600 Hz 16:10 74.556 kHz 193.250000 MHz DMT 0x52: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz DMT 0x3a: 1680x1050 59.954250 Hz 16:10 65.290 kHz 146.250000 MHz DMT 0x55: 1280x720 60.000000 Hz 16:9 45.000 kHz 74.250000 MHz DMT 0x23: 1280x1024 60.019740 Hz 5:4 63.981 kHz 108.000000 MHz DMT 0x2f: 1440x900 59.887445 Hz 16:10 55.935 kHz 106.500000 MHz DMT 0x53: 1600x900 60.000000 Hz 16:9 60.000 kHz 108.000000 MHz (RB) DMT 0x1c: 1280x800 59.810326 Hz 16:10 49.702 kHz 83.500000 MHz Detailed Timing Descriptors: DTD 1: 3840x2160 59.996625 Hz 16:9 133.312 kHz 533.250000 MHz (697 mm x 392 mm) Hfront 48 Hsync 32 Hback 80 Hpol P Vfront 3 Vsync 5 Vback 54 Vpol N Display Range Limits: Monitor ranges (Bare Limits): 23-76 Hz V, 30-160 kHz H, max dotclock 600 MHz Display Product Name: 'LEN P32p-20' Display Product Serial Number: 'VNA4Y53R' Extension blocks: 1 Checksum: 0xb7 ---------------- Block 1, CTA-861 Extension Block: Revision: 3 Underscans IT Video Formats by default Basic audio support Supports YCbCr 4:4:4 Supports YCbCr 4:2:2 Native detailed modes: 1 Video Data Block: VIC 97: 3840x2160 60.000000 Hz 16:9 135.000 kHz 594.000000 MHz VIC 96: 3840x2160 50.000000 Hz 16:9 112.500 kHz 594.000000 MHz VIC 95: 3840x2160 30.000000 Hz 16:9 67.500 kHz 297.000000 MHz VIC 16: 1920x1080 60.000000 Hz 16:9 67.500 kHz 148.500000 MHz VIC 31: 1920x1080 50.000000 Hz 16:9 56.250 kHz 148.500000 MHz VIC 5: 1920x1080i 60.000000 Hz 16:9 33.750 kHz 74.250000 MHz VIC 20: 1920x1080i 50.000000 Hz 16:9 28.125 kHz 74.250000 MHz VIC 4: 1280x720 60.000000 Hz 16:9 45.000 kHz 74.250000 MHz VIC 19: 1280x720 50.000000 Hz 16:9 37.500 kHz 74.250000 MHz VIC 18: 720x576 50.000000 Hz 16:9 31.250 kHz 27.000000 MHz VIC 17: 720x576 50.000000 Hz 4:3 31.250 kHz 27.000000 MHz VIC 3: 720x480 59.940060 Hz 16:9 31.469 kHz 27.000000 MHz VIC 2: 720x480 59.940060 Hz 4:3 31.469 kHz 27.000000 MHz VIC 1: 640x480 59.940476 Hz 4:3 31.469 kHz 25.175000 MHz Audio Data Block: Linear PCM: Max channels: 2 Supported sample rates (kHz): 192 176.4 96 88.2 48 44.1 32 Supported sample sizes (bits): 24 20 16 Speaker Allocation Data Block: FL/FR - Front Left/Right Detailed Timing Descriptors: DTD 2: 3840x2160 29.980602 Hz 16:9 65.688 kHz 262.750000 MHz (697 mm x 392 mm) Hfront 48 Hsync 32 Hback 80 Hpol P Vfront 3 Vsync 5 Vback 23 Vpol N DTD 3: 2560x1440 59.950550 Hz 16:9 88.787 kHz 241.500000 MHz (697 mm x 392 mm) Hfront 48 Hsync 32 Hback 80 Hpol P Vfront 3 Vsync 5 Vback 33 Vpol N Checksum: 0x0c ---------------- Preferred Video Timing if only Block 0 is parsed: DTD 1: 3840x2160 59.996625 Hz 16:9 133.312 kHz 533.250000 MHz (697 mm x 392 mm) Hfront 48 Hsync 32 Hback 80 Hpol P Vfront 3 Vsync 5 Vback 54 Vpol N ---------------- Preferred Video Timings if Block 0 and CTA-861 Blocks are parsed: DTD 1: 3840x2160 59.996625 Hz 16:9 133.312 kHz 533.250000 MHz (697 mm x 392 mm) Hfront 48 Hsync 32 Hback 80 Hpol P Vfront 3 Vsync 5 Vback 54 Vpol N VIC 97: 3840x2160 60.000000 Hz 16:9 135.000 kHz 594.000000 MHz Hfront 176 Hsync 88 Hback 296 Hpol P Vfront 8 Vsync 10 Vback 72 Vpol P ---------------- Native Video Resolution: 3840x2160 ---------------- edid-decode SHA: 84ddf9155376 2021-10-03 10:37:45 Warnings: EDID: Base EDID: Some timings are out of range of the Monitor Ranges: Horizontal Freq: 28.125 - 135.000 kHz (Monitor: 30.000 - 160.000 kHz) Failures: Block 1, CTA-861 Extension Block: Missing VCDB, needed for Set Selectable RGB Quantization to avoid interop issues. EDID conformity: FAIL $ xrandr Screen 0: minimum 16 x 16, current 10561 x 3780, maximum 32767 x 32767 eDP-1 connected primary 3840x2400+0+1379 (normal left inverted right x axis y axis) 344mm x 215mm 3840x2400 59.98*+ 2048x1536 59.95 1920x1440 59.97 1600x1200 59.96 1440x1080 59.99 1400x1050 59.98 1280x1024 59.89 1280x960 59.94 1152x864 59.96 1024x768 59.92 800x600 59.86 640x480 59.38 320x240 59.52 2560x1600 59.99 1920x1200 59.96 1680x1050 59.95 1440x900 59.89 1280x800 59.81 1152x720 59.97 960x600 59.96 928x580 59.88 800x500 59.50 768x480 59.90 720x480 59.71 640x400 59.95 320x200 58.96 3840x2160 60.00 3200x1800 59.99 2880x1620 60.00 2560x1440 59.96 2048x1152 59.98 1920x1080 59.96 1600x900 59.95 1368x768 59.88 1280x720 59.86 1024x576 59.90 864x486 59.92 720x400 59.55 640x350 59.77 DP-4 connected 6720x3780+3841+0 (normal left inverted right x axis y axis) 697mm x 392mm 6720x3780 29.99*+ 2048x1536 29.95 1920x1440 29.95 1600x1200 29.95 1440x1080 29.86 1400x1050 29.98 1280x1024 29.90 1280x960 29.82 1152x864 29.92 1024x768 29.89 800x600 29.55 640x480 29.85 320x240 27.50 2560x1600 29.99 1920x1200 29.95 1680x1050 29.95 1440x900 29.91 1280x800 29.83 1152x720 29.96 960x600 29.86 928x580 29.64 800x500 29.53 768x480 29.64 720x480 29.25 640x400 29.58 320x200 26.53 5120x2880 29.99 4096x2304 29.99 3840x2160 29.98 3200x1800 29.96 2880x1620 29.96 2560x1440 29.94 2048x1152 29.94 1920x1080 29.95 1600x900 29.92 1368x768 29.94 1280x720 29.93 1024x576 29.84 864x486 29.50 720x400 29.51 640x350 29.03 windows EDID enter image description here
Andrew (101 rep)
Dec 3, 2024, 12:29 PM • Last activity: May 25, 2025, 03:26 PM
1 votes
1 answers
2095 views
Resolution and scaling issues on dual monitor with nvidia (one 4k HiDPI, one VGA with converter)
I am trying Kubuntu 18.10 and I have a nvidia GTX 1060 (driver 418), a LG 27" 4k monitor (27UD58-B ) and an older HP 22" 1680x1050 monitor (HPw2207) with a VGA cord and a VGA-> DP converter. My issues are as follow: 1) I can't get my vga screen with converter to use a resolution above 1280*1024 2) I...
I am trying Kubuntu 18.10 and I have a nvidia GTX 1060 (driver 418), a LG 27" 4k monitor (27UD58-B ) and an older HP 22" 1680x1050 monitor (HPw2207) with a VGA cord and a VGA-> DP converter. My issues are as follow: 1) I can't get my vga screen with converter to use a resolution above 1280*1024 2) I'd like to use screen scaling because everything is so damn small on the 4k display. I'd want the scaling to only be done on the high-dpi display if possible. **Current setup:** I am using Nvidia drivers 418.56. $ nvidia-smi Mon Apr 15 15:07:47 2019 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 418.56 Driver Version: 418.56 CUDA Version: 10.1 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce GTX 106... Off | 00000000:23:00.0 On | N/A | | 10% 64C P0 25W / 120W | 739MiB / 6076MiB | 3% Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 958 G /usr/lib/xorg/Xorg 386MiB | | 0 1413 G /usr/bin/kwin_x11 192MiB | | 0 1432 G /usr/bin/krunner 1MiB | | 0 1434 G /usr/bin/plasmashell 111MiB | | 0 1509 G /usr/bin/latte-dock 29MiB | | 0 9387 G /usr/lib/firefox/firefox 1MiB | +-----------------------------------------------------------------------------+ and normal higher resolutions are not available: $ xrandr Screen 0: minimum 8 x 8, current 4864 x 2160, maximum 32767 x 32767 DVI-D-0 disconnected (normal left inverted right x axis y axis) HDMI-0 disconnected (normal left inverted right x axis y axis) DP-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 600mm x 340mm 3840x2160 60.00*+ 30.00 2560x1440 59.95 1920x1080 60.00 59.94 1600x900 60.00 1280x1024 60.02 1280x800 59.81 1280x720 60.00 59.94 1152x864 59.96 1024x768 60.00 800x600 60.32 720x480 59.94 640x480 59.94 59.93 DP-1 disconnected (normal left inverted right x axis y axis) DP-2 disconnected (normal left inverted right x axis y axis) DP-3 disconnected (normal left inverted right x axis y axis) DP-4 connected 1024x1280+3840+832 left (normal left inverted right x axis y axis) 376mm x 301mm 1280x1024 60.02*+ 1280x960 60.00 1152x864 75.00 1024x768 85.00 75.03 70.07 60.00 800x600 85.06 75.00 72.19 640x480 85.01 59.94 DP-5 disconnected (normal left inverted right x axis y axis) **First issue: fixing resolution** I have tried to "addmode" using xrandr, but I get a BadMatch error. This is apparently normal with nvidia video cards. $ cvt 1680 1050 60 # 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync $ xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync $ xrandr --addmode DP-4 1680x1050_60.00 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 140 (RANDR) Minor opcode of failed request: 18 (RRAddOutputMode) Serial number of failed request: 45 Current serial number in output stream: 46 My /etc/X11/xorg.conf file has been generated by nvidia usind sudo nvidia-xconfig : $ sudo nvidia-xconfig Using X configuration file: "/etc/X11/xorg.conf". Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup' New X configuration file written to '/etc/X11/xorg.conf' The xorg.conf only contains one monitor, is this normal. I have tried to add a "Modeline" line under the Monitor0, but it didnt change anything. # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 418.56 Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection Section "Files" EndSection Section "InputDevice" # generated from default Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" # generated from default Identifier "Keyboard0" Driver "kbd" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName "Unknown" HorizSync 28.0 - 33.0 VertRefresh 43.0 - 72.0 Option "DPMS" EndSection Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 EndSubSection EndSection **Second issue : scaling** I have taken two steps to allow the HiDPI screen to display text and GUI in a more readable size: 1) System settings - fonts - Force Font DPI 144 (instead of 96) 2) system settings- display and monitors - scale display 1.5 (instead of 1). I would lke these settings to only apply to the 4k monitor, is this possible at all?
Zoltan (111 rep)
Apr 15, 2019, 07:19 PM • Last activity: May 21, 2025, 08:04 PM
0 votes
0 answers
157 views
Splitting monitor xrandr into multiple split-screen virtual monitors not working
I am running Redhat 8 that I am using with a [43"x24" LG monitor][1]. I would like to divide the monitor into 2 or 4 sections that I can use as individual virtual monitors using `xrandr`. I found a few guides online (like [this](https://www.baeldung.com/linux/xrandr-split-display-virtual-screen) and...
I am running Redhat 8 that I am using with a 43"x24" LG monitor . I would like to divide the monitor into 2 or 4 sections that I can use as individual virtual monitors using xrandr. I found a few guides online (like [this](https://www.baeldung.com/linux/xrandr-split-display-virtual-screen) and [this](https://mrwaggel.be/post/xrandr-virtual-splitscreen-cookbook#:~:text=As%20of%20xrandr%20version%201.5%20it%20has%20become,for%20more%20information.%20xrandr%20--setmonitor%20%27vn%27%20%27vw%27%2F%27pw%27x%27vh%27%2F%27ph%27%2B%27wo%27%2B%27ho%27%20%27od%27)) that describe how to do it, but when I attempt it, nothing happens. Here is what I did:
$ xrandr --listactivemonitors
     0: +*DP-1 3840/600x2160/240+0+0 DP-1

$ xrandr --setmonitor LEFT 1920/300x2160/340+0+0 DP-1
  output list DP-1
  add monitor DP-1
  output name DP-1
$ xrandr --setmonitor RIGHT 1920/300x2160/340+1920+0 none
$ xrandr --fb 3841x2160
$ xrandr --fb 3840x2160

$ xrandr --listactivemonitors
  0: LEFT 1920/300x2160/340+0+0 DP-1
  1: RIGHT 1920/300x2160/340+1920+0
As you can see, xrandr detects both "monitors" after I execute the --setmonitor command, but my screen still only has one division and nothing has changed. The guides said that if nothing happens, you might need to refresh the monitors using the --fb command, hence changing the resolution by one pixel and back again after setting the monitors. Still, nothing happens. Does anyone know why this wouldn't be working and potentially how to fix it?
Eric Snyder (1 rep)
Aug 16, 2024, 03:11 PM • Last activity: May 20, 2025, 09:29 AM
8 votes
1 answers
2404 views
How to rename devices for graphical output such as VGA0
On my Laptop the names of my graphical outputs change depending on what chip is activated in the BIOS. This leads to problems in some scripts where outputs such as VGA-0 or LVDS-0 are specified. So I want to rename the graphical outputs, similar to how you can specify persistent names for network de...
On my Laptop the names of my graphical outputs change depending on what chip is activated in the BIOS. This leads to problems in some scripts where outputs such as VGA-0 or LVDS-0 are specified. So I want to rename the graphical outputs, similar to how you can specify persistent names for network devices with udev. But I can't find anything that would explain how or if this is even possible at all. In /sys I could find kernel names such as as: /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-DVI-D-1 /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-VGA-1 while xrandr reports the names as DVI1 and VGA1. So they have to be renamed somewhere(?) When I call udevadm info on one of those devices I get a lot of information but not the names used by xrandr and other X tools. So is it possible to create a udev rule to rename the outputs and if so how? Are the names even set by udev?
ifschleife (273 rep)
Oct 5, 2013, 12:43 PM • Last activity: May 19, 2025, 07:08 PM
Showing page 1 of 20 total questions