Flashing black borders around windows with Nvidia-390 and Mint 19

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Fishbreath

Flashing black borders around windows with Nvidia-390 and Mint 19

Post by Fishbreath »

I have a laptop I just upgraded to Mint 19. It has an Nvidia GTX 960M in it, and I frequently use it with a second monitor.

When windows are on the second monitor, and I wave the mouse over them, they gain a small, flashing black border:

Image

If there are two windows nearby, sometimes the borders expand to link up and overlap.

Image

Any ideas? Do you need more information beyond the inxi output below? Thanks.

inxi -Fxz:

Code: Select all

System:    Host: sif Kernel: 4.15.0-24-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.7 (Gtk 3.22.30-1ubuntu1) Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: HP product: HP Pavilion Notebook v: Type1ProductConfigId serial: N/A
           Mobo: HP model: 820D v: 82.25 serial: N/A UEFI: Insyde v: F.07 date: 05/27/2016
Battery    BAT0: charge: 42.3 Wh 100.0% condition: 42.3/42.3 Wh (100%)
           model: Hewlett-Packard Primary status: Full
           hidpp__0: charge: N/A condition: NA/NA Wh model: Logitech K350 status: Discharging
           hidpp__1: charge: N/A condition: NA/NA Wh
           model: Logitech Unifying Device. Wireless PID:1025 status: Discharging
CPU:       Quad core Intel Core i7-6700HQ (-MT-MCP-) arch: Skylake-S rev.3 cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 20736
           clock speeds: max: 3500 MHz 1: 800 MHz 2: 805 MHz 3: 801 MHz 4: 806 MHz 5: 804 MHz 6: 805 MHz
           7: 804 MHz 8: 1038 MHz
Graphics:  Card-1: Intel HD Graphics 530 bus-ID: 00:02.0
           Card-2: NVIDIA GM107M [GeForce GTX 960M] bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 ) drivers: nvidia (unloaded: fbdev,vesa) FAILED: modesetting
           Resolution: 2560x1440@59.95hz, 1920x1080@59.96hz
           OpenGL: renderer: GeForce GTX 960M/PCIe/SSE2 version: 4.6.0 NVIDIA 390.48 Direct Render: Yes
Audio:     Card Intel Sunrise Point-H HD Audio driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.15.0-24-generic
Network:   Card-1: Intel Wireless 7265 driver: iwlwifi bus-ID: 08:00.0
           IF: wlo1 state: up mac: <filter>
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 09:00.0
           IF: eno1 state: down mac: <filter>
Drives:    HDD Total Size: 1128.5GB (40.5% used)
           ID-1: /dev/sda model: SanDisk_SD8SNAT size: 128.0GB
           ID-2: /dev/sdb model: HGST_HTS721010A9 size: 1000.2GB
           ID-3: USB /dev/sdc model: NOOK_SimpleTouch size: 0.3GB
Partition: ID-1: / size: 118G used: 81G (73%) fs: ext4 dev: /dev/sda1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 68.5C mobo: N/A gpu: 0.0:54C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 299 Uptime: 1:23 Memory: 4184.7/15930.2MB Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 
wered

Re: Flashing black borders around windows with Nvidia-390 and Mint 19

Post by wered »

I am having the same issues with my ThinkPad T470s using Intel HD Graphics 520. It seems the issue only happens when I'm using multiple monitors.

Code: Select all

System:    Host: t470s Kernel: 4.15.0-20-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.7 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: LENOVO product: 20JS0015US v: ThinkPad T470s W10DG serial: <filter>
           Mobo: LENOVO model: 20JS0015US v: SDK0J40705 WIN serial: <filter>
           UEFI: LENOVO v: N1WET41W (1.20 ) date: 10/17/2017
Battery    BAT0: charge: 16.1 Wh 62.4% condition: 25.8/23.5 Wh (110%)
           model: SANYO 00HW022 status: Charging
           BAT1: charge: 27.0 Wh 98.1% condition: 27.5/26.1 Wh (105%)
           model: SMP 01AV462 status: N/A
CPU:       Dual core Intel Core i5-6300U (-MT-MCP-) 
           arch: Skylake rev.3 cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9984
           clock speeds: max: 3000 MHz 1: 899 MHz 2: 900 MHz 3: 900 MHz
           4: 891 MHz
Graphics:  Card: Intel HD Graphics 520 bus-ID: 00:02.0
           Display Server: X.Org 1.19.6
           drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1680x1050@59.95hz, 1680x1050@59.95hz, 1680x1050@59.95hz
           OpenGL: renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2)
           version: 4.5 Mesa 18.0.0-rc5 Direct Render: Yes
Audio:     Card Intel Sunrise Point-LP HD Audio
           driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.15.0-20-generic
Network:   Card-1: Intel Ethernet Connection I219-LM
           driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
           IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
           Card-2: Intel Wireless 8260 driver: iwlwifi bus-ID: 3a:00.0
           IF: wlp58s0 state: down mac: <filter>
Drives:    HDD Total Size: 256.1GB (24.2% used)
           ID-1: /dev/nvme0n1 model: KXG5AZNV256G_TOSHIBA size: 256.1GB
Partition: ID-1: / size: 225G used: 51G (24%) fs: ext4 dev: /dev/dm-1
           ID-2: /boot size: 705M used: 80M (13%)
           fs: ext4 dev: /dev/nvme0n1p2
           ID-3: swap-1 size: 8.46GB used: 0.00GB (0%)
           fs: swap dev: /dev/dm-2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 53.0C mobo: N/A
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 246 Uptime: 14:44 Memory: 3341.7/7856.8MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56
cytlan

Re: Flashing black borders around windows with Nvidia-390 and Mint 19

Post by cytlan »

Can confirm the same issue on my quad display setup. However, the issue only occurs on 2 of my 4 monitors, and seems to only affect the rendering of desktop wallpaper itself (windows and desktop icons always appear on top of the black boxes). Sometimes it flickers at the same rate as the redraw of the window.

Workaround if the issue becomes too annoying (or flickers too much): You can use a 100% black desktop wallpaper to at least hide the issue (Can't see flickering black boxes on a black background). Not really a solution, but at least you can continue to use the computer without this issue distracting you.

Image

Code: Select all

System:    Host: su Kernel: 4.15.0-20-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.7 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: desktop Mobo: Micro-Star model: X299 SLI PLUS (MS-7A93) v: 1.0 serial: N/A
           UEFI: American Megatrends v: 1.80 date: 01/31/2018
CPU:       8 core Intel Core i7-7820X (-MT-MCP-) 
           arch: Skylake rev.4 cache: 11264 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 57600
           clock speeds: max: 4400 MHz 1: 1224 MHz 2: 1247 MHz 3: 1753 MHz
           4: 1299 MHz 5: 1300 MHz 6: 1240 MHz 7: 1243 MHz 8: 1902 MHz
           9: 1290 MHz 10: 1245 MHz 11: 1294 MHz 12: 1300 MHz 13: 1300 MHz
           14: 1282 MHz 15: 1268 MHz 16: 3167 MHz
Graphics:  Card: NVIDIA GP104 [GeForce GTX 1080] bus-ID: 65:00.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: nvidia (unloaded: modesetting,fbdev,vesa,nouveau)
           Resolution: 1920x1200@59.95hz, 1920x1200@59.95hz, 1920x1200@59.95hz, 1920x1200@59.95hz
           OpenGL: renderer: GeForce GTX 1080/PCIe/SSE2
           version: 4.6.0 NVIDIA 390.48 Direct Render: Yes
Audio:     Card-1 NVIDIA GP104 High Def. Audio Controller
           driver: snd_hda_intel bus-ID: 65:00.1
           Card-2 Intel 200 Series PCH HD Audio
           driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.15.0-20-generic
Network:   Card-1: Intel Ethernet Connection (2) I219-V
           driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
           IF: enp0s31f6 state: down mac: <filter>
           Card-2: Intel I211 Gigabit Network Connection
           driver: igb v: 5.4.0-k port: 2000 bus-ID: 03:00.0
           IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 4256.9GB (1.2% used)
           ID-1: /dev/nvme0n1 model: Samsung_SSD_970_EVO_500GB size: 500.1GB
           ID-2: /dev/sda model: Samsung_SSD_850 size: 500.1GB
           ID-3: /dev/sdb model: Corsair_Force_LX size: 256.1GB
           ID-4: /dev/sdc model: ST32000641AS size: 2000.4GB
           ID-5: USB /dev/sdd model: D_HTS541010A9E66 size: 1000.2GB
Partition: ID-1: / size: 426G used: 17G (5%) fs: ext4 dev: /dev/dm-1
           ID-2: /boot size: 705M used: 79M (12%)
           fs: ext4 dev: /dev/nvme0n1p2
           ID-3: swap-1 size: 34.02GB used: 0.00GB (0%)
           fs: swap dev: /dev/dm-3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 30.0C mobo: N/A gpu: 0.0:51C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 324 Uptime: 18 min Memory: 1514.6/31836.3MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56
Fishbreath

Re: Flashing black borders around windows with Nvidia-390 and Mint 19

Post by Fishbreath »

Workaround-wise, I'll maximize a terminal. I can confirm it only affects the desktop background.
blahooligan

Re: Flashing black borders around windows with Nvidia-390 and Mint 19

Post by blahooligan »

I would like to say that I am having this issue, exactly as described above. Black bars are confined to the desktop. Also noticing when changing wallpaper, that the image takes time to fully fill the screen, with similar boundaries to where the black bars appear. Unfortunately I am very new to Linux in general, so I don't have any solutions.

if it helps, here is my inxi -Fxz:

Code: Select all

System:    Host: central Kernel: 4.15.0-20-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.7 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: desktop Mobo: ASUSTeK model: SABERTOOTH Z77 v: Rev 1.xx serial: N/A
           BIOS: American Megatrends v: 1403 date: 07/17/2012
CPU:       Quad core Intel Core i7-3770 (-MT-MCP-) 
           arch: Ivy Bridge rev.9 cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 27279
           clock speeds: max: 3900 MHz 1: 1604 MHz 2: 1604 MHz 3: 1604 MHz
           4: 1604 MHz 5: 1604 MHz 6: 1605 MHz 7: 1612 MHz 8: 1605 MHz
Graphics:  Card: NVIDIA GP104 [GeForce GTX 1070] bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: nvidia (unloaded: modesetting,fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.00hz, 1920x1080@60.00hz
           OpenGL: renderer: GeForce GTX 1070/PCIe/SSE2
           version: 4.6.0 NVIDIA 390.48 Direct Render: Yes
Audio:     Card-1 Intel 7 Series/C216 Family High Def. Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 NVIDIA GP104 High Def. Audio Controller
           driver: snd_hda_intel bus-ID: 01:00.1
           Sound: Advanced Linux Sound Architecture v: k4.15.0-20-generic
Network:   Card: Intel 82579V Gigabit Network Connection
           driver: e1000e v: 3.2.6-k port: f040 bus-ID: 00:19.0
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 2850.6GB (25.3% used)
           ID-1: /dev/sda model: Samsung_SSD_850 size: 250.1GB
           ID-2: /dev/sdb model: WDC_WD6000HLHX size: 600.1GB
           ID-3: /dev/sdc model: WDC_WD2003FZEX size: 2000.4GB
Partition: ID-1: / size: 114G used: 20G (19%) fs: ext4 dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 0.0:37C
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 287 Uptime: 20:59 Memory: 5024.2/15991.5MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 
lucask

Re: Flashing black borders around windows with Nvidia-390 and Mint 19

Post by lucask »

I have the exact same problem. Flashing black borders or areas around certain windows.

- This happens only when an external monitor is connected, but the flashing only occurs on the primary monitor
- All the flashing seems to happen in/on the background
- I recently did a clean install of Mint 19. Before (with for example Mint 18.3) I never had this problem
- I have a Thinkpad T420s laptop with Intel graphics HD3000

Here's the output of inxi -Fxz:

Code: Select all

System:    Host: ThinkPad Kernel: 4.15.0-29-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.8 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: LENOVO product: 41742AG v: ThinkPad T420s serial: N/A
           Mobo: LENOVO model: 41742AG serial: N/A
           UEFI: LENOVO v: 8CET66WW (1.46 ) date: 06/13/2018
Battery    BAT0: charge: 24.5 Wh 96.7% condition: 25.3/44.0 Wh (58%)
           model: SANYO 42T4845 status: N/A
CPU:       Dual core Intel Core i5-2520M (-MT-MCP-) 
           arch: Sandy Bridge rev.7 cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9967
           clock speeds: max: 3200 MHz 1: 832 MHz 2: 840 MHz 3: 881 MHz
           4: 851 MHz
Graphics:  Card: Intel 2nd Generation Core Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1600x900@60.00hz, 1920x1200@59.95hz
           OpenGL: renderer: Mesa DRI Intel Sandybridge Mobile
           version: 3.3 Mesa 18.0.5 Direct Render: Yes
Audio:     Card Intel 6 Series/C200 Series Family High Def. Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.15.0-29-generic
Network:   Card-1: Intel 82579LM Gigabit Network Connection
           driver: e1000e v: 3.2.6-k port: 4080 bus-ID: 00:19.0
           IF: enp0s25 state: up speed: 1000 Mbps duplex: full mac: <filter>
           Card-2: Intel Centrino Advanced-N 6205 [Taylor Peak]
           driver: iwlwifi bus-ID: 03:00.0
           IF: wlp3s0 state: up mac: <filter>
Drives:    HDD Total Size: 256.1GB (24.7% used)
           ID-1: /dev/sda model: SAMSUNG_SSD_830 size: 256.1GB
Partition: ID-1: / size: 234G used: 59G (27%) fs: ext4 dev: /dev/sda2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 58.0C mobo: N/A
           Fan Speeds (in rpm): cpu: 4034
Info:      Processes: 222 Uptime: 1:06 Memory: 2959.4/7858.5MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 
psyray

Re: Flashing black borders around windows with Nvidia-390 and Mint 19

Post by psyray »

Same problem for me

Code: Select all

System:    Host: dell-9560 Kernel: 4.15.0-29-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.8 (Gtk 3.22.30) Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: Dell product: XPS 15 9560 serial: N/A
           Mobo: Dell model: 0YV12N v: A02 serial: N/A
           UEFI: Dell v: 1.9.4 date: 04/23/2018
Battery    BAT0: charge: 42.0 Wh 97.3% condition: 43.1/56.0 Wh (77%)
           model: LGC-LGC4.64 DELL 5D91C73 status: Charging
CPU:       Quad core Intel Core i5-7300HQ (-MCP-) 
           arch: Skylake rev.9 cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 19968
           clock speeds: max: 3500 MHz 1: 909 MHz 2: 1166 MHz 3: 963 MHz
           4: 1143 MHz
Graphics:  Card-1: Intel Device 591b bus-ID: 00:02.0
           Card-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1920x1080@59.93hz, 2560x1440@59.95hz, 1920x1080@60.00hz
           OpenGL: renderer: Mesa DRI Intel HD Graphics 630 (Kaby Lake GT2)
           version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio:     Card-1 Intel CM238 HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:1f.3
           Card-2 Realtek driver: USB Audio usb-ID: 003-003
           Sound: Advanced Linux Sound Architecture v: k4.15.0-29-generic
Network:   Card-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
           driver: ath10k_pci bus-ID: 02:00.0
           IF: wlp2s0 state: up mac: <filter>
           Card-2: Atheros usb-ID: 001-003
           IF: null-if-id state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: 1512.3GB (77.6% used)
           ID-1: /dev/nvme0n1 model: Samsung_SSD_960_PRO_512GB size: 512.1GB
           ID-2: /dev/sda model: Samsung_SSD_850 size: 1000.2GB
Partition: ID-1: / size: 25G used: 14G (59%) fs: ext4 dev: /dev/nvme0n1p7
           ID-2: /opt size: 104G used: 70G (68%) fs: ext4 dev: /dev/nvme0n1p6
           ID-3: /home size: 877G used: 756G (87%) fs: ext4 dev: /dev/sda3
           ID-4: swap-1 size: 17.18GB used: 0.00GB (0%)
           fs: swap dev: /dev/sda4
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 47.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 231 Uptime: 23:56 Memory: 8144.0/15887.4MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (zsh 5.4.2) inxi: 2.3.56 
delaballe

Re: Flashing black borders around windows with Nvidia-390 and Mint 19

Post by delaballe »

Hi Everybody,

I Have exactly the same problem.

Code: Select all

# inxi -Fxz
System:    Host: t0oms-LIFEBOOK-U728 Kernel: 4.15.0-20-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.8 (Gtk 3.22.30-1ubuntu1) Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: FUJITSU product: LIFEBOOK U728 v: 10601736746 serial: N/A
           Mobo: FUJITSU model: FJNB2B4 v: D3 serial: N/A
           UEFI: FUJITSU // Insyde v: Version 1.09 date: 02/19/2018
Battery    CMB1: charge: 23.0 Wh 51.0% condition: 45.0/45.0 Wh (100%)
           model: Fujitsu CP734927-01 status: Discharging
CPU:       Quad core Intel Core i5-8250U (-MT-MCP-) arch: Kaby Lake rev.10 cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 14400
           clock speeds: max: 3400 MHz 1: 400 MHz 2: 400 MHz 3: 400 MHz 4: 400 MHz 5: 400 MHz 6: 400 MHz
           7: 400 MHz 8: 400 MHz
Graphics:  Card: Intel UHD Graphics 620 bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.19.6 ) drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.02hz, 1920x1080@60.00hz
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2)
           version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio:     Card Intel Sunrise Point-LP HD Audio driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.15.0-20-generic
Network:   Card-1: Intel Ethernet Connection (4) I219-LM driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
           IF: enp0s31f6 state: up speed: 100 Mbps duplex: full mac: <filter>
           Card-2: Intel Wireless 8265 / 8275 driver: iwlwifi bus-ID: 02:00.0
           IF: wlp2s0 state: up mac: <filter>
Drives:    HDD Total Size: 256.1GB (19.9% used)
           ID-1: /dev/sda model: Micron_1100_MTFD size: 256.1GB temp: 33C
Partition: ID-1: / size: 225G used: 41G (19%) fs: ext4 dev: /dev/dm-1
           ID-2: /boot size: 705M used: 80M (13%) fs: ext4 dev: /dev/sda2
           ID-3: swap-1 size: 8.38GB used: 0.00GB (0%) fs: swap dev: /dev/dm-2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 34.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 260 Uptime: 23:10 Memory: 1525.4/7776.3MB Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (zsh 5.4.2) inxi: 2.3.56 
TallJimbo
Level 1
Level 1
Posts: 14
Joined: Fri Aug 10, 2018 11:04 am

Re: Flashing black borders around windows with Nvidia-390 and Mint 19

Post by TallJimbo »

Different video card (Intel), but same problem. After trying various driver-based solutions, this bit of theme configuration seems to be what finally fixed this issue for me:

http://www.webupd8.org/2015/11/fix-larg ... eader.html
lucask

Re: Flashing black borders around windows with Nvidia-390 and Mint 19

Post by lucask »

TallJimbo wrote: Fri Aug 10, 2018 11:07 am Different video card (Intel), but same problem. After trying various driver-based solutions, this bit of theme configuration seems to be what finally fixed this issue for me:

http://www.webupd8.org/2015/11/fix-larg ... eader.html
Cool, thanks!

This solution also fixed it for me.
blahooligan

Re: Flashing black borders around windows with Nvidia-390 and Mint 19

Post by blahooligan »

TallJimbo wrote: Fri Aug 10, 2018 11:07 am Different video card (Intel), but same problem. After trying various driver-based solutions, this bit of theme configuration seems to be what finally fixed this issue for me:

http://www.webupd8.org/2015/11/fix-larg ... eader.html
This solution has been working so far for me as well. Thanks for the fix! Here's hoping it sticks.


**EDIT** after re-installing video card drivers, this problem resurfaced. Had to re-apply the fix. Posting the fix here as well, in the name of redundancy.

To fix the large black borders bug in Ubuntu, open ~/.config/gtk-3.0/gtk.css (create the ~/.config/gtk-3.0 folder if it doesn't exist) with a text editor (I'll use Gedit below):

mkdir -p ~/.config/gtk-3.0
gedit ~/.config/gtk-3.0/gtk.css


and in this file, add the following:

.window-frame {
box-shadow: none;
margin: 1px;
}


This forces any theme you use to have a 1 pixel border. You can use any value you want - for instance, use "0" for borderless windows.

Then save the file and close all the applications affected by the black border bug (or you can log out and log back in), then try them again and you shouldn't see large black borders any more.
ijash

Re: Flashing black borders around windows with Nvidia-390 and Mint 19

Post by ijash »

i also experiencing this too, I think it's happening only on first monitor after using dual monitor

TallJimbo wrote: Fri Aug 10, 2018 11:07 am Different video card (Intel), but same problem. After trying various driver-based solutions, this bit of theme configuration seems to be what finally fixed this issue for me:

http://www.webupd8.org/2015/11/fix-larg ... eader.html
After reboot. the issue still coming back.
I have no luck in this.

does anyone know which problem is this? nvidia? window manager? compositor? or cinnamon? so i can post a bug report to specific segment.

EDIT:

i don't think it's nvidia specific problem. my friend got this issue too even though his card is AMD radeon.
jodel

Re: Flashing black borders around windows with Nvidia-390 and Mint 19

Post by jodel »

I am using the nouveau open source driver on a freshly installed Linux Mint 19 Tara with Cinnamon 3.8.9 and as soon as I connect my second monitor via VGA and open up a terminal window black boxes appear. They appear not only around the window but also as a flickering black box somewhere else on the screen. I created the gtk.css file but still black boxes appear.

It seems that if I hover the window over a black box I can get it to disappear just for it to re-appear when I open more windows.

It only happens when connecting a second monitor. No NVIDIA driver in use but the open source Nouveau driver. This did not happen with Linux Mint 18 or before.

Hardware: Samsung Chronos 7 Nvidia GK107M
rmwiseman
Level 1
Level 1
Posts: 13
Joined: Tue Feb 10, 2015 4:16 am

Re: Flashing black borders around windows with Nvidia-390 and Mint 19

Post by rmwiseman »

I submitted a bug report similar to this one that got linked to it, but I can't see that link now so I thought I'd post my output too:

Code: Select all

# inxi -Fxz
System:    Host: rmw.zion.bt.co.uk Kernel: 4.15.0-36-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.9 (Gtk 3.22.30-1ubuntu1) Distro: Linux Mint 19 Tara
Machine:   Device: laptop System: LENOVO product: 20AQ007SUK v: ThinkPad T440s serial: <filter>
           Mobo: LENOVO model: 20AQ007SUK v: SDK0E50510 WIN serial: <filter>
           UEFI [Legacy]: LENOVO v: GJET79WW (2.29 ) date: 09/03/2014
Battery    BAT0: charge: 13.2 Wh 74.1% condition: 17.8/23.2 Wh (77%)
           model: SANYO 45N1773 status: Discharging
           BAT1: charge: 0.8 Wh 4.8% condition: 16.6/23.2 Wh (72%)
           model: SANYO 45N1775 status: N/A
CPU:       Dual core Intel Core i7-4600U (-MT-MCP-) arch: Haswell rev.1 cache: 4096 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 10775
           clock speeds: max: 3300 MHz 1: 2863 MHz 2: 2923 MHz 3: 2871 MHz 4: 2862 MHz
Graphics:  Card: Intel Haswell-ULT Integrated Graphics Controller bus-ID: 00:02.0
           Display Server: X.Org 1.19.6 drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.05hz
           OpenGL: renderer: Mesa DRI Intel Haswell Mobile
           version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio:     Card-1 Intel 8 Series HD Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 Intel Haswell-ULT HD Audio Controller driver: snd_hda_intel bus-ID: 00:03.0
           Sound: Advanced Linux Sound Architecture v: k4.15.0-36-generic
Network:   Card-1: Intel Ethernet Connection I218-LM
           driver: e1000e v: 3.2.6-k port: 3080 bus-ID: 00:19.0
           IF: eth0 state: down mac: <filter>
           Card-2: Intel Wireless 7260 driver: iwlwifi bus-ID: 03:00.0
           IF: wlan0 state: up mac: <filter>
Drives:    HDD Total Size: 256.1GB (77.1% used)
           ID-1: /dev/sda model: SAMSUNG_MZ7TE256 size: 256.1GB temp: 0C
Partition: ID-1: / size: 178G used: 129G (76%) fs: ext4 dev: /dev/sda5
           ID-2: swap-1 size: 62.35GB used: 0.01GB (0%) fs: swap dev: /dev/dm-0
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 40.0C mobo: N/A
           Fan Speeds (in rpm): cpu: 2958
Info:      Processes: 292 Uptime: 2:22 Memory: 6148.1/11700.5MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0 Client: Shell (sudo) inxi: 2.3.56 
I still occasionally see the black boxes. I did last week.
lucask

Re: Flashing black borders around windows with Nvidia-390 and Mint 19

Post by lucask »

Before I mentioned that the gtk.css fix worked for me, but unfortunately that's not always true. Sometimes it works, sometimes it doesn't work.

So I'm still looking for a permanent fix :(
lucask

Re: Flashing black borders around windows with Nvidia-390 and Mint 19

Post by lucask »

As a test I installed kernel 4.18.14 (http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18.14/) on Linux Mint 19, but the problem still persists...

Now let's hope that Cinnamon 4.0 will make a difference. Apparently there have been many gpu-related fixes (https://blog.linuxmint.com/?p=3644)
blahooligan

Re: Flashing black borders around windows with Nvidia-390 and Mint 19

Post by blahooligan »

Unfortunately I have to return, as the result is not 100% working for me now. I get flashes like before, but they tend to go away whenever I do something in that monitor, like select or move a window. Also, now the flashes seem to be more random in where they occur, as opposed to being largely attached to windows previously. I did change my display driver from the nvidia 390 to the 396 (to play around with steamplay and proton), and that is where these problems re-appeared, regardless of the css fix from before.
Artyom Havok

Re: Flashing black borders around windows with Nvidia-390 and Mint 19

Post by Artyom Havok »

same issue for me. i've notice however that issue doesn't surface right away. if i boot with only primary monitor save in the /etc/X11/xorg.conf that it isn't present but when i use my script from arandr

Code: Select all

#!/bin/sh
xrandr --output DVI-D-0 --mode 1920x1080 --pos 0x0 --rotate right --output HDMI-0 --off --output DP-5 --off --output DP-4 --off --output DP-3 --off --output DP-2 --off --output DP-1 --off --output DP-0 --primary --mode 1920x1080 --pos 1080x420 --rotate normal -r 144
that it returns.
or if boot with both monitors at my desk on from the xorg file then it doesn't show up until i change displays with the script shortcut.
one monitor is 60hertz and the other 144hertz i dont know if that is relevant or not. oh and the black boxes appear around the task manager trey alot i assume it was a glitch about the popup info bubbles until i saw it was trailing after windows when i moved them. this is with the Nvidia driver 410.73 sorry if i don't exactly know what some things in mint are called i'm new here :)
ccpetersen

Re: Flashing black borders around windows with Nvidia-390 and Mint 19

Post by ccpetersen »

Same problem here running LM under vmware fusion on a mac. The update to gtk.css worked up until the update today with a new kernel.

Linux lmint 4.15.0-42-generic #45-Ubuntu SMP Thu Nov 15 19:32:57 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Any suggestions?
lucask

Re: Flashing black borders around windows with Nvidia-390 and Mint 19

Post by lucask »

Unfortunately the upgrade to Linux Mint 19.1 did not resolve the issue for me :(

Update: Although updating from kernel 4.15.0-43 to 4.18.0-13 (through the Update Manager this time, instead of doing it manually like I tried before) for now seems to solve the issue. I've had before that it seems to work for a while but comes back later, so I'm only cautiously enthusiastic.
Locked

Return to “Cinnamon”