Ubuntu 12.04 Unity 2D Stuck Issue


Recommended Posts

Well alright.

So what about my problem, all the steps I just followed has solved nothing?

Am I once again out of luck and must re-install? If I were to do that, how do I install the open-source drivers with all things needed?

I don't really want to do that again, quite annoying.

Since the proprietary AMD graphics driver is difficult to get rid of once you installed it outside of the repository, a reinstall is the easiest way to fix your problem. The open-source radeon driver is built into the Linux kernel; it will be installed by default. However, you still may not get accelerated graphics without installing a few support libraries. The basic procedure is below.

1) Install Ubuntu 12.04 or 12.10.

2) Add the additional Ubuntu repositories.


sudo apt-add-repository universe
sudo apt-add-repository multiverse
sudo apt-get update
[/CODE]

[b]3)[/b] Update Ubuntu and install the additional packages necessary for full acceleration with the [i]radeon[/i] driver.

[CODE]
sudo apt-get dist-upgrade
sudo apt-get install libgl1-mesa-dri-experimental libgl1-mesa-glx linux-firmware-nonfree xserver-xorg-video-radeon
[/CODE]

[b]4)[/b] Reboot.

[CODE]
sudo reboot
[/CODE]

[b]5)[/b] Check that you are using the proper driver and have full 3D acceleration.

[CODE]
sudo lshw -c video | awk '{if($1 ~ "^configuration") print $2}'
glxinfo | grep renderer
[/CODE]

  • Like 1

And you think that will solve my weird problem? Cause it's not really worth my time doing a fresh install if it's just going to happen again.

Of course, I don't really have any more options. lol

I think my proposed solution will solve your problem. And so long as you avoid installing software outside of the repository, you shouldn't have any more problems of this magnitude. Installing, removing, and updating software using the repository is drastically simpler anyway.

As I have already said, the radeon driver is generally MUCH more stable than fglrx. In fact, AMD has been providing specs and assistance to the Radeon Project for a few years now, which has dramatically increased the speed of development and featureset of the driver. AMD is planning to phase out fglrx in favour of radeon, although they have not set a specific date for that transition to complete yet. Not only is radeon very featureful and usable, but it is much more stable than fglrx because it can do things the kosher way (unlike fglrx) since it is entirely GPL'd code.

  • Like 1

Ok, so I need to learn.

When you say repository, what exactly do you mean?

There are 3 ways I have been installing programs, I either download a file from the programs website (.run or .deb) and install it.

I go to the Ubuntu Software Centre and install something.

Or I add a PPA and run commands in terminal to install something.

Installing something from the repository means downloading it from the Ubuntu Software Center (or other APT utilities such as apt-get, aptitude, or synaptic). If you add a PPA or other repository, such as Medibuntu, the packages can be installed with your favorite package management utility (often apt-get, although it could be others) just like packages included in Ubuntu by default, and is considered installed from the repository.

Downloading deb files directly from the Internet and installing them using dpkg, gdebi, or the Ubuntu Software Center (default in Ubuntu) is still installing the packages using APT, but not from the repository. You still get some of the benefits of APT, such as automatic dependency resolution, but not others, such as automatic updates or reasonable assurance that the package's dependencies can be satisfied and the software will work well with your system. However, since APT knows about the package, it will likely make it through distribution upgrades and will be easy to remove at some point in the future, if necessary.

Downloading run files (or any other form of Linux binary) from the Internet should almost always be avoided. Since APT doesn't know this software exists, you will need to install the dependencies yourself (which is often documented in the README that comes with the binary), and you are responsible for making sure you keep the software up-to-date and its dependencies remain installed through distribution upgrades. The recommend way to handle software that must be installed this way is to install it to /opt so that it is easier to manually manage and remove.

For example, I have MATLAB (a piece of technical software often used by engineers for intensive mathematical computations and simulations) installed on my system in /opt/MATLAB/R2008b (I know I have an older version, its expensive!). I then created a launcher (/opt/MATLAB/R2008b/matlab.desktop) and soft-linked it to /usr/share/applications/matlab.desktop so that it is displayed properly in my menu. Not only can I easily tell that I have MATLAB installed outside of the repository by listing the contents of /opt, I can also remove it easily by deleting just one directory and one file: /opt/MATLAB and /usr/share/applications/matlab.desktop. However, that installation method is the exception not the rule. Use it as a last resort.

The order of preference for package installation should be repository > deb file > binary installer.

Disclaimer: I made some generalizations to keep the explanation as simple as possible. However, my explanations are valid in almost every case; there are merely some technicalities that I didn't cover for the sake of brevity.

Thanks man, that's awesome information.

Though I am going to assume those generalizations is going to explain my next question, you said a downside of .deb files is there are no automatic updates. Though that is how I install Chrome, but it does get automatic updates.

Chrome is actually a special case. The deb has a post-install trigger that checks for the presence of Google's Chrome repository on your computer. If its not found, the repository will be added for you automatically so that you will continue to get updates. Although this is a very elegant solution for third-party software, most packages do not do this because it requires infrastructure to run a separate repository for that package alone. Instead, the authors assume that their package is already included in a repository or that you will keep up-to-date with new version manually. Dropbox is another example of another piece of software whose deb transparently adds a repository. VirtualBox is an example of one that does not (although they do have a repository that you can add manually, including explicit instructions for how to do so on their website).

I think Mindovermaster's last comment was intended to be sarcastic. That's why that emoticon is at the end. Its often really difficult to convey sarcasm on the Internet, though. I understand. In person, people often consider me very sarcastic. Not that there's ANY reason for that, OF COURSE!

Since the proprietary AMD graphics driver is difficult to get rid of once you installed it outside of the repository, a reinstall is the easiest way to fix your problem. The open-source radeon driver is built into the Linux kernel; it will be installed by default. However, you still may not get accelerated graphics without installing a few support libraries. The basic procedure is below.

1) Install Ubuntu 12.04 or 12.10.

2) Add the additional Ubuntu repositories.


sudo apt-add-repository universe
sudo apt-add-repository multiverse
sudo apt-get update
[/CODE]

[b]3)[/b] Update Ubuntu and install the additional packages necessary for full acceleration with the [i]radeon[/i] driver.

[CODE]
sudo apt-get dist-upgrade
sudo apt-get install libgl1-mesa-dri-experimental libgl1-mesa-glx linux-firmware-nonfree xserver-xorg-video-radeon
[/CODE]

[b]4)[/b] Reboot.

[CODE]
sudo reboot
[/CODE]

[b]5)[/b] Check that you are using the proper driver and have full 3D acceleration.

[CODE]
sudo lshw -c video | awk '{if($1 ~ "^configuration") print $2}'
glxinfo | grep renderer
[/CODE]

I just entered

sudo apt-add-repository universe

and it gives me Error: universe invalid?

**I just checked out the Software Sources area, and seems like both are already enabled.

  • 5 weeks later...

I am having issue running any games at all, even on low settings.

OpenGL renderer string: Gallium 0.4 on AMD CYPRESS is what I get with glxinfo | grep renderer.

Is that correct? What is needed?

That is the correct string for the radeon OpenGL renderer. If you are running Unity (or Compiz in general), make sure that "Undirect Fullscreen Windows" is checked to get the best performance in full-screen games. (Although the feature was introduced in Ubuntu 12.10, it has been backported to Ubuntu 12.04.2 - its just not default in 12.04.)

Unfortunately the 3D performance of Radeon and Nouveau is not quite up-to-par. Their 2D performance is fantastic, but the drivers are not well optimized at the moment. The Intel graphics driver is much better optimized, but the hardware performance is lacking. I'm hoping that the open-source driver AMD recently released for the Radeon HD 8000 series is a game changer when the hardware arrives!

That said, I am able to run Nexuiz, Minecraft, and Team Fortress 2 acceptably on my Radeon HD 5770 using Radeon and Gallium 0.4.

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

    • No registered users viewing this page.
  • Posts

    • Floorp 12.15.0 by Razvan Serea Floorp is a cutting-edge web browser that combines the trusted foundation of Mozilla's Firefox with a unique Japanese perspective, offering users an exceptional online experience. This open-source browser prioritizes privacy, customization, and security. Floorp is transparent, with no user tracking or data sharing, and it's completely open source. With a strict no-tracking policy and full transparency, your personal information remains private. As an open-source project, Floorp not only shares its source code but also its build environment, inviting users to contribute and build their unique versions. The regular updates, based on Firefox ESR, ensure that you always have the latest features and security enhancements. Floorp key features: Strong Tracking Protection: Floorp offers robust tracking protection, safeguarding users from malicious tracking and fingerprinting on the web. Flexible Layout: Customize Floorp's layout to your heart's content, including moving the tab bar, hiding the title bar, and more for a personalized browsing experience. Switchable Design: Choose from five distinct designs for the Floorp interface, and even switch between OS-specific designs for a unique look Regular Updates: Based on Firefox ESR, Floorp receives updates every four weeks, ensuring up-to-date security even before Firefox's releases. No User Tracking: Floorp prioritizes user privacy by abstaining from collecting personal information, tracking users, or selling user data, with no affiliations with advertising companies. Completely Open Source: The full source code for Floorp is open to the public, allowing transparency and enabling anyone to explore and build their own version. Dual Sidebar: Floorp features a versatile built-in sidebar for webpanels and browsing tools, making it perfect for multitasking and quick access to bookmarks, history, and websites. Flexible Toolbar & Tab Bar: Customize your browser with Tree Style Tabs, vertical tabs, and bookmark bar modifications, catering to both beginners and experts in customization. User-Centric Web Experience: Floorp prioritizes user privacy and collaboratively blocks harmful trackers. Floorp 12.15.0 changelog: Refine appearance of Start top sites and Hub sidebar by @CutterKnife in #2435 Improvement command pallete by @Walkmana-25 in #2429 Fix gesture command by @Walkmana-25 in #2425 Add Mac OS formatting for modifier keys in shortcut editor by @Walkmana-25 in #2424 refactor: bridge as little by @nyanrus in #2416 fix(pwa): follow Firefox 150 ShellService API changes (Bug 1985098) by @Ryosuke-Asano in #2409 feat(notes): Desktop向けThree-Way Merge Sync実装 by @Ryosuke-Asano in #2402 fix(pages-settings): resolve Invalid Hook Call error in SortableContext by @Ryosuke-Asano in #2350 README: fix signpath avatar url by @CutterKnife in #2453 Enhance command palette with new actions by @Walkmana-25 in #2449 feat(split-view): implement tab drop functionality with overlay and new window zone by @Ryosuke-Asano in #2445 fix: restore 'Hide Interface', 'Toggle Navigation Panel', and 'Rest Mode' keyboard shortcuts by @Ryosuke-Asano in #2458 fix: prevent unified extensions panel from closing on bottom navbar (#2079) by @Ryosuke-Asano in #2462 fix: prevent workspace system from overriding SessionStore tab selection on startup by @Ryosuke-Asano in #2461 fix: prevent multi-row tabs from disappearing when sidebar opens website by @Ryosuke-Asano in #2460 fix: prevent private container tab from saving first page to history by @Ryosuke-Asano in #2459 fix: prevent browser close when container tab is the only tab open by @Ryosuke-Asano in #2465 Resolve conflicts for #2467: Add split-view mouse gesture commands by @Ryosuke-Asano in #2472 fix(os-server): auto-generate auth token on enable by @Ryosuke-Asano in #2471 fix(settings): change broken link to Floorp Docs by @regularentropy in #2477 Enhanced search functionality in the command palette — now supports English keywords, Japanese morphological analysis, and hiragana search by @Walkmana-25 in #2470 fix(patches): align Gecko patches with Linux CI runtime by @Ryosuke-Asano in #2482 feat(pwa): add Firefox Container support for PWA apps by @Ryosuke-Asano in #2443 fix(statusbar): add event listener for buttons in status bar by @greeeen-dev in #2484 Download: Floorp 64-bit | 95.0 MB (Open Source) Links: Floorp Website | Github Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Google Gemini co-lead Noam Shazeer is leaving for OpenAI by Pradeep Viswanathan Noam Shazeer is best known as one of the co-authors of the 2017 “Attention Is All You Need” paper, which introduced the Transformer architecture that now powers most large language models. He also worked on several major Google AI projects, including LaMDA, before leaving the company in 2021 to co-found Character.AI. He also authored the Sparsely-gated Mixture of Experts (2016) paper, which is popular among the AI community. After falling behind OpenAI and Anthropic a couple of years ago, Google brought Shazeer back in 2024 as part of a major deal with Character.AI. Through this deal, along with Noam, several other researchers returned to Google DeepMind. More recently, he was a vice president of engineering at Google and a technical co-lead for Gemini. Today, Noam Shazeer announced on X that he is leaving Google and joining OpenAI. In his post, Shazeer said it was a difficult decision to move on, adding that he was proud of the Google team and what it had built together. OpenAI CEO Sam Altman welcomed the move with a post of his own, saying Shazeer was one of the people he had most wanted to work with since OpenAI’s early days. Google has made strong progress with Gemini over the past year, closing the gap with OpenAI in several areas. But losing Noam Shazeer is a major talent setback for them, especially after bringing him back less than two years ago by spending a fortune. For OpenAI, the hire adds one of the industry’s most experienced language model researchers to a team that is already pushing ahead with ChatGPT, Codex, and its next generation of frontier models.
    • I'm lost too... what did you mean by your first comment then?
    • Couple years ago I got a brand new 4TB Samsung 990 Pro for $250 during Black Friday
  • Recent Achievements

    • Week One Done
      Classifyskilleducation earned a badge
      Week One Done
    • One Month Later
      eurospharma62 earned a badge
      One Month Later
    • Week One Done
      With What earned a badge
      Week One Done
    • Week One Done
      Harris Gilbert earned a badge
      Week One Done
    • One Month Later
      Vincian earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      541
    2. 2
      +Edouard
      171
    3. 3
      PsYcHoKiLLa
      85
    4. 4
      ATLien_0
      64
    5. 5
      neufuse
      64
  • Tell a friend

    Love Neowin? Tell a friend!