Wine : unbunte 8.04 -> 8.10 : Font problem in Wine applications

Bug #300476 reported by mpaq
44
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Wine
Invalid
Wishlist
nvidia-graphics-drivers-96 (Ubuntu)
Fix Released
Undecided
Unassigned
Declined for Intrepid by Steve Langasek
Declined for Jaunty by Steve Langasek

Bug Description

Binary package hint: wine

Ubuntu 8.10
Wine 1.0.1

In Ubuntu 8.04 : no problem ; font where OK
In ubuntu 8.10 : the font chosen by wine for common screen is not correctly driven : thinks are unreadable on screen (superposition of characters) (same in Wine configuration settings panel)

Best regards

M Paquet

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/wine-preloader
NonfreeKernelModules: nvidia
Package: wine 1.0.1-0ubuntu2
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: wine
Uname: Linux 2.6.27-8-generic i686

Tags: apport-bug
Revision history for this message
mpaq (mipaquet) wrote :
Revision history for this message
Scott Ritchie (scottritchie) wrote :

Could you attach a screenshot please?

Also, could you try moving (or renaming) the hidden ~/.wine folder, and then run winecfg again to see if the problem represents itself in a new Wine setup?

Changed in wine:
status: New → Incomplete
Revision history for this message
In , Scott Ritchie (scottritchie) wrote :

From Launchpad: https://bugs.edge.launchpad.net/ubuntu/+source/wine/+bug/300476

This is what winecfg looks like: http://launchpadlibrarian.net/19841385/Wine%20Font%20Issue.png

Upgrading from Ubuntu 8.04 to 8.10 caused this. The only relevant difference I can spot in the Wine package is that it went from 1.0.0 to 1.0.1, however I suspect that the problem here is some underlying library. But which one?

Revision history for this message
In , Austin English (austinenglish) wrote :

Does reverting wine to 1.0.0 fix it?

Revision history for this message
ChasD (cdulde) wrote :

Have had same problem. Renamed ~/.wine folder and re-ran winecfg - result is same (see screenshot below)

Revision history for this message
Scott Ritchie (scottritchie) wrote :

This attachment should work (for some reason yours didn't have a .png extension)

Changed in wine:
status: Incomplete → Confirmed
Revision history for this message
mpaq (mipaquet) wrote : Re: [Bug 300476] Re: Wine : unbunte 8.04 -> 8.10 : Font problem in Wine applications

Scott Ritchie a écrit :
> Could you attach a screenshot please?
>
> Also, could you try moving (or renaming) the hidden ~/.wine folder, and
> then run winecfg again to see if the problem represents itself in a new
> Wine setup?
>
> ** Changed in: wine (Ubuntu)
> Status: New => Incomplete
>
Here is the print screen...
I'll try to remove =/.wine this evening and I'll send you the results as
soon as possible.

Best regards

M. Paquet

Changed in wine:
status: Unknown → Confirmed
Revision history for this message
mpaq (mipaquet) wrote :

Scott Ritchie a écrit :
> This attachment should work (for some reason yours didn't have a .png
> extension)
>
> ** Attachment added: "Wine Font Issue.png"
> http://launchpadlibrarian.net/19841385/Wine%20Font%20Issue.png
>
> ** Changed in: wine (Ubuntu)
> Status: Incomplete => Confirmed
>
I've try it..
It does not work (see attachment).

Best regards

M. Paquet

Revision history for this message
In , Vincent Povirk (madewokherd) wrote :

For what it's worth, I've seen 3 or 4 different reports of what looks like the same issue in the past few days (this bug, bug 16155, and two reports I'm remembering of the same issue in CrossOver, though they might be from the same person). It might be from a recent update in 8.10.

Revision history for this message
In , Dan Kegel (dank) wrote :

*** Bug 16155 has been marked as a duplicate of this bug. ***

Revision history for this message
Dan Kegel (dank) wrote :

I'm seeing this, too. It seems quite new -- was there a recent update of some font library in ubuntu?

Fresh .wine and fresh wine from git don't help.

Also, with visual effects on in the ubuntu desktop, lots of stuff is all f*cked up. Even the title bar
for xterm looks awful when you mouse over the minimize/maximize buttons. And text doesn't appear *at all* in wine with that setting.

This is with the latest nvidia drivers from ubuntu.

Revision history for this message
Dan Kegel (dank) wrote :

The culprit may be be (from /var/log/dpkg.log):

2008-11-21 20:31:01 install nvidia-glx-96 <none> 96.43.09-0ubuntu1

Doing System / Administration / Hardware Drivers
and then disabling the nvidia driver -- and then rebooting! --
seems to make the problem go away on my compaq r3000.

Revision history for this message
ChasD (cdulde) wrote :

I can confirm Dan's discovery. My initial install of wine 1.1.8 on Ubuntu Intrepid (8.10) had no issues with fonts. Only after I modified System->Appearance->Visual Effects from 'None' to 'Normal' did the problem occur. I recall in making this change that the nVidia driver needed to be installed after which I needed to re-boot to enable the effects. I played around with the effects on and decided that I preferred the 'None' setting and switched it back and rebooted again. However, the driver remained activated and thus the problem did not go away.

Like Dan, I deactivated the nVidia hardware driver, rebooted and the problem went away - however... I had to re-install Wine in order to get it working again.

Running on a Pentium III Dell Dimension 4100

Thanks Dan!

- Chuck

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Dan, can you test the nvidia-glx-177 or -173 drivers? It seems like there's overlap with those and the -96 in terms of what cards they support.

ChasD: what version of the drivers did you have? Also -96?

Revision history for this message
In , Dan Kegel (dank) wrote :

This may affect only the legacy nvidia drivers, i.e. those for
older graphics cards. In particular, it might be just
the version of nvidia-glx-96 that is included in intrepid-updates.

If you're affected by this, please post the output of the three commands
  cat /etc/issue
  lspci | grep -i vga
and
  dpkg-query -W nvidia-glx-*

Revision history for this message
mpaq (mipaquet) wrote : Re: [Bug 300476] Re: Wine : unbunte 8.04 -> 8.10 : Font problem in Wine applications

Scott Ritchie a écrit :
> Dan, can you test the nvidia-glx-177 or -173 drivers? It seems like
> there's overlap with those and the -96 in terms of what cards they
> support.
>
> ChasD: what version of the drivers did you have? Also -96?
>
I was also in 96...
With "nv", the font is correctly screened.
I've try other nvidia configurations but they did not work at
all...(nvidia did not start and I've to use a TTY console to change back
to the "nv" X11 configuration)
I've possibelly make mistakes in those configurations...
This is the last nvidia "packages" installed on my computer (and did not
work):
nvidia-173-modaliases
nvidia-177-kernel-source
nvidia-177-modaliases
nvidia-71-modaliases
nvidia-96-modaliases
nvidia-common
nvidia-glx-177
nvidia-kernel-common
nvidia-settings
(all from "Intrepid" repositionary)

Best regards

M. Paquet

Revision history for this message
Dan Kegel (dank) wrote :

Sadly, I don't have any cards that are supported by both drivers.

I see there is an older version of nvidia-glx-96 available
( http://packages.ubuntu.com/intrepid/nvidia-glx-96
vs. http://packages.ubuntu.com/intrepid-updates/nvidia-glx-96 )
but I can't figure out how to install it; I tried downloading
its three files and doing
  sudo dpkg -i nvidia-96-kernel-source_96.43.05-0ubuntu10_i386.deb nvidia-glx-96-dev_96.43.05-0ubuntu10_i386.deb nvidia-glx-96_96.43.05-0ubuntu10_i386.deb
but this failed with
 Error! Bad return status for module build on kernel: 2.6.27-7-generic (i686)
 Consult the make.log in the build directory
 /var/lib/dkms/nvidia/96.43.05/build/ for more information.
That file had lots of compile errors, e.g.
In file included from /var/lib/dkms/nvidia/96.43.05/build/nv.c:14:
 /var/lib/dkms/nvidia/96.43.05/build/nv-linux.h: In function ‘nv_execute_on_all_cpus’:
 /var/lib/dkms/nvidia/96.43.05/build/nv-linux.h:620: error: too many arguments to function ‘on_each_cpu’

So I guess the easiest path would be to try a fresh install of
*non-updated* Intrepid. If that doesn't have the problem,
then the likely culprit is the newer nvidia-96 version in intrepid updates.
- Dan

Revision history for this message
mpaq (mipaquet) wrote :

mpaq a écrit :
> Scott Ritchie a écrit :
>> Dan, can you test the nvidia-glx-177 or -173 drivers? It seems like
>> there's overlap with those and the -96 in terms of what cards they
>> support.
>>
>> ChasD: what version of the drivers did you have? Also -96?
>>
> I was also in 96...
> With "nv", the font is correctly screened.
> I've try other nvidia configurations but they did not work at
> all...(nvidia did not start and I've to use a TTY console to change back
> to the "nv" X11 configuration)
> I've possibelly make mistakes in those configurations...
> This is the last nvidia "packages" installed on my computer (and did not
> work):
> nvidia-173-modaliases
> nvidia-177-kernel-source
> nvidia-177-modaliases
> nvidia-71-modaliases
> nvidia-96-modaliases
> nvidia-common
> nvidia-glx-177
> nvidia-kernel-common
> nvidia-settings
> (all from "Intrepid" repositionary)
>
>
> Best regards
>
> M. Paquet
>
I've come back to -96 version (my old ti 200 card is not compatible with
other versions) because colors in DVD and pictures are to affected by
the nv drive (every things seems to be in black and withe)
Hoping you could improve the Intrepid nvidia version...

Best regards

M. Paquet

Revision history for this message
Benoît Rouits (brouits) wrote :

same problem here, having those nvidia packages (dpkg -l | grep nvidia | grep ^ii [...]):
nvidia-173-modaliases: 173.14.12-1-0ubuntu5
nvidia-177-modaliases: 177.80-0ubuntu3
nvidia-71-modaliases: 71.86.07-0ubuntu1
nvidia-96-kernel-source: 96.43.09-0ubuntu1
nvidia-96-modaliases: 96.43.09-0ubuntu1
nvidia-common: 0.2.4
nvidia-glx-96: 96.43.09-0ubuntu1
nvidia-kernel-common: 20051028+1+nmu2ubuntu2
nvidia-settings: 177.78-0ubuntu2.1

and recommended/suggested fonts for wine:
ttf-liberation (recommended)
msttcorefonts (suggested)

Revision history for this message
montun (montun) wrote :

Same problem here with NVIDIA Geforce ti 4200 only supported by 96 drivers.

My packages:
linux-image-2.6.27-10-generic 2.6.27-10.20
linux-restricted-modules-2.6.27-10-generic 2.6.27-10.14
nvidia-96-kernel-source 96.43.09-0ubuntu1
nvidia-96-modaliases 96.43.09-0ubuntu1
nvidia-glx-96 96.43.09-0ubuntu1

I did try wine version 1.0.1 from ubuntu.com, wine 1.1.9 from winehq and wine 0.9.58 from winehq. None of them worked.

I also tried to add Option "RenderAccel" "0" to the device section in the xorg.conf, but it did not help.

Revision history for this message
mpaq (mipaquet) wrote :

Scott Ritchie a écrit :
> Dan, can you test the nvidia-glx-177 or -173 drivers? It seems like
> there's overlap with those and the -96 in terms of what cards they
> support.
>
> ChasD: what version of the drivers did you have? Also -96?
>
No one is working with my old Ti 200 card.
But the -96 version of nvidia drivers was perfectly working on ubuntu
8.04...
Is it not possible to import those "old" drivers is the new ubuntu 8.10
with a other revision so that they could replace the actual version just
for the time you'll find the solution for those new drivers?

Best regards

M. Paquet

Revision history for this message
In , Lei Zhang (thestig-google) wrote :

Is this related to compiz perhaps?

Revision history for this message
In , Dan Kegel (dank) wrote :

Happens even with effects disabled, so I don't think so.

Revision history for this message
Alexander A. (the2ndhare) wrote :

I had this problem with my legacy nVidia card, and found the solution on UbuntuForums ( http://ubuntuforums.org/showthread.php?t=966709 ) with a reference to a wine FAQ entry ( http://wiki.winehq.org/FAQ#head-dec980f6deabdb11b789c981bf49e10e70929eaf ).

Appending

[HKEY_CURRENT_USER\Software\Wine\X11 Driver]
"ClientSideWithRender"="N"

to wine registry did the trick.

Revision history for this message
In , Austin English (austinenglish) wrote :

*** Bug 16243 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dan Kegel (dank) wrote :

Workaround was posted in ubuntu bug 300476:
 See http://ubuntuforums.org/showthread.php?t=966709 and
 http://wiki.winehq.org/FAQ#head-dec980f6deabdb11b789c981bf49e10e70929eaf
 Appending
[HKEY_CURRENT_USER\Software\Wine\X11 Driver]
"ClientSideWithRender"="N"
 to wine registry did the trick.

Sure enough. So I guess the Render extension is busted with the
nvidia-96 drivers on Intrepid?

Revision history for this message
mpaq (mipaquet) wrote : Re: [Bug 300476] Re: Wine : unbunte 8.04 -> 8.10 : Font problem in Wine applications

Alexander A. a écrit :
> I had this problem with my legacy nVidia card, and found the solution on
> UbuntuForums ( http://ubuntuforums.org/showthread.php?t=966709 ) with a
> reference to a wine FAQ entry ( http://wiki.winehq.org/FAQ#head-
> dec980f6deabdb11b789c981bf49e10e70929eaf ).
>
> Appending
>
> [HKEY_CURRENT_USER\Software\Wine\X11 Driver]
> "ClientSideWithRender"="N"
>
> to wine registry did the trick.
>
It's working...
Just creat a settings.txt file with the precedent lines ([HKEY....)
save it in .wine
and run regedit setttings.txt from your .wine dir...

Thanks

mpaq

Revision history for this message
Gert-Jan Meinen (gertjan-meinen) wrote :

Also worked for me (nvidea MX440)

Thanks

Revision history for this message
In , Uns (uns) wrote :

Hello, I'm experiencing the same problem. It has started after a huge upgrade of kernel, X and drivers. The bug "visage" is identic to the reported image.
All Wine applications and software are affected bz the bug, also in Crossover.

My parameters:

Linux 2.6.27-ARCH
#1 SMP PREEMPT Fri Nov 28 10:56:24 UTC 2008
i686
AMD Athlon(tm)
processor AuthenticAMD
GNU/Linux

01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)

X.org 7.4
KDE 4.1
Wine 1.1.10-1
generic driver nvidia-96xx 96.43.09-1

Revision history for this message
In , Dan Kegel (dank) wrote :

Yeah. What we need is somebody to try the vanilla unupdated ubuntu 8.10
from cd-rom and see if it lacks this problem. Then we can point our fingers
squarely at the update...

Revision history for this message
In , Uns (uns) wrote :

(In reply to comment #4)
> This may affect only the legacy nvidia drivers, i.e. those for
> older graphics cards. In particular, it might be just
> the version of nvidia-glx-96 that is included in intrepid-updates.
>
> If you're affected by this, please post the output of the three commands
> cat /etc/issue
> lspci | grep -i vga
> and
> dpkg-query -W nvidia-glx-*
>

Hello, I'm experiencing the same problem. It has started after a huge upgrade of kernel, X and drivers. The bug "visage" is identic to the reported image.
All Wine applications and software are affected bz the bug, also in Crossover.

My parameters:

Linux 2.6.27-ARCH
#1 SMP PREEMPT Fri Nov 28 10:56:24 UTC 2008
i686
AMD Athlon(tm)
processor AuthenticAMD
GNU/Linux

01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)

X.org 7.4
KDE 4.1
Wine 1.1.10-1
generic driver nvidia-96xx 96.43.09-1

Revision history for this message
In , Dimesio (dimesio) wrote :

(In reply to comment #10)
> Yeah. What we need is somebody to try the vanilla unupdated ubuntu 8.10
> from cd-rom and see if it lacks this problem. Then we can point our fingers
> squarely at the update...
>

The user in comment #9 is using Arch Linux (I sent him here from the forum), so this problem is not limited to Ubuntu.

Revision history for this message
In , Lei Zhang (thestig-google) wrote :

*** Bug 16422 has been marked as a duplicate of this bug. ***

Revision history for this message
ChasD (cdulde) wrote :

"Appending

[HKEY_CURRENT_USER\Software\Wine\X11 Driver]
"ClientSideWithRender"="N"

to wine registry did the trick."

also worked for me on the Wine issue, but have also found that the nvidia -96 driver is still a problem. You may want me to open another issue, but I think it's related... that is when I re-activate the nvidia driver, I have now found it trashes the menus in openoffice. I've confirmed if I deactivate the nvidia -96 driver that the openoffice menus are fine.

Let me know how you want to handle (new bug?) - Chuck

Revision history for this message
Dan Kegel (dank) wrote :

Since this affects both Wine and OpenOffice, and seems to be caused by a problem in the old nvidia drivers, let's move it to the nvidia-graphics-drivers-96 package.

Revision history for this message
In , Uns (uns) wrote :

(In reply to comment #12)
> (In reply to comment #10)
> > Yeah. What we need is somebody to try the vanilla unupdated ubuntu 8.10
> > from cd-rom and see if it lacks this problem. Then we can point our fingers
> > squarely at the update...
> >
>
> The user in comment #9 is using Arch Linux (I sent him here from the forum), so
> this problem is not limited to Ubuntu.
>

Yes, there are few reports in ArchLinux forum:
http://bbs.archlinux.org/viewtopic.php?pid=461081#p461081

IMO it's the driver bug, the nvidia-96xx driver. It could be a conflict with new xorg or kernel.

I've solved my problem by switching to the open source driver xf86-video-nv.
Now my wine applications work fine, except the Canon DPP - It works, but I can't upgrade to the newest version. However, I'm satisfied for now :o)

I'll wait for future, for better driver version or for better PC with new graphic card :o) I'm going to write a message to Santa.

Revision history for this message
Dan Kegel (dank) wrote :

I tried reproducing the openoffice problem, but couldn't. Can you give a recipe or more details there?

Revision history for this message
frederyk (frederyk) wrote :

For me regedit did the trick too. Thank you very much!
I love the community therefore.

Revision history for this message
In , Dmitry-codeweavers (dmitry-codeweavers) wrote :

*** Bug 16524 has been marked as a duplicate of this bug. ***

Revision history for this message
Giorgio Catanzaro (catanzag) wrote :

For OpenOffice I solved the issue as explained in one of the comments of bug #251107, that is inserting in section Device of /etc/X11/xorg.conf the line

Option "RenderAccel" "0"

Hope this can help you

Rgds

Revision history for this message
Dan Kegel (dank) wrote :

Giorgio / Chuck, can you provide a screenshot of the problem in OpenOffice
or a recipe for how to reproduce the OpenOffice problem?

Revision history for this message
Giorgio Catanzaro (catanzag) wrote :

Dan,

the problem I had (and that is cited in bug #251107) is that with the recently released nvidia legacy driver compatible with Xorg 7.5, that is 96.43.09, OOo, KDE3 and Wine applications don't show neither menus nor dialog text. Completely. All the room reserved for menu and and other text is simply white, though it responds to the mouse click correctly and some blinking text is shown, but then disappears. All these effects with the xorg workaround are not present (for OOo and KDE3 apps). This is a known bug to be bored in order to have accelerated 3d and desktop effects for, as me, have old graphic cards.

Thank you for your support

rgds

Revision history for this message
In , Austin English (austinenglish) wrote :

*** Bug 16606 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dan Kegel (dank) wrote :

The bug has been acknowledged by Nvidia. See post #8 in
http://www.nvnews.net/vbulletin/showthread.php?p=1827692

Revision history for this message
In , Dmitry-codeweavers (dmitry-codeweavers) wrote :

Here is a Howto with a workaround for this bug (referenced from that post):
http://www.nvnews.net/vbulletin/showthread.php?p=1838646#post1838646

Revision history for this message
Dan Kegel (dank) wrote :

Giorgio, thanks for that link. It led me to the thread
http://www.nvnews.net/vbulletin/showthread.php?p=1827692
in which (see post number 8) AaronP of NVIDIA Corporation
explains what the bug is and says it will be fixed in the next beta
release of the driver.

The latest beta release number is listed at
http://www.nvnews.net/vbulletin/showthread.php?t=122606
(also by Aaron P). As soon as there's a release of
"Legacy releases for GeForce 2 through GeForce 4 series GPUs"
that's later than 96.43.09, give it a try.

Revision history for this message
Dan Kegel (dank) wrote :

Also: the bug affects firefox 3 in Intrepid, too! For me, viewing the page
http://hi.baidu.com/jmlover/blog/item/ea27c83df3b883c29f3d62cf.html
shows the font scribble with the nvidia driver, but not with the nv driver.

(One more note: the nvidia thread mentions that turning on antialiased
font rendering is another workaround.)

Revision history for this message
In , Vitaliy-bugzilla (vitaliy-bugzilla) wrote :

Which makes this bug invalid.

Revision history for this message
In , Vitaliy-bugzilla (vitaliy-bugzilla) wrote :

Closing invalid.

Revision history for this message
In , Austin English (austinenglish) wrote :

(In reply to comment #19)
> Which makes this bug invalid.
>

Perhaps we should keep it open until a fix is out, to make searching easier...

Changed in wine:
status: Confirmed → Invalid
Revision history for this message
In , Vitaliy-bugzilla (vitaliy-bugzilla) wrote :

*** Bug 16983 has been marked as a duplicate of this bug. ***

Revision history for this message
runbei (gbeinhorn) wrote :

I made the registry change suggested above and still have the problem (nvidia 96.43.09 + nvidia 6200 chipset video card). See attached wine garbled config screen. The web page linked above also displays with garbled characters.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

This was fixed with the nvidia 96.43.10 drivers in Jaunty.

Changed in nvidia-graphics-drivers-96:
status: Confirmed → Fix Released
Revision history for this message
In , Dmitry-codeweavers (dmitry-codeweavers) wrote :

*** Bug 17343 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dan Kegel (dank) wrote :

I hear that there's a new driver finally, but I haven't tried it yet.

Revision history for this message
In , Dmitry-codeweavers (dmitry-codeweavers) wrote :

*** Bug 17635 has been marked as a duplicate of this bug. ***

Revision history for this message
Rich (rincebrain) wrote :

Great for Jaunty - we're still shipping something with broken font rendering in Intrepid, though!

Revision history for this message
In , Dmitry-codeweavers (dmitry-codeweavers) wrote :

*** Bug 18373 has been marked as a duplicate of this bug. ***

Changed in wine:
importance: Unknown → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.