Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-16-2006, 12:47 AM   #1
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Hardware accelerated shadows

I have been using the official NVIDIA drivers and the Composite extension in Slackware -current for about a year now. I have been using XFCE, which has a built-in (but rather limited) composite manager, and that has worked good for transparency on my windows, and some shadows.

But using the new XFCE in Slackware --current, the built-in composite manager started giving me problems. I decided to take this opportunity, and move on to using xcompmgr, which has some more features.

Well, everything was working well, until I noticed some lag when I had many windows open. Taking a look at top, I saw X was using 70%+ CPU! Trying some things, I found that when I disabled the shadows, the CPU usage dropped to normal levels. Transparency had no effect on the CPU, however.

So it seems to me that transparency is using the hardware acceleration properly, but shadows are using software rendering.

Is there a way to get shadows to be done in hardware, or have I just missed something along the lines?
Old 02-16-2006, 04:56 PM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
I read this today. It might relate to your question. I don't know. Read the part about the 8 Spot test. If nothing else it shows that there are weird issues with graphic rendering that are not widely known.

Last edited by stress_junkie; 02-16-2006 at 04:58 PM.
Old 02-17-2006, 11:59 PM   #3
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Original Poster
Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Well, thanks for the input, but I am not sure how that applies to me, actually.

Nobody here is running Composite?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
No shadows for Superkaramba themes while using translucency/shadows in KDE? lasindi Linux - Software 1 03-05-2006 09:19 PM
Hardware accelerated drawing api for linux (besides OpenGL) Programming 0 01-19-2006 08:04 AM
I want shadows fannymites Linux - Software 1 11-15-2004 11:55 PM
OSX-style opengl hardware accelerated windowing? sunowww Linux - General 0 03-21-2004 09:54 AM
Cirrus Logic GD 5465 hardware accelerated pedro_nf Linux - Hardware 2 02-02-2004 09:09 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration