Bug 1665 - xcompmgr throws errors when the root window has a background image
Summary: xcompmgr throws errors when the root window has a background image
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: App/xcompmgr (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high major
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard: 2011BRB_Reviewed
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-18 08:50 UTC by Jochen Eisinger
Modified: 2018-08-10 20:29 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Jochen Eisinger 2004-10-18 08:50:11 UTC
Running Xorg 6.8.0 with fvwm2 2.5.12 as wm, using xcompmgr 1.1, ati graphic
driver with mach64 dri on a ati mobility card.

When trying to set a background image and using xcompmgr at the same time,
xcompmgr throws lots of errors and doesn't produce correct results (i.e. windows
are not drawn correctly etc)

$ xsetbg background.jpg
$ xcompmgr
error 8 request 153 minor 4 serial 1918
error 168 request 153 minor 8 serial 1919
error 168 request 153 minor 8 serial 2131
error 168 request 153 minor 8 serial 2239
error 168 request 153 minor 8 serial 2347
error 168 request 153 minor 8 serial 2455
error 168 request 153 minor 8 serial 2563
error 168 request 153 minor 8 serial 2671
error 168 request 153 minor 8 serial 2779
error 168 request 153 minor 8 serial 2887
error 168 request 153 minor 8 serial 2995
error 168 request 153 minor 8 serial 3103
error 168 request 153 minor 8 serial 3211
...
Comment 1 Jochen Eisinger 2004-10-23 11:52:35 UTC
obviously xcompmgr expects the property _XSETROOT_ID to contain a pixmap of the
root image, while xloadimage (and thus xsetbg) only creates a dummy pixmap for
this property.
Comment 2 Jochen Eisinger 2004-10-23 12:50:33 UTC
yep, that was it. xcompmgr should check whether the pixmap with in the property
has the correct format before using it.

all in all I think it's a quite unreliable way to get the background image...
Comment 3 busa 2004-11-22 23:56:25 UTC
(In reply to comment #2)
> yep, that was it. xcompmgr should check whether the pixmap with in the property
> has the correct format before using it.
> 
> all in all I think it's a quite unreliable way to get the background image...

Sorry, but im realy a noob

how can I fix this? Or How can I make this Dummy Pixmap?

Thanks

busa
Comment 4 Pheet 2008-03-23 01:50:25 UTC
I can confirm this on FreeBSD (6.3, xorg 7.3 nvidia driver)

If i run xcompmgr from an Openbox session, I also get

error 188 request 157 minor 8 serial 22317
error 188 request 157 minor 8 serial 22349
error 188 request 157 minor 8 serial 22381
error 188 request 157 minor 8 serial 22413
error 188 request 157 minor 8 serial 22445
error 188 request 157 minor 8 serial 22477
error 188 request 157 minor 8 serial 22509
error 188 request 157 minor 8 serial 22541

ad infinitim.

If I run KDE, OR if I run KDE and replace the windowmanager (Kwin) with openbox,
this error does not occur.

Thus it appears to be caused by the lack of root window image, not WM specific as such.

Comment 5 Jeremy Huddleston Sequoia 2011-09-24 20:17:00 UTC
Is this still an issue with recent xcompmgr?
Comment 6 Clint Adams 2011-10-31 11:47:24 UTC
I seem to be getting it with xcompmgr 1.1.5
Comment 7 GitLab Migration User 2018-08-10 20:29:10 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/app/xcompmgr/issues/1.


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.