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

    • Limited time Prime Day deal cuts price of this Hisense 65" 4K smart TV in half by Ivan Jenic It’s Amazon Prime Day, and brands are offering great deals to consumers. One of the best deals of the day is definitely this Hisense 65" U7, which is currently $799.99 on Amazon, down from $1,499.99. That's nearly 50% off and $700 saved on this feature-packed 4K TV (purchase link down below). The U7 uses Mini-LED backlighting with up to 3,000 local dimming zones and up to 3,000 nits of peak brightness. That means blacks are truly deep and highlights are punchy enough to hold up even in bright rooms. The screen is covered with a dual-layer anti-reflection coating, which prevents the afternoon overhead lights from washing the picture. For gaming, the native 165Hz refresh rate and VRR 330 support make this one a great TV option for PS5 and Xbox Series X. The TV even features a native game mode, which should help minimize the input lag for a better gaming experience. Audio is handled by a 2.1.2 channel system tuned by Devialet, which is a notable partnership for a TV at this price. Additionally, Dolby Vision IQ, Dolby Atmos, and IMAX Enhanced are all supported. It runs Fire TV with Alexa+ built in. So, if you’re looking for a sharp, large screen to watch the World Cup on, the U7 at this price is definitely an attractive option. Speaking of which, Hisense is the official sponsor of the World Cup, which should mean absolutely nothing to you, and isn’t the reason why you should by this TV. The reason why you should buy it is that it’s “la bella televisione, HDTV-compatible, beautiful,” and available at half the price. Hisense 65" U7 Mini-LED 4K Smart Fire TV - $799.99 | 47% off on 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.
    • eM Client 10.4.5600.0 by Razvan Serea eM Client is a full featured e-mail client with a modern and easy to use interface. eM Client also offers calendar, tasks, contacts and chat. eM Client supports all major services including Gmail, Exchange, iCloud, and Outlook.com. You can easily import your data from most of the other e-mail clients. This includes Microsoft Outlook, Outlook Express, Windows Mail, Windows Live Mail, Thunderbird, The Bat and more. eM Client fully supports touch devices like touch-enabled laptops, tablets and hybrid devices. Use your email client easily in a modern way. eM Client PRO vs. Free version While the Free license allows you to set up the maximum of two accounts in the application, it is possible to add an unlimited number of accounts with the PRO license. The PRO license also enables you to use eM Client for commercial purposes. Commercial use is any activity that helps you make profit, the Free license therefore cannot be used in company settings or on personal computers for business correspondence. PRO users also gain access to the dedicated support system and to the licensing manager. eM Client has been fully optimized to run smoothly on Windows Vista, 7, 8, 10 and 11. eM Client 10.4.5600.0 changelog: Improved memory management Improved MS Teams support A lot of other fixes Download: eM Client 10.4.5600 | 128.0 MB (Free, paid upgrade available) View: eM Client Website | eM Client Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Re: Capitalism. It's just 1 of dozens of economic models currently-adopted worldwide; most national models separate money from politics thereby limiting the influence wealth carries over the economy (due to limited tentacles wealth politics has over the broader economy). The "American model" of unfettered financial influence should NOT be the variant of pure capitalism adopted worldwide. More regulations formulated within this variant is effectively useless due to the misalignment between regulatory objectives and fundamental influence wealth politics carry over the market. Re: enough money. Without constraining the breadth/depth/scope/scale that any measure of money/wealth can have within a market, there will always inherently be those who have "enough money" and those who do not. Those without "enough money" will always lose -- regardless if a bedroom DJ, indie developer, or million-dollar corporation going against a billion-dollar mega-corporation. The evil is the absence of guardrails against the influence of wealth; not the mere existence of wealth. Re: dragged through the courts. The liberalist nature of litigation does not exclude anyone, anywhere, for any reason for getting dragged through the courts. Rather than formalize remediation pathways for various perceived ills, everything is left up to flawed interpretations... and this is where a litigation-averse community fails to thrive (thus a losing proposition when dragged to courts). Everyone should have more protections and clear remediation strategies! Going to an alternate remediation arbitration is OK so long as the case review and remediation processes are clear and transparent. For corporations, hit them where it hurts: automatic financial penalties. (PS: This is where corporate risk management strategies would do well to behave more ethically.) Overall, failure to truly shake-up the incentive core and regulatory extremities of the economic market will necessarily mean that all other actions are simply applying lipstick on a pig. Change begins from the inside. Is the root cause of the problem that a majority of consumers within a market goes for Option Brand-name versus Option Indie? Or that brand-name is spending foreign money to control domestic markets? Or that money is the objective measure for success across all walks of life? Or that deep pockets dictate the moral and ethical rights/wrongs of entire societies? Regardless of the answer (and there's nothing inherently wrong with being a socialist or communist or whatever label your surroundings deem 'cool' or 'uncool') there's a common thread: If a market truly wants to nurture domestic innovation, then performative finger-wagging will do nothing to that end.
  • Recent Achievements

    • Conversation Starter
      Admir earned a badge
      Conversation Starter
    • First Post
      The_Focal_Point earned a badge
      First Post
    • Apprentice
      daryld went up a rank
      Apprentice
    • Contributor
      Carltonbar went up a rank
      Contributor
    • One Month Later
      The_Focal_Point earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      407
    2. 2
      +Edouard
      167
    3. 3
      PsYcHoKiLLa
      130
    4. 4
      Xenon
      71
    5. 5
      neufuse
      69
  • Tell a friend

    Love Neowin? Tell a friend!