1 Step to hugely increase unity performance


Recommended Posts

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:

echo "export UNITY_LOW_GFX_MODE=1" | sudo tee /etc/X11/Xsession.d/99force-llvm

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:

GL_RENDERER   = Mesa DRI Intel(R) Ironlake Mobile

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


GL_RENDERER = Gallium 0.4 on llvmpipe (LLVM 3.1)

Source: http://www.ubuntuvib...-in-ubuntu.html

should work on 12.10 and 13.04

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?

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?

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.

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.

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 must be done through Gallium and LLVMpipe.

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 must be done through Gallium and LLVMpipe.

Correction: afiak software rendering of unity/compiz 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.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Any Video Converter Free 9.2.3 by Razvan Serea Any Video Converter is an All-in-One video converting tool with an easy-to-use graphical interface, fast converting speed and excellent video quality. Any Video Converter supports all popular video formats and converts your videos to different video formats including MP4, MOV, MKV, M2TS, M4V, MPEG, AVI, WMV, ASF, OGV, WEBM, and more. It supports converting videos to customized percent (50%, 100%, 200%, and more) or resolution (480p, 720p, 1080p, 4K, and more); It supports encoding videos into x264, x265, h263p, xvid, mpeg, wmv, and more. Any Video Converter Free key features: Compatible with Windows 11/10/8.1/8/7 (32-64bit) User interface are available in 14 languages Convert all kinds of video formats including high-definition videos Extract audio from any videos and save as MP3/WMA for your mp3 player Take snapshot from any videos and build your own picture collection Support high-definition for both input and output Batch add videos from hard drive and batch convert Customize output parameters completely as you like Manage your output videos files by group or output profile Merge several video files into a single and long one Clip a video into segments Free Audio Filter: Adjust audio volume and add audio effects Crop frame size to remove black bars and retain what you want only Adjust the brightness, contrast, saturation Rotate or flip or add noise/sharpen effects Produce output video with subtitles of your own dialogue and much, much more... Any Video Converter Free 9.2.3 changelog: Fixed video download engine auto-update failures. Added custom speed control support in the speed change tool. Added support for downloading YouTube AI-generated subtitles. Added support for preserving original audio stream in the format convert tool (e.g., Dolby Atmos, DTS:X). Fixed other bugs and improved overall performance. Download: Any Video Converter Free 9.2.3 | 7.6 MB (Freeware) View: Any Video Converter Free Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Not sure what country you’re in but in many countries you can absolutely jail the sellers behind businesses… in fact I’d say in most countries you can do that
    • I guess we are done since you refuse to read my comment you replied to or my other comment in another thread you were also a part of here.
    • I hate Slack, but Teams is much worse - maybe they've already optimized it, but it was a huge slog the last time I've checked about half a year ago. I miss my Skype.
    • Just ended up switching to Ubuntu. Not sure why I waited.
  • Recent Achievements

    • Dedicated
      jordanspringer earned a badge
      Dedicated
    • Rookie
      Rimplesnort went up a rank
      Rookie
    • One Year In
      Markus94287 earned a badge
      One Year In
    • One Month Later
      Markus94287 earned a badge
      One Month Later
    • Week One Done
      Markus94287 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      510
    2. 2
      +Edouard
      175
    3. 3
      PsYcHoKiLLa
      155
    4. 4
      ATLien_0
      91
    5. 5
      Steven P.
      79
  • Tell a friend

    Love Neowin? Tell a friend!