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

    • 1. Define "better". 2. It's still more expensive than equivalent PCs so... And there is not one Windows platform. This is the mistake ALL Apple oriented people make. Apple is one OEM. You could reasonably compare them to one PC OEM, say Dell or HP. But you can't compare them to ALL PC OEMs. Case in point, Apple has NO touch screen MacBooks. No tablet Macs. There are no rugged Macs. The variety of PC OEM design is insane. With Apple, you have... Apple. The problem is that you're starting with Apple as the definition of "good" then filtering out anything that isn't close to an existing Apple product, then trying to homogenise all of those left into a fictional product line and then ignore any innovations to create a minimal feature subset so you can say "See! Apple better!" PS: I was an Apple dev for 17 years and helped develop MacInTalk and disability solutions for Apple, and worked on Microsoft Office for MacOS - and I have several Macs and MacBooks - so tread very carefully.
    • Major Xbox layoffs may claim South of Midnight developer Compulsion entirely by Pulasthi Ariyasinghe Microsoft has been making major changes in its gaming wing Xbox for a few months now, including the appointment of a new CEO, a large number of leadership changes, and strategy shifts. However, the company is seemingly also looking at initiating a major layoffs wave at Xbox and perhaps even a studio closure. The new report lands from Kotaku, Xbox first-party developer Compulsion Games is being shuttered soon by Microsoft. For those unfamiliar with the studio, it's the team behind Contrast (2013), We Happy Few (2018), and South of Midnight (2025). Its latest game was quite well received, even winning a Peabody Award for its writing. It even received a 9/10 in Neowin's own review, highlighting its engaging storyline, gorgeous world, and curious characters. The studio joined Xbox Game Studios in 2018, just as Microsoft announced it is acquiring Playground Games, Undead Labs, and Ninja Theory. Despite recent listings for new staff roles, according to the new report, Compulsion Games is being closed entirely, with over 90 staff being let go. Kotaku also added that the studio's leadership is in negotiations with Microsoft about this decision, but no official details have been revealed yet. The report lands just as two senior managers of Xbox leave their posts at Microsoft Gaming. Head of Xbox Game Studios Craig Duncan and chief of staff Louise O'Connor originally began their journey in Rare and have been a part of Xbox for over two decades. Dunkan has been responsible for games like Kinect Sports and Sea of Thieves, while O'Connor was primarily working on Rare's Everwild project before its cancelation. If this report about the studio shutdown is accurate, this may just be the start of a major new layoffs wave at Xbox Game Studios. There are also rumors of Arkane Studios being heavily affected. As always, take all these reports with a grain of salt until something official materializes from Microsoft or the studios.
    • The flaw with this analysis is that this laptop has a cellphone CPU in it. In the Intel world, that would be an N150 and those are everywhere, even in low end laptops. You can get an N150 based NUC with 16GB RAM and 256GB-512GB SSD... NOT soldered in... for < $500 Canadian (around US$360). The problem is two fold: tech bloggers/writers on most tech site (like this one, ironically) overvalue Apple and apparently aren't in the same earnings class as most regular people. As a result, we get breathless articles about how everyone needs a folding phone when most people just cannot afford one... or really need one. And we get Apple used as the baseline metric regardless of whether that comparison makes any sense. If Dell or HP released a retail laptop with a cellphone motherboard, you'd be all over them for doing that - but Apple does it and it's genius. I see articles suggesting what Samsung - a company that basically started the foldable phone market and has built them for eight years - needs to do to compete with Apple's unreleased, unspecced and unseen folding phone. Sorry, no - if the Neo (really creative name there BTW - still, better than the Go, the other "creative" product name everyone's using) encourages PC makers to make cellphone laptops using lower end ARM processors, we all lose. It's a step backwards and a capitulation to the fact that semiconductor makers and computer OEMs (and tech bloggers) have totally lost the plot.
    • Everyone should install this extension and ignore games that use AI. https://chromewebstore.google....nnigaaeelfkeomjcngmnh?pli=1 https://addons.mozilla.org/en-US/firefox/addon/ai-warning-for-steam/
  • Recent Achievements

    • One Year In
      ThatGuyOnline earned a badge
      One Year In
    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
  • Popular Contributors

    1. 1
      +primortal
      505
    2. 2
      +Edouard
      198
    3. 3
      PsYcHoKiLLa
      127
    4. 4
      Steven P.
      82
    5. 5
      ATLien_0
      74
  • Tell a friend

    Love Neowin? Tell a friend!