2

I have this crappy HP Pavilion G6 laptop (no other choice, provided by office) which is having troubles dealing with graphics (Ubuntu 12.04 LTS).

Details of the machine:
Its having a ATI Radeon graphics card, and I feel it is the main culprit.

I also had troubles installing it and only after following this link, I could install it.
(setting nomodeset in GRUB)

Now startup works good, but many things related to graphics don't. (I installed Cinnamon too, but it also doesn't seem to work correctly) I have all the updates applied.

I am currently facing problems in starting Android emulator to test my Android apps.
Whenever I try to start the emulator, I get following error message:

Starting emulator for AVD 'Phone_41'
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 153 (GLX)
Minor opcode of failed request: 19 (X_GLXQueryServerString)
Serial number of failed request: 12
Current serial number in output stream: 12

Apart from this, many other graphic related things do not work (Window switcher in graphic mode, Cinnamon)

If I head to Settings>Drivers I see two graphics drivers for the card being displayed:

enter image description here

The post-release-updates don't get installed and mess with the other one too (the one which is showing that it requires a restart)

Problems:

  • Graphic Drivers can't be installed
  • Android Emulator doesn't start, throws the above errors (maybe because of the graphics)

Is it a known issue or is there any workaround for this?

6 Answers6

1

First things first Your Graphics Card

The link presented in your question contains outdated instructions to correctly install ATI graphics drivers for 12.04. You need to purge this installation and reinstall the coorect graphics driver (ensuring you all meet all the correct dependencies). This may also be the cause of Cinnamon not working (but if it il doesnt work you can ask a new question here).

Hopefully some else has knowledge about the Android Emulator (not a strong subject with me) but lets get you system stable first

Instructions on how to install your graphics driver can be found here

stephenmyall
  • 9,885
1

I have had the exact same problem. I have: -Followed all the links. -Installed all the libraries. -Uninstalled/reinstalled, sudo aticonfig --initial=dual-head, ... nothing helpful.

My advice, although not very helpful, is to make a new installation on a computer that already has drivers available. Build a computer with known working components that have the software to support it. Otherwise I will keep my eye on this link for something USEFUL.

0

Sometimes I have to bother on certain systems when installing ATI graphics using Additional Drivers. To fix this, I open a terminal and type:

sudo apt-get install fglrx
jokerdino
  • 41,732
0

I am also using HP pavillion g6-1302tx, i have followed the following link to install the graphic drivers on my laptop.

http://www.upubuntu.com/2012/03/how-to-install-ati-amd-catalyst-122.html

Blank screen at the booting time is still an issue. Well setting nomodeset option abruptly increased the brightness of the screen and the brightness adjustment keys stopped responding; so it's better not to use nomodeset option.

Hope this is helpful.

Ankit
  • 6,989
0

I just dealt with the the same issue on my system (Though mine is a desktop) Go to the ATI website and grab the driver for "Linux" operating systems. It should come in a .run format once you have it on a thumb drive or wherever you need to do some very basic things (Which aren't so basic to find on the Internet). First Place the .run file on your desktop (For simplicity) then rename it something short, sweet, and to the point (EX. GD.run) which stands for (Graphics Driver). Then once you get to that point you need to shutdown "X" server before attempting to install. I assume you already know how to do this but in the case that you don't I will clarify because this is also not so straight forward on the Internet. So to shutdown "X" server you need to open terminal and run this command

sudo /etc/init.d/lightdm stop

sometimes that one fails to stop the "X" server so try this one. To check if it fails simply do the remainder of the steps and it will tell you whether the "X" server is still running.

sudo /etc/init.d/gdm stop

Then you need to press CTRL+ALT+F1 and then enter the following. (Here comes the part why I told you to put it onto the desktop and name it something simple and easy to remember.)

Enter Login Credentials
cd ~/Desktop 
chmod +x GD.run
sudo ./gd.run

Then simply follow the steps given by the driver. Then to leave the black screen CTRL+ALT+F7 After that point it is a matter of going to the Catalyst Manager and setting it up.

-1

You seems to have 2 problem at the same time:

  • a problem with the drivers of your graphic card, in this case i suggest to take a look at http://wiki.cchtml.com/index.php/Main_Page which is a good place to start and remember to uninstall everything that is old before installing something new
  • a problem with your android environment, and in this case you probably are messing up with the Mesa library that is the OpenGL implementation used by the Android emulator, just take a look at how to setup your OS for Android development http://source.android.com/source/initializing.html
user827992
  • 2,901