I got a big hint on how to solve this when I came across this command:
sudo lshw -c display
In the output, I got *-display UNCLAIMED message. After some googling I came across this great and from bertm: Can't get internal and external monitor working simultaneously with 20.04 on laptop with AMD Ryzen 7 4800H and Nvidia RTX 2060
By using the experimental ...
Physical screen size is actually irrelevant to your display manager.
The only thing that matters is screen resolution.
You did not tell us the native screen resolution for each of your displays, but with modern panel displays, you should use only the native screen resolution.
Using anything other than the display's native screen resolution will result in ...
Simon Alling's answer worked for me but this is the way I persisted configuration across reboots and user sessions. I saved the xrandr command to a file '~/.config/autostart/setup_monitor_display.desktop', made it executable with chmod +x.
# Wait until GUI is ready
xrandr --output DP-0 --rotate left
Then I added the execution of ...
According to the log you posted, your HDMI output is limited to a 250 MHz pixel clock:
(--) modeset(0): HDMI max TMDS frequency 250000KHz
This may be a limitation of your screen, your cable and/or video chip. Anyway, you have to work within this limit.
The cvt tool, used without specific option, produces standard VESA CVT modelines with "comfortable&...
Do you have a second HDMI cable you could try? I know it sounds silly, but I ran into a very similar problem in the past (monitor would only do 1920x1080 instead of 2560x1080) and the solution was to simply replace the cable.
Sharing my experience here, maybe it will help others.
My HDMI doesn't work after a BIOS update. I shut down the computer, and then manually disabled "Secure Boot" and "Fast Boot". I've disabled it before but it seems the BIOS update reset some settings.
Monitor works again after this.
My solution steps below;
Connect hdmi cable
Write to terminal xrandr -q
Press the special button for extend monitor(Fn+F7 or Fn+F10 for lenovo series)
Choose extend options(For example "Extend to write") and press enter
I had a similar issue and have found a cure. My latptop has an Intel i7-1165G7 and an nvidia MX450 graphics card. As in a discussion with Nvidia Support, I realised my laptop did not have any HDMI port available on the nvidia GPU. The HDMI port is driven by the intel graphics rather than the nvidia graphics card. Ubuntu 20.04.1 is based on the kernel series ...
Edit: my first answer (kept at the end for posterity) isn't great, so I ended up with the following instead.
Disabling the phantom display in X
I encountered a this issue on a MacBook Pro 5,3 running Ubuntu 20.04, but without the flickering cursor. Running echo OFF > /sys/kernel/debug/vgaswitcheroo/switch caused my system to freeze for some reason, so I ...
I do the same thing but laptop is touch. Using kubuntu also. If you go into System Settings > Input devices > Graphic Tablet. There you select the tab called "Touch" then the option called "Map Touch Area to Screen". Click on "Toggle Screen" to select which screen you want the touch to be focused. By default it is selected ...
For those who use a Dual Screen setup with touchscreen or stylus and face this issue, I found a solution.
It involves creating a script that will run on startup and will force the touch to focus on only the selected screen.
The script only works when booting up and the ...
You may find the following xinput option to be of interest:
--map-to-output device crtc
Restricts the movements of the absolute device to the RandR
crtc. The output name must match a currently connected output
(see xrandr(1)). If the NVIDIA binary driver is detected or
RandR 1.2 or later is not available, a Xinerama output may be
I've managed this with wmctrl. I mapped a few bash scripts to the Num Lock to move a window quickly to a new position. Here is my approach. For example, to move to the right screen:
# Places the window to the right screen:
# [ ][x]
wmctrl -r :ACTIVE: -b remove,fullscreen
wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz
wmctrl -r :...
It seems you want to swap windows between screens.
For Wayland, solutions are specific to the window manager.
For KWin, you can try writing a KWin script.
For X11, there are options that will work with any window manager. You'll need to write some code to tie everything into a cohesive script. If screens are logically side-by-side, you can use modular ...
Probably problem was that USB couldn't boot himself. So I removed the HDD, wrote Ubuntu 20.04 iso on it. I placed HDD which has the installer on HDD slot on the motherboard so I wouldn't have to change booting priority. Plugged another HDD via USB slot. The live installer showed up. I installed ubuntu to HDD which in the USB slot. After installation removed ...
I don't know if you're still looking for a solution, but your script helped me to get it right.
The problem is that you think it is necessary to run it as the user that is logged in at the moment. First of all, this isn't necessary, and second of all, the way you do it is wrong, because the call to 'who' will reply with root as the script is executed as root....