7 posts in this topic

Posted

My older laptop has never been able to run unity worth a damn ever since they introduced the active dash blur in 11.10. Searching the dash and dragging things in the dash is painfully slow, and the problem is twofold if the dash is open over a playing video or something. Disabling dash blur wasn't an option because it made the dash an unreadable transparent mess, and static blur is just way too buggy.

However, You can force unity into "Low Graphics Mode" with the following command: [code]
echo "export UNITY_LOW_GFX_MODE=1" | sudo tee /etc/X11/Xsession.d/99force-llvm[/code]
This disables the dash transparency and blur completely. The only problems I saw with this mode was that the alt tab switcher is still transparent and now doesn't have blur so it can be a little less readable, however I didn't find it nearly as bad as the dash's readability when blur was disabled/transparency enabled and I found it to still be usable.

This command may look like you are forcing your machine to use "software rendering", but that does not seem to be the case in my testing, it just disables the effects while letting you retain hardware acceleration. glxinfo says that I am still using the intel driver and renderer:

[code]
GL_RENDERER = Mesa DRI Intel(R) Ironlake Mobile
[/code]

If LLVM software rendering were being used it would look like this:

[code]

GL_RENDERER = Gallium 0.4 on llvmpipe (LLVM 3.1)[/code]

Source: [url="http://www.ubuntuvibes.com/2012/10/make-unity-more-responsive-in-ubuntu.html"]http://www.ubuntuvib...-in-ubuntu.html[/url]

should work on 12.10 and 13.04
1 person likes this

Share this post


Link to post
Share on other sites

Posted

Great tutorial ViperAFK! I'll have to remember that if I ever decide to try Ubuntu 12.10 or 13.04. I have one question though. Since the current Intel graphics driver in Linux doesn't use Gallium (or a lot of the other common graphics driver infrastructure that Radeon and Nouveau share), does software rendering still use Gallium over LLVMpipe with the Intel driver?

Share this post


Link to post
Share on other sites

Posted

[quote name='xorangekiller' timestamp='1366336190' post='595645974']
Great tutorial ViperAFK! I'll have to remember that if I ever decide to try Ubuntu 12.10 or 13.04. I have one question though. Since the current Intel graphics driver in Linux doesn't use Gallium (or a lot of the other common graphics driver infrastructure that Radeon and Nouveau share), does software rendering still use Gallium over LLVMpipe with the Intel driver?
[/quote]

This method shouldn't enable software rendering at all, just enables the low effects unity mode that also happens to be enabled automatically when LLVM software rendering is used.

Regarding software rendering, afiak the only way to use software rendering is via LLVM/gallium, so regardless of what video card you have if you were to use software rendering it would be using the LLVM/gallium driver.

Luckily doing this does not force one to use software rendering, so we get better performing unity and keep the regular driver/hardware acceleration.

Share this post


Link to post
Share on other sites

Posted

[quote name='ViperAFK' timestamp='1366342851' post='595646096']
Regarding software rendering, afiak the only way to use software rendering is via LLVM/gallium, so regardless of what video card you have if you were to use software rendering it would be using the LLVM/gallium driver.
[/quote]

I haven't had a problem with hardware acceleration since I put Debian Squeeze on my PowerBook G4 a couple years ago, but if I recall when I ran "glxinfo | grep renderer" I got back "OpenGL renderer string: software rasterizer". Its quite possible that the Radeon driver in Linux 2.6.32 was before Gallium, but that was what made me suspect that not all software rendering [i]must[/i] be done through Gallium and LLVMpipe.

Share this post


Link to post
Share on other sites

Posted

Best way to increase unity performance is to uninstall it and install the full Gnome experience. It's so much better then the Unity crap.

Share this post


Link to post
Share on other sites

Posted

[quote name='xorangekiller' timestamp='1366388364' post='595647522']
I haven't had a problem with hardware acceleration since I put Debian Squeeze on my PowerBook G4 a couple years ago, but if I recall when I ran "glxinfo | grep renderer" I got back "OpenGL renderer string: software rasterizer". Its quite possible that the Radeon driver in Linux 2.6.32 was before Gallium, but that was what made me suspect that not all software rendering [i]must[/i] be done through Gallium and LLVMpipe.
[/quote]

Correction: afiak software rendering of [i]unity/compiz[/i] must be done via LLVM/Gallium :). With a 2d environment like gnome 2 you can use something like vesa and don't need LLVMpipe for things to work, but the only software rendering compiz/unity supports is via LLVMpipe. On that old debian install I'd guess you were using gnome 2 and the basic vesa driver.
1 person likes this

Share this post


Link to post
Share on other sites

Posted

Great tutorial! If I ever go back to Ubuntu, I'll be sure to use this.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.