QT apps don't refresh (update the screen) properly with compiz

Bug #370834 reported by Krister Swenson
62
This bug affects 8 people
Affects Status Importance Assigned to Milestone
compiz (Fedora)
New
Undecided
Unassigned
nvidia-graphics-drivers-180 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have a problem with Ubuntu 9.04 when using GNOME and KDE applications...
  the content of the KDE applications (this is true for Konsole and Okular at least) doesn't refresh properly.
It then will refresh once I change desktops or even just use the "Application Switcher".

Notice in the attached video that the page with okular doesn't refresh properly until I change desktops or use the "Application Switcher".
Pay close attention to the word "Whereas" at the top left.

This renders the konsole practically unusable!

NOTE: I have an installation of Mandriva Spring 2009 and this problem doesn't exist.

Tags: kubuntu
Revision history for this message
Krister Swenson (thekswenson) wrote :
description: updated
description: updated
Revision history for this message
Allan Douglas R. de Oliveira (allandouglas) wrote :

I have the exactly same problem (refresh issues using compiz with some kde apps). I'll post more information soon. Some data for now:
$ dpkg -s compiz|grep Ver
Version: 1:0.8.2-0ubuntu8
$ dpkg -s okular|grep Ver
Version: 4:4.2.2-0ubuntu2
$ dpkg -s nvidia-glx-180|grep Ver
Version: 180.44-0ubuntu1
Using an NVIDIA 8400M GS card

I suspect it happens with non kde apps too, but I'll check this information better.

Revision history for this message
Krister Swenson (thekswenson) wrote :

My versions are here:

=> dpkg -s compiz|grep Ver
Version: 1:0.8.2-0ubuntu8

=> dpkg -s okular|grep Ver
Version: 4:4.2.2-0ubuntu2

=> dpkg -s nvidia-glx-180|grep Ver
Version: 180.44-0ubuntu1

01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS (rev a1)

Revision history for this message
Wojtek Kowaluk (w-kowaluk) wrote :

I have same problem, with Ubuntu 9.04 amd64 (updated from 8.10). I had isame problem with 8.10.
It affects multiple Kde apps (I use krusader and konsole).
It hapens only in gmone desktop, when i log in to kde desktop and use same apps, there is no problem.
I have GeForce 9650M card, desktop effects enabled.
I have created fresh user account (after update to 9.04), and it is affected by this bug too.

Revision history for this message
Krister Swenson (thekswenson) wrote :

The same problem occurs with Openoffice as well...
  not just KDE apps.

Revision history for this message
Alex Kabakaev (synapse913) wrote :

The same problem was in Fedora-10 + Compiz + NVidia proprietary drivers.

The less glitchy workaround was found at http://fedorasolved.org/Members/mock/fix_refresh_nvidia_compiz_f10

Everything becomes considerably slower, but at least everything is shown.

By the way, this long-lasting bug was found at ATI cads as well: http://linux.derkeiler.com/Newsgroups/alt.os.linux.suse/2007-08/msg00570.html
As was said in the last link, init of any 3D functions redraws the screen and all text appears.

Revision history for this message
Krister Swenson (thekswenson) wrote : Re: [Bug 370834] Re: kde apps don't refresh (update the screen) properly with compiz

I don't get this problem with Mandriva 2009.1 + Compiz + NVidia
proprietary drivers, however.

On Mon, Jun 1, 2009 at 5:37 PM, Alex Kabakaev
<email address hidden> wrote:
> The same problem was in Fedora-10 + Compiz + NVidia proprietary drivers.
>
> The less glitchy workaround was found at
> http://fedorasolved.org/Members/mock/fix_refresh_nvidia_compiz_f10
>
> Everything becomes considerably slower, but at least everything is
> shown.
>
> By the way, this long-lasting bug was found at ATI cads as well: http://linux.derkeiler.com/Newsgroups/alt.os.linux.suse/2007-08/msg00570.html
> As was said in the last link, init of any 3D functions redraws the screen and all text appears.
>
> --
> kde apps don't refresh (update the screen) properly with compiz
> https://bugs.launchpad.net/bugs/370834
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Ubuntu: New
> Status in “compiz” source package in Fedora: New
>
> Bug description:
> I have a problem with Ubuntu 9.04 when using GNOME and KDE applications...
>  the content of the KDE applications (this is true for Konsole and Okular at least) doesn't refresh properly.
> It then will refresh once I change desktops or even just use the "Application Switcher".
>
> Notice in the attached video that the page with okular doesn't refresh properly until I change desktops or use the "Application Switcher".
> Pay close attention to the word "Whereas" at the top left.
>
> This renders the konsole practically unusable!
>
> NOTE: I have an installation of Mandriva Spring 2009 and this problem doesn't exist.
>

Revision history for this message
Krister Swenson (thekswenson) wrote :

This works with ubuntu installation but indeed makes things painfully slow...

kms

On Mon, Jun 1, 2009 at 5:37 PM, Alex Kabakaev
<email address hidden> wrote:
> The same problem was in Fedora-10 + Compiz + NVidia proprietary drivers.
>
> The less glitchy workaround was found at
> http://fedorasolved.org/Members/mock/fix_refresh_nvidia_compiz_f10
>
> Everything becomes considerably slower, but at least everything is
> shown.
>
> By the way, this long-lasting bug was found at ATI cads as well: http://linux.derkeiler.com/Newsgroups/alt.os.linux.suse/2007-08/msg00570.html
> As was said in the last link, init of any 3D functions redraws the screen and all text appears.
>
> --
> kde apps don't refresh (update the screen) properly with compiz
> https://bugs.launchpad.net/bugs/370834
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Ubuntu: New
> Status in “compiz” source package in Fedora: New
>
> Bug description:
> I have a problem with Ubuntu 9.04 when using GNOME and KDE applications...
>  the content of the KDE applications (this is true for Konsole and Okular at least) doesn't refresh properly.
> It then will refresh once I change desktops or even just use the "Application Switcher".
>
> Notice in the attached video that the page with okular doesn't refresh properly until I change desktops or use the "Application Switcher".
> Pay close attention to the word "Whereas" at the top left.
>
> This renders the konsole practically unusable!
>
> NOTE: I have an installation of Mandriva Spring 2009 and this problem doesn't exist.
>

Revision history for this message
Krister Swenson (thekswenson) wrote : Re: kde apps don't refresh (update the screen) properly with compiz

Unfortunately, this is not a workaround for me because it leaves unremovable artifacts on the screen after suspending to RAM.

Revision history for this message
gidantribal (aedo999) wrote :

I completely agree with @Krister

>This works with ubuntu installation but indeed makes things painfully slow...

what should we do? having badly refreshed windows or a super slow graphic system?

Revision history for this message
gerd.knops@telindus.be (gerd-knops) wrote :

Hi,

I have the same problem on my Kubuntu 9.04 x86_64 GNU/Linux
KDE 4.2.2
Compiz (1:0.8.2-0ubuntu8)
NVidia drivers (180.44-0ubuntu1)

refresh issues in Konsole and Okular...

Tried using NVidia's 173.14.16-0ubuntu1 and hey refresh issue gone! These drivers gave the Xorg server a high cpu load though... reaction speed of the desktop became an issue !! :(
Back to the 180 drivers I tried the workaround http://fedorasolved.org/Members/mock/fix_refresh_nvidia_compiz_f10, this didn't solve anything. Krister wrote it solves the issue on Ubuntu but makes things painfully slow... didn't solve it for me but neither made things painfully slow :)
Doubt it's a Compiz bug, more a NVidia driver bug... that's my opinion. For me it's only visible in Konsole and Okular, not in OpenOffice as Krister mentioned.

I've noticed another bug that might be related to the graphic drivers. When I leave my portable on during a long time (noticed it when I returned at the office in the morning, left the portable powerd on the evening before :s ) exiting the screensaver made my icons on the panel disappear.
This I can live with. The refresh issue though is more of a pain ;)

Revision history for this message
Richard Hansen (rhansen) wrote :

I have the same problem, but I think I figured out a way to work around it. In my xorg.conf I added the following to my nvidia device section:

    Option "UseCompositeWrapper" "True"

I did this to work around bug #188736, but it seems to work around this bug as well. Since the same xorg.conf setting works around both bugs, I wonder if this bug is actually a duplicate of bug #188736.

Note that this option is for the proprietary nvidia driver. This option is documented in the nvidia driver README. I'm running 64-bit version 180.60, and the README for that version is located here: http://us.download.nvidia.com/XFree86/Linux-x86_64/180.60/README/appendix-b.html

Revision history for this message
Marc G. (marc-gu) wrote :

I had the same bug. The workaround proposed by a7x solve the problem for me. But, for this to work, I needed to add the option in the "screen" section.

I use Ubuntu 9.04 64 bits with kernel 2.6.28-13. Tested with Kile with KDE 4.2.2, compiz 0.8.2 and NVidia driver 180.44.

Revision history for this message
gidantribal (aedo999) wrote :

this workaround does *not* work under Ubuntu 9.04. Maybe it only works under Kubuntu... I think issues are different and we should separate these two bugs.

Revision history for this message
Richard Hansen (rhansen) wrote :

Here are more details about what I'm running:
 * Ubuntu (not Kubuntu) Jaunty 9.04 amd64
 * konsole 4:4.2.2-0ubuntu4
 * Linux 2.6.30-10.12 (backported from Karmic to work around bug #346691)
 * nVidia driver 180.60-0ubuntu1 (backported from Karmic since 180.44 doesn't work with kernel 2.6.30)

The Linux and nVidia packages I'm running are in my PPA:
https://launchpad.net/~a7x/+archive/kbp

Relevant sections of my /etc/X11/xorg.conf (note that I'm running a multiseat setup, so I have two video cards):

Section "Device"
    Identifier "nVidia GeForce 8400 GS"
    Driver "nvidia"
    BusID "PCI:2:0:0"
    Option "NoLogo" "True"
    Option "ProbeAllGpus" "False"
    Option "UseCompositeWrapper" "True"
EndSection

Section "Device"
    Identifier "nVidia GeForce 6200 PCI"
    Driver "nvidia"
    BusID "PCI:9:1:0"
    Option "NoLogo" "True"
    Option "ProbeAllGpus" "False"
    Option "UseCompositeWrapper" "True"
EndSection

Revision history for this message
nanowar (post-robertkuhfss) wrote :
Revision history for this message
gerd.knops@telindus.be (gerd-knops) wrote : RE: [Bug 370834] Re: kde apps don't refresh (update the screen) properlywith compiz

The problem is gone for me after installing the NVIDIA Driver Version: 180.60
This also solved another bug... now when I press ctrl-alt F1 - F6 I get a "visible" console :)

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of nanowar
Sent: maandag 13 juli 2009 18:49
To: Gerd Knops
Subject: [Bug 370834] Re: kde apps don't refresh (update the screen) properlywith compiz

This works for me:
http://kubuntuforums.net/forums/index.php?topic=3104514.0

--
kde apps don't refresh (update the screen) properly with compiz
https://bugs.launchpad.net/bugs/370834
You received this bug notification because you are a direct subscriber
of the bug.

Status in Ubuntu: New
Status in “compiz” package in Fedora: New

Bug description:
I have a problem with Ubuntu 9.04 when using GNOME and KDE applications...
  the content of the KDE applications (this is true for Konsole and Okular at least) doesn't refresh properly.
It then will refresh once I change desktops or even just use the "Application Switcher".

Notice in the attached video that the page with okular doesn't refresh properly until I change desktops or use the "Application Switcher".
Pay close attention to the word "Whereas" at the top left.

This renders the konsole practically unusable!

NOTE: I have an installation of Mandriva Spring 2009 and this problem doesn't exist.

Revision history for this message
Cory Dodt (corydodt) wrote : Re: kde apps don't refresh (update the screen) properly with compiz

Nvidia 180 made the problem much worse for me. I also played with UseCompositeWrapper. I made a little matrix of fail, using konsole:

- nvidia 173, no UseCompositeWrapper: baseline problem. Most evident when using ctl-pgup/pgdown to switch between tabs, the new tab does not repaint over the old one. Also evident when "exit" would close a tab, it should switch back to an existing tab, and it does, but the screen does not repaint to show that this happened. A mouse click anywhere in the window causes repaint.

- nvidia 173, with UseCompositeWrapper: similar to baseline (UCW has no effect)

- nvidia 180, no UseCompositeWrapper: baseline problem moves. Now tab switches look ok, but sometimes screen does not repaint after any shell command. Might be slightly more evident near the bottom of the screen, I can't see much of a pattern, but missing repaints are frequent and konsole is unusable

- nvidia 180, with UseCompositeWrapper: similar to nvidia 180 (UCW has no effect)

Did not try the sync option, that sounds horrible.

Revision history for this message
Greg Rundlett (greg.rundlett) wrote :

I was having this problem, which makes Konsole useless because you enter a command and the screen does not repaint.

Fortunately, the workaround http://kubuntuforums.net/forums/index.php?topic=3104514.0 does seem to fix the issue.

However, the jury is still out on whether I'm getting usability problems with viewing large directory trees in Konqueror or using kdesvn.

Here is some version information for what I have installed (Ubuntu Jaunty Jackalope):

$ dpkg -s compiz|grep Ver
Version: 1:0.8.2-0ubuntu8.1
$ dpkg -s okular|grep Ver
Version: 4:4.2.2-0ubuntu2
$ dpkg -s konsole|grep Ver
Version: 4:4.2.2-0ubuntu4
$ dpkg -s nvidia-glx-180|grep Ver
Version: 180.44-0ubuntu1
$ dpkg -s konqueror|grep Ver
Version: 4:4.2.2-0ubuntu4
$ dpkg -s kdesvn|grep Ver
Version: 1.2.4-0ubuntu1

Revision history for this message
Krister Swenson (thekswenson) wrote :
Revision history for this message
Alexander Bethke (oolongbrothers) wrote :

@Krister, @nanowar: The above solution about enabling "Force synchronization between X and GLX" in the CompizConfig-Settings-Manager works for me as well. Imposing no performance hit that I would notice.

summary: - kde apps don't refresh (update the screen) properly with compiz
+ QT apps don't refresh (update the screen) properly with compiz
affects: ubuntu → nvidia-graphics-drivers-180 (Ubuntu)
Bryce Harrington (bryce)
tags: added: kubuntu
Revision history for this message
Krister Swenson (thekswenson) wrote :

My compiz parameters were reset because of the switch to Unity...
  this but persists.

Revision history for this message
Krister Swenson (thekswenson) wrote :

In fact, enabling "Force synchronization between X and GLX" is no longer a workaround...
  this is a huge problem as it means KDE applications (and openoffice?) don't work correctly.

Revision history for this message
Krister Swenson (thekswenson) wrote :

I cannot reproduce this with Okular, however.
I only have this problem with Konsole.

Revision history for this message
Krister Swenson (thekswenson) wrote :

I have reproduced this problem in Okular now as well.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers-180 (Ubuntu):
status: New → Confirmed
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

Bug attachments

Remote bug watches

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