LM19.0 & ultra-wide monitors (2560x1080) [solved - after a fashion]

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
User avatar
AndyMH
Level 5
Level 5
Posts: 753
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

LM19.0 & ultra-wide monitors (2560x1080) [solved - after a fashion]

Post by AndyMH » Tue Oct 23, 2018 7:20 am

My daily driver is a T430 running 18.3 cinnamon. It spends 99% of its life plugged into a docking station driving an external monitor. At the start of the year I got an ultra-wide monitor (2560x1080), plugged it in (displayport to HDMI) and it worked 'out of the box', auto-detected the resolution.

Was just about to upgrade (clean install) to LM19, but...

The maximum screen resolution LM19 will give me is 1920x1080.

This is the xrandr output running LM19:

Code: Select all

HDMI-2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 673mm x 284mm
   1920x1080     60.00*   50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1680x1050     59.88  
   1600x900      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  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
And this is the same output when running LM18.3:

Code: Select all

HDMI2 connected primary 2560x1080+0+0 (normal left inverted right x axis y axis) 673mm x 284mm
   2560x1080     60.00*+
   1920x1080     60.00    50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.08    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
I assume that this is due to the change from mdm (which I've got in 18.3) to lightdm in 19. I've checked this with a spare T430 which I'd installed LM19 on and booting LM19 from USB on my main T430.

How do I fix this and still have the laptop functioning correctly when it is not connected to the external monitor (native resolution of the laptop screen is 1600x900)?

Seems to be a regressive step LM18 to LM19, won't be upgrading until I've sorted this :(
Last edited by AndyMH on Fri Oct 26, 2018 6:59 am, edited 2 times in total.
Homebrew i5-8400+GTX1080 Cinnamon 19, Thinkpad T430 i7-3632 Cinnamon 19, Thinkpad T420 Cinnamon 18.3, Thinkpad T410 Cinnamon 17.3, Thinkpad T60 19.0 Mate

gm10
Level 12
Level 12
Posts: 4181
Joined: Thu Jun 21, 2018 5:11 pm

Re: LM19 wrong screen resolution

Post by gm10 » Tue Oct 23, 2018 7:43 am

Usually I say to check with a different cable first, but I doubt that's the case here since LM18.3 works. It's likely a Xorg/driver issue then that will possibly get resolved once you installed the system and applied available updates and drivers.

Otherwise maybe this helps: http://ubuntuhandbook.org/index.php/201 ... u-desktop/

User avatar
AndyMH
Level 5
Level 5
Posts: 753
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: LM19 wrong screen resolution

Post by AndyMH » Tue Oct 23, 2018 2:06 pm

Thanks, followed the link, tried, failed :(

Code: Select all

andy@T431:-$ cvt 2560 1080
# 2560x1080 59.98 Hz (CVT) hsync: 67.17 kHz; pclk: 230.00 MHz
Modeline "2560x1080_60.00"  230.00  2560 2720 2992 3424  1080 1083 1093 1120 -hsync +vsync
andy@T431:~$ sudo xrandr --newmode "2560x1080_60.00"  230.00  2560 2720 2992 3424  1080 1083 1093 1120 -hsync +vsync
[sudo] password for andy: 
andy@T431:~$ sudo xrandr --addmode HDMI-2 "2560x1080_60.00"
andy@T431:~$
That all seems to work, then went admin > preferences > display. 2560x1080 was there, selected and then apply and...
Screenshot from 2018-10-23 18-35-28.png
Tried it with both the T430 running LM19 and on my main T430 booting LM19 from USB - same result with both. What next??? It is v annoying that something that works in 18.3 doesn't in 19.

Note - it's not the cable, take one T430 running 18.3 out of the docking station, put other T430 running 19 in.
Homebrew i5-8400+GTX1080 Cinnamon 19, Thinkpad T430 i7-3632 Cinnamon 19, Thinkpad T420 Cinnamon 18.3, Thinkpad T410 Cinnamon 17.3, Thinkpad T60 19.0 Mate

gm10
Level 12
Level 12
Posts: 4181
Joined: Thu Jun 21, 2018 5:11 pm

Re: LM19 wrong screen resolution

Post by gm10 » Tue Oct 23, 2018 2:34 pm

An updated 18.3 has newer kernel and Mesa drivers than LM19 in a live environment, that's why I suggested that installing and updating might fix it. But I cannot say for sure.

You can also try forcing the mode via kernel boot parameters: https://wiki.archlinux.org/index.php/ke ... s_and_EDID

User avatar
AndyMH
Level 5
Level 5
Posts: 753
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: LM19 wrong screen resolution

Post by AndyMH » Tue Oct 23, 2018 4:54 pm

The T430 running 18.3 is running kernel 4.4.0-134 and is fine at 2560x1080. Note it worked at this resolution with an i5-3320, only later changed it to an i7:

Code: Select all

System:    Host: T430 Kernel: 4.4.0-134-generic x86_64 (64 bit)
           Desktop: Cinnamon 3.6.7  Distro: Linux Mint 18.3 Sylvia
Machine:   System: LENOVO (portable) product: 2349PT4 v: ThinkPad T430
           Mobo: LENOVO model: 2349PT4
           Bios: LENOVO v: G1ET41WW (1.16 ) date: 05/25/2012
CPU:       Quad core Intel Core i7-3632QM (-HT-MCP-) cache: 6144 KB 
           clock speeds: max: 3200 MHz 1: 1418 MHz 2: 1507 MHz 3: 1248 MHz
           4: 1236 MHz 5: 1429 MHz 6: 1225 MHz 7: 2142 MHz 8: 1213 MHz
Graphics:  Card: Intel 3rd Gen Core processor Graphics Controller
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 2560x1080@60.00hz
           GLX Renderer: Mesa DRI Intel Ivybridge Mobile
           GLX Version: 3.0 Mesa 18.0.5
The T430 running 19 is running kernel 4.15.0-38 and won't go higher than 1920x1080 and it is fully up to date.

Code: Select all

System:    Host: T431 Kernel: 4.15.0-38-generic x86_64 bits: 64
           Desktop: Cinnamon 3.8.9  Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: LENOVO product: 2347B85 v: ThinkPad T430 serial: N/A
           Mobo: LENOVO model: 2347B85 serial: N/A
           UEFI [Legacy]: LENOVO v: G1ETB2WW (2.72 ) date: 01/31/2017
Battery    BAT0: charge: 48.4 Wh 100.0% condition: 48.4/56.2 Wh (86%)
CPU:       Dual core Intel Core i5-3320M (-MT-MCP-) cache: 3072 KB
           clock speeds: max: 3300 MHz 1: 1990 MHz 2: 2172 MHz 3: 2195 MHz
           4: 2476 MHz
Graphics:  Card: Intel 3rd Gen Core processor Graphics Controller
           Display Server: x11 (X.Org 1.19.6 )
           drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile
           version: 4.2 Mesa 18.0.5
Had a look at your link and I lot of it was beyond my knowledge base, hopefully there is a simpler solution (this shouldn't really be a problem as something that works in 18.3 should work in 19).
Homebrew i5-8400+GTX1080 Cinnamon 19, Thinkpad T430 i7-3632 Cinnamon 19, Thinkpad T420 Cinnamon 18.3, Thinkpad T410 Cinnamon 17.3, Thinkpad T60 19.0 Mate

User avatar
BG405
Level 7
Level 7
Posts: 1551
Joined: Fri Mar 11, 2016 3:09 pm
Location: England

Re: LM19 wrong screen resolution

Post by BG405 » Tue Oct 23, 2018 5:28 pm

Try those xrandr commands without sudo as it's not needed. :wink:
Dell Inspiron 1525 - LM17.3 CE 64-------------------Acer D255E 2GB - Manjaro KDE, LM17.3 KDE 32
Toshiba NB305 - Manjaro KDE------------------------K7S5A AMD 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Dell PII 350 64MB - Puppy 4.3 & Win98-SE

User avatar
AndyMH
Level 5
Level 5
Posts: 753
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: LM19 wrong screen resolution

Post by AndyMH » Tue Oct 23, 2018 6:54 pm

Try those xrandr commands without sudo as it's not needed
Tried made no difference.
Homebrew i5-8400+GTX1080 Cinnamon 19, Thinkpad T430 i7-3632 Cinnamon 19, Thinkpad T420 Cinnamon 18.3, Thinkpad T410 Cinnamon 17.3, Thinkpad T60 19.0 Mate

User avatar
BG405
Level 7
Level 7
Posts: 1551
Joined: Fri Mar 11, 2016 3:09 pm
Location: England

Re: LM19 wrong screen resolution

Post by BG405 » Tue Oct 23, 2018 8:35 pm

After the "newmode" & "addmode", did you also try xrandr --output HDMI-2 --mode "2560x1080_60.00"?

Sorry I should have mentioned that in my last reply. :oops:
Dell Inspiron 1525 - LM17.3 CE 64-------------------Acer D255E 2GB - Manjaro KDE, LM17.3 KDE 32
Toshiba NB305 - Manjaro KDE------------------------K7S5A AMD 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Dell PII 350 64MB - Puppy 4.3 & Win98-SE

User avatar
AndyMH
Level 5
Level 5
Posts: 753
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: LM19 wrong screen resolution

Post by AndyMH » Wed Oct 24, 2018 8:23 am

Yep!

Code: Select all

xrandr: Configure crtc 0 failed
Homebrew i5-8400+GTX1080 Cinnamon 19, Thinkpad T430 i7-3632 Cinnamon 19, Thinkpad T420 Cinnamon 18.3, Thinkpad T410 Cinnamon 17.3, Thinkpad T60 19.0 Mate

gm10
Level 12
Level 12
Posts: 4181
Joined: Thu Jun 21, 2018 5:11 pm

Re: LM19 wrong screen resolution

Post by gm10 » Wed Oct 24, 2018 9:33 am

AndyMH wrote:
Tue Oct 23, 2018 4:54 pm
The T430 running 19 is running kernel 4.15.0-38 and won't go higher than 1920x1080 and it is fully up to date.
Oh, so these are separate devices. Could be a hardware thing about the other device after all then. What happens to the screen resolution with a LM18.3 live environment on that device? Maybe even a LM19 live environment. Could also be worth switching the UEFI back to full UEFI mode and check there aren't any graphics related settings in the UEFI that can be changed here (including reserved memory).

User avatar
AndyMH
Level 5
Level 5
Posts: 753
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: LM19 wrong screen resolution

Post by AndyMH » Wed Oct 24, 2018 11:02 am

Yes, two separate T430s (bought the second expressly for this purpose - a test machine), think the only significant differences between the two is that the daily driver (LM18.3) has an i7 (but 2560x1080 worked with the i5), 16G RAM (but it worked with 8G) and a 1600x900 laptop screen (the other is 1366x768, 8G RAM, i5-3320M - the 'stock' cpu in a T430), bios dates are different (the LM19 T430 is later) but had a look there, nothing different. Both are booting in legacy mode not UEFI.

Three things I'm going to try (have a spare 320G HDD):
  • Boot the LM19 T430 off a 18.3 USB and see what happens.
  • Pull the SSD out of the LM19 T430 and put in HDD and install 18.3.
  • Pull the SSD out of the daily driver (LM18.3), put in HDD and install 19.
Have to say this is really frustrating, it's something that should work 'out of the box', so any pointers where to look would be welcome. Given the failures with xrandr and the fact that 2560x1080 is higher than the highest resolution showing makes me think that mint is not getting the right info from the monitor. Been browsing the web but not found anything significant. I'd checked out all the other issues I might have for LM19 - crossover, evolution and VB and got them working, only to run foul of this at the 11th hour.
Last edited by AndyMH on Wed Oct 24, 2018 11:07 am, edited 1 time in total.
Homebrew i5-8400+GTX1080 Cinnamon 19, Thinkpad T430 i7-3632 Cinnamon 19, Thinkpad T420 Cinnamon 18.3, Thinkpad T410 Cinnamon 17.3, Thinkpad T60 19.0 Mate

gm10
Level 12
Level 12
Posts: 4181
Joined: Thu Jun 21, 2018 5:11 pm

Re: LM19 wrong screen resolution

Post by gm10 » Wed Oct 24, 2018 11:04 am

AndyMH wrote:
Wed Oct 24, 2018 11:02 am
Yes, two separate T430s (bought the second expressly for this purpose - a test machine),
According to your inxi output the older one is a T430, but the newer one is a T431.

User avatar
AndyMH
Level 5
Level 5
Posts: 753
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: LM19 wrong screen resolution

Post by AndyMH » Wed Oct 24, 2018 11:09 am

Simply the names I gave them to avoid any conflicts if both were connected to the network at the same time. T430=LM18.3, T431=LM19.
Homebrew i5-8400+GTX1080 Cinnamon 19, Thinkpad T430 i7-3632 Cinnamon 19, Thinkpad T420 Cinnamon 18.3, Thinkpad T410 Cinnamon 17.3, Thinkpad T60 19.0 Mate

gm10
Level 12
Level 12
Posts: 4181
Joined: Thu Jun 21, 2018 5:11 pm

Re: LM19 wrong screen resolution

Post by gm10 » Wed Oct 24, 2018 11:16 am

AndyMH wrote:
Wed Oct 24, 2018 11:09 am
Simply the names I gave them to avoid any conflicts if both were connected to the network at the same time. T430=LM18.3, T431=LM19.
lol my bad, seems I skipped the line and looked at the host name, sry. ;) It might still be a good idea to check with that live environment in case the port or the UEFI has an issue or something.

User avatar
AndyMH
Level 5
Level 5
Posts: 753
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: LM19 wrong screen resolution

Post by AndyMH » Wed Oct 24, 2018 6:20 pm

An updated 18.3 has newer kernel and Mesa drivers than LM19
Just checked, both 18.3 and 19 are running Mesa 18.0.5, so it's not that.
Homebrew i5-8400+GTX1080 Cinnamon 19, Thinkpad T430 i7-3632 Cinnamon 19, Thinkpad T420 Cinnamon 18.3, Thinkpad T410 Cinnamon 17.3, Thinkpad T60 19.0 Mate

User avatar
AndyMH
Level 5
Level 5
Posts: 753
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: LM19 wrong screen resolution

Post by AndyMH » Fri Oct 26, 2018 6:56 am

Well solved, after a fashion.

The problem was that using cvt 2560 1080 to get the modeline was giving the WRONG answer (as an alternative to cvt you can also use gtf, also gives the wrong answer).

What you need to do is extract the EDID from the monitor, for this you need get-edid, not installed by default so install from sw mgr. The command line is:

Code: Select all

sudo get-edid -b 3 | parse-edid
-b 3 is because edid will report how many monitors it has found, BUT only return the first (with a laptop and external monitor this will be the laptop screen), so this tells edid which bus to review. The output is:

Code: Select all

3
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
Only trying 3 as per your request.
256-byte EDID successfully retrieved from i2c bus 3
Looks like i2c was successful. Have a good day.
Checksum Correct

Section "Monitor"
	Identifier "LG ULTRAWIDE"
	ModelName "LG ULTRAWIDE"
	VendorName "GSM"
	# Monitor Manufactured week 9 of 2017
	# EDID version 1.3
	# Digital Display
	DisplaySize 670 280
	Gamma 2.20
	Option "DPMS" "true"
	Horizsync 30-90
	VertRefresh 56-75
	# Maximum pixel clock is 240MHz
	#Not giving standard mode: 1152x864, 75Hz
	#Not giving standard mode: 1280x1024, 60Hz
	#Not giving standard mode: 1280x720, 60Hz
	#Not giving standard mode: 1600x900, 60Hz
	#Not giving standard mode: 1680x1050, 60Hz

	#Extension block found. Parsing...
	Modeline 	"Mode 11" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync 
	Modeline 	"Mode 0" 185.58 2560 2624 2688 2784 1080 1083 1093 1111 -hsync -vsync 
	Modeline 	"Mode 1" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync 
	Modeline 	"Mode 2" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
	Modeline 	"Mode 3" 74.250 1280 1390 1420 1650 720 725 730 750 +hsync +vsync
	Modeline 	"Mode 4" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
	Modeline 	"Mode 5" 74.250 1920 2448 2492 2640 1080 1082 1089 1125 +hsync +vsync interlace
	Modeline 	"Mode 6" 27.000 720 732 796 864 576 581 586 625 -hsync -vsync
	Modeline 	"Mode 7" 74.250 1920 2008 2052 2200 1080 1082 1087 1125 +hsync +vsync interlace
	Modeline 	"Mode 8" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
	Modeline 	"Mode 9" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync
	Modeline 	"Mode 10" 74.250 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
	Modeline 	"Mode 12" 74.25 1920 2008 2052 2200 540 542 547 562 +hsync +vsync interlace
	Modeline 	"Mode 13" 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync 
	Modeline 	"Mode 14" 27.00 720 736 798 858 480 489 495 525 -hsync -vsync 
	Option "PreferredMode" "Mode 11"
EndSection
Why it is saying the 'preferred mode' is mode 11 - don't know? Mode 0 is the one I want for 2560x1080.

The rest is straightforward, follow the instructions in the link in gm10's earlier post, using the modeline info from edid:

Code: Select all

xrandr --newmode HDMI-2 "2560x1080" 185.58 2560 2624 2688 2784 1080 1083 1093 1111 -hsync -vsync 
sudo xrandr --addmode HDMI-2 "2560x1080"
Then go into admin > preferences > display and select the new 2560x1080 resolution. It works!

First time round, I was getting intermittent black stripes (2-3" wide) down the right of the screen around my conky. Think this was because conky had been invoked BEFORE I did the screen resolution change. Modifying .profile to add the newmode and addmode at the end seems to have solved this problem and the laptop now boots the external ultrawide monitor at the correct 2560x1080 resolution.

Now is this enough to persuade me to upgrade the daily driver from 18.3 to 19.0? Think the login screen on ultrawide in LM19 looks crap (which it isn't in 18.3). I'm not sure :)

Whatever, in this particular respect LM19.0 CANNOT be viewed as an improvement over 18.3. If 18.3 works 'out of the box', then so should 19. I shouldn't have to spend several hours trying to sort this out and wasting the time of other forum members.[rant over].
Homebrew i5-8400+GTX1080 Cinnamon 19, Thinkpad T430 i7-3632 Cinnamon 19, Thinkpad T420 Cinnamon 18.3, Thinkpad T410 Cinnamon 17.3, Thinkpad T60 19.0 Mate

gm10
Level 12
Level 12
Posts: 4181
Joined: Thu Jun 21, 2018 5:11 pm

Re: LM19 wrong screen resolution

Post by gm10 » Fri Oct 26, 2018 8:01 am

AndyMH wrote:
Fri Oct 26, 2018 6:56 am
The output is:
I take it that's from after adding the mode? Because the mode is already in there.

Anyway, good find, I should have thought of that.
AndyMH wrote:
Fri Oct 26, 2018 6:56 am
Whatever, in this particular respect LM19.0 CANNOT be viewed as an improvement over 18.3. If 18.3 works 'out of the box', then so should 19. I shouldn't have to spend several hours trying to sort this out and wasting the time of other forum members.[rant over].
It's weird insofar as they should receive the same info from the screen, that protocol hasn't changed in decades. Did you try the same command on 18.3 to compare the output?

User avatar
AndyMH
Level 5
Level 5
Posts: 753
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: LM19.0 & ultra-wide monitors (2560x1080) [solved - after a fashion]

Post by AndyMH » Fri Oct 26, 2018 9:07 am

I take it that's from after adding the mode? Because the mode is already in there.
Yes and no, in that I installed and ran get-edid from my 18.3 laptop, dumped the output in a txt file and copied over to the 19 laptop (I was switching them in and out of the docking station), but have no reason to suspect that it wouldn't generate the same output if I'd run it from the LM19 laptop - I assume it is sucking the info direct from the monitor and finding out what modes & modelines the monitor supports.

Weird - yes, I'll be posting this as an 'issue' on github [now done]. Rooting around on the web I have come across others who are less than enamoured with LM19. e.g. https://docs.google.com/document/d/1HiI ... 9ciq8/edit, I've downloaded the iso for ubuntu 18.04 and I'll be seeing if it has the same problem.
Did you try the same command on 18.3 to compare the output?
Sort of done that, but what I will do is try running get-edid when I install LM19 on my daily driver BEFORE I add the 2560x1080 resolution.
Homebrew i5-8400+GTX1080 Cinnamon 19, Thinkpad T430 i7-3632 Cinnamon 19, Thinkpad T420 Cinnamon 18.3, Thinkpad T410 Cinnamon 17.3, Thinkpad T60 19.0 Mate

User avatar
AndyMH
Level 5
Level 5
Posts: 753
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: LM19.0 & ultra-wide monitors (2560x1080) [solved - after a fashion]

Post by AndyMH » Sat Oct 27, 2018 3:02 pm

An improvement on my previous, while it booted into my ultrawide monitor at the correct resolution, resolution at the login screen looked awful, maybe 1024x768 on a 2560x1080 screen. To fix that...

Instead of modifying the contents of /home/andy/.profile edit the contents of 70-linuxmint.conf, this lives in /etc/lightdm/lightdm.conf.d to point at a startup script:

Code: Select all

[SeatDefaults]
user-session=cinnamon
display-setup-script=/home/andy/LGmonitor.bsh
Where the contents of LGmonitor.bsh (which has to be made executable) are:

Code: Select all

xrandr --newmode "2560x1080" 185.58 2560 2624 2688 2784 1080 1083 1093 1111 -hsync -vsync
xrandr --addmode HDMI-2 "2560x1080"
monitor=$(xrandr | grep -o "HDMI-2 connected")
if [ ${#monitor} > 0 ]; then
    xrandr --output HDMI-2 --mode "2560x1080"
fi
This adds the modeline for 2560x1080 resolution for the ultra-wide monitor then checks that it is connected (HDMI-2) and if so sets it as the output and the resolution to 2560x1080. Net result, the login screen now looks okay.

A simple script, but with limitations (or scope for improvement):
  • HDMI-2 is the displayport output from the docking station, if the laptop was plugged into the monitor via the displayport on the laptop (HDMI-1), both login and normal display after boot would look awful.
  • Plug any monitor other than my LG ultra-wide into the docking station and, at best, it will probably end up with a blank screen (the modeline is hard coded). This could be fixed using get-edid and parsing it to extract both the monitor name and relevant modename for whatever resolution is required. For me, not going to happen, if any other monitor is connected it will be via the displayport on the laptop, not the docking station.
Also, note that within the lightdm folder there is a folder /etc/lightdm/lightdm-gtk-greeter.conf.d with another .conf file within it - no idea what this does?
Homebrew i5-8400+GTX1080 Cinnamon 19, Thinkpad T430 i7-3632 Cinnamon 19, Thinkpad T420 Cinnamon 18.3, Thinkpad T410 Cinnamon 17.3, Thinkpad T60 19.0 Mate

gm10
Level 12
Level 12
Posts: 4181
Joined: Thu Jun 21, 2018 5:11 pm

Re: LM19.0 & ultra-wide monitors (2560x1080) [solved - after a fashion]

Post by gm10 » Sat Oct 27, 2018 3:41 pm

Interesting. Note that I directed another user to this thread, they had a problem with exactly the same resolution as you, so I suppose it's possible there is an issue either with that specific resolution or ultra-wide in general.
AndyMH wrote:
Sat Oct 27, 2018 3:02 pm
Also, note that within the lightdm folder there is a folder /etc/lightdm/lightdm-gtk-greeter.conf.d with another .conf file within it - no idea what this does?
Nothing, as far as I can tell. Checked the source code, the greeter won't read this. Belongs to the mint-artwork package, not sure I can be bothered to even submit a report to remove it. ;)

Post Reply

Return to “Installation & Boot”