nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Some icons of Cairo-Dock look ugly (or transparency) after wake-up from suspend (http://www.nvnews.net/vbulletin/showthread.php?t=153132)

matttbe 07-18-10 11:11 AM

Some icons of Cairo-Dock look ugly (or transparency) after wake-up from suspend
 
1 Attachment(s)
Hello,

I'm part of the Cairo-Dock team. Cairo-Dock (aka GLX-Dock) is a dock for GNU/Linux & BSD with an OpenGL backend.
More informations there: http://www.glx-dock.org/ and https://launchpad.net/cairo-dock.
Cairo-Dock is a free software under GNU-GPL3 licence.

I report a bug here because there is a problem due to the nVidia proprietary drivers (it seems it only happens with nVidia video card). We think this is an old bug which is still not fixed. I'm using Ubuntu Maverick with an nVidia video card (9300G) and the latest stable drivers (256.35) and I confirm this bug. I've joined the "nvidia-bug-report.log.gz" but I guess it's not very useful because it seems this bug happens with every nVidia cards.
The corresponding bug report on our forum is available here

This is what we can have after a resume (after wake-up from suspend) or when we switch back in an account from another account:
http://img7.hostingpics.net/pics/903481battery_ugly.png
A gauge theme
http://uppix.net/b/9/1/2f97b6217d997...659d8fca71.jpg
Some other gauges themes.
http://uppix.net/8/4/0/3772fe0ba29b1...0c6a1570tt.jpg
Some icons with the same class are gathered into a box.
http://uppix.net/c/f/2/ac8349ef727ee...56c0560btt.jpg
On the right, this is the musicPlayer applet. On the left, a box with a few icons.
http://uppix.net/2/c/e/fbd400f801f78...809862f8tt.jpg
Here, all is fine

Note that if we re-launch the dock (or if the icon re-draws), all is now ok.

So... after resume, some icons (gauges, boxes, theme for musicPlayer, etc.) look ugly: these icons (only 'dynamical' icons) are displayed thanks to OpenGL functions.
To draw these kind of icons, we use some local functions: cairo_dock_begin_draw_icon and cairo_dock_end_draw_icon. These functions uses other OpenGL functions (it uses fbo functions)
This file can interest you (if you want to fix this bug ;-) ): src/gldit/cairo-dock-draw-opengl.cYou can have a look after this line:
Code:

if (g_openglConfig.iFboId != 0)
If you want to install Cairo-Dock, you can have a look at this wiki page: http://www.glx-dock.org/ww_page.php?...%20BZR&lang=en

I hope all of that will help you to fix this bug :)

PS: Don't hesitate to report any bugs about Cairo-Dock/GLX-Dock, to give us any tips/patches to improve it or anything else: anything that can improve the Cairo-Dock project is welcome! ;)
PS˛: Thank you for your Linux drivers! We have almost no bug related to your drivers :)

Sazar 07-18-10 12:09 PM

Re: Some icons of Cairo-Dock look ugly (or transparency) after wake-up from suspend
 
:bleh:

ppmt 07-23-10 06:23 PM

Re: Some icons of Cairo-Dock look ugly (or transparency) after wake-up from suspend
 
I have the same behavior

I use ubuntu Lucid + Compiz (from ubuntu repository) adn nvidia card GeForce 8200

driver 195.36.24

matttbe 08-07-10 04:17 PM

Re: Some icons of Cairo-Dock look ugly (or transparency) after wake-up from suspend
 
This is what I have with the latest nvidia proprietary drivers (256.44) after switching back from another account.

http://uppix.net/5/6/2/9a4e02872ae8f...a62589846e.png
The icon of the MusicPlayer applet (which is drawn with OpenGL functions) is fully transparency

jsslinux 08-20-10 05:43 AM

Re: Some icons of Cairo-Dock look ugly (or transparency) after wake-up from suspend
 
I have the same behaviour, actually looking at it right now, with Asus A8Js laptop, GeForce Go 7700, Ubuntu Lucid, nvidia drivers 195.36.24.

Tried many older drivers with no result.

I already reported this bug on nvidia forums five months ago, with no reply up to now. See:
http://forums.nvidia.com/index.php?s...&#entry1094065

DeiF 08-20-10 07:29 AM

Re: Some icons of Cairo-Dock look ugly (or transparency) after wake-up from suspend
 
At least you can wake from suspend.

Frank64 08-20-10 08:03 PM

Re: Some icons of Cairo-Dock look ugly (or transparency) after wake-up from suspend
 
Same problem me too on openSUSE 11.2 64-bits.

Yes we can wake up from suspend, but that's not the point here. Also it's a bit of a hassle to manually run a script every time to restart the dock. I have tried to create a script in the proper folder used by opensuse (pm-utils something) but it never worked and so far no one could help, so I have to run it manually. Clearly there is a graphical bug somewhere.

Tsu Jan 10-02-10 10:42 AM

Re: Some icons of Cairo-Dock look ugly (or transparency) after wake-up from suspend
 
This also affects me in Debian Squeeze with nvidia-kernel-dkms 195.36.24-4, although I see it only in the Keyboard Indicator applet.

Licaon 10-02-10 04:05 PM

Re: Some icons of Cairo-Dock look ugly (or transparency) after wake-up from suspend
 
Quote:

Originally Posted by Tsu Jan (Post 2326842)
This also affects me in Debian Squeeze with nvidia-kernel-dkms 195.36.24-4, although I see it only in the Keyboard Indicator applet.

can you update your nVidia driver ?

matttbe 10-03-10 01:15 PM

Re: Some icons of Cairo-Dock look ugly (or transparency) after wake-up from suspend
 
I still have a problem after having connected an external monitor with the version "260.19.06-0ubuntu1~xup3".

Tsu Jan 10-04-10 12:56 PM

Re: Some icons of Cairo-Dock look ugly (or transparency) after wake-up from suspend
 
Quote:

Originally Posted by Licaon (Post 2326933)
can you update your nVidia driver ?

Formerly I used drivers from the nVidia site but in Debian, with its continuous updates, it's much easier to use dkms drivers. So, I have to wait for Debian updates.

However, some people have reported the same issue with newer drivers.

ppmt 01-14-11 09:35 AM

Re: Some icons of Cairo-Dock look ugly (or transparency) after wake-up from suspend
 
hi,

ok so nearly a year later and I thought I would revive this thread.

I am now on Ubuntu 10.10 64 bits with the same card (Nvideo GeForce 8200) and I use the nvidia driver 260.19.06.
I also use Compiz

Have a look at this video capture from my screen : Icon rendering issue

The first part is when CD is loaded (using OpenGL) for some time and user on the computer have switched session. Then you return on the session with CD and you see that type of corruption.

At second 28 I quit CD and relaunch it. You can then see that the icons are now correct.

I can give more info if needed. Just ask


All times are GMT -5. The time now is 07:56 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.