Bug 155335 - Compiz makes rdesktop window entirely transparent.
Summary: Compiz makes rdesktop window entirely transparent.
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Beta 6
Hardware: x86-64 SuSE Linux 10.1
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Michael Calmer
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-05 23:12 UTC by Forgotten User 3Fef81aWgP
Modified: 2006-03-21 10:33 UTC (History)
3 users (show)

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
rdesktop working correctly under metacity (250.92 KB, image/png)
2006-03-05 23:14 UTC, Forgotten User 3Fef81aWgP
Details
rdesktop messed up under compiz (224.08 KB, image/png)
2006-03-05 23:15 UTC, Forgotten User 3Fef81aWgP
Details
Fix for ARGB visual issue in rdesktop (340 bytes, patch)
2006-03-07 17:53 UTC, David Reveman
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User 3Fef81aWgP 2006-03-05 23:12:52 UTC
On my system, where compiz normally works fine (using a single monitor at least,) an rdesktop (client for MS RDP) window that is at 15 bpp or higher color depth is almost totally transparent when using compiz. This makes rdesktop almost totally unusable at a decent color depth. Rdesktop works fine under metacity, but even when compiz is started without any plugins this problem still persists. Krdc does not appear suffer from this problem. Attached are two screenshots of it working and not working.

Example of an rdesktop command that causes this error (the server here is probably not accessible over the internet though) :
rdesktop depaulo.case.edu -a 16

Hardware:
Athlon 64 3000+ Clawhammer
Geforce 6800GT AGP 256 meg

Software:
SuSE linux 10.1 beta6 x86-64 (all the relevant software is for x86-64 as well)
NVidia 81.78 video driver with the NVIDIA_kernel-1.0-8178-U012206.diff.txt patch applied.
Compiz 0.0.4-2
Xgl CVS_060223-2
rdesktop 1.4.1-5
Comment 1 Forgotten User 3Fef81aWgP 2006-03-05 23:14:14 UTC
Created attachment 71283 [details]
rdesktop working correctly under metacity
Comment 2 Forgotten User 3Fef81aWgP 2006-03-05 23:15:09 UTC
Created attachment 71284 [details]
rdesktop messed up under compiz
Comment 3 David Reveman 2006-03-06 16:14:57 UTC
My guess is that this is a rdesktop bug. It's probably picking an ARGB visual.

Try running it like this:

> XLIB_SKIP_ARGB_VISUALS=1 rdesktop depaulo.case.edu -a 16

If this helps, then it's a rdesktop bug. I can easily fix it if I can just reproduce it on my machine.
Comment 4 Forgotten User 3Fef81aWgP 2006-03-06 20:02:53 UTC
Yes, using that command it works perfectly.

If you would like me to change some stuff on my system to see if the problem still persists, say use the x86 version, then let me know.
Comment 5 David Reveman 2006-03-07 17:53:06 UTC
Created attachment 71607 [details]
Fix for ARGB visual issue in rdesktop

I think this patch should solve the problem.
Comment 6 Stefan Dirsch 2006-03-19 09:01:26 UTC
Adding rdesktop maintainer.
Comment 7 Michael Calmer 2006-03-20 11:15:33 UTC
patch included and submitted.
Michael: If you want to test it, I can send you a RPM.
Comment 8 Forgotten User 3Fef81aWgP 2006-03-21 04:54:42 UTC
Sorry, I was away from my computer capable of testing this for over a week. My other one went into trouble, outlined here.
http://lists.opensuse.org/archive/opensuse-factory/2006-Mar/0373.html

Regardless, I just used the patch on the 1.4.1-6 source, and the bug now appears to be fixed.
Comment 9 Matthias Hopf 2006-03-21 10:32:25 UTC
We should not close bugs until STABLE is fixed.
Comment 10 Matthias Hopf 2006-03-21 10:33:00 UTC
Assigning to rdesktop maintainer.
Comment 11 Matthias Hopf 2006-03-21 10:33:59 UTC
I should *really* read more carefully :-(

Sorry, Michael...