You are not logged in.

#1 2017-11-15 01:45:30

Salkay
Member
Registered: 2014-05-22
Posts: 619

Fixing font corruption after using wine

Occasionally, after using wine, fonts get corrupted in other applications. For example:

XMPSgVjt.png

Restarting some applications such as terminator (above) fixes the problem. Restarting others, including pidgin, does not help. I'm using KDE Plasma, so I've also tried restarting kwin and plasmashell but neither appears to help. Is there a way to fix the corruption without restarting my system?

Offline

#2 2017-11-15 03:09:00

NoSuck
Member
Registered: 2015-03-04
Posts: 157
Website

Re: Fixing font corruption after using wine

Does "fc-cache -rv" produce any effect?

Offline

#3 2017-11-15 03:12:14

Salkay
Member
Registered: 2014-05-22
Posts: 619

Re: Fixing font corruption after using wine

Thanks for the answer. I'll give it a try next time I see the font corruption.

Offline

#4 2017-11-22 11:24:22

Salkay
Member
Registered: 2014-05-22
Posts: 619

Re: Fixing font corruption after using wine

So it happened again, but fc-cache -rv didn't seem to help. I ran it, and pidgin was unchanged. I then quit pidgin, ran it again, then relaunched pidgin, but the corruption was still present.

Oddly enough, after restarting my terminal (Terminator), the main monospace font (Hack) was fixed, but the non-monospace font (Deja Vu Sans Book) was still broken. You can see both in this screenshot.

ckPbya6t.png

Offline

#5 2017-11-22 11:49:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,657

Re: Fixing font corruption after using wine

I can't see the screenshots right now (proxy at $EMPLOYER shouldn't be anything on your side), but I do remember random font corruptions when using xf86-video-intel with the SNA acceleration method, so if that is the case you might want to either fallback to UXA or omit xf86-video-intel entirely and use the Xorg built-in modesetting driver instead (which is preferred in conjunction with KDE anyway).

Last edited by V1del (2017-11-22 11:50:14)

Offline

#6 2017-11-22 12:03:39

Salkay
Member
Registered: 2014-05-22
Posts: 619

Re: Fixing font corruption after using wine

Thank you for the response. The screenshots basically show random glyphs being replaced by grey-ish rectangles.

Sorry, I should have mentioned, but didn't even consider graphic drivers being relevant. I'm already using modesetting. However, I'm also using an Nvidia Optimus laptop with bumblebee/primusrun. I'm running wine with primusrun, although I still think it's a wine-related issue, because I've never seen this when using primusrun without wine.

Offline

Board footer

Powered by FluxBB