Sample Header Ad - 728x90

Unix & Linux Stack Exchange

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

Latest Questions

1 votes
0 answers
20 views
No signal on VGA monitor when booting Arch Linux with RX480 GPU
I have a problem with system boot. There is no signal communication ("Input not supported") on the monitor, but only on Linux. My specs are below: * Arch Linux * GPU: MSI RX480 (DVI-D) * Adapter: DVI-D to VGA * Monitor: VGA On Windows OS with the same configuration, everything is okay. The kernel pa...
I have a problem with system boot. There is no signal communication ("Input not supported") on the monitor, but only on Linux. My specs are below: * Arch Linux * GPU: MSI RX480 (DVI-D) * Adapter: DVI-D to VGA * Monitor: VGA On Windows OS with the same configuration, everything is okay. The kernel parameter nomodeset makes the system start, but it doesn't solve the problem. I also tried the parameter amdgpu.dc=0, but it doesn't work. With the same configuration on Windows, everything is fine. So I think it's a problem with Linux.
Janusz Kruszewicz (11 rep)
Aug 2, 2025, 01:34 PM • Last activity: Aug 2, 2025, 01:44 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
2 votes
3 answers
2112 views
Macbook Ubuntu Server: how can I have the screen turn off when lid closed (but keep server running)?
So I currently have it so the macbook running Ubuntu server stays on when shut but the screen stays on which I do not want. How can I have the screen turn off but keep everything running?
So I currently have it so the macbook running Ubuntu server stays on when shut but the screen stays on which I do not want. How can I have the screen turn off but keep everything running?
user232748 (21 rep)
May 24, 2017, 01:10 AM • Last activity: Jul 20, 2025, 04:08 AM
7 votes
1 answers
3019 views
Second monitor doesn't wake after going to standby (without annoying workaround)
### Background I've had this issue in one way or another for a long time now (years), and in multiple configurations. I've updated the driver & kernel on multiple occasions, and at this point I'm really at a loss as to where the culprit is. It seems to be some kind of race condition where if one mon...
### Background I've had this issue in one way or another for a long time now (years), and in multiple configurations. I've updated the driver & kernel on multiple occasions, and at this point I'm really at a loss as to where the culprit is. It seems to be some kind of race condition where if one monitor is 'ready' before the other, the other just gets 'No Input', despite xrandr (and i3) thinking it's connected and should be working. ### Old setup - One 4K monitor - One 1080p monitor Behavior: Both monitors goes to sleep (from inactivity), and upon moving the mouse only one of them (the 1080p monitor) correctly wakes. The other one wakes a few seconds later, but then shows 'No Input'. Workaround: - Run xrandr.sh (old version, see below for the new version) - I can't say for certain if I had to do something else to get it working (the whole process became muscle memory more or less...) ### New setup - One 4K monitor (same as previous setup) - One 4K monitor (new) Behavior: Similar behavior, but now the behavior applies to the *new* monitor. The old one behaves just fine (just like the old 1080p monitor). Workaround 1 (remembering to wake the monitor first): - (*before waking screens by moving mouse/keyboard*) Wake 'slow' screen by using menu buttons on monitor - When monitor has completed resume from standby and shows menu items, move mouse/keyboard to wake monitors. - Both monitors work correctly! Workaround 2 (forgetting to wake the monitor first): - (*move mouse/keyboard*) Both monitors wake. One works correctly, the other takes more time to wake from suspend and then just shows 'No Input'. - Run xrandr --output HDMI-0 --off, which puts the monitor back in standby. - Apply workaround 1. - Both monitors work correctly! ### Details Nvidia driver version (from Arch repos): 455.45.01-6
$ lspci | grep NV
01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP104 High Definition Audio Controller (rev a1)
$ xrandr
Screen 0: minimum 8 x 8, current 7680 x 2160, maximum 32767 x 32767
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 621mm x 341mm
   3840x2160     60.00*+  59.94    50.00    30.00    29.97    25.00    23.98    23.98
   2560x1600     59.97
   2560x1440     59.95
   1920x1080     60.00    59.94    50.00    60.00    50.04
   1680x1050     59.95
   1440x900      59.89
   1440x576      50.00
   1440x480      59.94
   1280x1024     75.02    60.02
   1280x960      60.00
   1280x800      59.81
   1280x720      60.00    59.94    50.00
   1024x768      75.03    70.07    60.00
   800x600       75.00    72.19    60.32    56.25
   720x576       50.00
   720x480       59.94
   640x480       75.00    72.81    59.94
   640x350       70.07
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 connected 3840x2160+3840+0 (normal left inverted right x axis y axis) 1280mm x 720mm
   4096x2160     29.97 +  25.00    24.00    23.98
   3840x2160     29.97*   25.00    23.98    23.98
   1920x1080     60.00    59.94    50.00    29.97    25.00    23.98    60.00    50.04
   1280x1024     60.02
   1280x720      59.94    50.00
   1024x768      60.00
   800x600       60.32
   720x576       50.00
   720x480       59.94
   640x480       59.95    59.93    59.94
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
dmesg shows nothing out of the ordinary. xrandr.sh:
# This used to be uncommented, but doesn't cut it anymore with the new setup
#xrandr --output HDMI-0 --off

sleep 0.5

xrandr --output HDMI-0 --primary --mode 3840x2160 --panning 0x0
xrandr --output DP-1 --mode 3840x2160 --right-of HDMI-0
### Attempted solutions Over the years, I've googled several times for similar issues, and I've never really found anything promising. I used to think it was something weird with the old 4K monitor (like a bad EDID), but now that I'm having the same issue with the new monitor I've discarded that suspicion. I've found a lot of threads about screens failing to resume after *suspend* (usually fixed with modeset), but in my case there's no real suspend happening, it's simply a screen off/blanking (and it only happens for one of the monitors!). Furthermore, I've also not found any issue similar to mine with respect to the 'race condition'-like nature of the issue/workaround.
erb (123 rep)
Jan 17, 2021, 09:56 AM • Last activity: Jul 20, 2025, 12:09 AM
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
1 votes
1 answers
1938 views
How to use three monitors on a laptop with linux mint through hdmi and usb-c
I have an HP EliteBook 840 G7 Notebook, with Linux Mint 20.3. My goal is to connect two more monitors to the machine. I have a monitor connected via HDMI port, and a monitor connected via USB-C port. Both monitors at the moment work if connected individually, but if I connect both, the one on HDMI t...
I have an HP EliteBook 840 G7 Notebook, with Linux Mint 20.3. My goal is to connect two more monitors to the machine. I have a monitor connected via HDMI port, and a monitor connected via USB-C port. Both monitors at the moment work if connected individually, but if I connect both, the one on HDMI takes over, and no signal goes to the one connected via USB-C. The strange part is that I have been able to work with three monitors for some time, up until (several months ago) I have upgraded the system (from 20.1 to 20.2, I think) ad I lost this ability. After reading this answer I have tried to change settings in the bios (allocated bigger video memory, and "enabled high resolution mode" (something involving USB devices in a dock, and Gigabit NIC), but I had no results.
Fabio (535 rep)
Dec 19, 2022, 11:26 AM • Last activity: Jun 22, 2025, 08:06 AM
1 votes
1 answers
223 views
Monitor Has Lines and Wrong Colours on Ubuntu
I've just plugged in my monitor to my Lenovo ThinkPad T14s Gen 2i with Mesa Intel Xe Graphics (TGL GT2) running Ubuntu Desktop 22.04.3 LTS, and on both Wayland and X11, it looks completely wrong, and a portion of the right is cutoff. It works fine in Windows 11. [![External Monitor][1]][1] What it s...
I've just plugged in my monitor to my Lenovo ThinkPad T14s Gen 2i with Mesa Intel Xe Graphics (TGL GT2) running Ubuntu Desktop 22.04.3 LTS, and on both Wayland and X11, it looks completely wrong, and a portion of the right is cutoff. It works fine in Windows 11. External Monitor What it should look like (note clock is displayed in bottom right): What it should look like I've tried changing the colour profile, resolution, and refresh rate, as well as closing the lid (turning off laptop screen) to no avail.
Sidney (11 rep)
Dec 2, 2023, 04:25 PM • Last activity: Jun 20, 2025, 09:30 PM
0 votes
0 answers
30 views
Scaling issues on multiple monitors
I've just installed Kubuntu (so using KDE Plasma) and I straight-away noticed that the scaling was a bit messed up. My setup is a 15" 1920x1080 144Hz laptop screen and a 27" 3480x2160 60Hz external monitor. I'm currently using X11 as a display server. On the laptop screen things are just too big and...
I've just installed Kubuntu (so using KDE Plasma) and I straight-away noticed that the scaling was a bit messed up.

My setup is a 15" 1920x1080 144Hz laptop screen and a 27" 3480x2160 60Hz external monitor. I'm currently using X11 as a display server.

On the laptop screen things are just too big and on the external one some are okay and some are not. For example, when I opened Firefox everything was just too small, but on Google Chrome everything was just fine. I tried going into the settings and tried to change the "global scale" setting, but it does nothing.

Can somebody help me? Thanks

EDIT: I tried installing Wayland and the scale works, but everything gets blurrier. Also, now on the laptop screen the scale is correct. On the external monitor, instead, everything is now smaller, apart from the taskbar.
fedebertos (1 rep)
Jun 17, 2025, 06:49 PM • Last activity: Jun 18, 2025, 04:38 AM
0 votes
2 answers
3718 views
X11 not setting primary monitor according to config file
^\_^ ### Synopsis I want to specify my primary monitor using system-wide X11 configuration files, but my present configuration files don't seem to do anything! 0_0 ### My situation I'm coming from the same place as this question here: https://unix.stackexchange.com/questions/565553/why-doesnt-x11-se...
^\_^ ### Synopsis I want to specify my primary monitor using system-wide X11 configuration files, but my present configuration files don't seem to do anything! 0_0 ### My situation I'm coming from the same place as this question here: https://unix.stackexchange.com/questions/565553/why-doesnt-x11-set-the-only-monitor-as-primary-by-default Namely, I need the only monitor I have connected to be recognized as my primary monitor so that my tray icons in i3 work. That said, I don't want to solve this using using xrandr, because I'm trying to use as much as possible the same dotfiles on two different machines which have different hardware configurations. Therefore, I would like to solve this using the system-wide X11 configuration files. However, it doesn't seem to work as expected. :o ### My present setup At present I have no xorg.conf file, and I do have a xorg.conf.d/10-monitor.conf, the contents of which (following [this Arch Linux wiki page](https://wiki.archlinux.org/index.php/Multihead#Configuration_using_xorg.conf)) are here:
Section "Monitor"
    Identifier  "HDMI2"
    Option      "Primary" "true"
EndSection
In light of this configuration file, here is my xrandr output for a fresh X session:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP1 disconnected primary (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 480mm x 270mm
   1920x1080     60.00*+
   1600x1200     60.00  
   1680x1050     59.88  
   1400x1050     59.95  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x800      59.91  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    59.94  
   720x400       70.08  
HDMI3 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
As you can see, despite having specified HDMI2 in the configuration files as my primary monitor, DP1 is set as the primary. ### Stuff I've tried I've verified that my configuration file is being processed by X11 by introducing typos and observing that X11 fails to launch due to errors. I've tried placing the configuration file above in /etc/X11/xorg.conf instead of /etc/X11/xorg.conf.d/10-monitor.conf. I've tried including the following in an attempt to specify the default primary monitor as not primary:
Section "Monitor"
    Identifier  "DP1"
    Option      "Primary" "false"
EndSection
I've tried launching with the default xorg.conf generated by X -configure alongside my 10-monitor.conf. ### Miscellaneous information
$ uname -a
Linux cheesy-6600k 5.9.8-arch1-1 #1 SMP PREEMPT Tue, 10 Nov 2020 22:44:11 +0000 x86_64 GNU/Linux
$ lscpu | grep name
Model name:                      Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz
Aardbei (101 rep)
Nov 14, 2020, 06:15 PM • Last activity: Jun 13, 2025, 03:09 PM
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
0 votes
0 answers
49 views
Cannot set full native resolution of external monitor
I have a Thinkpad X1 Carbon Gen 12 with the following specs: ``` $ inxi -Fzxx System: Kernel: 6.14.9-300.fc42.x86_64 arch: x86_64 bits: 64 compiler: gcc v: 15.1.1 Desktop: GNOME v: 48.2 tk: GTK v: 3.24.49 wm: gnome-shell dm: GDM Distro: Fedora Linux 42 (Workstation Edition) Machine: Type: Laptop Sys...
I have a Thinkpad X1 Carbon Gen 12 with the following specs:
$ inxi -Fzxx                                          
System:
  Kernel: 6.14.9-300.fc42.x86_64 arch: x86_64 bits: 64 compiler: gcc v: 15.1.1
  Desktop: GNOME v: 48.2 tk: GTK v: 3.24.49 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 42 (Workstation Edition)
Machine:
  Type: Laptop System: LENOVO product: 21KCCTO1WW v: ThinkPad X1 Carbon Gen 12
    serial:  Chassis: type: 10 serial: 
  Mobo: LENOVO model: 21KCCTO1WW serial: 
    part-nu: LENOVO_MT_21KC_BU_Think_FM_ThinkPad X1 Carbon Gen 12 UEFI: LENOVO
    v: N3YET74W (1.39 ) date: 12/18/2024
Battery:
  ID-1: BAT0 charge: 21.0 Wh (38.8%) condition: 54.1/57.0 Wh (94.9%)
    volts: 11.2 min: 11.7 model: BYD 5B11H56386 serial: 
    status: discharging
CPU:
  Info: 16-core (6-mt/10-st) model: Intel Core Ultra 7 155H bits: 64
    type: MST AMCP arch: Meteor Lake rev: 4 cache: L1: 1.6 MiB L2: 18 MiB
    L3: 24 MiB
  Speed (MHz): avg: 400 min/max: 400/4500:4800:3800:2500 cores: 1: 400
    2: 400 3: 400 4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400
    12: 400 13: 400 14: 400 15: 400 16: 400 17: 400 18: 400 19: 400 20: 400
    21: 400 22: 400 bogomips: 131788
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Meteor Lake-P [Intel Arc Graphics] vendor: Lenovo
    driver: i915 v: kernel arch: Xe-LPG ports: active: eDP-1 empty: DP-1, DP-2,
    DP-3, DP-4, HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:7d55
  Display: wayland server: X.org v: 1.21.1.16 with: Xwayland v: 24.1.6
    compositor: gnome-shell driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: iris gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: Samsung 0x419f res: 2880x1800 dpi: 242
    diag: 356mm (14")
  API: OpenGL v: 4.6 vendor: intel mesa v: 25.0.6 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: Mesa Intel Arc Graphics (MTL)
    device-ID: 8086:7d55 display-ID: :0.0
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
  Info: Tools: api: glxinfo x11: xdriinfo, xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel Meteor Lake IPU vendor: Lenovo driver: N/A bus-ID: 00:05.0
    chip-ID: 8086:7d19
  Device-2: Intel Meteor Lake-P HD Audio vendor: Lenovo
    driver: sof-audio-pci-intel-mtl bus-ID: 00:1f.3 chip-ID: 8086:7e28
  API: ALSA v: k6.14.9-300.fc42.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.4.4 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Intel Wi-Fi 7 AX1775 /AX1790 /BE20 /BE401/BE1750 2x2
    driver: iwlwifi v: kernel pcie: speed: 16 GT/s lanes: 1 bus-ID: 09:00.0
    chip-ID: 8086:272b
  IF: wlp9s0f0 state: up mac: 
Bluetooth:
  Device-1: Intel BE200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 3-10:4 chip-ID: 8087:0036
  Report: btmgmt ID: hci0 rfk-id: 1 state: up address:  bt-v: 5.4
    lmp-v: 13
Drives:
  Local Storage: total: 931.51 GiB used: 651.65 GiB (70.0%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WD BLACK SN850X 1000GB
    size: 931.51 GiB speed: 63.2 Gb/s lanes: 4 serial:  temp: 36.9 C
Partition:
  ID-1: / size: 929.91 GiB used: 651.28 GiB (70.0%) fs: btrfs dev: /dev/dm-0
    mapped: luks-5a7cd77f-8bf6-4f84-b372-70e01085de13
  ID-2: /boot size: 973.4 MiB used: 360.1 MiB (37.0%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19.3 MiB (3.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 929.91 GiB used: 651.28 GiB (70.0%) fs: btrfs
    dev: /dev/dm-0 mapped: luks-5a7cd77f-8bf6-4f84-b372-70e01085de13
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  Src: /sys System Temperatures: cpu: 54.0 C mobo: N/A
  Fan Speeds (rpm): cpu: 4654 fan-2: 4183
Info:
  Memory: total: 32 GiB note: est. available: 30.78 GiB used: 7.25 GiB (23.6%)
  Processes: 537 Power: uptime: 4d 6h 56m wakeups: 7 Init: systemd v: 257
    target: graphical (5) default: graphical
  Packages: pm: rpm pkgs: N/A note: see --rpm pm: flatpak pkgs: 22
    Compilers: gcc: 15.1.1 Shell: Zsh v: 5.9 running-in: gnome-terminal
    inxi: 3.3.38
My problem is that I cannot set the resolution on my external monitor (LG 34UM95-P) to 3440 x 1440 when I connect the laptop with the monitor via HDMI. The maximum that I get is 1980 x 1080. Interestingly, when I connect the monitor via a USB-C dongle, it sporadically works with the 3440 x 1440 resolution (I need to plug/unplug multiple times for this to work). Most of the time, I only get a black screen though. Here is what I have tried so far: - Changed the HDMI cable (e.g., used HDMI 2.1 cable). Did not solve the issue. - Checked with different laptops. On the Macbook Air M4 it works, on a Dell (Intel Arc; same GPU) with Ubuntu it does not work. - Checked with a different OS on the same laptop. It works on my Lenovo when I install/use Windows 11. - Installed the latest firmware and OS updates. No changes. I am running out of options. I believe that this is a driver problem with the Intel Arc GPU, but I am not sure how I can solve this issue since my drivers are all up to date.
user3475602 (101 rep)
Jun 7, 2025, 04:11 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
1 answers
1979 views
Why is my linux screen blurry on my monitor but it isn't when running Windows?
I have a linux machine running Centos connected to two ViewSonic monitors. One is 22 inches and the other is 24 inches. I also have a Windows machine connected only to the 24 inch monitor pressing the input switch to go back and forth between Linux and Windows. The thing I noticed is that on the mon...
I have a linux machine running Centos connected to two ViewSonic monitors. One is 22 inches and the other is 24 inches. I also have a Windows machine connected only to the 24 inch monitor pressing the input switch to go back and forth between Linux and Windows. The thing I noticed is that on the monitor that has both Linux and Windows connected to it, when running Linux, the screen seems somewhat blurry and the 'blacks' on the screen are not as deep as it is on the other ViewSonic monitor but on this same 24 inch monitor when switched to Windows machine, the same sharpness and color levels that are seen on the 22 inch are also now on the 24 inch. Is it a graphics driver issue because the Linux screen on the 22 inch seems perfectly fine but it seems like there is some sort of "blurry" filter that is overlayed on the 24 inch. The best way I can describe it is that "ClearType" thing that is found on Windows when used on text.
AMVPlusPlus (195 rep)
Nov 7, 2018, 07:56 PM • Last activity: Jun 1, 2025, 03:05 PM
3 votes
2 answers
2183 views
No output to 2nd monitor
I'm using the `video-intel` driver on Manjaro Linux and my 2nd monitor is black-screening; when I connect it it just says "entering power saver mode". I've used the same laptop with Linux Mint 17.3 and I was able attach multiple monitors without issue, so I assume the issue has to do with Manjaro's...
I'm using the video-intel driver on Manjaro Linux and my 2nd monitor is black-screening; when I connect it it just says "entering power saver mode". I've used the same laptop with Linux Mint 17.3 and I was able attach multiple monitors without issue, so I assume the issue has to do with Manjaro's Intel drivers (I did run into some issues with mhwd when I installed Manjaro). I've tried using arandr to configure both monitors. The second monitor shows up but when I try to apply or save the configuration I get:
XRandR failed: XRandR returned error code 1: xrandr: cannot find mode None
The second monitor appears to show up as connected when I test with xrandr -q. Here is the output below (**HDMI1**): 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 1920x1080 60.00 + 40.00 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 connected (normal left inverted right x axis y axis) 1920x1200 59.95 + 1920x1080 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98 1920x1080i 60.00 50.00 59.94 1600x1200 60.00 1280x1024 75.02 60.02 1152x864 75.00 1280x720 60.00 50.00 59.94 1024x768 75.03 60.00 800x600 75.00 60.32 720x576 50.00 720x576i 50.00 720x480 60.00 59.94 720x480i 60.00 59.94 640x480 75.00 60.00 59.94 720x400 70.08 HDMI2 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) 1920x1080 (0x49) 138.659MHz +HSync -VSync h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 66.66KHz v: height 1080 start 1083 end 1088 total 1111 clock 60.00Hz
zachaz35 (31 rep)
Apr 11, 2017, 12:13 AM • Last activity: May 21, 2025, 09:02 AM
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
6 votes
3 answers
4757 views
In linux console (no X), how to stretch console screen to fit monitor
Google could not help me with this problem. I hope you guys can. When I boot my computer, the first few screens presented to me by BIOS and boot menu are stretched to fit the LCD screen. Once Linux boots, however, the screen shrinks so one pixel of the console font uses only one pixel of the screen,...
Google could not help me with this problem. I hope you guys can. When I boot my computer, the first few screens presented to me by BIOS and boot menu are stretched to fit the LCD screen. Once Linux boots, however, the screen shrinks so one pixel of the console font uses only one pixel of the screen, causing the usable area of screen to shrink to only the upper left part of the screen, since the console uses only 640x480 of the 1280x1024 size monitor. I know I can use the VGA= boot flag to set modes that increases the number of rows and columns of text, so that the whole screen is used. However, what I want to do is keep the number of rows and columns *as they are* but scale the whole screen to fit the monitor, just like the BIOS boot messages. I need to do this in a way that will work on any monitor automatically. **EDIT**: I've not given info on hardware on purpose, because I want the solution to be hardware-agnostic. The distribution I'm using is Ubuntu 10.10.
Lauritz V. Thaulow (3647 rep)
May 23, 2011, 08:19 AM • Last activity: May 7, 2025, 02:19 AM
0 votes
2 answers
2702 views
Change screen resolution of Xenserver Console for a CentOS VM
I need to increase screen resolution to 1024x800 for my XEN console. I tried to place vga=791 at the end of kernel line the file `/boot/grub/grub.conf` but it seems that most of the boot arguments are ignored during startup. Probably inside XenSever /boot is not really used in order to launch CentOS...
I need to increase screen resolution to 1024x800 for my XEN console. I tried to place vga=791 at the end of kernel line the file /boot/grub/grub.conf but it seems that most of the boot arguments are ignored during startup. Probably inside XenSever /boot is not really used in order to launch CentOS. I even tried to add boot option in the boot option tab (VM -> Property -> Boot Option) but doesn't work.
Max Cuttins (153 rep)
Feb 27, 2014, 01:14 PM • Last activity: Apr 18, 2025, 03:05 AM
1 votes
1 answers
6170 views
Multiple dummy monitors on remote headless Linux for VNC to local multiple monitors
I submit defeat. I have been trying to configure my remote Linux box to have two dummy monitors so that I can use multiple local monitors to VNC into it. I'm surprised that no one else has needed help with this to find something on the web. I've also tried creating a monitor on the Linux box that is...
I submit defeat. I have been trying to configure my remote Linux box to have two dummy monitors so that I can use multiple local monitors to VNC into it. I'm surprised that no one else has needed help with this to find something on the web. I've also tried creating a monitor on the Linux box that is double wide. Then use x11vnc to -clip an area for each display. But I'm having issues creating a monitor that large with the dummy driver. I do have a graphics adapter installed that has two DisplayPorts but am not planning to use it. When I was using the real adapter, I was getting sluggish behavior. When I tried the dummy, it was very responsive. So I'm hoping to just create another dummy. I'm using KDE DM. I have seen many examples of using VIRTUAL1 but I can't get that working with the dummy driver. I tried adding Option "VirtualHeads" "2" into the config but the dummy driver doesn't recognize it. I’ve seen suggestions of using Xvfb but it has been deprecated by the dummy driver since 2016. Here are some details.
$ uname -a
Linux bgrupczy-linux 5.8.0-53-generic #60~20.04.1-Ubuntu SMP Thu May 6 09:52:46 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
/usr/share/X11/xorg.conf.d/xorg.conf is empty The following was gleaned from searching the internet. Once I got it working I stopped tweaking it so it may have flaws but that don't seem to affect me. /usr/share/X11/xorg.conf.d/dummy-1920x1080.conf has the following which gets me my single 1920x1080.
Section "Monitor"
  Identifier "Monitor0"
  HorizSync 28.0-80.0
  VertRefresh 48.0-75.0
  Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
EndSection

Section "Device"
  Identifier "Card0"
  Driver "dummy"
  VideoRam 256000
EndSection

Section "Screen"
  Identifier "Screen0"
  Device "Card0"
  Monitor "Monitor0"
  DefaultDepth 24
  SubSection "Display"
    Depth 24
    Modes "1920x1080_60.00"
  EndSubSection
EndSection
$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 240, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
   1920x1080     60.00* 
   1680x1050     70.00    60.00  
   1400x1050     70.00    60.00  
   1600x900      60.00  
   1280x1024     75.00    60.00  
   1440x900      60.00  
   1400x900      60.00  
   1280x960      60.00  
   1368x768      60.00  
   1360x768      60.00  
   1280x800      60.00  
   1152x864      75.00    70.00    60.00  
   1280x720      60.00  
   1024x768      75.00    70.00    60.00  
   1024x576      60.00  
   960x600       60.00  
   832x624       75.00  
   960x540       60.00  
   800x600       75.00    72.00    60.00    56.00  
   840x525       70.00    60.00  
   864x486       60.00  
   700x525       70.00    60.00  
   800x450       60.00  
   640x512       75.00    60.00  
   720x450       60.00  
   700x450       60.00  
   640x480       75.00    73.00    60.00  
   684x384       60.00  
   680x384       60.00  
   640x400       60.00  
   576x432       75.00    70.00    60.00  
   640x360       60.00  
   512x384       75.00    70.00    60.00  
   512x288       60.00  
   416x312       75.00  
   480x270       60.00  
   400x300       75.00    72.00    60.00    56.00  
   432x243       60.00  
   320x240       75.00    73.00    60.00
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Device 9bc5 (rev 05)
I can see from xrandr that my monitor is called "default". So I tried this:
$ cvt 3840 1080
# 3840x1080 59.96 Hz (CVT) hsync: 67.16 kHz; pclk: 346.00 MHz
Modeline "3840x1080_60.00"  346.00  3840 4088 4496 5152  1080 1083 1093 1120 -hsync +vsync
$ xrandr --newmode "3840x1080_60.00"  346.00  3840 4088 4496 5152  1080 1083 1093 1120 -hsync +vsync
$ xrandr --addmode default "3840x1080_60.00"
$ xrandr --output default --mode "3840x1080_60.00"
The last line gives me:
xrandr: Configure crtc 0 failed
I tried to increase VideoRam to 512000 (double) to make sure I had room. Not sure what to do there. I have 32G ram. And ALL xrandr commands give me:
: Failed to get size of gamma for output default
and I figure that's because it's a dummy monitor that has no gamma. I'm currently Working within the VNC session. Do I need to shut down x11vnc to get xrandx to complete? I'm at my wits end. I'm starting x11vnc like this:
x11vnc -loop -forever -shared -repeat -noxdamage -xrandr -display :0 -clip 1920x1080+0+0
The linux box is within my local net so I'm not concerned with authentication/passwords. **Edit 2021-05-27:** More lurking and I found some options. I was able to get a double wide screen and then create two x11vnc instances. But this isn't optimal. The Linux box still sees this as a single screen. Now is there a way to take that screen and tell the Linux box to split it? For example, if I maximize a window in KDE it will not span both local screens? Xorg conf file:
Section "Monitor"
  Identifier "Monitor0"
EndSection

Section "Device"
  Identifier "Card0"
  Driver "dummy"
  VideoRam 512000
EndSection

Section "Screen"
  Identifier "Screen0"
  Device "Card0"
  Monitor "Monitor0"
  DefaultDepth 24
  SubSection "Display"
    Depth 24
    Virtual 3840 1080
  EndSubSection
EndSection
x11vnc -loop -forever -shared -repeat -noxdamage -xrandr -display :0 -rfbport 5900 -clip 1920x1080+0+0
x11vnc -loop -forever -shared -repeat -noxdamage -xrandr -display :0 -rfbport 5901 -clip 1920x1080+1920+0
I can then connect to VNC displays :0 and :1 and arrange them on local monitors and resize the windows to fit those monitors. When a dialog window appears, many times it's in the middle of the Linux "big screen" which for me spans both monitors... **Edit 2021-11-12:** One solution: https://superuser.com/a/1188573/514658 The real issue is not being able to get my VNC viewer to go full screen and only span two of my three monitors. The only option available in the viewer is to use ALL monitors which then blocks my use of the Windows side. DisplayFusion at above link did the trick. Now I can seamlessly drag between my two monitors and not get stuck on the edge of one. **Edit 2021-11-16:** "SOLVED": Instead of using DisplayFusion, which is a big hammer, more searching led me to Windows PowerShell. No need for a third party utility. I only need to move/resize a specific window to fit on two of my three monitors full screen. Here it is:
Add-Type @"
  using System;
  using System.Runtime.InteropServices;

  public class Win32 {
    [DllImport("user32.dll")]
    [return: MarshalAs(UnmanagedType.Bool)]
    public static extern bool GetWindowRect(IntPtr hWnd, out RECT lpRect);

    [DllImport("user32.dll")]
    [return: MarshalAs(UnmanagedType.Bool)]
    public static extern bool GetClientRect(IntPtr hWnd, out RECT lpRect);

    [DllImport("user32.dll")]
    [return: MarshalAs(UnmanagedType.Bool)]
    public static extern bool MoveWindow(IntPtr hWnd, int X, int Y, int nWidth, int nHeight, bool bRepaint);
  }

  public struct RECT
  {
    public int Left;        // x position of upper-left corner
    public int Top;         // y position of upper-left corner
    public int Right;       // x position of lower-right corner
    public int Bottom;      // y position of lower-right corner
  }

"@

$h = (Get-Process vnc-E4_6_3-x86_win32_viewer).MainWindowHandle
bgrupczy (11 rep)
May 27, 2021, 09:45 PM • Last activity: Apr 15, 2025, 03:03 PM
2 votes
2 answers
18228 views
Set monitor refresh rate in an Xorg config
I have a monitor that supports 200hz refresh rate, and would like to be able to use that. When I run `xrandr`, it shows this option: $ xrandr Screen 0: minimum 320 x 200, current 5560 x 1920, maximum 16384 x 16384 DP-1 connected 2560x1080+0+420 (normal left inverted right x axis y axis) 814mm x 346m...
I have a monitor that supports 200hz refresh rate, and would like to be able to use that. When I run xrandr, it shows this option: $ xrandr Screen 0: minimum 320 x 200, current 5560 x 1920, maximum 16384 x 16384 DP-1 connected 2560x1080+0+420 (normal left inverted right x axis y axis) 814mm x 346mm 2560x1080 59.98*+ 200.00 143.94 119.95 99.94 84.96 1400x1050 74.76 59.98 However when I change my Xorg configuration from: Section "Monitor" Identifier "DP-1" Option "PreferredMode" "2560x1080" Option "Position" "0 420" Option "Primary" "true" EndSection To: Section "Monitor" Identifier "DP-1" Option "PreferredMode" "2560x1080_200" Option "Position" "0 420" Option "Primary" "true" EndSection The monitor doesn't load, and doesn't warn/error in ~/.local/share/xorg/Xorg.0.log. Is there another way to set my monitors refresh rate in my Xorg config file?
user67110
Nov 13, 2016, 02:35 PM • Last activity: Apr 11, 2025, 09:05 PM
6 votes
4 answers
10873 views
obtain the manufacturer and product ID and serial number of the display
The goal is to obtain the manufacturer and product ID and the serial number of the display under the Linux platform. I eventually need to get this information in the program in C++. But I also accept the command line acquisition method.
The goal is to obtain the manufacturer and product ID and the serial number of the display under the Linux platform. I eventually need to get this information in the program in C++. But I also accept the command line acquisition method.
hxysayhi (181 rep)
Mar 15, 2019, 09:04 AM • Last activity: Mar 24, 2025, 09:39 AM
Showing page 1 of 20 total questions