PDA

View Full Version : HowTo: minimize CPU usage when scrolling websites with Beryl


franestepona
December 28th, 2006, 05:41 PM
As the title says, I was looking for a solution to minimize the CPU usage since I surf the web quite a lot and it was a little bit annoying. I´m using Swiftfox, but it should work in firefox as well. The problem was the sooth scrolling, to inactivate it go to Edit-Preferences-Advanced and uncheck smooth scrolling.

Scroolling still requires lot of CPU usage, but much better now, hope this help some of you.

ffi
December 28th, 2006, 07:38 PM
I found disabling the "disable gl yield setting" in the advanced beryl options in beryl-manager greatly improved scrolling.

franestepona
December 28th, 2006, 07:50 PM
Where is that option? Cant find it

ffi
December 28th, 2006, 07:58 PM
In the right click menu of beryl-manager (the thing in the system tray)-> "Advanced Beryl Options"-> "Disable GL Yield Setting Use this to fix some redraw bugs" and untick the option.

franestepona
December 28th, 2006, 08:19 PM
Well looks like iI dont have that option, I'm using beryl-manager 0.1.4. Thanks for the advice anyway. I'll try to find that option in the next updates.

ffi
December 28th, 2006, 09:04 PM
Well looks like iI dont have that option, I'm using beryl-manager 0.1.4. Thanks for the advice anyway. I'll try to find that option in the next updates.
Same version I am using :???:

You right clicked the beryl icon in the system tray?

AgenT
December 28th, 2006, 09:46 PM
Same version I am using :???:

You right clicked the beryl icon in the system tray?
This option is not available in 0.1.4 and I do not remember it ever being available in 0.1.3 CVS.
$ dpkg-query -s beryl-core
Package: beryl-core
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 1312
Maintainer: Trevi <trevi55@gmail.com>
Architecture: i386
Version: 0.1.5+svn20061227-r2089+3v1ubuntu0

ffi
December 29th, 2006, 06:12 AM
Wrong package, it's beryl-manager ;)

sudo apt-get install beryl-manager
beryl-manager
->change setting

franestepona
December 29th, 2006, 10:08 AM
Here you have a screenshot.

ffi
December 29th, 2006, 11:52 AM
Strange :???:

maybe it's graphics card specific?? I have an nvidia 6600GT

franestepona
December 29th, 2006, 01:48 PM
Yeah that could be a reason, I have an ATI mobility Radeon. I'll check that out to see if i can find that option somewhere. But maybe it's just that my graphic card dont support it. Thanks for the advice anyway.

AgenT
December 29th, 2006, 06:15 PM
Confirmed a no-go on a ATI Mobility (using the radeon freedom drivers).

ffi
December 29th, 2006, 07:49 PM
Too bad, the option isn't there because disabling it fixed the exact problems you described....which I think might have appeared since Beryl 0.14, but I am not sure, I could have been playing around with settings too ](*,)

and to think my obssion with xgl/compiz started hoping it could fix the smooth scrolling problems of Opera, which turned out to be a very very long standing bug of Opera Linux/Mac/BSd and Solaris and which was finally fixed this month (for Linux at least not Mac :p )

Anyway it still might be useful for other nVidia users....

AgenT
December 29th, 2006, 09:51 PM
Using todays SVN with the /etc/drirc "hack" (http://bugs.beryl-project.org/trac/ticket/37) not only fixed the maximized window problem but also boosted overall performance. Maximized browser (Firefox) shows a 100-130% FPS boost. Scrolling is still jittery but not as much as before. This is using radeon driver. Note: using the ati xorg driver should also work since ati is just a wrapper to three different drivers, including radeon.

d3v1ant_0n3
December 29th, 2006, 10:03 PM
Here you have a screenshot.

Off topic, but what gtk theme is that? I like it.

I don't have the option here on Beryl SVN 0.1.5

franestepona
December 30th, 2006, 01:54 PM
The gtk theme is BlueHeart combined with "fadeout" emerald theme. By the way AgenT How did you did that trick?

franestepona
December 30th, 2006, 01:55 PM
Uh sorry I just realized you posted the link, thanks I'm gonna try that out.

AgenT
December 30th, 2006, 03:52 PM
The drirc information in now in the Beryl Forums FAQ (http://forum.beryl-project.org/viewtopic.php?f=35&t=1500).