[SOLVED] Dell 7773 NVIDIA MX150 3840x2160 Resolution Missing

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this
shawnlam
Level 1
Level 1
Posts: 31
Joined: Wed May 22, 2013 1:43 pm

Re: Dell 7773 NVIDIA MX150 3840x2160 Resolution Missing

Post by shawnlam » Fri Jun 22, 2018 4:52 pm

https://pastebin.com/CV0H9y8z

To confirm, I was required to rename the file to get back to the GUI.

User avatar
roblm
Level 9
Level 9
Posts: 2657
Joined: Sun Feb 24, 2013 2:41 pm

Re: Dell 7773 NVIDIA MX150 3840x2160 Resolution Missing

Post by roblm » Fri Jun 22, 2018 5:00 pm

You will need to post the Xorg.0.log.old file to show the failed display attempt.

shawnlam
Level 1
Level 1
Posts: 31
Joined: Wed May 22, 2013 1:43 pm

Re: Dell 7773 NVIDIA MX150 3840x2160 Resolution Missing

Post by shawnlam » Fri Jun 22, 2018 5:20 pm

Here is the Xorg.0.log.old file:

https://pastebin.com/sTPxPXEg

User avatar
roblm
Level 9
Level 9
Posts: 2657
Joined: Sun Feb 24, 2013 2:41 pm

Re: Dell 7773 NVIDIA MX150 3840x2160 Resolution Missing

Post by roblm » Fri Jun 22, 2018 5:30 pm

Code: Select all

[  5371.902] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
Use this command to get the BusIDs: inxi -Gx

shawnlam
Level 1
Level 1
Posts: 31
Joined: Wed May 22, 2013 1:43 pm

Re: Dell 7773 NVIDIA MX150 3840x2160 Resolution Missing

Post by shawnlam » Fri Jun 22, 2018 5:31 pm

Code: Select all

inxi -Gx
Graphics:  Card-1: Intel UHD Graphics 620 bus-ID: 00:02.0
           Card-2: NVIDIA GP108M [GeForce MX150] bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 ) drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: GeForce MX150/PCIe/SSE2 version: 4.6.0 NVIDIA 390.48 Direct Render: Yes

User avatar
roblm
Level 9
Level 9
Posts: 2657
Joined: Sun Feb 24, 2013 2:41 pm

Re: Dell 7773 NVIDIA MX150 3840x2160 Resolution Missing

Post by roblm » Fri Jun 22, 2018 7:03 pm

Here's a tip in case you're not aware of it, while using the Terminal or virtual Terminal like tty1. Press the UP Arrow key to bring up previously typed and executed commands, so you won't need to retype them. Keep pressing the key to bring up older commands.

To display the command history, type: history
To execute a specific numbered command, type !<command number> , such as !23

To remove the previous command history, type: history -c

Use this command to rename xorg.conf.old to xorg.conf:

Code: Select all

sudo mv /usr/share/X11/xorg.conf.d/xorg.conf.old /usr/share/X11/xorg.conf.d/xorg.conf
Open the file for editing:

Code: Select all

xed admin:///etc/X11/xorg.conf
Add the line BusID "PCI:0:2:0" under the line Driver "modesetting".

Try to log out and back in again.


If that fails, then try using these commands:

Code: Select all

xrandr --newmode "3840x2160_29.98"  262.75  3840 3888 3920 4000  2160 2163 2167 2191  +HSync -VSync  
xrandr --addmode HDMI-1-1 3840x2160_29.98 	
xrandr --output HDMI-1-1 --mode  3840x2160_29.98

shawnlam
Level 1
Level 1
Posts: 31
Joined: Wed May 22, 2013 1:43 pm

Re: Dell 7773 NVIDIA MX150 3840x2160 Resolution Missing

Post by shawnlam » Fri Jun 22, 2018 7:41 pm

roblm wrote:
Fri Jun 22, 2018 7:03 pm
Here's a tip in case you're not aware of it, while using the Terminal or virtual Terminal like tty1. Press the UP Arrow key to bring up previously typed and executed commands, so you won't need to retype them. Keep pressing the key to bring up older commands.

To display the command history, type: history
To execute a specific numbered command, type !<command number> , such as !23

To remove the previous command history, type: history -c

Use this command to rename xorg.conf.old to xorg.conf:

Code: Select all

sudo mv /usr/share/X11/xorg.conf.d/xorg.conf.old /usr/share/X11/xorg.conf.d/xorg.conf
Open the file for editing:

Code: Select all

xed admin:///etc/X11/xorg.conf
Add the line BusID "PCI:0:2:0" under the line Driver "modesetting".

Try to log out and back in again.


If that fails, then try using these commands:

Code: Select all

xrandr --newmode "3840x2160_29.98"  262.75  3840 3888 3920 4000  2160 2163 2167 2191  +HSync -VSync  
xrandr --addmode HDMI-1-1 3840x2160_29.98 	
xrandr --output HDMI-1-1 --mode  3840x2160_29.98
The file that you told me to rename is in /usr/share/X11/xorg.conf.d.
The file that you told me to edit is in /etc/X11.
Was this intentional?
If so, there is no xorg.conf file at /etc/X11. I removed it earlier when the GUI would not load.

Also, the xrandr commands DID produce a temporary 3840x2160 display that was not persistent when logging out and back in.

shawnlam
Level 1
Level 1
Posts: 31
Joined: Wed May 22, 2013 1:43 pm

Re: Dell 7773 NVIDIA MX150 3840x2160 Resolution Missing

Post by shawnlam » Fri Jun 22, 2018 8:04 pm

Lots of strange behavior when in 3840x2160. Several different things produce black boxes that may outline a window, may cover 1/4 of the screen, or may flicker in seemingly random spots.

shawnlam
Level 1
Level 1
Posts: 31
Joined: Wed May 22, 2013 1:43 pm

Re: Dell 7773 NVIDIA MX150 3840x2160 Resolution Missing

Post by shawnlam » Fri Jun 22, 2018 8:11 pm

Reloading Cinnamon (CTRL-ALT-ESC) seems to eliminate the strange display behavior.

User avatar
roblm
Level 9
Level 9
Posts: 2657
Joined: Sun Feb 24, 2013 2:41 pm

Re: Dell 7773 NVIDIA MX150 3840x2160 Resolution Missing

Post by roblm » Fri Jun 22, 2018 8:24 pm

The command should have been xed admin:///usr/share/X11/xorg.conf.d/xorg.conf

Test these commands to see if the picture is any better:

Code: Select all

xrandr --newmode "3840x2160_24.00"  209.75  3840 3888 3920 4000  2160 2163 2167 2185  +HSync -VSync  
xrandr --addmode HDMI-1-1 3840x2160_24.00 	
xrandr --output HDMI-1-1 --mode 3840x2160_24.00
The effect of those commands will only last for the present session.

shawnlam
Level 1
Level 1
Posts: 31
Joined: Wed May 22, 2013 1:43 pm

Re: Dell 7773 NVIDIA MX150 3840x2160 Resolution Missing

Post by shawnlam » Fri Jun 22, 2018 8:34 pm

It seems like it might be better, but it still displays artifacts until I have used CTRL-ALT-ESC.

User avatar
roblm
Level 9
Level 9
Posts: 2657
Joined: Sun Feb 24, 2013 2:41 pm

Re: Dell 7773 NVIDIA MX150 3840x2160 Resolution Missing

Post by roblm » Fri Jun 22, 2018 8:45 pm

I’ve often seen display problems after using xrandr commands. Sometimes using an additional command will help. In your case, it would be:

Code: Select all

xrandr --output HDMI-1-1 --mode 3840x2160 --rate 24 --pos 0x0
I won’t be back online until tomorrow. There’s more to discuss.

shawnlam
Level 1
Level 1
Posts: 31
Joined: Wed May 22, 2013 1:43 pm

Re: Dell 7773 NVIDIA MX150 3840x2160 Resolution Missing

Post by shawnlam » Fri Jun 22, 2018 8:53 pm

It gave the error "xrandr: cannot find mode 3840x2160"

I will look forward to discussing this further. Thanks for all of your assistance. Have a great evening.

User avatar
roblm
Level 9
Level 9
Posts: 2657
Joined: Sun Feb 24, 2013 2:41 pm

Re: Dell 7773 NVIDIA MX150 3840x2160 Resolution Missing

Post by roblm » Sat Jun 23, 2018 10:10 am

shawnlam wrote:
Fri Jun 22, 2018 8:53 pm
It gave the error "xrandr: cannot find mode 3840x2160"
That command would be used after using the other 3.

Vizio says the TV has an effective refresh rate of 120 Hz. However, the actual rate is 60 Hz, which has been enhanced, as discussed in this article:
https://www.rtings.com/tv/learn/fake-re ... -trumotion

From my understanding of some info I read, the Vizio TV is able to display an improved picture with even a 24 and 30 Hz video input by using Vizio’s Motion Interpolation technolgy. This article mentions that and says to use the Reduce Judder setting on the TV:
https://www.rtings.com/tv/reviews/vizio ... es-4k-2016

From the TV’s user manual:
Reduce Judder - Activates Smooth Motion motion estimation/motion compensation, which suppresses motion judder, or “stuttering” of the image when the camera moves across a scene horizontally. As the setting increases, judder is reduced.

The question now is what Modeline will give the best image quality. Here is the complete extracted info from the TV’s EDID:

Code: Select all

edid-decode edid.bin
Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   59 3a 11 10 01 01 01 01 00 19
version:         01 03
basic params:    80 58 31 78 2a
chroma info:     12 ed a5 55 52 99 24 0d 47 4a
established:     20 00 00
standard:        d1 c0 d1 fc 01 01 01 01 01 01 01 01 01 01 01 01
descriptor 1:    04 74 00 30 f2 70 5a 80 b0 58 8a 00 6e e5 31 00 00 1e
descriptor 2:    02 3a 80 18 71 38 2d 40 58 2c 45 00 6e e5 31 00 00 1e
descriptor 3:    00 00 00 fc 00 44 34 30 75 2d 44 31 0a 20 20 20 20 20
descriptor 4:    00 00 00 fd 00 19 4c 0f 8c 1e 00 0a 20 20 20 20 20 20
extensions:      01
checksum:        9e

Manufacturer: VIZ Model 1011 Serial Number 16843009
Made week 0 of 2015
EDID version: 1.3
Digital display
Maximum image size: 88 cm x 49 cm
Gamma: 2.20
DPMS levels: Off
Supported color formats: RGB 4:4:4, YCrCb 4:2:2
First detailed timing is preferred timing
Established timings supported:
  640x480@60Hz
Standard timings supported:
  1920x1080@60Hz
  1920x1080@120Hz
Detailed mode: Clock 297.000 MHz, 878 mm x 485 mm
               3840 4016 4104 4400 hborder 0
               2160 2168 2178 2250 vborder 0
               +hsync +vsync 
Detailed mode: Clock 148.500 MHz, 878 mm x 485 mm
               1920 2008 2052 2200 hborder 0
               1080 1084 1089 1125 vborder 0
               +hsync +vsync 
Monitor name: D40u
Monitor ranges (GTF): 25-76Hz V, 15-140kHz H, max dotclock 300MHz
Has 1 extension blocks
Checksum: 0x9e (valid)

CEA extension block
Extension version: 3
52 bytes of CEA data
  Video data block
    VIC 02 720x480@60Hz 
    VIC 03 720x480@60Hz 
    VIC 05 1920x1080i@60Hz 
    VIC 16 1920x1080@60Hz (native)
    VIC 04 1280x720@60Hz 
    VIC 32 1920x1080@24Hz 
    VIC 63 1920x1080@120Hz 
    VIC 93 Unknown mode 
    VIC 95 Unknown mode 
    VIC 100 Unknown mode 
  Audio data block
    Dolby Digital+, max channels 7
    Supported sample rates (kHz): 48 44.1
    RESERVED, max channels 0
    Supported sample rates (kHz):
    Maximum bit rate: 48 kHz
    RESERVED, max channels 0
    Supported sample rates (kHz):
    Maximum bit rate: 48 kHz
    RESERVED, max channels 0
    Supported sample rates (kHz):
    Maximum bit rate: 48 kHz
    Linear PCM, max channels 1
    Supported sample rates (kHz): 48 44.1 32
    Supported sample sizes (bits): 24 20
    AC-3, max channels 5
    Supported sample rates (kHz): 48 44.1 32
    Maximum bit rate: 48 kHz
  Speaker allocation data block
  Vendor-specific data block, OUI 000c03 (HDMI)
    Source physical address 5.0.0.0
    DC_36bit
    DC_30bit
    DC_Y444
    Maximum TMDS clock: 300MHz
    Extended HDMI video details:
      HDMI VIC 0 3840x2160@30Hz
      HDMI VIC 2 3840x2160@24Hz
      HDMI VIC 3 4096x2160@24Hz
  Extended tag: Reserved video block (0e)
Basic audio support
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
1 native detailed modes
Detailed mode: Clock 148.500 MHz, 878 mm x 485 mm
               1920 2008 2052 2200 hborder 0
               1080 1084 1089 1125 vborder 0
               +hsync +vsync 
Detailed mode: Clock 74.250 MHz, 878 mm x 485 mm
               1280 1390 1430 1650 hborder 0
                720  725  730  750 vborder 0
               +hsync +vsync 
Checksum: 0x4 (valid)

EDID block does NOT conform to EDID 1.3!
	Detailed block string not properly terminated
Here is some additional info from it, which lists only 30 and 24 Hz refresh rates being supported and the maximum dotclock:

Extended HDMI video details:
HDMI VIC 0 3840x2160@30Hz
HDMI VIC 2 3840x2160@24Hz
HDMI VIC 3 4096x2160@24Hz

max dotclock 300MHz


From what I’ve read, VIC is Video Identification Code and the value 0 refers to Full Range transmission vs Limited Range for all other numbers.

If you examine a Modeline, the frequency value after the resolution is the dotclock or pixel clock, the number of pixels which could theoretically be drawn per second on the monitor. The next 4 values are the horizontal timings used by the mode and the next 4 values are the vertical timings. Hsync and Vsync refer to the polarity of the horizontal and vertical signals.

The best values are those obtained from the manufacturer, who has done thorough testing. A Modeline is the Linux method of specifying the monitor timing information for the X Window system. A Modeline generated in Linux is an approximate guess that fortunately works well most of the time, but may not always give an optimal display, so you may see problems such as blurring or no display at all.

Most Linux users use the cvt tool for generating Modelines. The maximum dotclock is 300 MHz, so that eliminates using these modes. The dotclock is in red:

cvt 3840 2160
Modeline "3840x2160_60.00" 712.75 3840 4160 4576 5312 2160 2163 2168 2237 -hsync +vsync

cvt 3840 2160 30
Modeline "3840x2160_30.00" 338.75 3840 4080 4488 5136 2160 2163 2168 2200 -hsync +vsync

This could be used:
cvt 3840 2160 24
Modeline "3840x2160_24.00" 266.75 3840 4056 4456 5072 2160 2163 2168 2192 -hsync +vsync

The cvt tool can also generate Reduced Blanking modes, which have lower frequency values, so they allow a higher bandwidth to transmit video signals. However, only refresh rates of 60 Hz or multiples of it can be used. Today most LCD monitors and TVs use reduced blanking modes by default. The standard cvt modes were designed for the older analog CRT monitors but those modes will often still work for newer digital displays.

cvt 3840 2160 -r
Modeline "3840x2160R" 533.00 3840 3888 3920 4000 2160 2163 2168 2222 +hsync -vsync
The dotclock at 533 is a lot lower than 712 for the standard mode but still too high.


The umc (universal modeline calculator) tool can generate Reduced Blanking modes at any frequency, but it’s not available through the Mint repositories or any PPA that I know of. That allows use of a 30 Hz refresh rate:

umc 3840 2160 30 --rbt
Modeline "3840x2160x29.98" 262.75 3840 3888 3920 4000 2160 2163 2167 2191 +HSync -VSync

umc 3840 2160 24 --rbt
Modeline "3840x2160x24.00" 209.75 3840 3888 3920 4000 2160 2163 2167 2185 +HSync -VSync

That’s where the 2 modes you tested using the xrandr commands came from.

Then there is this mode from the EDID, which should be from the manufacturer:

Code: Select all

Detailed mode: Clock 297.000 MHz, 878 mm x 485 mm
               3840 4016 4104 4400 hborder 0
               2160 2168 2178 2250 vborder 0
               +hsync +vsync
Converting that info into a Modeline:

Code: Select all

Modeline "3840x2160_???"  297.00  3840 4016 4104 4400  2160 2168 2178 2250  +hsync +vsync
But is that for a 24 or 30 Hz fresh rate? Notice how the values differ from those generated by cvt and umc.

I think the mode is for a 30 Hz refresh rate because the dotclock of 297 is right at the limit of 300. I would suggest trying these commands using that mode:

Code: Select all

xrandr --newmode "3840x2160_30.00"  297.00  3840 4016 4104 4400  2160 2168 2178 2250  +HSync +VSync  
xrandr --addmode HDMI-1-1 3840x2160_30.00 	
xrandr --output HDMI-1-1 --mode 3840x2160_30.00

shawnlam
Level 1
Level 1
Posts: 31
Joined: Wed May 22, 2013 1:43 pm

Re: Dell 7773 NVIDIA MX150 3840x2160 Resolution Missing

Post by shawnlam » Sat Jun 23, 2018 3:06 pm

roblm,

I have been running with the settings you provided this morning. Overall, it appears to work quite well. After booting up and running the commands you provided, it does still have strange display issues until I reload Cinnamon with CTRL-ALT-ESC. After doing that, I have not noticed any issues.

-Shawn

User avatar
roblm
Level 9
Level 9
Posts: 2657
Joined: Sun Feb 24, 2013 2:41 pm

Re: Dell 7773 NVIDIA MX150 3840x2160 Resolution Missing

Post by roblm » Sat Jun 23, 2018 4:15 pm

shawnlam wrote:
Sat Jun 23, 2018 3:06 pm
After booting up and running the commands you provided, it does still have strange display issues until I reload Cinnamon with CTRL-ALT-ESC. After doing that, I have not noticed any issues.
You could try this command after using the other 3:

Code: Select all

xrandr --output HDMI-1-1 --mode 3840x2160_30.00 --pos 0x0 --panning 3840x2160

There are 3 other options that can be explored for getting the best screen display.

1. Test the 4096x2160@24Hz mode that is listed in the EDID. The commands would be:

Code: Select all

xrandr --newmode "4096x2160_23.98"  223.00  4096 4144 4176 4256  2160 2163 2167 2185  +HSync -VSync  
xrandr --addmode HDMI-1-1 4096x2160_23.98 	
xrandr --output HDMI-1-1 --mode 4096x2160_23.98
2. The steps done in earlier posts to get a working xorg.conf file were done for two main reasons. Sometimes the xrandr commands don’t work but a configuration file will work. Secondly, this would allow switching from the modesetting video driver, which is being used now, to the intel driver, which may give a better screen display and clear up the display issues you see after using the xrandr commands. You can tell me if you want to pursue this method. There would be more testing of configuration files.

3. Linux users often see display and resolution problems because the monitor's EDID can't be read correctly. This happens a lot less in Windows because the monitor's vendor provides a disk with .INF files, which list the monitor's supported resolutions and other info. This is added to the Windows Registry where it can be read by the graphics driver. Linux can't use these files so the graphics driver must extract this info directly from the monitor's EDID, which often fails for various reasons, or the EDID may be corrupted or have errors. So users must resort to a workaround using generated Modelines in a custom xorg.conf file or xrandr commands.
If that method doesn't work, then the monitor must be connected to a Windows system where the resolution is displaying correctly. The EDID can be retrieved with special programs and transferred to the Linux system. Windows users contemplating switching over completely to Linux should consider this potential problem area and leave one system running Windows or a dual-boot with Windows.

So you can consider getting the EDID from a Windows installation and comparing it to the Linux one.

One final point. If you continue to use the xrandr commands, then they can be added to a startup script, so that they are executed automatically.

shawnlam
Level 1
Level 1
Posts: 31
Joined: Wed May 22, 2013 1:43 pm

Re: Dell 7773 NVIDIA MX150 3840x2160 Resolution Missing

Post by shawnlam » Sat Jun 23, 2018 4:51 pm

roblm

The 4096x2160 display had quite a bit of flicker. I will stick with 3840x2160.

In Windows, the cooling fan is usually off and only turns on when utilizing more system resources than normal. In Linux, the fan never turns off. I'm not sure why. In Linux, using the nvidia-settings app, when using the Intel driver, the fan usually remains on low. When using the NVidia driver, the fan usually stays on medium or high, I'm not sure which. I really prefer to extend the life of my laptop as much as possible, so running with the Intel driver would be preferable.

I have used the nvidia-settings app to switch to the Intel driver, which, by the way, changes the monitor name from HDMI-1-1 to HDMI-1. It appears to be running equally as well as when using the NVidia driver, but the laptop is not as hot, so the fan stays on low most of the time.

-Shawn

User avatar
roblm
Level 9
Level 9
Posts: 2657
Joined: Sun Feb 24, 2013 2:41 pm

Re: Dell 7773 NVIDIA MX150 3840x2160 Resolution Missing

Post by roblm » Sat Jun 23, 2018 5:35 pm

shawnlam wrote:
Sat Jun 23, 2018 4:51 pm
In Linux, using the nvidia-settings app, when using the Intel driver, the fan usually remains on low. When using the NVidia driver, the fan usually stays on medium or high, I'm not sure which. I really prefer to extend the life of my laptop as much as possible, so running with the Intel driver would be preferable.
That is to be expected because the Nvidia GPU has greater video processing power.
shawnlam wrote:
Sat Jun 23, 2018 4:51 pm
I have used the nvidia-settings app to switch to the Intel driver, which, by the way, changes the monitor name from HDMI-1-1 to HDMI-1.
That usually happens when changing video drivers in Linux.

When I mentioned switching from the modesetting driver to the intel driver, this was only when the Nvidia GPU is selected in Nvidia Settings. When that is done, the Nvidia GPU does the image rendering and sends the data to the intel GPU, which displays the image onto the screen. In this situation, the intel GPU will be controlled by the modesetting driver unless the intel driver is configured to be used in a configuration file.

If you have the Intel GPU selected in Nvidia Settings, then the intel driver is always used, unless it is removed from your installation, and then the modesetting driver is used.


To run the xrandr commands automatically at startup, open the File Manager, right click in the empty space and select Create New Document > Empty Document. Add these lines:

Code: Select all

#!/bin/sh
xrandr --newmode "3840x2160_30.00"  297.00  3840 4016 4104 4400  2160 2168 2178 2250  +HSync +VSync  
xrandr --addmode HDMI-1-1 3840x2160_30.00 	
xrandr --output HDMI-1-1 --mode 3840x2160_30.00
I usually name the script with a dot before the name, so it is hidden, such as .xrandr, but you can store the script in any location. Next, go to System Settings > Startup Applications. Click the + button and select Custom command. Add a name and for the Command, type sh <path-to-script>. For example, sh /home/your-user-name/.xrandr. There is a Startup delay option which adds how many seconds the script will be delayed in being executed. This can be used if the script fails to work. Then add a 1 second delay at a time.

shawnlam
Level 1
Level 1
Posts: 31
Joined: Wed May 22, 2013 1:43 pm

Re: Dell 7773 NVIDIA MX150 3840x2160 Resolution Missing

Post by shawnlam » Sat Jun 23, 2018 7:14 pm

roblm

I don't think I'll miss the NVidia drivers. I am not a gamer, and I rarely do any video processing. I do occasionally have some 3D imaging, but I don't think it is anything that the Intel UHD 620 won't handle.

I had already created a script, and now I need to follow your directions to implement it at startup.

As far as I am concerned, this has been a huge help to me. I don't know why you spent so much time helping me out, but I greatly appreciate it. Thank you, so much. By the way, thank you for explaining what was going on while you were guiding me along the way. It helped me to learn what I need to learn. I'm not entirely sure where to start, but I hope to eventually be of some help in the Linux Mint Forums.

Have a great remainder of the weekend.

-Shawn

User avatar
roblm
Level 9
Level 9
Posts: 2657
Joined: Sun Feb 24, 2013 2:41 pm

Re: Dell 7773 NVIDIA MX150 3840x2160 Resolution Missing

Post by roblm » Sat Jun 23, 2018 7:56 pm

I did go into detail a lot more than I usually do because I also want this topic to be mini-guide that I can refer other users to, that have similar problems in Mint 19.

Has switching to the Intel GPU eliminated the strange display issues you see after using the xrandr commands, until you restart Cinnamon? If not, have you tested changing some settings in the TV, such as Picture mode and Viewing mode or the Judder setting?

One way to restart cinnamon automatically is to add this command at the bottom of your script:

Code: Select all

nohup cinnamon --replace > /dev/null 2>&1 &

If that command doesn’t work, then add the line sleep 1 just above it to delay the execution of the last command by 1 second. Keep increasing the value by 1 until it works. So the script will now look like this:

Code: Select all

#!/bin/sh
xrandr --newmode "3840x2160_30.00"  297.00  3840 4016 4104 4400  2160 2168 2178 2250  +HSync +VSync  
xrandr --addmode HDMI-1-1 3840x2160_30.00 	
xrandr --output HDMI-1-1 --mode 3840x2160_30.00
sleep 1
nohup cinnamon --replace > /dev/null 2>&1 &

Post Reply

Return to “Graphics Cards & Monitors”