Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 07-18-10, 11:11 AM   #1
matttbe
Registered User
 
Join Date: Jul 2010
Posts: 5
Default Some icons of Cairo-Dock look ugly (or transparency) after wake-up from suspend

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:

A gauge theme

Some other gauges themes.

Some icons with the same class are gathered into a box.

On the right, this is the musicPlayer applet. On the left, a box with a few icons.

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
Attached Files
File Type: gz nvidia-bug-report.log.gz (50.0 KB, 153 views)
matttbe is offline   Reply With Quote
Old 07-18-10, 12:09 PM   #2
Sazar
Sayonara !!!
 
Sazar's Avatar
 
Join Date: Jan 2003
Location: Austin, Texas
Posts: 9,297
Default Re: Some icons of Cairo-Dock look ugly (or transparency) after wake-up from suspend

Sazar is offline   Reply With Quote
Old 07-23-10, 06:23 PM   #3
ppmt
Registered User
 
Join Date: Jan 2007
Posts: 2
Default 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
ppmt is offline   Reply With Quote
Old 08-07-10, 04:17 PM   #4
matttbe
Registered User
 
Join Date: Jul 2010
Posts: 5
Default 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.


The icon of the MusicPlayer applet (which is drawn with OpenGL functions) is fully transparency
matttbe is offline   Reply With Quote
Old 08-20-10, 05:43 AM   #5
jsslinux
Registered User
 
Join Date: Jun 2006
Posts: 1
Default 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
jsslinux is offline   Reply With Quote
Old 08-20-10, 07:29 AM   #6
DeiF
Registered User
 
Join Date: Oct 2008
Posts: 114
Default Re: Some icons of Cairo-Dock look ugly (or transparency) after wake-up from suspend

At least you can wake from suspend.
DeiF is offline   Reply With Quote
Old 08-20-10, 08:03 PM   #7
Frank64
Registered User
 
Join Date: Feb 2008
Location: Montreal, Canada
Posts: 2
Default 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.
__________________
Frank
openSUSE 11.2 64-bits
Intel Q6600 64-bits QuadCore G0 Revision (overclocked of course! )
nVidia Geforce 8600 GT
ASUS P5K-E mobo + 4GB RAM
Frank64 is offline   Reply With Quote
Old 10-02-10, 10:42 AM   #8
Tsu Jan
Registered User
 
Join Date: Oct 2010
Posts: 27
Default 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.
Tsu Jan is offline   Reply With Quote

Old 10-02-10, 04:05 PM   #9
Licaon
Registered User
 
Licaon's Avatar
 
Join Date: Nov 2004
Location: Between the keyboard and the chair.
Posts: 490
Default Re: Some icons of Cairo-Dock look ugly (or transparency) after wake-up from suspend

Quote:
Originally Posted by Tsu Jan View Post
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 ?
Licaon is offline   Reply With Quote
Old 10-03-10, 01:15 PM   #10
matttbe
Registered User
 
Join Date: Jul 2010
Posts: 5
Default 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".
matttbe is offline   Reply With Quote
Old 10-04-10, 12:56 PM   #11
Tsu Jan
Registered User
 
Join Date: Oct 2010
Posts: 27
Default Re: Some icons of Cairo-Dock look ugly (or transparency) after wake-up from suspend

Quote:
Originally Posted by Licaon View Post
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.
Tsu Jan is offline   Reply With Quote
Old 01-14-11, 09:35 AM   #12
ppmt
Registered User
 
Join Date: Jan 2007
Posts: 2
Default 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
ppmt is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:44 AM.


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