LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 07-01-2009, 06:35 PM   #1
Lsatenstein
Member
 
Registered: Jul 2005
Location: Montreal Canada
Distribution: Fedora 31and Tumbleweed) Gnome versions
Posts: 311
Blog Entries: 1

Rep: Reputation: 59
Compiz without requiring proprietary drivers


History
My older hardware (2008 and earlier) is able to run compiz with the videocards that were part of that era.

My current (late 2008-2009) system cannot run compiz or the ati radeon drivers (FLX) for linux.

Why cannot compiz work without relying on 3d drivers? I dont mind a performance hit (I am not a gamer), but like the functionality offered by compiz.

Any ideas (compiz and ati drivers for fedora 10, worked just fine. Nothing similar for Fedora 11, or Ubuntu 9.04


Leslie
 
Old 07-01-2009, 06:41 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
I found this using Google, as you could have done.

http://en.wikipedia.org/wiki/Compiz
 
Old 07-02-2009, 09:05 PM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by Lsatenstein View Post
Why cannot compiz work without relying on 3d drivers?

I am not sure I follow you.

Compiz is a compositing desktop, it heavily relies on the hardware to do all the work. Without that, compiz simply wouldn't work. The cube thing alone would be plainly impossible.

So, if you want to run compiz without all the effect, run something else. Most wm's around are far more functional than compiz has ever been.

And if you want all the candy without the 3d support via hardware then... well, it would be like asking quake4 to run without hardware acceleration...
 
Old 07-04-2009, 01:17 PM   #4
Lsatenstein
Member
 
Registered: Jul 2005
Location: Montreal Canada
Distribution: Fedora 31and Tumbleweed) Gnome versions
Posts: 311

Original Poster
Blog Entries: 1

Rep: Reputation: 59
What do you do when ATI card(s) are not supported

Quote:
Originally Posted by i92guboj View Post
I am not sure I follow you.

Compiz is a compositing desktop, it heavily relies on the hardware to do all the work. Without that, compiz simply wouldn't work. The cube thing alone would be plainly impossible.

So, if you want to run compiz without all the effect, run something else. Most wm's around are far more functional than compiz has ever been.

And if you want all the candy without the 3d support via hardware then... well, it would be like asking quake4 to run without hardware acceleration...

My card hit the market around summer of 2008. ATI HD3450. There is no linux support and I wonder if ever there will be some for 3d graphics.


With Fedora 10, or earlier UBUNTU, the card was supported. Not so for Ubuntu 9.04 or Fedora 11.
 
Old 07-05-2009, 08:59 AM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
The fglrx driver will give you support, well... it will work at least.

The open source drivers for ati has no 3d support for anything that's newer than like 5 years old or more. Such is the situation of the 3d world in linux.
 
Old 07-19-2009, 10:39 AM   #6
nicky7
LQ Newbie
 
Registered: Jul 2009
Distribution: Fedora/CentOS
Posts: 7

Rep: Reputation: 0
I don't care about the 3d effects, but I too like some of the functionality with compiz. One thing that I miss is being able to throw my windows around using the keyboard. Is there anyway to have the functionality of compiz's WM without the effects? Or does anyone know of a script where I can map some modifier+numpad to throw my windows to various corners of my screen? thx
 
Old 07-19-2009, 08:50 PM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by nicky7 View Post
I don't care about the 3d effects, but I too like some of the functionality with compiz. One thing that I miss is being able to throw my windows around using the keyboard. Is there anyway to have the functionality of compiz's WM without the effects? Or does anyone know of a script where I can map some modifier+numpad to throw my windows to various corners of my screen? thx
This entirely depends on the wm you choose. This can be done with fvwm easily, the basic idea would be like this, more or less:

Code:
Key Up WFS MC4 Pick AnimatedMove screen c keep 0p
Key Left WFS MC4 Pick AnimatedMove screen c 0p keep
Key Right WFS MC4 Pick AnimatedMove screen c -128p keep
Key Down WFS MC4 Pick AnimatedMove screen c keep -0p
There's room for improvement, of course, but this would throw the window on a given direction, by pressing control+win+alt+<arrow>.

I don't know if there's any other wm that is configurable enough to do this with keybindings. However, it might be possible also to script this on a more generic way with wmctrl+bash or something like that.
 
Old 07-20-2009, 11:16 AM   #8
tekhead2
Member
 
Registered: Apr 2004
Distribution: slackware/FreeBSD/Vector
Posts: 291

Rep: Reputation: 52
I just use the composition manager built into Gnome. If your using Gnome you can access it and use it without a 3D driver. Get to a terminal and run gconf-editor and go to the Apps>metacity>general section and click on compositing_manager. Mind you this will use the CPU to scale graphics which on older hardware is a disaster. Granted this won't give you all of the nifty stuff that you have with Compiz, but you can still get some of the effects.
 
Old 07-20-2009, 02:24 PM   #9
nicky7
LQ Newbie
 
Registered: Jul 2009
Distribution: Fedora/CentOS
Posts: 7

Rep: Reputation: 0
Great suggestion tekhead2, I enabled composition_manager for a little eye candy without any noticeable hit on performance. As far as throwing my windows around, I found out that 'move' has a couple of modifier keys. So I can use the alt+F7 shortcut to initiate a move, then holding shift+directional will move the window while snapping to other windows, or the desktop's edge (it'll actually step between these snapping points). An acceptable solution until ati's fglrx driver works for me. Thanks i92guboj too for your suggestion; I may give fvwm a try.

Edit: I ended up disabling composite_manager. Switching between windows (alt+tab) was slowing down considerably. CPU usage didn't really spike or anything, so I suspected maybe it was using my swap. Set swappiness to 0 with no effect, so I'm not sure where the bottleneck.

Last edited by nicky7; 07-21-2009 at 06:32 AM.
 
Old 07-22-2009, 06:59 PM   #10
Lsatenstein
Member
 
Registered: Jul 2005
Location: Montreal Canada
Distribution: Fedora 31and Tumbleweed) Gnome versions
Posts: 311

Original Poster
Blog Entries: 1

Rep: Reputation: 59
When do you think we will see fgrlx for Fedora 11/12 or other?

Quote:
Originally Posted by nicky7 View Post
Great suggestion tekhead2, I enabled composition_manager for a little eye candy without any noticeable hit on performance. As far as throwing my windows around, I found out that 'move' has a couple of modifier keys. So I can use the alt+F7 shortcut to initiate a move, then holding shift+directional will move the window while snapping to other windows, or the desktop's edge (it'll actually step between these snapping points). An acceptable solution until ati's fglrx driver works for me. Thanks i92guboj too for your suggestion; I may give fvwm a try.

Edit: I ended up disabling composite_manager. Switching between windows (alt+tab) was slowing down considerably. CPU usage didn't really spike or anything, so I suspected maybe it was using my swap. Set swappiness to 0 with no effect, so I'm not sure where the bottleneck.
Waiting for fgrlx.

I should not hold my breathe
 
Old 07-23-2009, 04:50 AM   #11
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by nicky7 View Post
Edit: I ended up disabling composite_manager. Switching between windows (alt+tab) was slowing down considerably. CPU usage didn't really spike or anything, so I suspected maybe it was using my swap. Set swappiness to 0 with no effect, so I'm not sure where the bottleneck.
If you haven't accelerated 3d then all the fancy work is done in cpu, so, yes, it was your cpu. Maybe by the time while the peak should show in your monitor the monitor itself was that crippled that it couldn't show anything.

When you enable dri in a non-3d accelerated driver, all the hard work is done via software, it's slow, and wastes *a lot* of cpu cycles.
 
Old 07-23-2009, 07:20 AM   #12
nicky7
LQ Newbie
 
Registered: Jul 2009
Distribution: Fedora/CentOS
Posts: 7

Rep: Reputation: 0
Quote:
If you haven't accelerated 3d then all the fancy work is done in cpu, so, yes, it was your cpu. Maybe by the time while the peak should show in your monitor the monitor itself was that crippled that it couldn't show anything.
I ran a few more tests while monitoring top -d .5, and again w/ gnome-system-monitor set at 250ms updates. There was no significant difference between composite_manager=true|false when moving a window w/ transparency (gnome-terminal). If anything it was smoother and less cpu usage with composite enabled. The only performance degradation I saw was a 500-1500ms delay in my alt-tab and it looks like metacity uses adds thumbnail support to alt-tab when composite_manager is enabled. Without composite, metacity was showing about 7% usage on alt-tabs, but 30% (in top) with composite enabled, however the overall graph peaked momentarily until the alt-tab window finally displayed. When I had f10/compiz working, I noticed the same delay with alt-tab, but I believe I changed a setting in compiz to use the old metacity alt-tab to fix that. I'm not really seeing anything in gconf for that. I might search on this a little later and I'll post again if I find a solution.

Last edited by nicky7; 07-23-2009 at 12:39 PM.
 
Old 07-23-2009, 12:27 PM   #13
nicky7
LQ Newbie
 
Registered: Jul 2009
Distribution: Fedora/CentOS
Posts: 7

Rep: Reputation: 0
Quote:
One thing that I miss is being able to throw my windows around using the keyboard.
Metacity will do this, but you have to set the shortcuts in gconf-editor (afaik).

gconf-editor > apps > metacity > window_keybindings

move_to_center, move_to_corner_xx, move_to_side_x

To do Super/WinKey + numpad, set them accordingly using <Super>KP_n where n is the number on the keypad.

Example:
move_to_center: <Super>KP_5

The only drawback I've found is with dual-monitors, it treats the entire desktop as one big desktop, so centering it will place it across both monitors.
 
  


Reply



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
vertical synchronization not working (openSuSE 10.3/compiz/xgl/nvidia proprietary) moeFEAR Linux - Software 3 01-02-2008 08:12 AM
Need help with Nvidia proprietary drivers Dugon143 Linux - Hardware 8 10-30-2007 02:05 PM
LXer: No to proprietary video drivers - Ubuntu LXer Syndicated Linux News 0 02-14-2007 07:16 PM
Proprietary nvidia drivers vs. generic intel sound and ethernet drivers vharishankar Linux - Hardware 2 02-22-2005 05:32 AM
ATI Proprietary Drivers 3.14 anomaly Keithjr Linux - Software 8 10-06-2004 11:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 11:54 AM.

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