LM20 - Monitor issues

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this
Post Reply
User avatar
AndyMH
Level 12
Level 12
Posts: 4219
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

LM20 - Monitor issues

Post by AndyMH »

This is LM20, not LM20 beta, I don't do beta versions - let others have the problems :)

Not what I expected!

Setup - a linux workhorse, thinkpad T430 connected to an external LG 2560x1080 monitor via a lenovo docking station (displayport).
  • LM17.3 through LM18.3 (4.4 kernel) - mint just installs 'out of the box' with the external monitor at 2560x1080.
  • LM19.x (4.15 kernel) - mint installs, but external monitor at 1920x1080 and have to set 2560x1080 with xrandr. Not a thinkpad/linux problem, blame LG for a poorly configured EDID and kernel changes between 4.5.7 and later.
  • LM20... well see the screenshot. This is booting from the install USB stick in UEFI mode.
All version are cinnamon.
Image

What the screenshot doesn't show is the screen tearing and flickering to accompany the screwed up display. Anyway, proceeded with install and rebooted to new installation. Same result on external monitor. So what's going on...

Open laptop lid to activate laptop screen - external monitor clears to a 'normal' display (didn't check resolution). Close laptop lid so that external monitor is the only screen, screen stable at 1920x1080 (same as with LM19.x - need to set 2560x1080 via xrandr, but not yet tested).

If the only way LM20 is going to work is by opening and closing the laptop lid to get the display working every time I boot - well, it's not going to happen. Now back on LM19.0.

LG ultrawide monitors have caused problems with linux in the past, there are several posts on the forum (I wouldn't buy another one), but if I were a newbie it would be a real put-off. Nothing special about the graphics, inxi -G (booting from LM19.0 with a 'custom' modeline to get 2560x1080):

Code: Select all

andy@T432 ~ $ inxi -G
Graphics:  Card: Intel 3rd Gen Core processor Graphics Controller
           Display Server: x11 (X.Org 1.19.6 )
           drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 2560x1080@60.00hz
           OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile
           version: 4.2 Mesa 19.2.8
Will do some more testing, but any ideas on what the problem is, what has changed between LM19.x and LM20 in this area?
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate
User avatar
AndyMH
Level 12
Level 12
Posts: 4219
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: LM20 - Monitor issues

Post by AndyMH »

Fixed after a fashion. To recap, booting LM20 cinnamon with the external ultrawide connected:
  • plymouth splash screen - okay
  • login screen - okay
  • main screen - not okay
Set it up as I have with LM19.x:
  • Created /etc/lightdm/lightdm.conf.d/71-linuxmint.conf, content:

Code: Select all

[SeatDefaults]
user-session=cinnamon
display-setup-script=/usr/bin/LGmonitor.bsh
  • Content of LGmonitor.bsh:

Code: Select all

#!/bin/bash
if xrandr | grep -q "HDMI-2 connected"; then
    xrandr --newmode "2560x1080" 185.58 2560 2624 2688 2784 1080 1083 1093 1111 -hsync -vsync
    xrandr --addmode HDMI-2 "2560x1080"
    xrandr --output HDMI-2 --mode "2560x1080"
fi
Rebooted, came up 1920x1080 but stable, set 2560x1080 (preferences > display), okay, rebooted okay, booting into 2560x1080.

In this respect, behaving as LM19.x did, but why the problems with a fresh install that did not occur with LM19.x?

Kernel as installed was 5.4.0-26, did try to install a 4.15 kernel to see if that would change things, failed installing ukuu!

Code: Select all

sudo add-apt-repository ppa:teejee2008/ppa
sudo apt-get update
sudo apt-get install ukuu
Failed on the last:

Code: Select all

andy@T432:~$ sudo apt-get install ukuu
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ukuu
So how to install an earlier kernel in LM20?
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate
User avatar
roblm
Level 12
Level 12
Posts: 4407
Joined: Sun Feb 24, 2013 2:41 pm

Re: LM20 - Monitor issues

Post by roblm »

AndyMH wrote: So how to install an earlier kernel in LM20?
Only a paid version of UKUU is now available.

Open Software Sources. Select Additional Repositories and click Add. Add this line and click OK:
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse

Ignore the message: Failed to download repository information, which pertains to the repository cdrom.
User avatar
AndyMH
Level 12
Level 12
Posts: 4219
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: LM20 - Monitor issues

Post by AndyMH »

Thanks, did manage to find a deb for ukuu and install that and thence to a 4.15 kernel. Didn't fix the problem, screen as my original screenshot. So that's one theory blown. Maybe a 'bug' introduced in muffin in LM20?
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate
ninemen
Level 2
Level 2
Posts: 99
Joined: Fri Jun 21, 2019 9:58 am

Re: LM20 - Monitor issues

Post by ninemen »

I am Facing the same problem like yours, try booting into Linux MInt 20 Beta, IT worked real GREAT with my Monitor But LM 20 stable messed it all up i am so damn sad.IF your monitor works normal in LM 20 Beta then i think developers did something wrong to remove a bug and created a new one or something was removed/broken from beta to stable.IDk they know more but since its stable i except it to work stable.I am glad i tested iSo otherwise i would have thought it was an hardware issue but since it runs great on Beta i know its not.
User avatar
Kadaitcha Man
Level 9
Level 9
Posts: 2586
Joined: Mon Aug 27, 2012 10:17 pm

Re: LM20 - Monitor issues

Post by Kadaitcha Man »

AndyMH wrote:
Sat Jun 27, 2020 12:14 pm
... lenovo docking station (displayport)
I've had no end of trouble with those things trying to get better than FHD resolution. I have two of the mongrels, different models, because I incorrectly assumed that I'd initially purchased the wrong one. I ended up with two of the PsOS that didn't work as advertised.

What's happening with your screen is that, once you go beyond 1080p, the video card sends multiple images to the monitor. The monitor is supposed to recognise this split screen signal and rejoin the images but none of the Lenovo docks support this very well. The two docks I had were also causing major screen corruption when using NoMachine. I ended up tossing the stupid laptop and both docks, and got a laptop with a USB C out for HiDPI video. That's probably not a solution for you. I don't think much of Lenovo docks and I don't think it it's fixable, though you might try a dock firmware upgrade. Good luck getting that done from Linux.
It's pronounced kad-eye-cha, not kada-itcha.
User avatar
smurphos
Level 17
Level 17
Posts: 7132
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: LM20 - Monitor issues

Post by smurphos »

For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
manjo
Level 1
Level 1
Posts: 2
Joined: Tue Jul 14, 2020 5:12 pm

Re: LM20 - Monitor issues

Post by manjo »

Hello all,
I posted this on another thread,
I hope it helps locate the problem and resolve the issue:

The issue is with cinnamon-desktop package version 4.6.2-2
there was no issues with version 4.4.1-2

I first noted the problem on fedora+cinnamon but the issue is present on Mint live/install image as well,
-took some time to investigate, it turnes out:

For some reason:
xrandr reports "Screen0" size combined length of both screens
(as if it assumes extended display settup)

EXAMPLE:
if I have 1920x1080 internal laptop screen and external 2560x1440
xrandr reports: Screen0 to be: 4480x1440 this would would NOT be wrong (for combined screens) BUT my internal screen is
closed (disabled) and as it seems cinnamon-desktop is trying to setup 4480x1440 on 2560x1440 external monitor...
long story short -when I manualy set the screen size:
xrandr -s 2560x1440
The issues get resolved and everything is displayed properly...

NOTES:
1.
with older cinnamon-desktop package installed xrandr reports "Screen0" as 2560x1440 (in my case seems more logical)
2.
(I never EVER had such issues before with my monitor setup and I'm not using any special setups/settings, more...
Live USB image has the same issue -fresh live images used to work without issues before...
3.
the solution is NOT to mess with any Display/monitor settings (monitors.xml) and what not (on user end), because "live CD/USB/install image"
boots up to broken, distorted display "out of the box" -basically unusable... so it needs to be fixed elswhere
4.
it doesn't seam to be kernel related (i use 5.7.8-200 kernel) and as long as I don't allow cinnamon-desktop package to upgrade from 4.4.1-2 to
4.6.2-2 everything works as expected, as soon as cinnamon-desktop (and related/dependencies) upgrades to latest (mentioned) 4.6.2-2
display "falls apart", then I reinstall 4.4.1-2 and...
-everything is displayed properly again, so my conclusion is: it's not kernel, nor driver, nor xorg related.
It's rather something in cinnamond-desktop package.

**********************************
a couple minutes ago I tried and upgraded cinnamon-desktop and related packages / dependencies -there is no more display issues
so iguess it's RESOLVED

Keep up the good work, regards,
manjo
Post Reply

Return to “Graphics Cards & Monitors”