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

    • Bose QuietComfort Ultra Gen 2 headphones are down to lowest price in over a month by Taras Buria Bose's second-gen QuietComfort Ultra headphones are premium over-ear headphones with noise cancellation, but right now, you can save 16%, thanks to a discount that brought the headphones to a new lowest price in over a month. While the general look and aesthetics remain unchanged compared to the previous gen, the Gen 2 features redesigned wear-detection sensors, which accurately pause your music the moment you take them off. Additionally, the headphones now support lossless audio via a direct USB-C wired connection, letting you enjoy uncompressed sound when plugged into your laptop or phone. There is also spatial audio support (works wirelessly) for a more immersive audio experience and improved noise cancellation, which makes the QuietComfort Ultra go-to headphones for many users on long flights or other scenarios when they need to isolate themselves from the surrounding noise. The QuietComfort Ultra (Gen 2) also features Bluetooth Multipoint for seamless switching between two devices at once. As for battery life, you get up to 30 hours on a single charge (up to 23 hours when using spatial audio). Besides good audio quality and noise cancellation, the headphones should be comfortable to wear, thanks to the lightweight 250-gram design and soft protein-leather ear pads. The QuietComfort Ultra Gen 2 are available in four colors, and all five are now available at the lowest price: Bose QuietComfort Ultra Bluetooth Headphones (2nd Gen) - $379 | 16% off on Amazon This Amazon deal is US-specific and not available in other regions unless specified. This is a first-party seller link (at the time of article publishing); ensure that you also purchase from a first-party seller link only. If you don't like it or want to look at more options, check out the previous deals that we have covered, OR you can also visit Amazon US deals page. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • Started implementing weapons! Here's a little sneak peek! 👀 Everything was done inside of Unreal Engine using Control Rig!
    • Keep in mind Intuit has lobbied like crazy to keep taxes complicated so they can continue to sell tax software. They also got caught hiding their legally mandated free version so they could release a second one that pushed countless people into charges they didn't need to pay to file. Intuit leads the charge on inventing problems so they can sell you the solution and disrespecting you in the process.
    • Oddly, there was a time that UFC games were culturally relevant, largely because of the graphics and gameplay that was different than the norm. But it seems like as the sport grew in popularity, gaming outlets stopped talking about the games.
    • Microsoft Edge 149.0.4022.69 by Razvan Serea Microsoft Edge is a super fast and secure web browser from Microsoft. It works on almost any device, including PCs, iPhones and Androids. It keeps you safe online, protects your privacy, and lets you browse the web quickly. You can even use it on all your devices and keep your browsing history and favorites synced up. Built on the same technology as Chrome, Microsoft Edge has additional built-in features like Startup boost and Sleeping tabs, which boost your browsing experience with world class performance and speed that are optimized to work best with Windows. Microsoft Edge security and privacy features such as Microsoft Defender SmartScreen, Password Monitor, InPrivate search, and Kids Mode help keep you and your loved ones protected and secure online. Microsoft Edge has features to keep both you and your family protected. Enable content filters and access activity reports with your Microsoft Family Safety account and experience a kid-friendly web with Kids Mode. The new Microsoft Edge is now compatible with your favorite extensions, so it’s easy to personalize your browsing experience. Microsoft Edge 149.0.4022.69 changelog: Fixed an issue that caused the Downloads dialog to continue displaying the "Keep/Delete" prompt for .rdp files after the download completed. Stable channel security updates are listed here. Download: Microsoft Edge (64-bit) | 193.0 MB (Freeware) Download: Microsoft Edge (32-bit) | 170.0 MB Download: Microsoft Edge (ARM64) | 188.0 MB View: Microsoft Edge Website | Release History Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Week One Done
      agatameier earned a badge
      Week One Done
    • One Month Later
      agatameier earned a badge
      One Month Later
    • Week One Done
      ssd21345 earned a badge
      Week One Done
    • Contributor
      MarkHughes4096 went up a rank
      Contributor
    • Dedicated
      jordanspringer earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      507
    2. 2
      +Edouard
      175
    3. 3
      PsYcHoKiLLa
      139
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      76
  • Tell a friend

    Love Neowin? Tell a friend!