Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black lines around UI elements with fractional scaling #81

Open
axel358 opened this issue Apr 8, 2024 · 3 comments
Open

Black lines around UI elements with fractional scaling #81

axel358 opened this issue Apr 8, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@axel358
Copy link

axel358 commented Apr 8, 2024

Distribution

Mint 21.3

Package version

Muffin 6.X

Graphics hardware in use

Intel Iris

Frequency

Always

Bug description

Black outlined rectangles flicker around UI elements, buttons, windows etc.

Possibly related issues:
https://gitlab.gnome.org/GNOME/mutter/-/issues/1500

https://discourse.gnome.org/t/weird-windows-flickering-borders-on-gnome-3-36-with-fractional-scaling-enabled/3953

Potential fixes:
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1554

Steps to reproduce

Enable fractional scaling

Expected behavior

No lines

Additional information

No response

@axel358 axel358 added the bug Something isn't working label Apr 8, 2024
@ddouglas87
Copy link

ddouglas87 commented Jun 29, 2024

Same bug. Someone else on Reddit wrote about experiencing the same bug too. I suspect this is the case for all graphics cards or just Nvidia graphics cards. My system is a vanilla fresh install of Mint 21.3 with only these modifications:

Accessibility: Large Text
Two 4k monitors plugged in, first fractional scaling 150%, second 200%.
Installed Nvidia video driver 555.52.04.
System updates up to date as of Jun 29th, 2024.
Installed nvidia-vaapi-driver, version v0.0.12 (Used for hardware youtube video playback in Firefox.)

Notes about my system:

bunny@happy:~$ neofetch
             ...-:::::-...                 bunny@happy 
          .-MMMMMMMMMMMMMMM-.              ----------- 
      .-MMMM`..-:::::::-..`MMMM-.          OS: Linux Mint 21.3 x86_64 
    .:MMMM.:MMMMMMMMMMMMMMM:.MMMM:.        Host: MS-7673 2.0 
   -MMM-M---MMMMMMMMMMMMMMMMMMM.MMM-       Kernel: 5.15.0-113-generic 
 `:MMM:MM`  :MMMM:....::-...-MMMM:MMM:`    Uptime: 2 mins 
 :MMM:MMM`  :MM:`  ``    ``  `:MMM:MMM:    Packages: 2455 (dpkg), 15 (flatpak), 
.MMM.MMMM`  :MM.  -MM.  .MM-  `MMMM.MMM.   Shell: bash 5.1.16 
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM-MMM:   Resolution: 3840x2160, 5120x2880 
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM:MMM:   DE: Cinnamon 6.0.4 
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM-MMM:   WM: Mutter (Muffin) 
.MMM.MMMM`  :MM:--:MM:--:MM:  `MMMM.MMM.   WM Theme: Mint-Y-Dark-Aqua (Mint-Y) 
 :MMM:MMM-  `-MMMMMMMMMMMM-`  -MMM-MMM:    Theme: Mint-Y-Dark-Aqua [GTK2/3] 
  :MMM:MMM:`                `:MMM:MMM:     Icons: Mint-Y-Sand [GTK2/3] 
   .MMM.MMMM:--------------:MMMM.MMM.      Terminal: gnome-terminal 
     '-MMMM.-MMMMMMMMMMMMMMM-.MMMM-'       CPU: Intel i5-2500K (4) @ 3.700GHz 
       '.-MMMM``--:::::--``MMMM-.'         GPU: NVIDIA GeForce GTX 980 
            '-MMMMMMMMMMMMM-'              Memory: 2142MiB / 23980MiB 
               ``-:::::-``
                                                                   
                                                                  
bunny@happy:~$ muffin --version
mutter 6.0.1
Copyright © 2001-2011 Havoc Pennington, Red Hat, Inc., and others
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


bunny@happy:~$ modinfo nvidia
filename:       /lib/modules/5.15.0-113-generic/updates/dkms/nvidia.ko
alias:          char-major-195-*
version:        555.52.04
supported:      external
license:        NVIDIA
firmware:       nvidia/555.52.04/gsp_tu10x.bin
firmware:       nvidia/555.52.04/gsp_ga10x.bin
srcversion:     7CC59AD55E0DD69F0C28592
alias:          pci:v000010DEd*sv*sd*bc06sc80i00*
alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
depends:        drm
retpoline:      Y
name:           nvidia
vermagic:       5.15.0-113-generic SMP mod_unload modversions 
sig_id:         PKCS#7
signer:         localhost.localdomain Secure Boot Module Signature key
sig_key:        02:E9:E7:A2:4A:F9:D1:E5:23:69:9F:CF:7B:BE:7C:41:34:5C:90:AB
sig_hashalgo:   sha512
signature:      3D:26:44:CA:A2:B3:9B:5D:7B:A0:A4:E7:87:52:9E:83:4B:8F:FD:17:
		0D:65:0F:AD:AC:B5:AF:B0:06:47:C6:3F:E8:D0:AE:D0:E2:8C:9C:BF:
		C8:2D:D0:CD:1E:D6:41:53:F5:27:62:54:C0:2A:39:D2:15:87:BA:4D:
		8F:5A:35:F0:51:4C:1E:8B:4B:EA:4F:D3:27:4D:B5:74:E0:2C:7E:BE:
		69:7F:5B:E2:01:7D:D8:51:0D:94:36:62:BC:C7:F3:B1:1D:23:01:C7:
		EA:76:04:E0:63:7D:E7:BE:5E:9F:A6:05:3B:22:EE:9B:E3:38:06:A5:
		01:60:DF:DC:21:78:F1:30:6A:10:1F:F4:FD:C8:EC:32:F6:BE:93:2D:
		B7:07:6A:FB:A4:0F:52:C5:73:0B:18:FA:84:0A:AF:13:A8:78:96:D7:
		44:FE:15:D1:18:25:56:D7:A6:91:25:77:50:05:F5:03:72:7F:96:A1:
		12:67:BD:D9:13:EC:59:FC:BE:6E:90:22:9B:78:4B:B4:36:BC:E9:B4:
		E4:76:44:2F:BD:DD:9D:D2:C8:DC:22:85:80:F6:F1:FD:45:D9:7A:4D:
		B1:10:80:93:59:C6:54:DB:44:0C:98:BF:7E:54:38:F0:C0:22:E6:F5:
		E2:50:D0:EF:3A:DE:18:88:FC:97:50:CB:D1:DC:4C:C1
parm:           NvSwitchRegDwords:NvSwitch regkey (charp)
parm:           NvSwitchBlacklist:NvSwitchBlacklist=uuid[,uuid...] (charp)
parm:           NVreg_ResmanDebugLevel:int
parm:           NVreg_RmLogonRC:int
parm:           NVreg_ModifyDeviceFiles:int
parm:           NVreg_DeviceFileUID:int
parm:           NVreg_DeviceFileGID:int
parm:           NVreg_DeviceFileMode:int
parm:           NVreg_InitializeSystemMemoryAllocations:int
parm:           NVreg_UsePageAttributeTable:int
parm:           NVreg_EnablePCIeGen3:int
parm:           NVreg_EnableMSI:int
parm:           NVreg_TCEBypassMode:int
parm:           NVreg_EnableStreamMemOPs:int
parm:           NVreg_RestrictProfilingToAdminUsers:int
parm:           NVreg_PreserveVideoMemoryAllocations:int
parm:           NVreg_EnableS0ixPowerManagement:int
parm:           NVreg_S0ixPowerManagementVideoMemoryThreshold:int
parm:           NVreg_DynamicPowerManagement:int
parm:           NVreg_DynamicPowerManagementVideoMemoryThreshold:int
parm:           NVreg_EnableGpuFirmware:int
parm:           NVreg_EnableGpuFirmwareLogs:int
parm:           NVreg_OpenRmEnableUnsupportedGpus:int
parm:           NVreg_EnableUserNUMAManagement:int
parm:           NVreg_MemoryPoolSize:int
parm:           NVreg_KMallocHeapMaxSize:int
parm:           NVreg_VMallocHeapMaxSize:int
parm:           NVreg_IgnoreMMIOCheck:int
parm:           NVreg_NvLinkDisable:int
parm:           NVreg_EnablePCIERelaxedOrderingMode:int
parm:           NVreg_RegisterPCIDriver:int
parm:           NVreg_EnableResizableBar:int
parm:           NVreg_EnableDbgBreakpoint:int
parm:           NVreg_EnableNonblockingOpen:int
parm:           NVreg_RegistryDwords:charp
parm:           NVreg_RegistryDwordsPerDevice:charp
parm:           NVreg_RmMsg:charp
parm:           NVreg_GpuBlacklist:charp
parm:           NVreg_TemporaryFilePath:charp
parm:           NVreg_ExcludedGpus:charp
parm:           NVreg_DmaRemapPeerMmio:int
parm:           NVreg_RmNvlinkBandwidth:charp
parm:           NVreg_ImexChannelCount:int
parm:           NVreg_CreateImexChannel0:int
parm:           rm_firmware_active:charp


bunny@happy:~$ cat /etc/environment
# Hardware Accelerated Youtube Video Playback
LIBVA_DRIVER_NAME=nvidia
MOZ_DISABLE_RDD_SANDBOX=1
__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json
#NVD_BACKEND=egl

@Susensio
Copy link

Same problem on Mint 22, integrated intel graphics card.
It's a shame because fractional scaling on X introduces a lot of lag, and same on wayland introduces these black boxes.

@bramtechs
Copy link

bramtechs commented Sep 7, 2024

Same issue on AMD RX 5600 XT on 4K monitor with scaling set to 150%.
Running on Debian Trixie.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants