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

    • Age of Empires Mobile comes to PC, here's how to carry over progress from your phone by Ivan Jenic Image: YouTube/Microsoft Microsoft just released Age of Empires Mobile for PC. The game, officially called Age of Empires Mobile: PC Edition, is available for free on Steam and Microsoft Store, almost two years after its initial release for handheld devices. Age of Empires is one of those franchises that entire generations grew up with. The original came out in 1997, and immediately got people hooked to building civilizations and crushing their enemies on the battlefield. However, the franchise today is a far cry from its roots, as Age of Empires Mobile is, well, a game optimized for handheld devices, and not a classic RTS title we’ve all loved for years. And, of course, it includes in-game purchases. The PC version is still a mobile game at its core, but it’s been optimized for desktop play. There’s mouse control, full keyboard compatibility, and a refined UI. Microsoft also refreshed the visuals with some 4k textures, so the game should look better on larger screens. The game supports Crossplay, so you can switch between your phone, tablet, and PC without losing anything. But linked progress doesn’t come out of the box, as you have to enable it first. Here’s how to link your progress: On your mobile device, open Age of Empires Mobile. Go to Settings (Gear icon) > Account. Select Bind Account and choose a sign-in option. Once you enable account binding, sign in on PC using the same method, and your progress will be accessible across all your devices. Xbox Game Pass subscribers also get a bonus reward pack on PC, which includes: 1 Monthly Pass Token 1 Custom Resource Chest 10 Universal 60-Minute Speed-Ups 1,000 Empire Coins Exclusive Player Portrait Frame You can find more info about Age of Empires Mobile: PC Edition, as well as download links, on the Age of Empires official website.
    • Apple Watch Series 11 GPS just crashed to 30% off in this fast-moving Prime Day deal by Karthik Mudaliar The Apple Watch Series 11 is available for $279, down from its $399 list price, saving buyers $120, or 30%. Amazon labels the offer as selling fast, so the current price may not remain available for long. This GPS model features a 42mm aluminum case, an Always-On Retina LTPO3 OLED display capable of reaching up to 2,000 nits, and an Ion-X glass surface with improved scratch resistance. Apple rates Series 11 for up to 24 hours of normal use or up to 38 hours in Low Power Mode, with fast charging providing up to eight hours of use from a 15-minute charge. Health and fitness tools include sleep scoring, temperature sensing, ECG support, heart-rate alerts, workout tracking, sleep apnea notifications, and hypertension notifications, where available. The watch also carries IP6X dust resistance and 50-meter water resistance. This configuration is best suited to iPhone owners who want comprehensive health tracking, notifications, contactless payments, and workout data without stepping up to a larger or cellular-equipped model. The smaller case should also appeal to buyers who prefer a lighter watch, while the S/M band fits wrists measuring 130mm to 180mm. With the current generation now significantly below its usual retail price, this is a strong time to replace an aging Apple Watch or buy a first model without compromising on Apple’s newest health and display features. Grab the discounted Apple Watch Series 11 (sold and shipped by Amazon) Good to know This Amazon deal is U.S. specific, and not available in other regions unless specified. We only use first-party seller links (at the time of article publishing); ensure that you purchase from a first-party seller link only. Check out Today's Deals on Amazon | or our recent tech deals. Become a Prime member (for Students or SNAP) via Neowin Get Prime Access - Prime for half price (for qualifying Medicaid, EBT, SNAP) Subscribe to Prime Video, Audible Plus, Music Unlimited or Kindle Unlimited via Neowin As an Amazon Associate, we earn from qualifying purchases.
    • The laptop in the bedroom is an Acer with i7-10510U CPU. Acer's website states they will not be upgrading it so I had little choice other than disable secure boot. I know next to nothing on these matters so hopefully it will be fine.
    • GitHub removes manual model selection from Copilot free and student plans by Karthik Mudaliar GitHub is removing the ability to manually select an AI model from its Copilot Free and Student plans, making its automatic routing system the default and only way to choose a model. This means users on these tiers will no longer be able to deliberately select a particular OpenAI, Anthropic, Google, or Microsoft model for a task. In its announcement, GitHub said Copilot Auto will dynamically choose what it considers the best model for each request. Free and Student accounts will retain access to models from multiple families, although the available selection will continue to depend on the restrictions attached to each plan. GitHub did not identify a fixed pool of models that Auto will always use, and its documentation warns that model availability can change over time. GitHub describes Auto as more than a random fallback system. On supported surfaces, its task-optimization technology evaluates the complexity of a request alongside real-time information about model health and availability. Straightforward prompts can be routed to faster and less expensive models, while more demanding coding tasks may be sent to higher-cost reasoning models. The company says this approach should reduce rate limiting, latency, and failed requests. Auto generally selects one model along natural prompt-caching boundaries rather than repeatedly switching models during a session, as GitHub found that mid-session changes increased costs without producing sufficient improvements in output quality. Users can still check which model generated a response. In Copilot Chat, the information appears when hovering over an answer, while Copilot CLI and the Copilot cloud agent display the selected model alongside their output. Auto is available in Copilot Chat, Copilot CLI, and the cloud agent, with the exact implementation and release status varying between supported development environments. The latest restriction follows several months of adjustments to Copilot’s individual plans. GitHub temporarily halted new Pro, Pro+, and Student subscriptions in April as it sought to manage demand and service reliability. It later introduced token-based billing and began gradually reopening individual-plan registrations on June 17. Alongside the picker change, GitHub is retiring the “Preview” label from Microsoft-developed models. It argues that the label is no longer necessary because Auto handles model routing and models are continuously updated behind the scenes.
  • Recent Achievements

    • One Year In
      Philsl earned a badge
      One Year In
    • Dedicated
      Scoobystu earned a badge
      Dedicated
    • First Post
      Tom Schmidt earned a badge
      First Post
    • One Month Later
      D0nn13 earned a badge
      One Month Later
    • Rookie
      +ChiefOfNeo went up a rank
      Rookie
  • Popular Contributors

    1. 1
      +primortal
      460
    2. 2
      +Edouard
      177
    3. 3
      PsYcHoKiLLa
      124
    4. 4
      Michael Scrip
      79
    5. 5
      Xenon
      76
  • Tell a friend

    Love Neowin? Tell a friend!