LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-26-2007, 07:20 AM   #31
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Original Poster
Rep: Reputation: 90

Ok, last night I set up a graphical system monitor so I could watch resource usage in real time to see just how xgl and Beryl affect resources. It doesn't hit the memory much at all, but when moving windows around it does use a pretty fair amount of CPU. That drops again when the window stabilizes, but during the effects CPU usage does jump up quite a bit, which is to be expected. On my little Celeron M usage jumped up as high as 70% when moving windows with all of the effects enabled while running Firefox and Thunderbird.

So shrikant.odugoudar was correct that a good CPU is a good idea wen running this stuff. He's obviously used it more than myself as I just started playing with it yesterday.

I can still say that it doesn't hog the resources nearly as much as I thought that it would (I expected a lot more constant CPU and RAM hogging), but if you're doing any CPU intensive work it would be a good idea to turn Beryl off while doing that work unless you're like shrikant.odugoudar and have a kick ass CPU and monster video card. For normal web surfing, email, and other light work it shouldn't have a noticeable performance effect at all.
 
Old 03-26-2007, 02:41 PM   #32
paind
Member
 
Registered: Mar 2007
Location: Moscow
Distribution: arch linux
Posts: 37

Rep: Reputation: 15
Quote:
Originally Posted by masonm
Do you have the DRI section in you xorg.conf file?

For that matter, did you ensure that your card is capable of direct rendering? I'm no expert on xgl/Beryl as I just started playing with it myself but I do know that's a requirement.

Hopefully you saved a back up of your xorg.conf file. Put it back to that original, start X and in a terminal do command glxinfo and see if it says "yes" to direct rendering.

Also, it would help to post your xorg.conf that isn't working. I don't have the composite section in mine at all and it works fine. You do need to have the DRI section though.
My xorg.conf file(all necessary parts):
Code:
Section "Module"
	Load  "dbe"  	# Double buffer extension
	SubSection "extmod"
		Option	    "omit xfree86-dga"   # don't initialise the DGA extension
	EndSubSection
	Load  "type1"
	Load  "freetype"
    #Load        "speedo"
	Load  "glx"
	Load  "dri"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]"
	Driver      "fglrx"
	Option "TripleBuffer" "true"
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]"
	Device     "aticonfig-Device[0]"
	Monitor    "aticonfig-Monitor[0]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
Option "AddARGBGLXVisuals" "true"
Option "DisableGLXRootClipping" "True"
EndSection

Section "DRI"
    Mode 0666
 EndSection

#Section "Extensions"
#Option "Composite" "Enable"
#EndSection
Here is what I get running beryl without composite:
Code:
**************************************************************
* Beryl system compatibility check                           *
**************************************************************

Detected xserver                                : AIGLX

Checking Display :0 ...

Checking for XComposite extension               : failed

No composite extension
beryl: No composite extension

$glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
Honestly, I don't know how to do it without composite. On the beryl site they advice to make xgl session, but don't provide solution under slackware.

ps I have ati 1600xt video card.

Last edited by paind; 03-26-2007 at 02:46 PM.
 
Old 03-26-2007, 03:48 PM   #33
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Quote:
It doesn't hit the memory much at all, but when moving windows around it does use a pretty fair amount of CPU. That drops again when the window stabilizes, but during the effects CPU usage does jump up quite a bit, which is to be expected. On my little Celeron M usage jumped up as high as 70% when moving windows with all of the effects enabled while running Firefox and Thunderbird.
That is pretty strange. What sort of graphic card do you have? Are you positive hardware accleration is working on it?

On my system it doesn't matter what I do on the GUI, Beryl's CPU utilization never goes above 10%. Just now I tried spinning the desktop cube with videos playing on all sides, and there was no significant change in CPU use from Beryl. In fact, each instance of mplayer actually takes up more resources than Beryl itself, which each mplayer process taking up 10% of the CPU compared to the 7.3% for Beryl.
 
Old 03-26-2007, 05:06 PM   #34
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Original Poster
Rep: Reputation: 90
Actually rotating the cube doesn't bump the CPU usage much at all. It's only moving a window around with all of the effects that bumps the CPU. I posted my video card info earlier in this thread.



Paind; I suspect your video card doesn't support 3D acceleration
or you've misconfigured it. Running your original xorg.conf, what does glxinfo show you?
 
Old 03-26-2007, 05:18 PM   #35
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,693

Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
The only thing that keeps me from beryl running full time is the awful performance hit I get my when I run my games like Quake IV and UT2004, does anybody know a way to turn of beryl while full screen 3d apps are running, or is that just the way it is?
 
Old 03-26-2007, 06:09 PM   #36
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Original Poster
Rep: Reputation: 90
Quote:
Originally Posted by Daedra
The only thing that keeps me from beryl running full time is the awful performance hit I get my when I run my games like Quake IV and UT2004, does anybody know a way to turn of beryl while full screen 3d apps are running, or is that just the way it is?
That's easy. In Beryl Manager you can choose the window manager. Just choose the one for your DE and it will hand off window management to that program instead of Beryl. Peace of cake as they say.
 
Old 03-26-2007, 06:13 PM   #37
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Original Poster
Rep: Reputation: 90
Quote:
Originally Posted by paind
Here is what I get running beryl without composite:
Code:
**************************************************************
* Beryl system compatibility check                           *
**************************************************************

Detected xserver                                : AIGLX

Checking Display :0 ...

Checking for XComposite extension               : failed

No composite extension
beryl: No composite extension

$glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
Honestly, I don't know how to do it without composite. On the beryl site they advice to make xgl session, but don't provide solution under slackware.

ps I have ati 1600xt video card.
Hmmm, I don't know. Here's my xorg.conf that works perfectly with Beryl (not an ATI card)

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "TouchPad" "AlwaysCore"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load "glx"
Load "extmod"
Load "xtrap"
Load "record"
Load "dbe"
Load "dri"
Load "freetype"
Load "type1"
Load "synaptics"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc104"
Option "XkbLayout" "us,us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Driver "synaptics"
Identifier "TouchPad"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "0"
Option "MaxTapMove" "0"
Option "VertScrollDelta" "0"
Option "MinSpeed" "0.09"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0015"
Option "EdgeMotionMinZ" "0"
Option "EdgeMotionMaxZ" "0"
Option "EdgeMotionMinSpeed" "0"
Option "EdgeMotionMaxSpeed" "0"
Option "EdgeMotionUseAlways" "0"
Option "UpDownScrolling" "0"
Option "LeftRightScrolling" "0"
Option "UpDownRepeat" "0"
Option "LeftRightRepeat" "0"
Option "LockedDrags" "0"
Option "RTCornerButton" "0"
Option "RBCornerButton" "0"
Option "LTCornerButton" "0"
Option "LBCornerButton" "0"
Option "CircularScrolling" "0"
Option "CircScrollDelta" "0"
Option "CircScrollTrigger" "0"
Option "CircularPad" "0"
Option "HorizScrollDelta" "0"
Option "SHMConfig" "on"
EndSection



Section "Monitor"
#DisplaySize 300 230 # mm
Identifier "Monitor0"
VendorName "QDS"
ModelName "44"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
Option "DRI" "True" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "i810"
VendorName "Intel Corporation"
BoardName "Mobile 915GM/GMS/910GML Express Graphics Controller"
BusID "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
# Viewport 0 0
Depth 24
Modes "1024x768" "800x600"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection
 
Old 03-26-2007, 07:20 PM   #38
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 68
@ paind, here's my xorg.conf
Quote:
# Xorg configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib64/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib64/xorg/modules"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Option "AddARGBGLXVisuals" "True"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
See the above highlighted bold line, try adding that to your xorg.conf
 
Old 03-26-2007, 08:26 PM   #39
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Original Poster
Rep: Reputation: 90
Quote:
Originally Posted by shrikant.odugoudar
@ paind, here's my xorg.conf

See the above highlighted bold line, try adding that to your xorg.conf
Unless he's running a similar card that's not likely to work.
 
Old 03-26-2007, 08:48 PM   #40
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 68
@ paind, Oops, my bad, you have that option but in the wrong place.

The following lines should be in the Device section.

>> Option "RenderAccel" "True"
>> Option "AllowGLXWithComposite" "True"
>> Option "AddARGBGLXVisuals" "True"
>> Option "DisableGLXRootClipping" "True"

Note: True starts with a capital T
 
Old 03-26-2007, 09:12 PM   #41
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Original Poster
Rep: Reputation: 90
Quote:
Originally Posted by shrikant.odugoudar
@ paind, Oops, my bad, you have that option but in the wrong place.

The following lines should be in the Device section.

>> Option "RenderAccel" "True"
>> Option "AllowGLXWithComposite" "True"
>> Option "AddARGBGLXVisuals" "True"
>> Option "DisableGLXRootClipping" "True"

Note: True starts with a capital T
Are these lines for an ATI card? My home desktop has has an ATI card and I haven't tried xgl/Beryl on it yet. Somehow they don't seem to jibe with the ATI config as I understand it.
 
Old 03-26-2007, 09:20 PM   #42
Basslord1124
Member
 
Registered: Jun 2004
Location: KY
Distribution: Debian, Mint, Puppy
Posts: 507

Rep: Reputation: 51
I have been curious about Beryl but I am gonna wait til I update some things first (kernel/video card driver).
 
Old 03-26-2007, 09:22 PM   #43
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 68
I'm not sure Mason, but judging from his xorg.conf, it seems so, as he has an ATI 1600XT card.

Oh hell yeah, now I'm sure its going to work.

>> Checking for XComposite extension : failed << requires >> Option "AllowGLXWithComposite" "True" <<
 
Old 03-26-2007, 09:29 PM   #44
patfins
LQ Newbie
 
Registered: Mar 2004
Posts: 21

Rep: Reputation: 15
Here my NVIDIA xorg.conf settings:

(Options may be specified either in the Screen or Device sections.)

Quote:
...
Section "Device"
Identifier "NVIDIA-GPU"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Screen 1"
Device "NVIDIA-GPU"
Monitor "My Monitor"
DefaultDepth 24

SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection

# enable overclock in NVIDIA Settings App:
Option "Coolbits" "1"
# 96x96 DPI fix:
Option "UseEdidDpi" "FALSE"
Option "DPI" "96 x 96"
# beryl settings:
Option "AddARGBGLXVisuals" "true"
Option "AllowGLXWithComposite" "true"
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection
 
Old 03-26-2007, 09:38 PM   #45
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Original Poster
Rep: Reputation: 90
Quote:
Originally Posted by shrikant.odugoudar
I'm not sure Mason, but judging from his xorg.conf, it seems so, as he has an ATI 1600XT card.

Oh hell yeah, now I'm sure its going to work.

>> Checking for XComposite extension : failed << requires >> Option "AllowGLXWithComposite" "True" <<
Ok, when I finally make it back home I'll reference this for the ATI card in my desktop box.

Either way, it's still some pretty damn cool eye candy.
 
  


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
I am pretty proud of this opioid Linux - General 4 11-11-2004 11:02 AM
pretty icons chrismiceli Linux - General 1 06-27-2003 10:20 PM
very pretty equipment bigjohn Linux - Hardware 2 04-13-2003 01:55 PM
RH v9.0 breaks a few things... but its still pretty cool KevinJ Linux - Software 11 04-01-2003 12:08 PM
hehe, this is pretty cool, could i get a little X help? vector Slackware 2 03-10-2003 08:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:28 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