Bug 23386 - Artifacts with cairo dock 2.0 [openGL]
Summary: Artifacts with cairo dock 2.0 [openGL]
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-17 20:13 UTC by Bryce Harrington
Modified: 2009-08-30 07:55 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
cairo-dock problem.png (57.55 KB, image/png)
2009-08-17 20:13 UTC, Bryce Harrington
no flags Details
glxinfo.txt (6.40 KB, text/plain)
2009-08-17 20:13 UTC, Bryce Harrington
no flags Details
XorgLog.txt (62.15 KB, text/plain)
2009-08-17 20:14 UTC, Bryce Harrington
no flags Details
CurrentDmesg.txt (4.39 KB, text/plain)
2009-08-17 20:14 UTC, Bryce Harrington
no flags Details
BootDmesg.txt (48.09 KB, text/plain)
2009-08-17 20:14 UTC, Bryce Harrington
no flags Details
dmesg (using latest kernel, mesa driver and kms) (2.85 KB, application/octet-stream)
2009-08-26 12:33 UTC, Yann SLADEK
no flags Details
glxinfo (using latest kernel, mesa driver and kms) (12.90 KB, application/octet-stream)
2009-08-26 12:33 UTC, Yann SLADEK
no flags Details
Picture of the actual situation (using latest kernel, mesa driver and kms) (95.51 KB, image/png)
2009-08-26 12:34 UTC, Yann SLADEK
no flags Details
Cairo-dock debug with kernel -8 (33.85 KB, text/plain)
2009-08-28 03:19 UTC, Vish
no flags Details

Description Bryce Harrington 2009-08-17 20:13:05 UTC
Created attachment 28733 [details]
cairo-dock problem.png

Forwarding this bug from Ubuntu reporter mac_v:
http://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/408065

[Problem]
Artifacts with cairo dock 2.0 due perhaps to error in 'GL_EXT_texture_from_pixmap' in OpenGL. 

[Original Description]
When using the latest version of cairo dock 2.0 , on hover over the dock the background becomes black.

Even in normal state the transparency is not perfect.

Attaching a screenshot of the problem.
screenshot legend:
1: as soon as the dock starts , not fully transparent[ the icons dont appear and the logo from the nearby panel is retained!]
2: on hover the dock background turns black
3: even on release of hover the dock has the black background , and at random returns to state 1 , where the icons disappear and the logo from the nearby panel is retained

The only solution is to not use the openGL version and to run caio-dock as[non-openGL] :
$cairo-dock -c

Architecture: i386
Date: Sun Aug  2 23:14:21 2009
DistroRelease: Ubuntu 9.10
MachineType: Acer, inc. Aspire 5670
Package: xserver-xorg-video-ati 1:6.12.99+git20090629.f39cafc5-0ubuntu4
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-4-generic root=UUID=070f2a33-a167-4055-9429-e626203105d4 ro splash
ProcEnviron:
 LANG=en_INProcVersionSignature: Ubuntu 2.6.31-4.23-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu5
 libgl1-mesa-glx 7.5-1ubuntu1
 libdrm2 2.4.12-1ubuntu1
 xserver-xorg-video-intel 2:2.8.0-0ubuntu1
 xserver-xorg-video-ati 1:6.12.99+git20090629.f39cafc5-0ubuntu4
SourcePackage: xserver-xorg-video-ati
Uname: Linux 2.6.31-4-generic i686
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
dmi.bios.date: 02/08/06
dmi.bios.vendor: Acer
dmi.bios.version: v1.3219
dmi.board.name: Bodensee
dmi.board.vendor: Acer, Inc.
dmi.board.version: Not Applicable
dmi.chassis.type: 1
dmi.chassis.vendor: , Inc.
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAcer:bvrv1.3219:bd02/08/06:svnAcer,inc.:pnAspire5670:pvrNotApplicable:rvnAcer,Inc.:rnBodensee:rvrNotApplicable:cvn,Inc.:ct1:cvrN/A:
dmi.product.name: Aspire 5670
dmi.product.version: Not Applicable
dmi.sys.vendor: Acer, inc.
system: architecture:       i686kernel:             2.6.31-4-generic
Comment 1 Bryce Harrington 2009-08-17 20:13:57 UTC
Created attachment 28734 [details]
glxinfo.txt
Comment 2 Bryce Harrington 2009-08-17 20:14:11 UTC
Created attachment 28735 [details]
XorgLog.txt
Comment 3 Bryce Harrington 2009-08-17 20:14:22 UTC
Created attachment 28736 [details]
CurrentDmesg.txt
Comment 4 Bryce Harrington 2009-08-17 20:14:32 UTC
Created attachment 28737 [details]
BootDmesg.txt
Comment 5 Michel Dänzer 2009-08-22 17:57:53 UTC
I assume Cairo Dock may use the depth 32 GLX visual for translucency, which cannot work properly with DRI1. Does the problem also happen with DRI2 (requires KMS)?
Comment 6 Matthieu Baerts 2009-08-23 03:35:48 UTC
(In reply to comment #5)
> I assume Cairo Dock may use the depth 32 GLX visual for translucency, which
> cannot work properly with DRI1. Does the problem also happen with DRI2
> (requires KMS)?


This bug is still present on Ubuntu Karmic 9.10 with an ATI Radeon card and with the last kernel (2.6.31-6). So I suppose that DRI2 is used.

Thanks a lot for your help !
Comment 7 Pauli 2009-08-23 03:38:45 UTC
Default Kamric installation doesn't include DRI2. You need to install mesa 7.6 and set kernel parameter radeon.modeset=1.

You can check dri version from "glxinfo |grep nGL"
Comment 8 Vish 2009-08-23 04:51:22 UTC
(In reply to comment #7)
> Default Kamric installation doesn't include DRI2. You need to install mesa 7.6
> and set kernel parameter radeon.modeset=1.
> 
> You can check dri version from "glxinfo |grep nGL"
> 

Hi, I'm the original reporter of the launchapd bug

$ glxinfo |grep nGL
OpenGL vendor string: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 20060815 x86/MMX/SSE2 TCL
OpenGL version string: 1.4 Mesa 7.5
OpenGL extensions:

So i guess i have to use mesa 7.6 ?

I'm not sure how to install mesa 7.6 on karmic ? is it from ppa or ...?
also , where does the setting the Kernel parameter need to be done? xorg.conf?


Comment 9 Pauli 2009-08-23 05:03:03 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > Default Kamric installation doesn't include DRI2. You need to install mesa 7.6
> > and set kernel parameter radeon.modeset=1.
> > 
> > You can check dri version from "glxinfo |grep nGL"
> > 
> 
> Hi, I'm the original reporter of the launchapd bug
> 
> $ glxinfo |grep nGL
> OpenGL vendor string: DRI R300 Project
> OpenGL renderer string: Mesa DRI R300 20060815 x86/MMX/SSE2 TCL
> OpenGL version string: 1.4 Mesa 7.5
> OpenGL extensions:
> 
> So i guess i have to use mesa 7.6 ?
> 
> I'm not sure how to install mesa 7.6 on karmic ? is it from ppa or ...?
> also , where does the setting the Kernel parameter need to be done? xorg.conf?
> 

xorg-edgers ppa (https://launchpad.net/~xorg-edgers/+archive/ppa) has the latest 3D drivers for Ubuntu.

Kernel parameter can be set in grub when you boot. You can just append it to current kernel boot options. Another option is to set it in /etc/modprobe.d/ but that would require grub command line modifications in case something goes wrong.
Comment 10 Vish 2009-08-24 06:35:10 UTC
(In reply to comment #9)
>
> xorg-edgers ppa (https://launchpad.net/~xorg-edgers/+archive/ppa) has the
> latest 3D drivers for Ubuntu.
> 
> Kernel parameter can be set in grub when you boot. You can just append it to
> current kernel boot options. Another option is to set it in /etc/modprobe.d/
> but that would require grub command line modifications in case something goes
> wrong.
> 

I installed the ppa and tried with kernel mode setting.
But my system became very sluggish, i mean really very very sluggish. 

Even so, i tried cairo-dock but it *would not start* .
I ran cairo-dock in debug mode and it had only one line:

drmRadeonCmdBuffer: -22

I'm still running the ppa but without KMS , if i run cairo-dock using openGL it has the same artifacts as before.[i understand this problem would only improve with KMS but just mentioning].

So now , 
1 . does the above error i got for cairo-dock with KMS , have to be dealt with by cairo-dock or by the graphics driver?

2. Could i have a link to the bug for the radeon KMS slow behavior, i wouldnt mind testing any unstable drivers which fix this.

Thanx for the help :)
Comment 11 Michel Dänzer 2009-08-24 06:37:55 UTC
(In reply to comment #10)
> Even so, i tried cairo-dock but it *would not start* .
> I ran cairo-dock in debug mode and it had only one line:
> 
> drmRadeonCmdBuffer: -22

Check the dmesg output.
Comment 12 Vish 2009-08-24 10:27:41 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > Even so, i tried cairo-dock but it *would not start* .
> > I ran cairo-dock in debug mode and it had only one line:
> > 
> > drmRadeonCmdBuffer: -22
> 
> Check the dmesg output.
> 

I checked , but nothing gets logged in /var/log/dmesg for this problem. 
[and nothing else was logged in the dmesg while i was testing this with KMS]
Comment 13 Yann SLADEK 2009-08-26 12:32:28 UTC
Hi,

I'm a member of cairo-dock team and I got an old laptop using an ATI Mobility Radeon 9600 (RV350)
Just tested new kernel (2.6.31-7) with latest mesa driver (7.6 devel) using KMS (setting radeon.modeset=1 on grub command line)

Boot is fine, glxgears is working great (I can move it, transparency is here)
Cairo-Dock is now working with no artefact but has still a black background

Outputs are attached
Comment 14 Yann SLADEK 2009-08-26 12:33:22 UTC
Created attachment 28928 [details]
dmesg (using latest kernel, mesa driver and kms)
Comment 15 Yann SLADEK 2009-08-26 12:33:36 UTC
Created attachment 28929 [details]
glxinfo (using latest kernel, mesa driver and kms)
Comment 16 Yann SLADEK 2009-08-26 12:34:04 UTC
Created attachment 28930 [details]
Picture of the actual situation (using latest kernel, mesa driver and kms)
Comment 17 Michel Dänzer 2009-08-26 14:04:59 UTC
(In reply to comment #13)
> I'm a member of cairo-dock team and I got an old laptop using an ATI Mobility
> Radeon 9600 (RV350)

Excellent - can you explain how cairo-dock tries to achieve the translucency effect with OpenGL?
Comment 18 Vish 2009-08-26 14:23:52 UTC
(In reply to comment #13)
> Hi,
> 
> I'm a member of cairo-dock team and I got an old laptop using an ATI Mobility
> Radeon 9600 (RV350)
> Just tested new kernel (2.6.31-7) with latest mesa driver (7.6 devel) using KMS
> (setting radeon.modeset=1 on grub command line)
> 
> Boot is fine, glxgears is working great (I can move it, transparency is here)
> Cairo-Dock is now working with no artefact but has still a black background
> 
> Outputs are attached
> 

While the graphics driver performance has definitely improved , 
cairo-dock does not work for me, [Using the latest kernel 2.6.31-7 with kms]. Cairo-dock still does *not* start.
This is in an ATI Mobility Radeon X1400

When i start cairo-dock from the terminal i get the same output as before.
~$ cairo-dock -o
warning :  (cairo-dock-draw-opengl.c:cairo_dock_get_opengl_config:1690)  
  couldn't find an appropriate visual ourself, trying something else, this may not work with some drivers ...
warning :  (cairo-dock-modules.c:cairo_dock_preload_module_from_directory:327)  
  while opening module '/usr/lib/cairo-dock/libcd-xfce-integration.so' : (libthunar-vfs-1.so.2: cannot open shared object file: No such file or directory)
gtk_widget_get_gl_context: assertion `GTK_IS_WIDGET (widget)' failed
OpenGL version: 1.5 Mesa 7.6-devel
OpenGL vendor: DRI R300 Project
OpenGL renderer: Mesa DRI R300 (RV515 7145) 20090101 x86/MMX/SSE2 TCL DRI2
if your drivers are crappy, we'll know it immediately ... ok, they seem fine enough.
warning :  (cairo-dock-config.c:cairo_dock_get_double_key_value:172)  
  Key file does not have key 'scroll speed'
warning :  (cairo-dock-config.c:cairo_dock_get_double_key_value:172)  
  Key file does not have key 'scroll accel'
cairo_dock_replace_values_in_conf_file (/home/vish/.config/cairo-dock/current_theme/plug-ins/rendering/rendering.conf)
cairo_dock_replace_key_values (0)
g_key_file_has_key: assertion `key_file != NULL' failed
warning :  (cairo-dock-keyfile-utilities.c:cairo_dock_flush_conf_file_full:72)  
  Couldn't find any installed conf file
cairo_dock_replace_values_in_conf_file (/home/vish/.config/cairo-dock/current_theme/plug-ins/dialog-rendering/dialog-rendering.conf)
cairo_dock_replace_key_values (0)
cairo_dock_replace_values_in_conf_file (/home/vish/.config/cairo-dock/current_theme/plug-ins/Animated-icons/Animated-icons.conf)
cairo_dock_replace_key_values (0)
drmRadeonCmdBuffer: -22


Note the same error in the last line as before. .
Comment 19 Yann SLADEK 2009-08-26 14:38:51 UTC
(In reply to comment #18)
 
> While the graphics driver performance has definitely improved , 
> cairo-dock does not work for me, [Using the latest kernel 2.6.31-7 with kms].
> Cairo-dock still does *not* start.
> This is in an ATI Mobility Radeon X1400

> OpenGL version: 1.5 Mesa 7.6-devel
> OpenGL vendor: DRI R300 Project
> OpenGL renderer: Mesa DRI R300 (RV515 7145) 20090101 x86/MMX/SSE2 TCL DRI2
> if your drivers are crappy, we'll know it immediately ... ok, they seem fine
> enough.

> Note the same error in the last line as before. .
> 

Regarding driver detection, it seems that your card is better recognized than mine (maybe has better performance too). I didn't post any cairo-dock debug but it was saying that I got only 4 Visuals and that wasn't enough so he will try another way

Comment 20 Vish 2009-08-28 03:19:02 UTC
Created attachment 28977 [details]
Cairo-dock debug with kernel -8

Hi,
I'v now upgraded to kernel 2.6.31-8 and I'm using KMS
Running cairo-dock with openGL in debug mode now gives more information.

But ends with the same line as before.

Attaching the debug log. Hope it helps. Thanks.
Comment 21 fabounet 2009-08-28 05:40:59 UTC
"couldn't find an appropriate visual ourself, trying something else, this may not work with some drivers ..."

means it didn't find an FBConfig that fits its needs (4 channel, depth=32, if I remember corerctly)
so then it's trying to find a visual from another way, but usually it won't give better result (it will probably give a visual with no transparency, hence the black background.)

I don't have the code in front of me, but it's in cairo_dock_get_opengl_config(), in cairo-dock-draw-opengl.c, ~ line 1650
Comment 22 Michel Dänzer 2009-08-28 05:48:17 UTC
(In reply to comment #21)
> "couldn't find an appropriate visual ourself, trying something else, this may
> not work with some drivers ..."
> 
> means it didn't find an FBConfig that fits its needs (4 channel, depth=32, if I
> remember corerctly)

If that's using KMS, please attach the glxinfo output, assuming it's different from the one already attached. With KMS I get such a large selection of GLX visuals and fbconfigs that I'm not sure what could be missing.
Comment 23 Vish 2009-08-28 05:49:46 UTC
(In reply to comment #21)
> "couldn't find an appropriate visual ourself, trying something else, this may
> not work with some drivers ..."
> 
> means it didn't find an FBConfig that fits its needs (4 channel, depth=32, if I
> remember corerctly)
> so then it's trying to find a visual from another way, but usually it won't
> give better result (it will probably give a visual with no transparency, hence
> the black background.)
> 
Actually, cairo-dock does not start at all, as always. I forgot to mention that again in the last comment. 

Comment 24 fabounet 2009-08-28 05:57:05 UTC
one can read there are 4 matching FBConfigs, which is quite poor.
maybe there are plenty of them but then with no alpha or not the good depth.
or maybe there is still another way to get the FBConfigs ?

2009/8/28 <bugzilla-daemon@freedesktop.org>

> http://bugs.freedesktop.org/show_bug.cgi?id=23386
>
>
>
>
>
> --- Comment #22 from Michel Dänzer <michel@daenzer.net>  2009-08-28
> 05:48:17 PST ---
> (In reply to comment #21)
> > "couldn't find an appropriate visual ourself, trying something else, this
> may
> > not work with some drivers ..."
> >
> > means it didn't find an FBConfig that fits its needs (4 channel,
> depth=32, if I
> > remember corerctly)
>
> If that's using KMS, please attach the glxinfo output, assuming it's
> different
> from the one already attached. With KMS I get such a large selection of GLX
> visuals and fbconfigs that I'm not sure what could be missing.
>
>
> --
> Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
Comment 25 Yann SLADEK 2009-08-28 07:01:10 UTC
(In reply to comment #24)
> one can read there are 4 matching FBConfigs, which is quite poor.
> maybe there are plenty of them but then with no alpha or not the good depth.
> or maybe there is still another way to get the FBConfigs ?
> 

Fab, 

please have a lot at the file attached at the top of the page named ' glxinfo (using latest kernel, mesa driver and kms)'
I got 64 GLX Visual (one with depth=32) and 96 GLXFBConfigs (16 with depth=32, I don't knwo where to find channels)
Comment 26 Yann SLADEK 2009-08-28 07:05:39 UTC
@Michel :

here is the portion of code where we are getting config : http://svn.berlios.de/wsvn/cairo-dock/trunk/cairo-dock/src/cairo-dock-draw-opengl.c (function  : cairo_dock_get_opengl_config)
Comment 27 Michel Dänzer 2009-08-28 07:51:25 UTC
Okay, I think I see the problem. It looks for a visual which

1. Has depth and stencil bits.
2. Has a corresponding picture format with alpha bits.

1. is satisfied by many visuals, but 2. is only satisfied by the depth 32 visual, which probably doesn't have stencil bits. It may be possible to fix this with yet another rework of the xserver GLX visual code, but in the meantime could cairo-dock work without a stencil buffer?
Comment 28 fabounet 2009-08-28 09:06:20 UTC
actually I've added the stencil buffer some times after the integration of
OpenGL into the dock (for the Curve view)
And I remember that the number of Visuals I got with my NVidia was
unchanged, so I'm not sure it is the problem. At that time, there was
already no matching visuals on other cards, even without this condition on
the stencil.

but well, I can try to double check, the first time with sterncil, the
second without.

By the way, what's the difference with gdk_gl_config_new_by_mode and
glXChooseFBConfig
?
the first one always gives more results, but (on my NVidia), both give me a
valid Visual that I can use.



2009/8/28 <bugzilla-daemon@freedesktop.org>

> http://bugs.freedesktop.org/show_bug.cgi?id=23386
>
>
>
>
>
> --- Comment #27 from Michel Dänzer <michel@daenzer.net>  2009-08-28
> 07:51:25 PST ---
> Okay, I think I see the problem. It looks for a visual which
>
> 1. Has depth and stencil bits.
> 2. Has a corresponding picture format with alpha bits.
>
> 1. is satisfied by many visuals, but 2. is only satisfied by the depth 32
> visual, which probably doesn't have stencil bits. It may be possible to fix
> this with yet another rework of the xserver GLX visual code, but in the
> meantime could cairo-dock work without a stencil buffer?
>
>
> --
> Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
>
Comment 29 Yann SLADEK 2009-08-29 01:14:43 UTC
Hi,

Cairo-Dock in rev 1922 is now working properly with ati driver with no freeze, no black rectangle and no problems :)
It's now working when the dock try to get a visual, then try to get one without stencil buffer, he finally got a visual with alpha-support

So thanks a lot for your improvement in this driver

Now we can say that GL_EXT_texture_from_pixmap extension is working

Maybe mac_v can try with latest svn revision and tell us if it works 

BTW, my graphic card is a Mobility Radeon 9600 Pro (RV350)
Comment 30 Michel Dänzer 2009-08-29 05:15:54 UTC
(In reply to comment #29)
> Cairo-Dock in rev 1922 is now working properly with ati driver with no freeze,
> no black rectangle and no problems :)

Cool, resolving this report as fixed. mac_v, if it still fails to start for you, please file a separate report if there isn't one about that problem yet.


> Now we can say that GL_EXT_texture_from_pixmap extension is working

That's been working for several years. The problem here was that DRI1 couldn't handle OpenGL rendering to windows redirected via the Composite extension, which has been fixed with DRI2.
Comment 31 fabounet 2009-08-29 07:32:41 UTC
yep thanks for your advice, that did the trick. :)
However, the lack of Stencil buffer will cause some visual bugs (for the
reflects), so it would be nice to add it.
but I guess it's another bug.

2009/8/29 <bugzilla-daemon@freedesktop.org>

> http://bugs.freedesktop.org/show_bug.cgi?id=23386
>
>
> Michel Dänzer <michel@daenzer.net> changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>             Status|NEW                         |RESOLVED
>         Resolution|                            |FIXED
>
>
>
>
> --- Comment #30 from Michel Dänzer <michel@daenzer.net>  2009-08-29
> 05:15:54 PST ---
> (In reply to comment #29)
> > Cairo-Dock in rev 1922 is now working properly with ati driver with no
> freeze,
> > no black rectangle and no problems :)
>
> Cool, resolving this report as fixed. mac_v, if it still fails to start for
> you, please file a separate report if there isn't one about that problem
> yet.
>
>
> > Now we can say that GL_EXT_texture_from_pixmap extension is working
>
> That's been working for several years. The problem here was that DRI1
> couldn't
> handle OpenGL rendering to windows redirected via the Composite extension,
> which has been fixed with DRI2.
>
>
> --
> Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
>
Comment 32 Vish 2009-08-30 00:18:33 UTC
(In reply to comment #30)
> (In reply to comment #29)
> > Cairo-Dock in rev 1922 is now working properly with ati driver with no freeze,
> > no black rectangle and no problems :)
> 
> Cool, resolving this report as fixed. mac_v, if it still fails to start for
> you, please file a separate report if there isn't one about that problem yet.
> 

I'v checked with svn rev 1925 and i get the same error as before. 

Sorry , Michel. I'm reopening this bug, because:
- I could not find another bug regarding this.
- All the relevant information is already present here , opening a new bug leads to unnecessary duplication , people who have commented here would have to be informed about the new bug and would have to again comment on the new bug.
- I'm the original reporter of the bug , if it has not been fixed for in the initially reported hardware , how is it a Fixed status? It's like saying an ATI driver bug was Fixed in a NVidia driver!

Or Maybe I'm making some mistake , in using the KMS :
On boot , Press E and I edit the kernel line and add the "radeon.modeset=1" without quotes, one space after the "splash" entry. 
and After adding the option , i just use Crtl+X to start the system. 
Did i miss some step?

$glxgears works fine with KMS , but just reports a lower FPS than without KMS , nearly half the FPS.[With KMS its ~500FPS , but without its ~1000FPS]

Same cairo-dock error as before:>
warning :  (cairo-dock-draw-opengl.c:cairo_dock_get_opengl_config:1690)  
  couldn't find an appropriate visual ourself, trying something else, this may not work with some drivers ...
warning :  (cairo-dock-modules.c:cairo_dock_preload_module_from_directory:327)  
  while opening module '/usr/lib/cairo-dock/libcd-xfce-integration.so' : (libthunar-vfs-1.so.2: cannot open shared object file: No such file or directory)
gtk_widget_get_gl_context: assertion `GTK_IS_WIDGET (widget)' failed
OpenGL version: 1.5 Mesa 7.6-devel
OpenGL vendor: DRI R300 Project
OpenGL renderer: Mesa DRI R300 (RV515 7145) 20090101 x86/MMX/SSE2 TCL DRI2
if your drivers are crappy, we'll know it immediately ... ok, they seem fine enough.
warning :  (cairo-dock-config.c:cairo_dock_get_double_key_value:172)  
  Key file does not have key 'scroll speed'
warning :  (cairo-dock-config.c:cairo_dock_get_double_key_value:172)  
  Key file does not have key 'scroll accel'
cairo_dock_replace_values_in_conf_file (/home/vishnoo/.config/cairo-dock/current_theme/plug-ins/rendering/rendering.conf)
cairo_dock_replace_key_values (0)
g_key_file_has_key: assertion `key_file != NULL' failed
warning :  (cairo-dock-keyfile-utilities.c:cairo_dock_flush_conf_file_full:72)  
  Couldn't find any installed conf file
cairo_dock_replace_values_in_conf_file (/home/vishnoo/.config/cairo-dock/current_theme/plug-ins/dialog-rendering/dialog-rendering.conf)
cairo_dock_replace_key_values (0)
cairo_dock_replace_values_in_conf_file (/home/vishnoo/.config/cairo-dock/current_theme/plug-ins/Animated-icons/Animated-icons.conf)
cairo_dock_replace_key_values (0)
drmRadeonCmdBuffer: -22
Comment 33 Yann SLADEK 2009-08-30 03:05:12 UTC
@mac_v :

could you please check if you got this line in dmesg ?
[drm] radeon: kernel modesetting successfully initialized.

Then could you please try to launch CD with this command line :

cairo-dock -o
cairo-dock -c
cairo-dock -io

Comment 34 Michel Dänzer 2009-08-30 04:44:28 UTC
(In reply to comment #32)
> - I'm the original reporter of the bug , if it has not been fixed for in the
> initially reported hardware , how is it a Fixed status? It's like saying an ATI
> driver bug was Fixed in a NVidia driver!

No, you're saying the bug you reported (rendering artifacts) isn't fixed because you're now seeing a different bug (failure to start).

It's very simple: Each problem needs to be tracked in its own report. Anything else is not manageable.


> Same cairo-dock error as before:>
> warning :  (cairo-dock-draw-opengl.c:cairo_dock_get_opengl_config:1690)  
>   couldn't find an appropriate visual ourself, trying something else, this may
> not work with some drivers ...

If there's nothing like

'couldn't find an appropriate visual, trying to get one without Stencil buffer
(it may cause some little deterioration in the rendering) ...'

before this, you don't seem to have Yann's changes.
Comment 35 Vish 2009-08-30 07:55:33 UTC
(In reply to comment #34)
> 
> 
> If there's nothing like
> 
> 'couldn't find an appropriate visual, trying to get one without Stencil buffer
> (it may cause some little deterioration in the rendering) ...'
> 
> before this, you don't seem to have Yann's changes.
> 

Oops, you are right! the svn install hadnt been done properly.
And the error was because i was still running the old version.

I re-installed the svn and checked again.
This problem has been fixed. Cairo-dock works fine.

Thanks to all who have worked on this .... :) you rock \o/

PS: Michel , Kindly direct me to the bug# regarding the slow FPS with KMS?
The closet I could find was > http://bugs.freedesktop.org/show_bug.cgi?id=21508
or is that the bug?


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.