After installing (and enabling) of nvidia-glx, KDM makes wrong DRI guesses

Bug #37072 reported by Didier Raboud
12
Affects Status Importance Assigned to Milestone
kdebase (Ubuntu)
Fix Released
Medium
Kubuntu Bugs

Bug Description

Kubuntu Dapper Flight5 Up-to-date

I installed nvidia-glx (and enabled it with $ sudo nvidia-glx-config enable), restarted X and then my whole system got funny DRI (represented by bigger fonts).

This may come from bad KDE DRI managing.

Indeed, as noted for a long time (by me ...) on doc.Ubuntu-fr.org [1], it is solveable with editing /etc/kde3/kdm/kdmrc

ServerArgsLocal=-nolisten tcp

becomes

ServerArgsLocal=-nolisten tcp -dpi 75

[1] http://doc.ubuntu-fr.org/materiel/nvidia#kde_kubuntu_probleme_de_polices_apres_installation_du_driver_nvidia

Revision history for this message
Didier Raboud (odyx) wrote : Xorg.0.log

Could be useful.

Revision history for this message
Didier Raboud (odyx) wrote : kdm.log

This is kdm.log. Could even be useful. Others needed ?

Revision history for this message
Kenny Duffus (kduffus) wrote :

the only new package you installed was nvidia-glx then restarted X? You didn't do any updates?

Changed in kdebase:
assignee: nobody → kubuntu-team
status: Unconfirmed → Needs Info
Revision history for this message
Didier Raboud (odyx) wrote :

Well. As I continuously am updating, I don't know.

But I just tried (now) removing "-dpi 85" and restarting X. The guess was wrong again (huge fonts, like ~100, 110 dpi). I putted "-dpi 85" again and re-restarted X again and that was OK.

In fact, I remember (to be confirmed on my next reboot) that maybe "first starts" of X (kdm) don't give the bug, only next ones.

Revision history for this message
Luka Renko (lure) wrote :

If your X server driver does not set DPI properly, this is due to the fact that it cannot autodetect your display size.
You can help him with setting DisplaySize in Monitor section as mentioned in https://wiki.ubuntu.com/AchimBohnet

You should also note that kde-guidance has currenly bug 40683, which prevents setting font DPI to proper size during login. See that bug report for how to workaround the bug until proper fix is released.

Revision history for this message
Didier Raboud (odyx) wrote :

Just to confirm it still happens to me, after a kdm update (overwrote my /etc/kde3/kdm/kdmrc), I get huge fonts.

Revision history for this message
Adric Riedel (adric-riedel) wrote :

This has been a persistent problem for me ever since I started using Kubuntu. Not only do font sizes change (increase) in KDE once nvidia-glx is activated (yes, this is the only change I need to make to reproduce this problem) but I can't change the fonts for KDM- I can resize and change all my KDE fonts to nicer looking ones, but KDM stays as it is with Bitstream Vera Sans at huge size. (nor can I change KDM's theme)

I should note that Ubuntu correctly identifies my Inspiron 8500's 15.4" 1920x1200 WUXGA screen off the bat, it's only when I activate nvidia-glx that things go awry.

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

Still an issue? Last activity for this bug was two years ago...

Revision history for this message
Didier Raboud (odyx) wrote :

I don't know. I've been stolen the hardware and I'm no more using Ubuntu (but Debian).

Regards,

OdyX

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

Ok, then I guess we can close this as fixed for now. If anyone else experiences this problem they can reopen it.
Thanks for the bug report.

Changed in kdebase:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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