IsmaelMartinez / teams-for-linux

Unofficial Microsoft Teams for Linux client
GNU General Public License v3.0
2.93k stars 237 forks source link

Fonts are blurry on 4k monitor in Arch Gnome Wayland Nvidia 555 #1348

Closed felri closed 2 months ago

felri commented 3 months ago

Describe the bug Fonts are blurry in Arch gnome wayland with Nvidia 555

To Reproduce Steps to reproduce the behavior:

  1. Open the application

Expected behavior Fonts should not be blurry

Screenshots If applicable, add screenshots to help explain your problem. Teams for linux fonts: Screenshot from 2024-07-23 12-57-59

Teams: Screenshot from 2024-07-23 12-58-59

Desktop (please complete the following information):

Debug

 teams-for-linux --webDebug --logConfig='{}'                                                                                                                                                                                  10:54:40
No config file found, using default values
[DEBUG] configPath:,/home/admin/.config/teams-for-linux
[DEBUG] configFile:,[object Object]
[INFO] Running under Wayland, switching to PipeWire...
[DEBUG] Custom background service url is 'http://localhost'
[DEBUG] processArgs:,/opt/teams-for-linux/teams-for-linux,--enable-features=UseOzonePlatform,--ozone-platform=wayland,--webDebug,--logConfig={}
[DEBUG] testing RegExp processArgs false
[DEBUG] testing RegExp processArgs false
[DEBUG] testing RegExp processArgs false
[DEBUG] testing RegExp processArgs false
[DEBUG] testing RegExp processArgs false
[DEBUG] Testing network using net.request() for https://teams.microsoft.com/
[DEBUG] Spellchecker is disabled!
[DEBUG] Network test successful with method https
[DEBUG] GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 0s, IdleState: 'active'
[216157:0723/125917.878276:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not part of the idle inhibition specification: https://specifications.freedesktop.org/idle-inhibit-spec/latest/
[216157:0723/125917.882141:ERROR:CONSOLE(1)] "Request Autofill.enable failed. {"code":-32601,"message":"'Autofill.enable' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)
[DEBUG] did-frame-finish-load,[object Object],true
[DEBUG] did-finish-load
[DEBUG] Badge count set to '0'
[DEBUG] Badge count set to '0'
[DEBUG] Badge count set to '0'
[DEBUG] GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 0s, IdleState: 'active'
[216157:0723/125931.405112:ERROR:CONSOLE(1)] "Request Autofill.enable failed. {"code":-32601,"message":"'Autofill.enable' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1)
[DEBUG] did-frame-finish-load,[object Object],false
[DEBUG] Badge count set to '0'
[DEBUG] GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 0s, IdleState: 'active'
[DEBUG] GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 0s, IdleState: 'active'

Additional context It started to happen yesterday, not sure if it's relevant

IsmaelMartinez commented 3 months ago

Hi @felri , have you check the hardware acceleration config options? Maybe your drivers have changed and now you need to disable some acceleration. Try if you get this also in previous versions, as it might be something todo with 1.8.0

IsmaelMartinez commented 2 months ago

I think this is related to hardward acceleration. Can you check with the 1.9.1 pre-release and the config option disableGpu?

Your logs seems to point to the https://github.com/electron/electron/issues/32760 and the suggested fix is in https://github.com/IsmaelMartinez/teams-for-linux/issues/1369 that was applied on that release.

Closing as I haven't heard anything from you in the last 2 weeks. Do reach out if the fix doesn't work. Thanks