PDA

View Full Version : [all variants] AMD/Intel Hybrid Graphics works



Pages : [1] 2 3 4

Alexislavie
February 23rd, 2012, 10:59 PM
If you do want to make the switch possible between your Intel and your AMD graphics cards, then this post is for you. If you do not own a AMD hybrid graphic card, please leave this thread, and post your problems in a thread made for AMD single graphic or Intel single graphic.

Edit: The solution seems not to work with ATI 5xxx graphic cards, try at your own risk.
Warning: Works only for muxless systems.
Warning 2: Check if your BIOS is updated, if not update it ! (You will need Windows). This is your computer manufacturer that "implements the switch on your mother card, and modify the video drivers for Windows to work on your computer". If an AMD 6630m (for example) works on a HP computer, this doesn't mean the same video card will work for sure (for example) on a ASUS computer.

Edit bodhi.zazen: Best check hardware compatibility before following this tutorial. If your hardware is not listed as supported, this tutorial will not help you. See http://wiki.cchtml.com/index.php/Hardware

The following solution has been tested on a DELL Vostro 3550, with an AMD 6630m card and an Intel HD 3000 (Sandybridge) card (integrated into a Intel core i5). The version of Ubuntu used is 12.04 LTS (further versions should works too). The system is very stable, and everything works well.
This tutorial requires the use of the terminal, but still is simple if you're a beginner, you will just have to past some commands on it and press "Enter".
(Tip for beginners : to past a command on a terminal, just press CTRL+SHIFT+V, it is the same shorcut as usual just don't forget to press SHIFT when pasting).

Before beginning this tutorial, we will suppose you are following it on a fresh install (i.e. You did not install vgaswitchroo or flgrx (via jockey-gtk : The proprietary driver installer application from Ubuntu). Please also install all updates available for your computer before starting (and reboot if you're proposed to).

STEP 1 - Installing latest AMD catalyst drivers :

As I'm writing this the latest version is 12.4, please check this page to know if there is a new version : http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide (this also includes the guide to install them).

First we're going to download all the prerequisite packages :

sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6
sudo apt-get install dkms libqtgui4 wget execstack libelfg0 dh-modaliases
sudo apt-get install linux-headers-generic xserver-xorg-core libgcc1If you're using Ubuntu 64bits please run those two commands (32bits users don't have to) :

sudo apt-get install ia32-libs lib32gcc1 libc6-i386
cd /usr ; sudo ln -svT lib /usr/lib64We can now download the AMD catalyst 12.4 driver :

cd ~/; mkdir catalyst12.4; cd catalyst12.4/
wget http://www2.ati.com/drivers/linux/amd-driver-installer-12-4-x86.x86_64.run
chmod +x amd-driver-installer-12-4-x86.x86_64.runAnd create Ubuntu packages of it :

sudo sh ./amd-driver-installer-12-4-x86.x86_64.run --buildpkg Ubuntu/preciseNow let's install them :

sudo dpkg -i fglrx*.deband configure the Xserver (xorg.conf file) for the first time :

sudo aticonfig --initial -fNow reboot your computer.

Test the switch to the discrete card :

sudo aticonfig --px-dgpuThen reboot again your computer.

STEP 2 - Enabling, fixing the bug for direct rendering on the integrated card :
Thanks to Niccola (http://ubuntuforums.org/showpost.php?p=11819555&postcount=107) for finding the actual fix.

If you ever apply an fglrx update, or your system automatically update fglrx, YOU WILL HAVE to repeat STEP 2, otherwise direct rendering will be missing on integrated gpu (i.e. No Unity 3D or Gnome Shell or Gnome Classic + Compiz on the Intel graphic). If you have an other solution (like loading a script on startup) please post it.

Open the /etc/X11/Xsession.d/10fglrx file with root rights :

gksu gedit /etc/X11/Xsession.d/10fglrxIf you're using a 32bits system add at the end of 4th line this text : "/usr/lib32/dri/" without the quotes. The file should now look like this :

LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri
if [ `uname -m` = 'x86_64' ]; then
if [ -d /usr/lib32/fglrx/dri ]; then
LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri:/usr/lib32/dri
if [ ! -z $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
fi
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32
export LD_LIBRARY_PATH
fi
fi
export LIBGL_DRIVERS_PATHIf you're using a 64bits system add at the end of 4th line this text : "/usr/lib/x86_64-linux-gnu/dri/" without the quotes. The file should now look like this :

LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri
if [ `uname -m` = 'x86_64' ]; then
if [ -d /usr/lib32/fglrx/dri ]; then
LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri:/usr/lib/x86_64-linux-gnu/dri
if [ ! -z $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
fi
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32
export LD_LIBRARY_PATH
fi
fi
export LIBGL_DRIVERS_PATHNow save the file.

STEP 3 - Enjoy your hybrid graphic system ! :

Reboot your computer to see the changes, it should boot up with the discrete card.

Useful informations, commands :

Power consumption is a lot better now, it seems that my battery last 4 times more with the integrated card, but this isn't still good as in Windows. If someone find or know tricks to decrease power consumption a little more please post it !

I do not recommend to update the catalyst driver once it's installed (if it works), if you really want to upgrade then check this page to find instructions : http://wiki.cchtml.com/index.php/Ubuntu

The AMD driver GUI application doesn't provide settings for screen configuration, but only 3d settings. This is a missing feature.

Switching commands :

aticonfig --pxl # List current activated GPU
sudo aticonfig --px-dgpu # Activate discrete GPU (High-Performance mode), must re-start X to take effect
sudo aticonfig --px-igpu # Activate integrated GPU (Power-Saving mode), must re-start X to take effectVerify the Open GL's libraries used :

fglrxinfoVerify if the direct rendering is used :

glxinfo | egrep renderInstall mesa-utils, and test the card 3d power (compare the fps) :

sudo apt-get install mesa-utils
glxgearsIf something goes wrong and your computer doesn't boot (i.e. black screen), press CTRL+ALT+F3, log yourself into your account and enter those commands :

sudo rm /etc/X11/xorg.conf
sudo startxAnd you should be able to see your desktop.

List of fully supported computers : // Updated 05/16/2012 (American date format).


ACER 7750g, Intel HD 3000, AMD 6650m, HDMI Intel/AMD: not tested/not tested, VGA Intel/AMD: not tested/not tested


DELL Inspiron 14R (N4110), Intel HD 3000, AMD 6470m, HDMI Intel/AMD: not tested/not tested, VGA Intel/AMD: not tested/not tested
DELL Vostro 3550, Intel HD 3000, AMD 6630m, HDMI Intel/AMD: not tested/not tested, VGA Intel/AMD: working/working


HP Envy 14t-2000 CTO, Intel HD 3000, AMD 6630m, HDMI Intel/AMD: not tested/not tested, Mini DisplayPort Intel/AMD: not tested/not tested
HP ENVY 15-3090CA, Intel HD 3000, AMD 6630m, HDMI Intel/AMD: not tested/not tested, Mini DisplayPort Intel/AMD: not tested/not tested
HP Pavilion dm4-2160sf, Intel HD 3000, AMD 6470m, HDMI Intel/AMD: not tested/not tested, VGA Intel/AMD: not tested/not tested
HP Pavillion dm4-2110sp, Intel HD 3000, AMD 6470m, HDMI Intel/AMD: not tested/not tested, VGA Intel/AMD: not tested/not tested
HP Pavilion dv6-6102sg, Intel HD 3000, AMD 6770m, HDMI Intel/AMD: not tested/not tested, VGA Intel/AMD: not tested/not tested
HP Pavilion dv6-6169sl, Intel HD 3000, AMD 6770m, HDMI Intel/AMD: not tested/not tested, VGA Intel/AMD: not tested/not tested
HP Pavilion dv6-6178sl, Intel HD 3000, AMD 6770m, HDMI Intel/AMD: working/working, VGA Intel/AMD: working/working
HP Pavilion dv6-6192sf, Intel HD 3000, AMD 6770m, HDMI Intel/AMD: not tested/not tested, VGA Intel/AMD: not tested/not tested
HP Pavilion dv7-6070ef, Intel HD 3000, AMD 6490m, HDMI Intel/AMD: not tested/working, VGA Intel/AMD: not tested/not tested
HP Pavilion g4-1001tx, Intel HD 3000, AMD 6490m, HDMI Intel/AMD: not tested/not tested, VGA Intel/AMD: not tested/not tested
HP Probook 4530s, Intel HD 3000, AMD 6490m, HDMI Intel/AMD: not tested/not tested, VGA Intel/AMD: not tested/not tested


Lenovo e520,Intel HD 3000, AMD 6630m, HDMI Intel/AMD: not tested/not tested, VGA Intel/AMD: not tested/not tested
Lenovo G-770,Intel HD 3000, AMD 6650m, HDMI Intel/AMD: not tested/not tested, VGA Intel/AMD: not tested/not tested


SONY Vaio VPC-SB1S1E, Intel HD 3000, AMD 6470m, HDMI Intel/AMD: not tested/not tested, VGA Intel/AMD: working/working
SONY Vaio VPC-SC1AFM/S, Intel HD 3000, AMD 6470m, HDMI Intel/AMD: not tested/not tested, VGA Intel/AMD: not tested/not tested


If you want to add your computer, please do want it (this will help other users), make a post and indicate your configuration like those above.
I will then add it to the working list.
I repeat as many people do not get it : "like those above" ! It take you two minutes to write it, this saves me time, and I can update more frequently this thread. Also posts like "It works on HP Pavilion dm4" are USELESS, I won't add a computer with an incomplete computer model number. Exception for computers without a precise model name (example : DELL Vostro 3550, Lenovo e520).



Useful links :
http://forums.gentoo.org/viewtopic-p-6936730.html You can thanks that guy because his post really helped me to understand how the ati hybrid graphics works.
http://en.gentoo-wiki.com/wiki/Fglrx-hybrid-graphics You can also check this Gentoo wiki about hybrid graphics, this is some Gentoo's users that actually found first a solution on how to make AMD hybrid cards to work on Linux.

Sda1986
February 23rd, 2012, 11:05 PM
Hi, can I ask how many Watts are you saving with this? thanks!

aeronutt
February 23rd, 2012, 11:07 PM
"Dell Vostro 3550 computer with a Intel HD 3000 integrated video device and a ATI/AMD 6630M video card"

This is my exact setup, I WILL be trying this...have never gotten it to work prior.

Alexislavie
February 23rd, 2012, 11:10 PM
I will post an update about the progress of the package and ppa creation tomorrow.

For now here are outputs from some commands :

With Dedicated GPU :



alexis@Alexis-Vostro:~$ sudo aticonfig --px-dgpu
PowerXpress info: Diagnostic output from /usr/lib64/fglrx/switchlibglx:
update-alternatives: avertissement: création de /etc/OpenCL/vendors/amdocl32.icd abandonnée car le fichier associé /usr/lib/fglrx/etc/OpenCL/vendors/amdocl32.icd (du groupe de liens x86_64-linux-gnu_gl_conf) n'existe pas.

PowerXpress: Discrete GPU is selected (High-Performance mode), please restart Xserver(s) for changes to take effect!

alexis@Alexis-Vostro:~$ sudo aticonfig --pxl
PowerXpress: Discrete GPU is active (High-Performance mode).
alexis@Alexis-Vostro:~$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon 6600M and 6700M Series
OpenGL version string: 4.2.11399 Compatibility Profile ContextWith Integrated GPU :


alexis@Alexis-Vostro:~$ sudo aticonfig --px-igpu
PowerXpress info: Diagnostic output from /usr/lib64/fglrx/switchlibglx:
update-alternatives: avertissement: création de /etc/OpenCL/vendors/amdocl32.icd abandonnée car le fichier associé /usr/lib/fglrx/etc/OpenCL/vendors/amdocl32.icd (du groupe de liens x86_64-linux-gnu_gl_conf) n'existe pas.
alexis@Alexis-Vostro:~$ sudo aticonfig --pxl
PowerXpress: Integrated GPU is active (Power-Saving mode).

PowerXpress: Integrated GPU is selected (Power-Saving mode), please restart Xserver(s) for changes to take effect!
alexis@Alexis-Vostro:~$ fglrxinfo
display: :2.0 screen: 0
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL version string: 1.4 (3.0 Mesa 8.0)
And here is my xorg.conf :


Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Alexislavie
February 23rd, 2012, 11:14 PM
Hi, can I ask how many Watts are you saving with this? thanks!

I didn't test this for the moment, I will do it when the PPA will be ready.
A thing is obvious it can't be worse than without fglrx and sna because by default the kernel gives power to the two cards but only the Intel one can be used by Xorg.

Alexislavie
February 24th, 2012, 06:13 PM
I have been trying, 4 hours this afternoon to make it work, but sadly xserver-xorg-video-intel version 2.15.901 doesn't work with the latest Catalyst 12.1. Intel's driver 2.17 version works but needs a more recent Xorg version to be installed or compiled.
I think we will have to wait the release of Ubuntu 12.04 to have a compatible and stable Xorg version.

Although if you are impatient there is a way to install the latest Xorg version on Ubuntu 11.10 by adding those ppas but there are considered as unstable:

sudo add-apt-repository ppa:xorg-edgers/ppa
sudo add-apt-repository ppa:sarvatt/intel-sna
sudo apt-get update
sudo apt-get upgrade Then install the latest fglrx driver following this guide : http://wiki.cchtml.com/index.php/Ubuntu_Oneiric_Installation_Guide and you will get Hybrid Graphics on Ubuntu 11.10

I'm sorry, but because the Xorg version used in Ubuntu 11.10 isn't enoughly recent, I can't do anything at that time.

aeronutt
February 25th, 2012, 12:49 AM
Unfortunately, the above didn't work for me. I'll keep trying, but it's extremely frustrating that Ubuntu can't support dual graphics for this common hardware. Hopefully, in 12.04.

Alexislavie
February 25th, 2012, 11:59 AM
Unfortunately, the above didn't work for me. I'll keep trying, but it's extremely frustrating that Ubuntu can't support dual graphics for this common hardware. Hopefully, in 12.04.

Did you run aticonfig --initial -f after installing the latest Catalyst driver, you should also have uninstalled fglrx if it was alrready installed on your computer.

aeronutt
February 25th, 2012, 01:09 PM
Did you run aticonfig --initial -f after installing the latest Catalyst driver, you should also have uninstalled fglrx if it was alrready installed on your computer.

Yes, I ran aticonfig --initial -f, and fglrx had never been installed previously. I tried this on my 'test' load of Ubuntu, and now that load will not boot.

Alexislavie
February 25th, 2012, 01:38 PM
Yes, I ran aticonfig --initial -f, and fglrx had never been installed previously. I tried this on my 'test' load of Ubuntu, and now that load will not boot.

Go to a tty console example: CTRL+Alt+F3
Enter your login information.
sudo rm /etc/X11/xorg.conf
startx

It should boot as before.

pinguinhood
February 25th, 2012, 06:48 PM
Hi! ):P
I'll get my new notebook next week. It's a Samsung Np700Z5A notebbok with Intel® HD Graphics 3000 + AMD Radeon™ HD6750M graphics. I want to install Ubuntu 12.04 (I know the risks of alpha versions). Should it work with xserver-xorg-video-intel of your ppa?
Thanks for your work!

zapo
February 26th, 2012, 04:17 AM
Hello, first thank you for putting up these ppas and for your work.
Here is my experience so far.
I have a HP dv6 laptop with snd HD3000 / Radeon 6700M with an up to date ubuntu precise installed and the last version of catalyst drivers (12.1).

Xserver & direct rendering works well using Discrete GPU but I can't get direct rendering to work using Integrated GPU with xf86-video-intel from ubuntu repos (xserver runs though).

I tried using the packages from xorg-edgers and your ppa but it ended up crashing xserver.
I also tried compiling and installing xf86-video-intel with the --enable-sna flag against precise xorg but it gave me the same results than with your ppas.

I cant wait to see some progresses !

Starks
February 26th, 2012, 04:53 AM
Is there any dynamic switching available?

pinguinhood
February 26th, 2012, 11:14 AM
I found this article:
http://www.phoronix.com/scan.php?page=news_item&px=MTA2MTc
Will SNA support be enabled by default in new 2.18 version or i'm I wrong?

Joe76000
February 26th, 2012, 04:34 PM
Hello Alexis,

Further to your post on the French Ubuntu forum, I am coming here where you originally posted your interesting AMD/Intel Hybrid Graphics works ! subject.
I will give a try and keep you aware about my results.

Currently, I am using the acpi_call procedure which is working fine: iGPU=ON and dGPU=OFF with NO AMD drivers at all as it was just nightmares !
Roughly, my DV7 is running 10 to 15°C lower and the battery time is about double !
On one of my laptops: HP Pavilion DV7-6070ef CPU i7-2630QM + Switchable Graphics dGPU HD6490M / iGPU HD3000: W7 + Ubuntu 11.10 both in 64-bits.

ADD: On the HP Pavilion DV6-6000 or DV7-6000 (only Fixed Mode) and DV6-6100 or DV7-6100 series (Fixed or Dynamic Mode setup in BIOS) both with the AMD/INTEL Switchable Graphics, you cannot disable neither iGPU nor dGPU in BIOS which would have been much easier.

Keep going on and don't give up as a lot of people are more than interested by this hot topic.
Thanks. Joe

Starks
February 26th, 2012, 07:33 PM
Just to confirm, this is for both muxed and muxless?

Alexislavie
February 26th, 2012, 08:19 PM
Hello, first thank you for putting up these ppas and for your work.
Here is my experience so far.
I have a HP dv6 laptop with snd HD3000 / Radeon 6700M with an up to date ubuntu precise installed and the last version of catalyst drivers (12.1).

Xserver & direct rendering works well using Discrete GPU but I can't get direct rendering to work using Integrated GPU with xf86-video-intel from ubuntu repos (xserver runs though).

I tried using the packages from xorg-edgers and your ppa but it ended up crashing xserver.
I also tried compiling and installing xf86-video-intel with the --enable-sna flag against precise xorg but it gave me the same results than with your ppas.

I cant wait to see some progresses !

I didn't make any ppa for the moment, I'm waiting 12.04 to be out. The ppa I gave are for testing, they might be unstable, and they aren't mine.

Alexislavie
February 26th, 2012, 08:20 PM
Hi! ):P
I'll get my new notebook next week. It's a Samsung Np700Z5A notebbok with Intel® HD Graphics 3000 + AMD Radeon™ HD6750M graphics. I want to install Ubuntu 12.04 (I know the risks of alpha versions). Should it work with xserver-xorg-video-intel of your ppa?
Thanks for your work!

It depends if Catalyst 12.1 recognize your card. Check on the internet the compatibility.

Alexislavie
February 26th, 2012, 08:21 PM
Is there any dynamic switching available?
X.org can't do this. Wayland will someday.

Alexislavie
February 26th, 2012, 08:23 PM
I found this article:
http://www.phoronix.com/scan.php?page=news_item&px=MTA2MTc
Will SNA support be enabled by default in new 2.18 version or i'm I wrong?
This is the Ubuntu packager of that driver who will decide to either compile it with --enable-sna or not.

Alexislavie
February 26th, 2012, 08:23 PM
Just to confirm, this is for both muxed and muxless?
Only muxless system.
Muxed system have a switch in the BIOS, this is why muxless system are a problem, because they do not have this option.

Alexislavie
February 26th, 2012, 08:30 PM
For those who want to try the unstable ppas, after running aticonfig --initial -f
please check the result of this command :

echo "PCI:$(lspci | grep VGA | grep ATI | awk '{print $1}' | sed 's/\./:/')"
with the pci adress in /etc/X11/xorg.conf if they aren't the same please replace the one in the xorg.conf by the one the previous command gave you.

I recommend to all of you to read this : http://forums.gentoo.org/viewtopic-p-6936730.html

hebetude
February 26th, 2012, 09:57 PM
This could use some more information. For instance, the fglrx version does match the deb package. Also, the deb package is difficult to determine the deb version. 930 ubuntu2 seems to match up with 12.1.

Not sure on intel

Starks
February 27th, 2012, 12:21 AM
X.org can't do this. Wayland will someday.

dma-buf, not Wayland.

wegah
February 27th, 2012, 08:38 AM
Already there is a sna enable ppa. Using the last intel drivers.
https://launchpad.net/~sarvatt/+archive/intel-sna


The ppa drive work. no idea for how long the owner will maintain or update.


You need to use to.
sudo add-apt-repository ppa:xorg-edgers/ppa
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates

wegah
February 27th, 2012, 09:37 AM
not working. ATI Radeon HD 6850M envy 17 3d

http://www.amd.com/us/products/notebook/graphics/amd-radeon-6000m/amd-radeon-6800m/Pages/amd-radeon-6800m.aspx#2

Same problem before;

PowerXpress feature is not supported on A+I Mux platform. Please uninstall fglrx driver

The 6850m from what i know is a muxless ( at last inside windows).





[ 41.939] (--) Chipset Supported AMD Graphics Processor (0x68A8) found
[ 41.940] (WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
[ 41.940] (II) fglrx: intel VGA device detected, load intel driver.
[ 41.940] (II) LoadModule: "intel"
[ 41.940] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 41.940] (II) Module intel: vendor="X.Org Foundation"
[ 41.940] compiled for 1.11.2.902, module version = 2.17.0
[ 41.940] Module class: X.Org Video Driver
[ 41.940] ABI class: X.Org Video Driver, version 11.0
[ 41.941] ukiDynamicMajor: found major device number 250
[ 41.941] ukiDynamicMajor: found major device number 250
[ 41.941] ukiOpenByBusid: Searching for BusID PCI:1:0:0
[ 41.941] ukiOpenDevice: node name is /dev/ati/card0
[ 41.941] ukiOpenDevice: open result is 8, (OK)
[ 41.941] ukiOpenByBusid: ukiOpenMinor returns 8
[ 41.941] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
[ 41.942] (WW) PowerXpress feature is not supported on A+I Mux platform. Please uninstall fglrx driver.
[ 41.942] (EE) No devices detected.
[ 41.942]
Fatal server error:
[ 41.942] no screens found
[ 41.942]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 41.942] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 41.942]

LinoLinux
February 27th, 2012, 04:40 PM
Doesn't work on my Dv6-6030el either (Intel HD3000 + ATI HD6470M).

added both PPAs, updated packages, installed catalyst12.1, ran "aticonfig --initial -f" (which created a xorg.conf file exactly like yours) but on reboot X segfaults.

Xorg.0.log is not very helpful:


(EE) Screen 1 deleted because of no matching config section

and backtrace:

0: /usr/bin/X (xorg_backtrace+0x26) [0x567006]
1: /usr/bin/X (0x400000+0x16ac6a) [0x56ac6a]
2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7fa59b32f000+0x10060) [0x7fa59b33f060]
3: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7fa597300000+0x631c5) [0x7fa5973631c5]
4: /usr/bin/X (xf86DeleteScreen+0x7c) [0x47cdbc]
5: /usr/bin/X (xf86BusConfig+0x1cb) [0x46459b]
6: /usr/bin/X (InitOutput+0x903) [0x470c03]
7: /usr/bin/X (0x400000+0x22dfd) [0x422dfd]
8: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xed) [0x7fa59a25830d]
9: /usr/bin/X (0x400000+0x232bd) [0x4232bd]
Segmentation fault at address 0x4

Other commands you tried in #4 work fine (apparently I can switch graphics, and that's a great step forward) except "fglrxinfo" which gives "Error: unable to open display (null)"

I blacklisted radeon and added "nomodeset" at boot (as found via google) but nothing changed. Any other ideas?

Andy_9000
February 27th, 2012, 05:48 PM
I made a thread for this but seeing as it's not getting much attention I'll post it here also

I recently installed the AMD drivers on a DV6 with hybrid graphics using the SMXI script, I installed the intel driver first, then the AMD one. It worked until I logged out, after which I got this error:
(EE) Screen 1 deleted because of no matching config selection
(EE) fglrx(0): PowerXpress: usr/lib64/fglrx/switchlibGL failed with exit status 1
(EE) fglrx(0): PowerXpress: Failed to switch libGL link files.
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error: No screens found.


I'd like to see hybrid graphics work as well. The open source ati drivers are very energy hungry and inefficient

wegah
February 27th, 2012, 07:21 PM
The "No screens found" relies in the fact at last for our AMd muxless card. There is in fact just one REAL HARDWARE VIDEO CARD. The INTEL GPU one.
The intel GPU ones that controls the hardware, videos ports and everything. The AMD is more like a TURBO PROCESSOR. When we switch to AMd under windows. The hardware structure still being the intel but the system disable the logic from GPU intel and start to use the logic of AMD processor ( In mine understand no MUX mean that)

The amd driver try to find an output for screen to control But this doesn't exist. who control is the gpu intel one.

Now come the fact of A+I question.
The driver already have or at last seems to have a background for muxles at some level.

OR this messages are a kind of wrong identification of the card by the side of amd driver ( a+i are the muxed ones? or i'm wrong).

OR the drive compatibility we saw in pictures are for MUXED ONES.

OR there is a blacklist for non use the drivers in predefined cards same if work ( by the amd driver).

OR there is 2 kinds of AMD MUXLESS devices.
The ones in mine case amd 8550m that use the HARDWARE structure from GPU acting just like an advanced TURBO and other one that are muxless but both cards (GPU AND DISCRETE) have a full hardware control of video ports.

So.. Is is. Because this the solution seems little magical to me. At last for mine devices.

Still on wait.

wegah
February 27th, 2012, 07:37 PM
From http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03048374


At last seems the option in linux drivers to switch the cards. Are made for the ATI + ATI ( muxed ones) and not the GPU + ATI ( or muxless).

SamBam77
February 27th, 2012, 07:46 PM
I tried installing the drivers for the AMD video card using instructions found here:
http://help.stedman.net.au/2012/02/more-xubuntu-1110-on-hp-dv6-6023tx.html
for my HP dv6t Quad 6000 series notebook with an AMD 7470M discrete graphics card.

However, after rebooting X fails to load and I cannot get anything graphical to work on the computer. I can boot into recovery mode, but I cannot load X or any graphical programs. If I boot normally it will just hang indefinitely at a screen with a list of tasks that it is trying to do with “[OK]” next to most of them, though it “[fail]”s on “Starting automatic crash report generation”.

How can I reverse the damage I have done (uninstall the drivers, etc…) so that I can get the computer back to a useable state?

pinguinhood
February 29th, 2012, 07:59 AM
I tried installing the drivers for the AMD video card using instructions found here:
http://help.stedman.net.au/2012/02/more-xubuntu-1110-on-hp-dv6-6023tx.html
for my HP dv6t Quad 6000 series notebook with an AMD 7470M discrete graphics card.

However, after rebooting X fails to load and I cannot get anything graphical to work on the computer. I can boot into recovery mode, but I cannot load X or any graphical programs. If I boot normally it will just hang indefinitely at a screen with a list of tasks that it is trying to do with “[OK]” next to most of them, though it “[fail]”s on “Starting automatic crash report generation”.

How can I reverse the damage I have done (uninstall the drivers, etc…) so that I can get the computer back to a useable state?
Did you try the command on the post #10?
sudo rm /etc/X11/xorg.conf
startx

pinguinhood
February 29th, 2012, 08:10 AM
This is the Ubuntu packager of that driver who will decide to either compile it with --enable-sna or not.
Ok, I'll wait the pc to try!
Thank you!

Sj3
February 29th, 2012, 09:53 AM
Well... but how to check if a notebook is muxless or muxed?(before i buy it, ofc)

SamBam77
February 29th, 2012, 08:03 PM
Did you try the command on the post #10?
sudo rm /etc/X11/xorg.conf
startx
That worked. I did not think to do that before because I only had read-only access through the command prompt. But I was able to access it through a boot disk and delete this file, which allowed me to boot into the GUI, and then I could purge the drivers myself to get everything back to normal (since those drivers also prevented some of my programs from loading).

I guess I will need to wait a bit longer to make use of my video card in linux.

wegah
March 1st, 2012, 03:44 AM
Sj3

By definition. When you are using windows. If your card change from gpu to discrete card in a transparent way ( both, nvidia and amd).
You are using a muxless card.

IF you need to restart or logoff/login your computer to turn the effect on when using windows. Then Is a muxed one.


Both, Muxless or MUXED ones. CAN have in BIOS the option to use the GPU or DISCRETE only/PRIMARY.



The problem resides the companies like HP. That use secured bios ( YES the same secured bios everyone listen and read microsoft will use and **** with linux. they do it for ages). Disable this option on bios and doesn't let us to enable this by our-self ( they use cryptography keys that doesn't allows to open all hidden and useful bios options), sometimes that does't let just use a usb or change our RAM memory if not their ones ( but this kind of **** they do with us, are another discussion).

The problem between AMD and NVIDIA. Besides both being muxless they works different.

In resume. NVIDIA when disable the gpu or discrete card. ALREADY UNLOAD the modules and disable the pcie channel/card. ( because this NVIDIA are not ALL 100% transparent when switching one from other). And the AMD. disable the pcie card. But maintain the states of card/pcie and drivers loaded ( faking the card is on) Then when you ALREADY RESTART the card. all become 100% transparent and perfect.


Apple are muxless but use a special processor/chip that work with all this. almost turning the muxless cards in a muxed one.

And last in AMD side. Seems some supposed muxless cards special from 66xxM that besides SEEMS be muxless act like a muxed one.


Under linux is simple to know if you use a muxed one or muxless one. Try to switch the discrete card using the vgaswitcheroo. IF you receive a ERROR when switching in dmesg. Then yu are muxless. Probable the metodo of this post ( 99% of chance) will not work.

Temüjin
March 1st, 2012, 04:46 AM
Well... but how to check if a notebook is muxless or muxed?(before i buy it, ofc)
It would be better to avoid hybrid graphics completely. If all you need is video acceleration and enough 3D for desktop effects and light gaming, go intel.

Sj3
March 1st, 2012, 08:23 AM
Well... i'm going for a new AMD A6 processor with only the integrated card, looks like a good entry-level gaming card(and it's all i need), i have seen this in action on a debian, over 5k fps with glxgears(i know it's not a real benchmark but still it's a good result).

Btw i know how to check if there is mux or not... but i'm buying the computer online so... that's why i asked how to know BEFORE i buy it... ehehe

p.s. sorry for the poor english, it's not my mother language.

Temüjin
March 1st, 2012, 03:13 PM
Well... i'm going for a new AMD A6 processor with only the integrated card, looks like a good entry-level gaming card(and it's all i need), i have seen this in action on a debian, over 5k fps with glxgears(i know it's not a real benchmark but still it's a good result).

Btw i know how to check if there is mux or not... but i'm buying the computer online so... that's why i asked how to know BEFORE i buy it... ehehe

p.s. sorry for the poor english, it's not my mother language.
The mux/less distinction only applies to systems with two GPU's. You're in the wrong thread...

Sj3
March 2nd, 2012, 10:13 AM
The mux/less distinction only applies to systems with two GPU's. You're in the wrong thread...

I'm not in the wrong thread, just since it's impossible to know if it's muxless or not(before you try it, that's why i asked about it) i'm going for an integrated GPU to avoid the problem, it's simple.

jonnyboysmithy
March 2nd, 2012, 10:34 AM
Hello Alexis,

Keep going on and don't give up as a lot of people are more than interested by this hot topic.
Thanks. Joe
Yes thats me! I'm also stuck with these problems I would be very grateful+happy if it all worked properly.


Roughly, my DV7 is running 10 to 15°C lower and the battery time is about double ! Yea I'm still stuck with that issue. I'm getting about half battery life of what I would get in windows. :/

wegah
March 3rd, 2012, 02:56 AM
Sj3, by the view point of FUNCTIONALITY. If you buy a muxless card with gpu and discrete. The notebook will have full work. The only drawback is, the non use of the discrete one.

By the investment side.
Muxed ones, are PAST. MUXLESS are the present and future.

We can't forgives that one of the problems with muxless cards are the fact of XORG/KERNEL and some EGOS cant be touched. Not only the fact of AMd or NVIDIA didn't release drivers for this cards..

The facts is. This will be the future.
Linux today, next 6 months, or next 2 years at last. will have full support for this.

Then, If you buy a notebook with a intel gpu. will work well a lot. ( pity sandy bridge not be discernible). Just the discrete will have troubles. ( easy do disable ) and save battery.

Of course. If you buy a WHITEBOOK kind like MSI ones that are NOT LOCKED at HELL LEVEL. You probably will have use of discrete card.

By definition. All amd 60xx mobile and up are muxless.
Want know if will work or not?
Look at BIOS.IF you HAVE the option to choose discrete or GPU? ( YES WITH MUXLESS CARDS)
Then, 90% of chance your notebook work well with discrete card, same being a muxless one under linux.

Or buy one with just a discrete card...

The option is your.

Kakitus
March 5th, 2012, 02:38 AM
Thank you very much for your effort, OP. I have also been dealing with this problem for some time now. In fact, the lack of switchable graphics on my Ubuntu laptop is the only thing holding me back from fully enjoying having switched over to Linux.

What I would like to ask you is whether your solution would also work with an AMD 5xxx / Intel configuration. (Acer 3820TG, AMD HD5650 and Intel Core i5-450m).

Thanks again.

Alexislavie
March 5th, 2012, 07:43 PM
I forgot to mention :
Please check the PCI adress in the xorg.conf generated (the line in red) and replace it if necessary by the adress this command outputs :


echo "PCI:$(lspci | grep VGA | grep ATI | awk '{print $1}' | sed 's/\./:/')"Then switch to discrete GPU and reboot.


Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

If the PCI adress isn't exact, then it is normal Xorg fails at start.
I've seen many of you tried this on HP computers, did someone else than me tried it on a Dell ?

Alexislavie
March 5th, 2012, 07:53 PM
Please don't forget to tell your computer model, and the two drivers version. I used 2.17 for Intel and 12.1 for Catalyst. The actual version in the ppa is 2.18, so if it doesn't work with that one install 2.17 to give it a try : https://launchpad.net/~sarvatt/+archive/intel-sna/+sourcepub/2245651/+listing-archive-extra
Download the i386 or amd64 package and install it manually.

pinguinhood
March 6th, 2012, 08:22 AM
Did anyone try it on Precise? :confused:

cmeng
March 7th, 2012, 09:01 AM
Did anyone try it on Precise? :confused:

I have tried with precise for the pass few days but with no luck.
System: HP Pavilion dm4 i5 HD54xx with Ubuntu Precise-64bit

Added the following repositories and do "sudo apt-get update"

sudo add-apt-repository ppa: org-edgers/ppa
sudo add-apt-repository ppa:sarvatt/intel-sna
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates (no precise repository)

The system installed with
xserver-xorg-video-intel 2.18
amd-driver-installer-12-1-x86.x86_64.run (installed with direct .run or convert to .deb packages - give the same results

After the installationtion, have tried all the tests given in the link below and every things seems to work.
http://wiki.cchtml.com/index.php/Ubuntu_Oneiric_Installation_Guide

But always get the following when check with fglrxinfo, I suppose it is correct since need to reboot to enable dgpu(but never success to boot properly)
$ fglrxinfo
display: :2.0 screen: 0
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL version string: 1.4 (3.0 Mesa 8.0)

Also facing problem whenever I do "sudo aticonfig --px-dgpu, as it is looking for
"/etc/OpenCL/vendors/amdocl32.icd' instead of "/etc/OpenCL/vendors/amdocl64.icd'

Ignore the warning, and reboot system. System always hang. Has to go into recovery mode to
remove the /etc/X11/xorg.conf

Note: Recovery mode always set the mounted dev/sdax as read-only file system. so has to perform the following to find out the boot disk then remount it as rw:
sudo fdisk -l
sudo mount -o remount,rw /dev/sda8
sudo rm /etc/X11/xorg.conf

Right now without the ATI driver, xbmc Eden cannot work as it needs openGL. IGPU driver is no good for xbmc.

Looking forward to Alexislavie to provide a solution.

clean31
March 7th, 2012, 10:48 AM
Please don't forget to tell your computer model, and the two drivers version. I used 2.17 for Intel and 12.1 for Catalyst. The actual version in the ppa is 2.18, so if it doesn't work with that one install 2.17 to give it a try : https://launchpad.net/~sarvatt/+archive/intel-sna/+sourcepub/2245651/+listing-archive-extra (https://launchpad.net/%7Esarvatt/+archive/intel-sna/+sourcepub/2245651/+listing-archive-extra)
Download the i386 or amd64 package and install it manually.

Hi Alexislavie,

I'm a french user too, and i'm sorry for my bad language in english.

I posted too on your french topic (http://forum.ubuntu-fr.org/viewtopic.php?id=831941), just in case.

My laptop is a Sony Vaio SA2Z9E with this HW :

Corei7
Sandy Bridge
Hybrid Integrated Intel Graphics HD 3000 + ATI Radeon HD6630M

Ubuntu 11.10 Oneiric
xserver-xorg-video-intel with -sna 2.17 from archives of ppa:sarvatt/intel-sna
amd-ati-driver proprietary 12.1 compiled in .deb via this wiki
(http://wiki.cchtml.com/index.php/Ubuntu_Oneiric_Installation_Guide#Download_the_lat est_Catalyst_package.)

So, i follow your guide step by step with no error until reboot my laptop at the end.

Ubuntu start normaly with the boot animation and stop on a black screen, the series of ctrl+alt+f1 or ctrl+alt+backspace keys combinations doesn't work.

i'm stuck on this black screen until i press on the power button, so the sequence to shutdown the laptop start and i see the ubuntu shutdown animation.

If i start in recovery mode and look the logs :

xorg.log --> no errors (EE)
syslog --> "[Firmware Bug] : Duplicate ACPI video bus devices for the same VGA controller, please try module parameter "video.allow_duplicates=1" if the current driver doesn't work."

http://ubuntuforums.org/attachment.php?attachmentid=213841&stc=1&d=1331111974


After install of xserver-xorg-video-intel & ati driver proprietary, i generated the xorg.conf with "aticonfig --initial -f", no error.
The BusID match with my HW "PCI:01:00:0"

If i use fglrxinfo it's working and i see my sandy bridge HW
I can switch between igpu and dgpu with aticonfig --px-igpu or aticonfig --px-dgpu

but if i reboot after the end, i'm stuck on a black screen.

Any idea ?

Thx a lot


EDIT :

New : With the two command "sudo aticonfig --px-dgpu" or "sudo aticonfig --px-igpu" i have the same result for the commande "fglrxinfo"



sudo aticonfig --px-dgpu
PowerXpress: Discrete GPU is active (High-Performance Mode)

fglrxinfo
display: :0 screen: 0
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL version string: 1.4 (2.1 Mesa 7.11)


sudo aticonfig --px-igpu
PowerXpress info : Diagnostic output from /usr/lib64/fglrx/switchlibglx:
update-alernatives: avertissement: création de /etc/OpenCL/vendors/amdocl32.icd abandonnée car le fichier associé /usr/lib/fglrx/etc/OpenCL/vendors/amdocl32.icd (du groupe de liens x86_64-linux-gnu_gl_conf) n'existe pas.

PowerXpress : Integrated GPU is selected (Power-saving mode), please restart XServer for changes to take effect!



fglrxinfo
display: :0 screen: 0
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL version string: 1.4 (2.1 Mesa 7.11)

pinguinhood
March 8th, 2012, 02:05 PM
New Catalyst 12.2 (http://ubuntuforums.org/showthread.php?t=1937297)!

Who's going to try it with hybrid graphics?! (I'm still waiting for new notebook, sigh :frown:)

zapo
March 11th, 2012, 05:49 PM
New Catalyst 12.2 (http://ubuntuforums.org/showthread.php?t=1937297)!

Who's going to try it with hybrid graphics?! (I'm still waiting for new notebook, sigh :frown:)

12.2 works good for me. HD3000/HD6770m using linux 3.3.0-rc7 and latest precise updates.
I've tried to use xorg-edgers ppa without success (12.2 still doesnt support xserver 1.12). Haven't tried xf86-video-intel 2.18 yet but ubuntu's 2.17 works quite well and direct rendering now works.
The only remaining problems I have are:

- gnome-shell not starting automatically (from lightdm) on intel gpu, I have to manually start it from tty with :

DISPLAY=:0.0 gnome-shell --replace

- random hard lockup when shutting down on ati gpu (most of the time after having played a bit): https://bugs.launchpad.net/ubuntu/+bug/750437

jonnyboysmithy
March 12th, 2012, 05:17 AM
New Catalyst 12.2 (http://ubuntuforums.org/showthread.php?t=1937297)!

Who's going to try it with hybrid graphics?! (I'm still waiting for new notebook, sigh :frown:)
Just installed 12.2 on the new precise 12.04 beta1. ran sudo aticonfig --initial rebooted and it all works out of the box!!!:KS:D:KS:D

this is on hp pavilion dv6 6023TX with ATI HD6770m.
EDIT: Ok only the ATI works DONT try switching to the intel integrated, it just crashes.

Alexislavie
March 12th, 2012, 08:04 AM
Just installed 12.2 on the new precise 12.04 beta1. ran sudo aticonfig --initial rebooted and it all works out of the box!!!:KS:D:KS:D

this is on hp pavilion dv6 6023TX with ATI HD6770m.
EDIT: Ok only the ATI works DONT try switching to the intel integrated, it just crashes.

Did you use a sna version of the intel driver or not ? Don't forget to mention that.

jonnyboysmithy
March 12th, 2012, 09:07 AM
Did you use a sna version of the intel driver or not ? Don't forget to mention that.
No idea. I justed clicked switch graphics and rebooted.

xrend
March 13th, 2012, 02:09 AM
I'm running HP G62-a70sm (intel + ati hd5470) with no bios switching options.

Will give this all a shot tomorrow and update.


@Alexslavie: Thank you for all the time you invested. Writing a walk-trough for this would be awesome. I know at least 3 other guys in my country that could use it.
If you need an extra hand for writing it, i want to help.

htrex
March 13th, 2012, 12:41 PM
Works without major modifications but with some relevant defects on ubuntu 12.04 beta + Catalyst 12.2 (.deb packages created with AMD installer ).

My laptop is an HP DV6-6169sl (Intel HD Graphics 3000 + AMD 6770M).

* Unity 3D doesn't work with integrated GPU:
X starts but there's no menu bar and no unity bar.
When using just the laptop display I can't see any file, and right click has no effect.
When using multiple monitors I can see and open files on the desktop but windows are without any decoration, right click shows context menu.

In either case CTRL+ALT+CANC shows a dialog to logout, so I can login again with Unity 2D.

* Unity 2D with integrated GPU is almost perfect:
Using multiple monitors with different resolution you need to top align theme, otherwise the shortest monitor doesn't show the menu bar.
glxgears works



glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
347 frames in 5.0 seconds = 69.030 FPS
320 frames in 5.3 seconds = 60.008 FPS
300 frames in 5.0 seconds = 60.000 FPS
300 frames in 5.0 seconds = 59.993 FPS


* Unity 2D with discrete GPU:

With a single display seems ok.
With a second external HDMI display I can get the menubar on the FULLHD secondary monitor only if is right aligned in respect to the laptop monitor (no menu bar on top, but unity bar is ok).



glxgears
1851 frames in 5.0 seconds = 370.177 FPS
3362 frames in 5.0 seconds = 672.191 FPS
2165 frames in 5.0 seconds = 432.971 FPS
2221 frames in 5.0 seconds = 444.170 FPS


* Unity 3D with discrete GPU:
With a single display, either internal or external seems ok.
With a second display sort of works if the secondary external FullHD monitor is on right of the laptop monitor, in this case I'm seeing 2 Unity launch bars, one for each monitor, but when widows are maximized they span across both monitors.



glxgears
2608 frames in 5.0 seconds = 521.010 FPS
2595 frames in 5.0 seconds = 518.740 FPS
2602 frames in 5.0 seconds = 519.889 FPS
2601 frames in 5.0 seconds = 519.312 FPS


Are you seeing this kind of defects?
Do you know of a relevant bug where to report, or do we need to open a new one?

zapo
March 13th, 2012, 12:56 PM
* Unity 3D doesn't work with integrated GPU:
X starts but there's no menu bar and no unity bar.
When using just the laptop display I can't see any file, and right click has no effect.
Have you tried restarting it from tty ? I have the exact same hardware and problem with gnome-shell (which use compositing as well) on the integrated GPU.

DISPLAY=:0.0 unity --replace

htrex
March 13th, 2012, 01:31 PM
Have you tried restarting it from tty ? I have the exact same hardware and problem with gnome-shell (which use compositing as well) on the integrated GPU.

DISPLAY=:0.0 unity --replace

Yeah, it works and seems perfect with dual monitor.

Think all this info would be usefull for devs, I'll search for a relevant bug to report, please point me to one if you know about it.

Thanks

Edit:
Some stuff is broken, eg. right click on the desktop or unity launcher has no effect...

zapo
March 13th, 2012, 02:23 PM
Yeah, it works and seems perfect with dual monitor.

Think all this info would be usefull for devs, I'll search for a relevant bug to report, please point me to one if you know about it.

Thanks
I just created a new one : https://bugs.launchpad.net/ubuntu/+bug/954021

htrex
March 14th, 2012, 03:48 PM
I just created a new one : https://bugs.launchpad.net/ubuntu/+bug/954021

Ok, so I've tried to use PPAs suggested at post #6 on a 11.10 64 bit install with catalyst 12.2 (.deb packages self generated from AMD installer) and it works quite well in any configuration, seems only with a minor problem.

The glitch with 11.10 is just that pressing the left mouse button on menu bar indicators opens the relative submenus, but releasing it closes the menu instead of leaving it open until clicking outside it, not a big problem, just need to keep the left mouse button pressed while moving on the necessary menu entry to open it.

To summarize so far, 11.10 works for me while 12.04 beta1 seems badly broken with this hw/sw configuration, but there's definitelly a huge progress with AMD multi GPU switching and may be 12.04 final of both ubuntu and catalyst will nicelly work togheter.

jonnyboysmithy
March 14th, 2012, 08:07 PM
I got tired of it all so I turned of the ATI card all together. I don't need processing power or power consumption of the ati card. Here it explains how to disable and turn it of altogether.
If you get the problem of "vgaswitcheroo not found" then try it on a fresh install. worked for me!

http://ubuntuforums.org/showthread.php?t=1917897

SO, finaly its sorted..:guitar:

EDIT: Also checkout: http://ubuntuforums.org/showthread.php?t=1859945

miatawnt2b
March 19th, 2012, 12:28 AM
I just bought a Samsung series 7 with Hybrid Intel/AMD graphics.
AMD 6750M
Intel HD3000

There doesn't seem to be a solid solution for this at the moment if I'm not mistaken. Could you folks let me know if I'm headed in the right direction...

Ubuntu Precise is the only version with the correct xorg-intel driver but we aren't sure if the maintainer of the stock package has the -sna option enabled.

Does anyone have a ppa to get this thing working in Oneiric or Precise? What would be my best option?

Thanks,
-J

Startacus
March 19th, 2012, 07:18 AM
I'm also trying to get this to work. I followed the steps that were posted by the OP but when I switch to my Integrated chip and reboot it fails to start up by saying LightDM fails and then it just hangs. I have to reboot into recovery and rerun "aticonfig --initial -f" to force it back to discrete. I would really like to fix this because the fans aren't running properly and my laptop runs very hot. I'm running a Sony VPCSC1AFM which has a 6470M and I believe an Intel 3000 HD.

pinguinhood
March 19th, 2012, 07:48 AM
I just bought a Samsung series 7 with Hybrid Intel/AMD graphics.
AMD 6750M
Intel HD3000

There doesn't seem to be a solid solution for this at the moment if I'm not mistaken. Could you folks let me know if I'm headed in the right direction...

Ubuntu Precise is the only version with the correct xorg-intel driver but we aren't sure if the maintainer of the stock package has the -sna option enabled.

Does anyone have a ppa to get this thing working in Oneiric or Precise? What would be my best option?

Thanks,
-J
Hi miatawnt2b, could you post xserver-xorg-video-intel and fglrx version number?

There is a xserver-xorg-video-intel sna enable ppa (post #25)
https://launchpad.net/~sarvatt/+archive/intel-sna
Or you can download the version you want from here
https://launchpad.net/~sarvatt/+archive/intel-sna/+sourcepub/2245651/+listing-archive-extra

What about "aticonfig --initial -f"? Did it run properly?

miatawnt2b
March 19th, 2012, 05:24 PM
xserver-xorg-video-intel 2:2.17.0-1ubuntu4

fglrx is not installed under synaptic. I purged all instances of radeon/ati/fglrx in synaptic before installing the catalyst 12.2 package.

After this, my ATI graphics seems to work, but selecting the intel chipset under the catalyst administrative options prompts for a reboot, then upon reboot, x refuses to start. I haven't been able to recover from this. I tried enabling vesa and intel in the xorg.conf, tried reinstalling the catalyst package from command line, tried 'aticonfig --initial' (forgot the -f option)

I was able somehow (cant remember exactly how) to get the login screen back which told me something was working, but upon logon all I got was a black screen. I ended up reinstalling 12.04 from scratch since it was a new build anyhow.

I thought the ppa was just for onieric, not for the 12.04 beta so I never installed anything from the ppa.

pinguinhood
March 19th, 2012, 05:59 PM
The ppa seems to be for Precise too. If you open the link with your browser you should be able to select "Precise" as filter (default version).

Do you use ubuntu (unity) mode? Did you try with ubuntu classic mode?

miatawnt2b
March 19th, 2012, 06:34 PM
The ppa seems to be for Precise too. If you open the link with your browser you should be able to select "Precise" as filter (default version).

Do you use ubuntu (unity) mode? Did you try with ubuntu classic mode?

I didn't think to try unity(hate it so first thing I do is install gnome-session)... only classic with compiz.

so I just installed the ppa, and it grabbed the xserver-xorg-video-intel - 2:2.18.0+git20120317.e31d9dac-0ubuntu0sarvatt2~sna

I'm afraid to enable the intel and reboot though given what happened yesterday. :)

pinguinhood
March 19th, 2012, 07:06 PM
I didn't think to try unity(hate it so first thing I do is install gnome-session)... only classic with compiz.

so I just installed the ppa, and it grabbed the xserver-xorg-video-intel - 2:2.18.0+git20120317.e31d9dac-0ubuntu0sarvatt2~sna

I'm afraid to enable the intel and reboot though given what happened yesterday. :)

=D> Go for it(and good luck!):KS

delsus
March 20th, 2012, 02:19 AM
This didn't work for me using an ATI mobility radeon HD 5470 and a first generation i5 CPU with integrated graphics controller. I issue aticonfig --initial -f and get a black screen on boot, and have to restore my original xorg.conf file to boot into Ubuntu.

Whats curious is after I have updated xorg it shows both graphics adapters switched on, and if I do an aticonfig --pxl after the aticonfig --initial it shows the discreet GPU active but still will not boot unless I use recovery to restore my original xorg.conf.

Any additional help would be appreciated, I really want my discreet GPU working to game on Ubuntu

kmas
March 20th, 2012, 04:55 PM
so I Downloaded
http://www2.ati.com/drivers/linux/am...x86.x86_64.run

As normal, I run:


$ chmod +x amd-driver-installer-12-2-x86.x86_64.run
$ ./amd-driver-installer-12-2-x86.x86_64.run --buildpkg Ubuntu/precise
$ sudo dpkg -i *.debcopied the .debs somewhere for safekeeping.

Builds OK, installs OK.

rebooted.

when it came up,


sudo aticonfig --initial -fthen rebooted again

I added the ppa ppa:sarvatt/intel-sna

upgraded, and made sure xserver-xorg-video-intel was installed to the latest ppa version, then I rebooted again.


sudo aticonfig --initial -f then I reboot again.

Now on the terminal

tried

sudo aticonfig --pxlIt told me I was using the AMD GPU.

To switch to the Intel gpu I entered this command in a terminal :

sudo aticonfig --px-igpuI rebooted. as soon as the machine booted, it told me that ubuntu graphics settings wasn't configured properly. It didn't even let me revert from that window.

I then did ctr alt f1 to get to the command line.
To switch back to the AMD/ATI gpu I entered this command in a terminal :


sudo aticonfig --px-dgpuHere is my hardware info


makezan@700Z3A:~$ lspci -nn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09)
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Seymour [Radeon HD 6400M Series] [1002:6760]
here is my xorg.conf


Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection


Questions: I'm I missing something, I'm I supposed to do aticonfig --initial before my reboots?? or after my reboots?

makezan@700Z3A:~$ sudo aticonfig --initial -f
Warning: you are intending to clear the configuration infomation which you need to recover to High Performance mode, please reboot your machine to aviod inconsistency
I already anwered this question for myself. It makes sense. you need to swtich the drivers first before trying to initialize it.


Is there a way to quickly reboot xserver without rebooting, before it was ctrl alt del, and that service gdm restart isn't relevant because now its unity.

How can I get this to Work.

miatawnt2b
March 20th, 2012, 11:24 PM
actually I guess xserver-xorg-video-intel didn't install from the PPA.

xserver-xorg-video-intel:
Depends: xorg-video-abi-12 but it is not installable
Depends: xserver-xorg-core (>=2:1.11.99) but 2:1.11.4-0ubuntu6 is to be installed

Running 12.04

took a quick look for the depend, but didn't find one for AMD64
-J

Startacus
March 21st, 2012, 06:09 AM
After a frusturating two days trying to figure this problem out and being unable to install Catalyst because it kept detecting a previous fglrx driver when I had already removed and purged it I decided to reformat (it was a new install anyway) and start from scratch. Before even installing a driver I followed the instructions to install the sna driver and then I installed the latest catalyst and everything now works. The only thing is that I have to run Unity 2D when on the integrated chip. I can definitely live with this as long as it solves my overheating issue.

jonnyboysmithy
March 21st, 2012, 11:48 PM
After a frusturating two days trying to figure this problem out and being unable to install Catalyst because it kept detecting a previous fglrx driver when I had already removed and purged it I decided to reformat (it was a new install anyway) and start from scratch. Before even installing a driver I followed the instructions to install the sna driver and then I installed the latest catalyst and everything now works. The only thing is that I have to run Unity 2D when on the integrated chip. I can definitely live with this as long as it solves my overheating issue.
I have an hp dv6-6023TX with i5-2410m intel HD3000 and AMD Radeon HD 6700M Series.
I screwed around for a looong time with the catalyst driver.
My experience is that it is buggy and that I didn't need all that performance.
I just wanted to get rid of the overheating and the fans running fast.
Now I just use the intel HD3000. It runs really cool (fan just running @51celsius).
As far as I can tell everything seem to work as it should (effects hd videos no artifacts).
I can get about 5-6hours battery time (usually about 12-18watts consumption, the lowest I got it was 9.4watts)
Anyway I suggest you give this a go: http://ubuntuforums.org/showthread.php?t=1917897

onefthemany
March 22nd, 2012, 12:28 AM
try post#9 in this thread:

http://ubuntuforums.org/showthread.php?p=11780425#post11780425

i have bastardised a script that allows you to switch between integrated and discrete, if you want to use the discrete for gaming.

good luck

Startacus
March 22nd, 2012, 01:00 AM
I have an hp dv6-6023TX with i5-2410m intel HD3000 and AMD Radeon HD 6700M Series.
I screwed around for a looong time with the catalyst driver.
My experience is that it is buggy and that I didn't need all that performance.
I just wanted to get rid of the overheating and the fans running fast.
Now I just use the intel HD3000. It runs really cool (fan just running @51celsius).
As far as I can tell everything seem to work as it should (effects hd videos no artifacts).
I can get about 5-6hours battery time (usually about 12-18watts consumption, the lowest I got it was 9.4watts)
Anyway I suggest you give this a go: http://ubuntuforums.org/showthread.php?t=1917897

Is there a benefit to doing this as opposed to just running the Integrated Chip with Catalyst? I really have no need for the discrete chip. Any gaming or heavy duty computing I do on my powerful desktop. I just use this laptop to develop and get a little work done.

delsus
March 22nd, 2012, 02:05 AM
I posted this in another thread and I don't like posting multiple times, but I hit the wrong prefix, so I don't know if it is getting the right people to see, so I thought I would post it here to see if anyone can help because it seems like I am getting somewhere. (warning wall of text inc)

After failing to get my discreet GPU working in ubuntu 11.10 I decided to install 12.04 to see if it was working and I believe I am getting somewhere with it.

I installed the fglrx drivers through jockey and ran
aticonfig --initial -fHowever it came up with this powerXpress error:


PowerXpress error: Cannot stat '/usr/lib64/fglrx': No such file or directory
Failed to initialize libglx for discrete GPUI however ignored this and rebooted, and rather than completely failing to boot it boots to low graphics mode (which is progress) but I cannot configure my graphics adapter and screen,

Here are my xorg.conf and my xorg.0.log files:


Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

[ 15.420]
X.Org X Server 1.11.3
Release Date: 2011-12-16
[ 15.420] X Protocol Version 11, Revision 0
[ 15.420] Build Operating System: Linux 2.6.24-29-server x86_64 Ubuntu
[ 15.420] Current Operating System: Linux mike-ubuntu 3.2.0-17-generic #27-Ubuntu SMP Fri Feb 24 15:37:36 UTC 2012 x86_64
[ 15.420] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-17-generic root=UUID=ff081b73-4bb3-4c52-8153-e789022d6a06 ro quiet splash vt.handoff=7
[ 15.420] Build Date: 22 February 2012 03:16:54AM
[ 15.420] xorg-server 2:1.11.4-0ubuntu4 (For technical support please see http://www.ubuntu.com/support)
[ 15.420] Current version of pixman: 0.24.4
[ 15.420] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 15.420] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 15.420] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 21 20:44:20 2012
[ 15.420] (==) Using config file: "/etc/X11/xorg.conf"
[ 15.420] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 15.421] (==) ServerLayout "aticonfig Layout"
[ 15.421] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[ 15.421] (**) | |-->Monitor "aticonfig-Monitor[0]-0"
[ 15.421] (**) | |-->Device "aticonfig-Device[0]-0"
[ 15.421] (==) Automatically adding devices
[ 15.421] (==) Automatically enabling devices
[ 15.421] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 15.421] Entry deleted from font path.
[ 15.421] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 15.421] Entry deleted from font path.
[ 15.421] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 15.421] Entry deleted from font path.
[ 15.421] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 15.421] Entry deleted from font path.
[ 15.421] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 15.421] Entry deleted from font path.
[ 15.429] (WW) `fonts.dir' not found (or not valid) in "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType".
[ 15.429] Entry deleted from font path.
[ 15.429] (Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType").
[ 15.429] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 15.429] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 15.429] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 15.429] (II) Loader magic: 0x7f40d6b22b00
[ 15.429] (II) Module ABI versions:
[ 15.429] X.Org ANSI C Emulation: 0.4
[ 15.429] X.Org Video Driver: 11.0
[ 15.429] X.Org XInput driver : 16.0
[ 15.429] X.Org Server Extension : 6.0
[ 15.431] (--) PCI:*(0:0:2:0) 8086:0046:103c:144a rev 2, Mem @ 0xc0000000/4194304, 0xb0000000/268435456, I/O @ 0x00005050/8
[ 15.431] (--) PCI: (0:1:0:0) 1002:68e0:103c:144a rev 0, Mem @ 0xa0000000/268435456, 0xc4400000/131072, I/O @ 0x00004000/256, BIOS @ 0x????????/131072
[ 15.431] (II) Open ACPI successful (/var/run/acpid.socket)
[ 15.431] (II) "extmod" will be loaded by default.
[ 15.431] (II) "dbe" will be loaded by default.
[ 15.431] (II) "glx" will be loaded by default.
[ 15.431] (II) "record" will be loaded by default.
[ 15.431] (II) "dri" will be loaded by default.
[ 15.431] (II) "dri2" will be loaded by default.
[ 15.431] (II) LoadModule: "extmod"
[ 15.448] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 15.448] (II) Module extmod: vendor="X.Org Foundation"
[ 15.448] compiled for 1.11.3, module version = 1.0.0
[ 15.448] Module class: X.Org Server Extension
[ 15.448] ABI class: X.Org Server Extension, version 6.0
[ 15.448] (II) Loading extension MIT-SCREEN-SAVER
[ 15.448] (II) Loading extension XFree86-VidModeExtension
[ 15.448] (II) Loading extension XFree86-DGA
[ 15.448] (II) Loading extension DPMS
[ 15.448] (II) Loading extension XVideo
[ 15.448] (II) Loading extension XVideo-MotionCompensation
[ 15.448] (II) Loading extension X-Resource
[ 15.448] (II) LoadModule: "dbe"
[ 15.448] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 15.448] (II) Module dbe: vendor="X.Org Foundation"
[ 15.449] compiled for 1.11.3, module version = 1.0.0
[ 15.449] Module class: X.Org Server Extension
[ 15.449] ABI class: X.Org Server Extension, version 6.0
[ 15.449] (II) Loading extension DOUBLE-BUFFER
[ 15.449] (II) LoadModule: "glx"
[ 15.449] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/extensions/libglx.so
[ 15.449] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[ 15.449] compiled for 6.9.0, module version = 1.0.0
[ 15.449] (II) Loading extension GLX
[ 15.449] (II) LoadModule: "record"
[ 15.449] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 15.449] (II) Module record: vendor="X.Org Foundation"
[ 15.449] compiled for 1.11.3, module version = 1.13.0
[ 15.449] Module class: X.Org Server Extension
[ 15.449] ABI class: X.Org Server Extension, version 6.0
[ 15.449] (II) Loading extension RECORD
[ 15.449] (II) LoadModule: "dri"
[ 15.449] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 15.449] (II) Module dri: vendor="X.Org Foundation"
[ 15.449] compiled for 1.11.3, module version = 1.0.0
[ 15.449] ABI class: X.Org Server Extension, version 6.0
[ 15.449] (II) Loading extension XFree86-DRI
[ 15.449] (II) LoadModule: "dri2"
[ 15.450] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 15.450] (II) Module dri2: vendor="X.Org Foundation"
[ 15.450] compiled for 1.11.3, module version = 1.2.0
[ 15.450] ABI class: X.Org Server Extension, version 6.0
[ 15.450] (II) Loading extension DRI2
[ 15.450] (II) LoadModule: "fglrx"
[ 15.450] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so
[ 15.728] (II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
[ 15.740] compiled for 1.4.99.906, module version = 8.91.4
[ 15.740] Module class: X.Org Video Driver
[ 15.826] (II) Loading sub module "fglrxdrm"
[ 15.826] (II) LoadModule: "fglrxdrm"
[ 15.826] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/linux/libfglrxdrm.so
[ 15.850] (II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
[ 15.850] compiled for 1.4.99.906, module version = 8.91.4
[ 15.850] (II) ATI Proprietary Linux Driver Version Identifier:8.91.4
[ 15.850] (II) ATI Proprietary Linux Driver Release Identifier: 8.911
[ 15.850] (II) ATI Proprietary Linux Driver Build Date: Oct 25 2011 21:24:13
[ 15.850] (++) using VT number 7

[ 15.851] (WW) Falling back to old probe method for fglrx
[ 15.931] (II) Loading PCS database from /etc/ati/amdpcsdb
[ 15.952] (--) Chipset Supported AMD Graphics Processor (0x68E0) found
[ 15.958] (WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
[ 15.958] (II) fglrx: intel VGA device detected, load intel driver.
[ 15.958] (II) LoadModule: "intel"
[ 15.958] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 15.958] (II) Module intel: vendor="X.Org Foundation"
[ 15.958] compiled for 1.11.3, module version = 2.17.0
[ 15.958] Module class: X.Org Video Driver
[ 15.958] ABI class: X.Org Video Driver, version 11.0
[ 15.960] ukiDynamicMajor: found major device number 249
[ 15.960] ukiDynamicMajor: found major device number 249
[ 15.960] ukiOpenByBusid: Searching for BusID PCI:1:0:0
[ 15.960] ukiOpenDevice: node name is /dev/ati/card0
[ 15.960] ukiOpenDevice: open result is 11, (OK)
[ 15.960] ukiOpenByBusid: ukiOpenMinor returns 11
[ 15.960] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
[ 15.971] (WW) PowerXpress feature is not supported on A+I Mux platform. Please uninstall fglrx driver.
[ 15.971] (EE) No devices detected.
[ 15.971] (==) Matched intel as autoconfigured driver 0
[ 15.971] (==) Matched vesa as autoconfigured driver 1
[ 15.971] (==) Matched fbdev as autoconfigured driver 2
[ 15.971] (==) Assigned the driver to the xf86ConfigLayout
[ 15.971] (II) LoadModule: "intel"
[ 15.971] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 15.971] (II) Module intel: vendor="X.Org Foundation"
[ 15.971] compiled for 1.11.3, module version = 2.17.0
[ 15.971] Module class: X.Org Video Driver
[ 15.971] ABI class: X.Org Video Driver, version 11.0
[ 15.971] (II) UnloadModule: "intel"
[ 15.971] (II) Unloading intel
[ 15.971] (II) Failed to load module "intel" (already loaded, 32576)
[ 15.971] (II) LoadModule: "vesa"
[ 15.971] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 15.972] (II) Module vesa: vendor="X.Org Foundation"
[ 15.972] compiled for 1.11.3, module version = 2.3.0
[ 15.972] Module class: X.Org Video Driver
[ 15.972] ABI class: X.Org Video Driver, version 11.0
[ 15.972] (II) LoadModule: "fbdev"
[ 15.972] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 15.972] (II) Module fbdev: vendor="X.Org Foundation"
[ 15.972] compiled for 1.11.3, module version = 0.4.2
[ 15.972] ABI class: X.Org Video Driver, version 11.0
[ 15.972] (II) ATI Proprietary Linux Driver Version Identifier:8.91.4
[ 15.972] (II) ATI Proprietary Linux Driver Release Identifier: 8.911
[ 15.972] (II) ATI Proprietary Linux Driver Build Date: Oct 25 2011 21:24:13
[ 15.972] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server
[ 15.972] (II) VESA: driver for VESA chipsets: vesa
[ 15.972] (II) FBDEV: driver for framebuffer: fbdev
[ 15.972] (++) using VT number 7

[ 15.972] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[ 15.972] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[ 15.972] (WW) Falling back to old probe method for fglrx
[ 15.972] (II) Loading PCS database from /etc/ati/amdpcsdb
[ 15.972] (WW) Falling back to old probe method for vesa
[ 15.972] (WW) Falling back to old probe method for fbdev
[ 15.972] (EE) No devices detected.
[ 15.972]
Fatal server error:
[ 15.972] no screens found
[ 15.972]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 15.972] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 15.972] Also here is my lshw -C -video output


*-display
description: VGA compatible controller
product: Manhattan [Mobility Radeon HD 5400 Series]
vendor: Hynix Semiconductor (Hyundai Electronics)
physical id: 0
bus info: pci@0000:01:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=fglrx_pci latency=0
resources: irq:16 memory:a0000000-afffffff memory:c4400000-c441ffff ioport:4000(size=256) memory:c4440000-c445ffff
*-display
description: VGA compatible controller
product: Core Processor Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:44 memory:c0000000-c03fffff memory:b0000000-bfffffff ioport:5050(size=8)
Any help to get this working will be appreciated.

Deradon
March 23rd, 2012, 02:29 AM
Running on a fresh 12.04 Daily Build.
PPAs added.

Won't boot X with the following settings.

xorg.conf


Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
#BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection


xorg.log.0


[ 5.767]
X.Org X Server 1.12.0
Release Date: 2012-03-04
[ 5.767] X Protocol Version 11, Revision 0
[ 5.767] Build Operating System: Linux 2.6.24-30-xen i686 Ubuntu
[ 5.767] Current Operating System: Linux werbeboten-HP-Pavilion-g6-Notebook-PC 3.2.0-20-generic-pae #32-Ubuntu SMP Thu Mar 22 02:43:40 UTC 2012 i686
[ 5.767] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-20-generic-pae root=UUID=cd51926a-213f-455e-bed3-9e4a2e522a22 ro quiet splash vt.handoff=7
[ 5.767] Build Date: 08 March 2012 07:07:08AM
[ 5.767] xorg-server 2:1.12.0+git20120308+server-1.12-branch.b1be72c5-0ubuntu0ricotz (For technical support please see http://www.ubuntu.com/support)
[ 5.767] Current version of pixman: 0.25.2
[ 5.767] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 5.767] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 5.767] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Mar 23 01:43:49 2012
[ 5.768] (==) Using config file: "/etc/X11/xorg.conf"
[ 5.768] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 5.768] (==) ServerLayout "aticonfig Layout"
[ 5.768] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[ 5.768] (**) | |-->Monitor "aticonfig-Monitor[0]-0"
[ 5.769] (**) | |-->Device "aticonfig-Device[0]-0"
[ 5.769] (==) Automatically adding devices
[ 5.769] (==) Automatically enabling devices
[ 5.769] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 5.769] Entry deleted from font path.
[ 5.769] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 5.769] Entry deleted from font path.
[ 5.769] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 5.769] Entry deleted from font path.
[ 5.769] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 5.769] Entry deleted from font path.
[ 5.769] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 5.769] Entry deleted from font path.
[ 5.773] (WW) `fonts.dir' not found (or not valid) in "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType".
[ 5.773] Entry deleted from font path.
[ 5.773] (Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType").
[ 5.773] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 5.773] (==) ModulePath set to "/usr/lib/i386-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 5.773] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 5.773] (II) Loader magic: 0xb778d5a0
[ 5.773] (II) Module ABI versions:
[ 5.773] X.Org ANSI C Emulation: 0.4
[ 5.773] X.Org Video Driver: 12.0
[ 5.773] X.Org XInput driver : 16.0
[ 5.773] X.Org Server Extension : 6.0
[ 5.775] (--) PCI:*(0:0:2:0) 8086:0046:103c:1669 rev 2, Mem @ 0xc0000000/4194304, 0xb0000000/268435456, I/O @ 0x00006050/8
[ 5.775] (--) PCI: (0:1:0:0) 1002:6760:103c:1669 rev 0, Mem @ 0xa0000000/268435456, 0xc6400000/131072, I/O @ 0x00005000/256, BIOS @ 0x????????/131072
[ 5.775] (II) Open ACPI successful (/var/run/acpid.socket)
[ 5.775] (II) "extmod" will be loaded by default.
[ 5.775] (II) "dbe" will be loaded by default.
[ 5.775] (II) "glx" will be loaded by default.
[ 5.775] (II) "record" will be loaded by default.
[ 5.775] (II) "dri" will be loaded by default.
[ 5.775] (II) "dri2" will be loaded by default.
[ 5.775] (II) LoadModule: "extmod"
[ 5.779] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 5.779] (II) Module extmod: vendor="X.Org Foundation"
[ 5.779] compiled for 1.12.0, module version = 1.0.0
[ 5.779] Module class: X.Org Server Extension
[ 5.779] ABI class: X.Org Server Extension, version 6.0
[ 5.779] (II) Loading extension MIT-SCREEN-SAVER
[ 5.779] (II) Loading extension XFree86-VidModeExtension
[ 5.779] (II) Loading extension XFree86-DGA
[ 5.779] (II) Loading extension DPMS
[ 5.779] (II) Loading extension XVideo
[ 5.779] (II) Loading extension XVideo-MotionCompensation
[ 5.779] (II) Loading extension X-Resource
[ 5.779] (II) LoadModule: "dbe"
[ 5.780] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 5.780] (II) Module dbe: vendor="X.Org Foundation"
[ 5.780] compiled for 1.12.0, module version = 1.0.0
[ 5.780] Module class: X.Org Server Extension
[ 5.780] ABI class: X.Org Server Extension, version 6.0
[ 5.780] (II) Loading extension DOUBLE-BUFFER
[ 5.780] (II) LoadModule: "glx"
[ 5.780] (II) Loading /usr/lib/i386-linux-gnu/xorg/extra-modules/modules/extensions/libglx.so
[ 5.781] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[ 5.781] compiled for 6.9.0, module version = 1.0.0
[ 5.781] (II) Loading extension GLX
[ 5.781] (II) LoadModule: "record"
[ 5.788] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 5.788] (II) Module record: vendor="X.Org Foundation"
[ 5.788] compiled for 1.12.0, module version = 1.13.0
[ 5.788] Module class: X.Org Server Extension
[ 5.788] ABI class: X.Org Server Extension, version 6.0
[ 5.788] (II) Loading extension RECORD
[ 5.788] (II) LoadModule: "dri"
[ 5.789] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 5.789] (II) Module dri: vendor="X.Org Foundation"
[ 5.789] compiled for 1.12.0, module version = 1.0.0
[ 5.789] ABI class: X.Org Server Extension, version 6.0
[ 5.789] (II) Loading extension XFree86-DRI
[ 5.789] (II) LoadModule: "dri2"
[ 5.790] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 5.790] (II) Module dri2: vendor="X.Org Foundation"
[ 5.790] compiled for 1.12.0, module version = 1.2.0
[ 5.790] ABI class: X.Org Server Extension, version 6.0
[ 5.790] (II) Loading extension DRI2
[ 5.790] (II) LoadModule: "fglrx"
[ 5.790] (II) Loading /usr/lib/i386-linux-gnu/xorg/extra-modules/modules/drivers/fglrx_drv.so
[ 5.857] (II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
[ 5.858] compiled for 1.4.99.906, module version = 8.95.3
[ 5.858] Module class: X.Org Video Driver
[ 5.859] (II) Loading sub module "fglrxdrm"
[ 5.859] (II) LoadModule: "fglrxdrm"
[ 5.860] (II) Loading /usr/lib/i386-linux-gnu/xorg/extra-modules/modules/linux/libfglrxdrm.so
[ 5.861] (II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
[ 5.861] compiled for 1.4.99.906, module version = 8.95.3
[ 5.861] (II) ATI Proprietary Linux Driver Version Identifier:8.95.3
[ 5.862] (II) ATI Proprietary Linux Driver Release Identifier: 8.95
[ 5.862] (II) ATI Proprietary Linux Driver Build Date: Feb 14 2012 21:04:52
[ 5.862] (++) using VT number 7

[ 5.862] (WW) Falling back to old probe method for fglrx
[ 5.902] (II) Loading PCS database from /etc/ati/amdpcsdb
[ 5.905] (--) Chipset Supported AMD Graphics Processor (0x6760) found
[ 5.905] (II) fglrx: intel VGA device detected, load intel driver.
[ 5.905] (II) LoadModule: "intel"
[ 5.906] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 5.906] (II) Module intel: vendor="X.Org Foundation"
[ 5.906] compiled for 1.12.0, module version = 2.18.0
[ 5.906] Module class: X.Org Video Driver
[ 5.906] ABI class: X.Org Video Driver, version 12.0
[ 5.909] ukiDynamicMajor: failed to open /proc/ati/major
[ 5.909] ukiDynamicMajor: failed to open /proc/ati/major
[ 5.910] (WW) PowerXpress feature is not supported
[ 5.910] (EE) No devices detected.
[ 5.910] (==) Matched intel as autoconfigured driver 0
[ 5.910] (==) Matched vesa as autoconfigured driver 1
[ 5.910] (==) Matched fbdev as autoconfigured driver 2
[ 5.910] (==) Assigned the driver to the xf86ConfigLayout
[ 5.910] (II) LoadModule: "intel"
[ 5.911] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 5.911] (II) Module intel: vendor="X.Org Foundation"
[ 5.911] compiled for 1.12.0, module version = 2.18.0
[ 5.911] Module class: X.Org Video Driver
[ 5.911] ABI class: X.Org Video Driver, version 12.0
[ 5.911] (II) UnloadModule: "intel"
[ 5.911] (II) Unloading intel
[ 5.911] (II) Failed to load module "intel" (already loaded, -1217056484)
[ 5.911] (II) LoadModule: "vesa"
[ 5.912] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 5.912] (II) Module vesa: vendor="X.Org Foundation"
[ 5.912] compiled for 1.11.99.901, module version = 2.3.0
[ 5.912] Module class: X.Org Video Driver
[ 5.912] ABI class: X.Org Video Driver, version 12.0
[ 5.912] (II) LoadModule: "fbdev"
[ 5.912] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 5.913] (II) Module fbdev: vendor="X.Org Foundation"
[ 5.913] compiled for 1.11.99.901, module version = 0.4.2
[ 5.913] Module class: X.Org Video Driver
[ 5.913] ABI class: X.Org Video Driver, version 12.0
[ 5.913] (II) ATI Proprietary Linux Driver Version Identifier:8.95.3
[ 5.913] (II) ATI Proprietary Linux Driver Release Identifier: 8.95
[ 5.913] (II) ATI Proprietary Linux Driver Build Date: Feb 14 2012 21:04:52
[ 5.913] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server
[ 5.914] (II) VESA: driver for VESA chipsets: vesa
[ 5.914] (II) FBDEV: driver for framebuffer: fbdev
[ 5.914] (++) using VT number 7

[ 5.914] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[ 5.914] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[ 5.914] (WW) Falling back to old probe method for fglrx
[ 5.914] (II) Loading PCS database from /etc/ati/amdpcsdb
[ 5.914] (WW) Falling back to old probe method for vesa
[ 5.914] (WW) Falling back to old probe method for fbdev
[ 5.914] (EE) No devices detected.
[ 5.914]
Fatal server error:
[ 5.914] no screens found
[ 5.914]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 5.914] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 5.914]



lspci | grep VGA


00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Seymour [Radeon HD 6400M Series]



Somehow, this looks strange in log:



[ 5.859] (II) LoadModule: "fglrxdrm"
[ 5.860] (II) Loading /usr/lib/i386-linux-gnu/xorg/extra-modules/modules/linux/libfglrxdrm.so
[ 5.861] (II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
[ 5.861] compiled for 1.4.99.906, module version = 8.95.3
[ 5.861] (II) ATI Proprietary Linux Driver Version Identifier:8.95.3
[ 5.862] (II) ATI Proprietary Linux Driver Release Identifier: 8.95
[ 5.862] (II) ATI Proprietary Linux Driver Build Date: Feb 14 2012 21:04:52
[ 5.862] (++) using VT number 7

[ 5.862] (WW) Falling back to old probe method for fglrx


Any ideas?

UPDATE:
http://forums.fedoraforum.org/showthread.php?p=1564578

uname -r


3.2.0-20-generic-pae


Got this warning too.
Will try a fresh install on 11.10 for testing purposes tomorrow.

pinguinhood
March 24th, 2012, 04:05 PM
Hi people! I'm trying to get my new notebook working. I have a Intel hd3000 + amd radeon 6750M and I installed ubuntu precise. I added sarvatt ppa (xserver-xorg-video-intel 2.18) than I tried installing ati driver. Here is the problem, because with jokey-gtk I can install only the non-post-release driver,if I try installing the post release version it creashes (I found the bug also in launchpad). I tried compiling the driver downloaded from amd site, but when I try to install them through dpkg I give dependency error referred to the other packages I want to install.
Then I tried installing fglrx-updates through synaptic and terminal. I can install the driver, give the aticonfig --install -f command but when I reboot (without any switch) a window appear saying me that ubuntu is running in low-graphic mode. After reconfiguring lightdm starts again.
Furthermore I can't get Catalyst Control Center working. Any suggestion for the ati driver installation?

delsus
March 24th, 2012, 10:54 PM
Hi people! I'm trying to get my new notebook working. I have a Intel hd3000 + amd radeon 6750M and I installed ubuntu precise. I added sarvatt ppa (xserver-xorg-video-intel 2.18) than I tried installing ati driver. Here is the problem, because with jokey-gtk I can install only the non-post-release driver,if I try installing the post release version it creashes (I found the bug also in launchpad). I tried compiling the driver downloaded from amd site, but when I try to install them through dpkg I give dependency error referred to the other packages I want to install.
Then I tried installing fglrx-updates through synaptic and terminal. I can install the driver, give the aticonfig --install -f command but when I reboot (without any switch) a window appear saying me that ubuntu is running in low-graphic mode. After reconfiguring lightdm starts again.
Furthermore I can't get Catalyst Control Center working. Any suggestion for the ati driver installation?

Its what we are trying to work out right now, from what I have seen even the Linux gurus are having problems with Intel/ATI hybrid graphics.

sarathsnair
March 25th, 2012, 04:37 AM
is the hybrid graphics problem is over ?
when it complete ? id their any changes in the new ubuntu 12.04

mrvoxel
March 25th, 2012, 08:24 AM
I can confirm that following these instructions I was able to get Hybrid graphics on my Sony S VPCSA! Excellent! Of course, ATI graphics card gobbles up over TWICE the power than the integrated (~24-26k mW vs ~8-12k mW.)

I was able to follow the same procedure on Linux Mint and got very good results, in fact faster and smoother than those that I got in Ubuntu 12.04 (which, granted is in Beta.)

One problem I notice, at least with my linux Mint build (haven't confirmed on Ubuntu 12.04) if I try to switch to integrated graphics and restart X, it logs in fine, but doesn't bring up my gnome 3 panels, it seems something hangs up around then. I change back to dedicated and restart and it works fine again :-\.

delsus: Not sure if you're still having this problem... I had a very similar problem. I had to follow Alexislavie's post on installing the newest drivers here: http://wiki.cchtml.com/index.php/Ubuntu_Oneiric_Installation_Guide after installing the PPAs and that seemed to work.

Alexislavie
March 25th, 2012, 11:44 AM
so I Downloaded
http://www2.ati.com/drivers/linux/am...x86.x86_64.run

As normal, I run:


$ chmod +x amd-driver-installer-12-2-x86.x86_64.run
$ ./amd-driver-installer-12-2-x86.x86_64.run --buildpkg Ubuntu/precise
$ sudo dpkg -i *.debcopied the .debs somewhere for safekeeping.

Builds OK, installs OK.

rebooted.

when it came up,


sudo aticonfig --initial -fthen rebooted again

I added the ppa ppa:sarvatt/intel-sna

upgraded, and made sure xserver-xorg-video-intel was installed to the latest ppa version, then I rebooted again.


sudo aticonfig --initial -f then I reboot again.

Now on the terminal

tried

sudo aticonfig --pxlIt told me I was using the AMD GPU.

To switch to the Intel gpu I entered this command in a terminal :

sudo aticonfig --px-igpuI rebooted. as soon as the machine booted, it told me that ubuntu graphics settings wasn't configured properly. It didn't even let me revert from that window.

I then did ctr alt f1 to get to the command line.
To switch back to the AMD/ATI gpu I entered this command in a terminal :


sudo aticonfig --px-dgpuHere is my hardware info


makezan@700Z3A:~$ lspci -nn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09)
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Seymour [Radeon HD 6400M Series] [1002:6760]
here is my xorg.conf


Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Questions: I'm I missing something, I'm I supposed to do aticonfig --initial before my reboots?? or after my reboots?

makezan@700Z3A:~$ sudo aticonfig --initial -f
Warning: you are intending to clear the configuration infomation which you need to recover to High Performance mode, please reboot your machine to aviod inconsistency I already anwered this question for myself. It makes sense. you need to swtich the drivers first before trying to initialize it.


Is there a way to quickly reboot xserver without rebooting, before it was ctrl alt del, and that service gdm restart isn't relevant because now its unity.

How can I get this to Work.

PLEASE DO INSTALL INTEL DRIVERS BEFORE COMPILING AND INSTALLING ATI DRIVERS !
Otherwise it obviously should not work.

Alexislavie
March 25th, 2012, 11:47 AM
I posted this in another thread and I don't like posting multiple times, but I hit the wrong prefix, so I don't know if it is getting the right people to see, so I thought I would post it here to see if anyone can help because it seems like I am getting somewhere. (warning wall of text inc)

After failing to get my discreet GPU working in ubuntu 11.10 I decided to install 12.04 to see if it was working and I believe I am getting somewhere with it.

I installed the fglrx drivers through jockey and ran
aticonfig --initial -fHowever it came up with this powerXpress error:


PowerXpress error: Cannot stat '/usr/lib64/fglrx': No such file or directory
Failed to initialize libglx for discrete GPUI however ignored this and rebooted, and rather than completely failing to boot it boots to low graphics mode (which is progress) but I cannot configure my graphics adapter and screen,

Here are my xorg.conf and my xorg.0.log files:


Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

[ 15.420]
X.Org X Server 1.11.3
Release Date: 2011-12-16
[ 15.420] X Protocol Version 11, Revision 0
[ 15.420] Build Operating System: Linux 2.6.24-29-server x86_64 Ubuntu
[ 15.420] Current Operating System: Linux mike-ubuntu 3.2.0-17-generic #27-Ubuntu SMP Fri Feb 24 15:37:36 UTC 2012 x86_64
[ 15.420] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-17-generic root=UUID=ff081b73-4bb3-4c52-8153-e789022d6a06 ro quiet splash vt.handoff=7
[ 15.420] Build Date: 22 February 2012 03:16:54AM
[ 15.420] xorg-server 2:1.11.4-0ubuntu4 (For technical support please see http://www.ubuntu.com/support)
[ 15.420] Current version of pixman: 0.24.4
[ 15.420] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 15.420] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 15.420] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 21 20:44:20 2012
[ 15.420] (==) Using config file: "/etc/X11/xorg.conf"
[ 15.420] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 15.421] (==) ServerLayout "aticonfig Layout"
[ 15.421] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[ 15.421] (**) | |-->Monitor "aticonfig-Monitor[0]-0"
[ 15.421] (**) | |-->Device "aticonfig-Device[0]-0"
[ 15.421] (==) Automatically adding devices
[ 15.421] (==) Automatically enabling devices
[ 15.421] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 15.421] Entry deleted from font path.
[ 15.421] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 15.421] Entry deleted from font path.
[ 15.421] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 15.421] Entry deleted from font path.
[ 15.421] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 15.421] Entry deleted from font path.
[ 15.421] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 15.421] Entry deleted from font path.
[ 15.429] (WW) `fonts.dir' not found (or not valid) in "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType".
[ 15.429] Entry deleted from font path.
[ 15.429] (Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType").
[ 15.429] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 15.429] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 15.429] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 15.429] (II) Loader magic: 0x7f40d6b22b00
[ 15.429] (II) Module ABI versions:
[ 15.429] X.Org ANSI C Emulation: 0.4
[ 15.429] X.Org Video Driver: 11.0
[ 15.429] X.Org XInput driver : 16.0
[ 15.429] X.Org Server Extension : 6.0
[ 15.431] (--) PCI:*(0:0:2:0) 8086:0046:103c:144a rev 2, Mem @ 0xc0000000/4194304, 0xb0000000/268435456, I/O @ 0x00005050/8
[ 15.431] (--) PCI: (0:1:0:0) 1002:68e0:103c:144a rev 0, Mem @ 0xa0000000/268435456, 0xc4400000/131072, I/O @ 0x00004000/256, BIOS @ 0x????????/131072
[ 15.431] (II) Open ACPI successful (/var/run/acpid.socket)
[ 15.431] (II) "extmod" will be loaded by default.
[ 15.431] (II) "dbe" will be loaded by default.
[ 15.431] (II) "glx" will be loaded by default.
[ 15.431] (II) "record" will be loaded by default.
[ 15.431] (II) "dri" will be loaded by default.
[ 15.431] (II) "dri2" will be loaded by default.
[ 15.431] (II) LoadModule: "extmod"
[ 15.448] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 15.448] (II) Module extmod: vendor="X.Org Foundation"
[ 15.448] compiled for 1.11.3, module version = 1.0.0
[ 15.448] Module class: X.Org Server Extension
[ 15.448] ABI class: X.Org Server Extension, version 6.0
[ 15.448] (II) Loading extension MIT-SCREEN-SAVER
[ 15.448] (II) Loading extension XFree86-VidModeExtension
[ 15.448] (II) Loading extension XFree86-DGA
[ 15.448] (II) Loading extension DPMS
[ 15.448] (II) Loading extension XVideo
[ 15.448] (II) Loading extension XVideo-MotionCompensation
[ 15.448] (II) Loading extension X-Resource
[ 15.448] (II) LoadModule: "dbe"
[ 15.448] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 15.448] (II) Module dbe: vendor="X.Org Foundation"
[ 15.449] compiled for 1.11.3, module version = 1.0.0
[ 15.449] Module class: X.Org Server Extension
[ 15.449] ABI class: X.Org Server Extension, version 6.0
[ 15.449] (II) Loading extension DOUBLE-BUFFER
[ 15.449] (II) LoadModule: "glx"
[ 15.449] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/extensions/libglx.so
[ 15.449] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[ 15.449] compiled for 6.9.0, module version = 1.0.0
[ 15.449] (II) Loading extension GLX
[ 15.449] (II) LoadModule: "record"
[ 15.449] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 15.449] (II) Module record: vendor="X.Org Foundation"
[ 15.449] compiled for 1.11.3, module version = 1.13.0
[ 15.449] Module class: X.Org Server Extension
[ 15.449] ABI class: X.Org Server Extension, version 6.0
[ 15.449] (II) Loading extension RECORD
[ 15.449] (II) LoadModule: "dri"
[ 15.449] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 15.449] (II) Module dri: vendor="X.Org Foundation"
[ 15.449] compiled for 1.11.3, module version = 1.0.0
[ 15.449] ABI class: X.Org Server Extension, version 6.0
[ 15.449] (II) Loading extension XFree86-DRI
[ 15.449] (II) LoadModule: "dri2"
[ 15.450] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 15.450] (II) Module dri2: vendor="X.Org Foundation"
[ 15.450] compiled for 1.11.3, module version = 1.2.0
[ 15.450] ABI class: X.Org Server Extension, version 6.0
[ 15.450] (II) Loading extension DRI2
[ 15.450] (II) LoadModule: "fglrx"
[ 15.450] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so
[ 15.728] (II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
[ 15.740] compiled for 1.4.99.906, module version = 8.91.4
[ 15.740] Module class: X.Org Video Driver
[ 15.826] (II) Loading sub module "fglrxdrm"
[ 15.826] (II) LoadModule: "fglrxdrm"
[ 15.826] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/linux/libfglrxdrm.so
[ 15.850] (II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
[ 15.850] compiled for 1.4.99.906, module version = 8.91.4
[ 15.850] (II) ATI Proprietary Linux Driver Version Identifier:8.91.4
[ 15.850] (II) ATI Proprietary Linux Driver Release Identifier: 8.911
[ 15.850] (II) ATI Proprietary Linux Driver Build Date: Oct 25 2011 21:24:13
[ 15.850] (++) using VT number 7

[ 15.851] (WW) Falling back to old probe method for fglrx
[ 15.931] (II) Loading PCS database from /etc/ati/amdpcsdb
[ 15.952] (--) Chipset Supported AMD Graphics Processor (0x68E0) found
[ 15.958] (WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
[ 15.958] (II) fglrx: intel VGA device detected, load intel driver.
[ 15.958] (II) LoadModule: "intel"
[ 15.958] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 15.958] (II) Module intel: vendor="X.Org Foundation"
[ 15.958] compiled for 1.11.3, module version = 2.17.0
[ 15.958] Module class: X.Org Video Driver
[ 15.958] ABI class: X.Org Video Driver, version 11.0
[ 15.960] ukiDynamicMajor: found major device number 249
[ 15.960] ukiDynamicMajor: found major device number 249
[ 15.960] ukiOpenByBusid: Searching for BusID PCI:1:0:0
[ 15.960] ukiOpenDevice: node name is /dev/ati/card0
[ 15.960] ukiOpenDevice: open result is 11, (OK)
[ 15.960] ukiOpenByBusid: ukiOpenMinor returns 11
[ 15.960] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
[ 15.971] (WW) PowerXpress feature is not supported on A+I Mux platform. Please uninstall fglrx driver.
[ 15.971] (EE) No devices detected.
[ 15.971] (==) Matched intel as autoconfigured driver 0
[ 15.971] (==) Matched vesa as autoconfigured driver 1
[ 15.971] (==) Matched fbdev as autoconfigured driver 2
[ 15.971] (==) Assigned the driver to the xf86ConfigLayout
[ 15.971] (II) LoadModule: "intel"
[ 15.971] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 15.971] (II) Module intel: vendor="X.Org Foundation"
[ 15.971] compiled for 1.11.3, module version = 2.17.0
[ 15.971] Module class: X.Org Video Driver
[ 15.971] ABI class: X.Org Video Driver, version 11.0
[ 15.971] (II) UnloadModule: "intel"
[ 15.971] (II) Unloading intel
[ 15.971] (II) Failed to load module "intel" (already loaded, 32576)
[ 15.971] (II) LoadModule: "vesa"
[ 15.971] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 15.972] (II) Module vesa: vendor="X.Org Foundation"
[ 15.972] compiled for 1.11.3, module version = 2.3.0
[ 15.972] Module class: X.Org Video Driver
[ 15.972] ABI class: X.Org Video Driver, version 11.0
[ 15.972] (II) LoadModule: "fbdev"
[ 15.972] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 15.972] (II) Module fbdev: vendor="X.Org Foundation"
[ 15.972] compiled for 1.11.3, module version = 0.4.2
[ 15.972] ABI class: X.Org Video Driver, version 11.0
[ 15.972] (II) ATI Proprietary Linux Driver Version Identifier:8.91.4
[ 15.972] (II) ATI Proprietary Linux Driver Release Identifier: 8.911
[ 15.972] (II) ATI Proprietary Linux Driver Build Date: Oct 25 2011 21:24:13
[ 15.972] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server
[ 15.972] (II) VESA: driver for VESA chipsets: vesa
[ 15.972] (II) FBDEV: driver for framebuffer: fbdev
[ 15.972] (++) using VT number 7

[ 15.972] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[ 15.972] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[ 15.972] (WW) Falling back to old probe method for fglrx
[ 15.972] (II) Loading PCS database from /etc/ati/amdpcsdb
[ 15.972] (WW) Falling back to old probe method for vesa
[ 15.972] (WW) Falling back to old probe method for fbdev
[ 15.972] (EE) No devices detected.
[ 15.972]
Fatal server error:
[ 15.972] no screens found
[ 15.972]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 15.972] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 15.972] Also here is my lshw -C -video output


*-display
description: VGA compatible controller
product: Manhattan [Mobility Radeon HD 5400 Series]
vendor: Hynix Semiconductor (Hyundai Electronics)
physical id: 0
bus info: pci@0000:01:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=fglrx_pci latency=0
resources: irq:16 memory:a0000000-afffffff memory:c4400000-c441ffff ioport:4000(size=256) memory:c4440000-c445ffff
*-display
description: VGA compatible controller
product: Core Processor Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:44 memory:c0000000-c03fffff memory:b0000000-bfffffff ioport:5050(size=8)
Any help to get this working will be appreciated.

Do not install fglrx via jockey but compile the packages and install it manually.

Alexislavie
March 25th, 2012, 11:52 AM
To all people having trouble while testing, please remember to verify the PCI adress in the xorg, aticonfig -f --initial only need to be run once, if the generated xorg.conf doesn't work delete it via a tty : sudo rm /etc/X11/xorg.conf and enter startx , to relaunch the X server.

Please do try this on 12.04, not 11.10 ! The xorg version in it is too old.

PerlJedi
March 27th, 2012, 03:23 PM
Wooo Hooo! :guitar:

Thank you to everyone putting their knowledge in this thread!

I now have Ubuntu 11.10 running with switchable graphics on my HP Envy 15. Following the instructions in post #6, and things are running beautifully.

Update: The check described in post #22 was also needed to make it work. My first time around I didn't notice that it was PCI:1:0:0 in xorg.xonf and PCI:01:00:0 in the output from that command, which resulted in failure.

Niccola
March 27th, 2012, 10:44 PM
I'm in a hard work to put the Display Manager working in catalyst center. I dont know what to do anymore.

Simply, the catalyst 12.2 (also 12.1) doesn't appear the Display Manager Option (to switch displays or monitors, change resolution or aspect ratio, etc...) as you can see in the image below:

http://dl.dropbox.com/u/13977411/Screenshot2012-03-2723%3A34%3A10.png

So, somebody help me solving this problem, its driving me crazy! I only can manage the Displays using the native ubuntu 11.10 monitor manager and this is a crap, for me!

Thanks

wegah
March 28th, 2012, 03:03 AM
Who write this guide need to put a warning at start.

1- This guide work in MUXED CARDS.
2- This guide WORK in MUXLESS cards that have bios choice for primary card (most of ones here that work have this and doesn't know it).
3- THIS GUIDE will WORK for who DOESN't HAVE BIOS CHOICe, But the manufacturer made the AMD the primary card.
4- This GUIDE WILL NOT work for who have MUXLESS CARD AND NO BIOS CHOICE TO CHANGE the PRIMARY CARD AND THE BIOS WAS NOT SET BY THE MANUFACTURER HAVING THE AMD CARD BEING THE PRIMARY.

There is a lot of users that just become in troubles when doing this and being with a black screen after.

vgaswitcheroo is the standard test. that will not harm your install.

If vgaswitcheroo doesn't work for you. This guide will not work to. There is no MAGIC here. The X developers, THE VIDEO CARDS developers are aware this.

It's not a cheat that will solve this.

wegah
March 30th, 2012, 04:31 AM
https://launchpad.net/~hybrid-graphics-linux



--------------------
### STATUS
--------------------

--------------
## ATI hybrid:
--------------

The PowerXpress pre-4.0 models have a mux solution to switch between
discrete and integrated card. For most ATI/Intel hybrid
configurations:

a) try the latest closed-source Catalyst Driver for login/logout card switching,
or
b) try vga_switcheroo and open-source graphics drivers (kernel 2.6.35 or newer).

The PowerXpress 4.0+ models have a muxless solution to use both cards
and switch on/off the discrete card.
For Muxless PowerXpress 4.0+ models, please submit your DSDT tables
information as described later in this document.

--------------
## NVIDIA hybrid:
--------------

Support is growing quite well in both Bumblebee and IronHide.

There is ongoing work to support for Nvidia Optimus/Intel hybrid
offloading for nouveau drivers:
http://thread.gmane.org/gmane.comp.freedesktop.xorg.devel/29140
http://cgit.freedesktop.org/~airlied/linux/log/?h=drm-prime-dmabuf
http://airlied.livejournal.com/74176.html
http://airlied.livejournal.com/75405.html

--------------

):P AND THE MOST IMPORTANT.....
):P DO THIS IF YOUR CARD DOES NOT WORK..

### ACPI Calls
--------------

For a list of DSDT ON/OFF methods, subscribe to the mailing list at
the bottom of the Launchpad page
http://launchpad.net/~hybrid-graphics-linux
and also follow the blogspot page
http://linux-hybrid-graphics.blogspot.com/
You should also look at this Wiki :
http://hybrid-graphics-linux.tuxfamily.org/index.php?title=ACPI_calls

We are gathering technical information to improve Linux support for
hybrid graphics systems. If you have a switchable graphics laptop,
please submit your laptop's DSDT.dsl and SSDT tables as an attachment
by "adding a comment" at the bottom of this bug report:

http://bugs.launchpad.net/bugs/752542

To compile your DSDT and SSDTs information, install if you haven't
already the acpidump and iasl tools:

Ubuntu:
sudo apt-get install acpidump iasl
Fedora:
sudo yum install pmtools iasl

Then download the information collector script and run it:

wget http://lekensteyn.nl/files/get-acpi-info.sh
sh get-acpi-info.sh

This will create a tar.gz file that you can attach to the bug report.

There is another more complete ACPI dump handles that might be useful
for some models. Details on how to produce it are below:

git clone git://github.com/Lekensteyn/acpi-stuff.git
cd acpi-stuff/acpi_dump_info
make
sudo make load
cat /proc/acpi/dump_info > handles.txt

Attach the file in a comment on http://bugs.launchpad.net/lpbugreporter/+bug/752542/+addcomment

This information will allow the full development of hybrid graphics
features for Linux. Thanks for your help!

miatawnt2b
March 30th, 2012, 03:55 PM
Can someone guide me with dependency problems? I am running 12.04, and installed the sarvatt PPA. I can't upgrade tehxserver-xorg-intel package because of dependancy issues.

xserver-xorg-video-intel:
Depends: xorg-video-abi-12 but it is not installable
Depends: xserver-xorg-core (>=2:1.11.99) but 2:1.11.4-0ubuntu8 is to be installed

kfk2
March 31st, 2012, 11:05 PM
Got it working with 12.04 Precise! Didn't need any ppa, so all that trying xorg-edgers was not needed. Simply install the fglrx driver and then run:
sudo aticonfig --initial

Then to switch to integrated gpu, run
sudo aticonfig --px-igpu
and restart X.

To Switch to discrete gpu:
sudo aticonfig --px-dgpu
and restart X.


Laptop is HP dv6-6100 (i7 Quad with Radeon HD 6700M and i915)


fglrx version 2:8.960-0ubuntu1
xserver-xorg-video-intel version 2:2.17.0-1ubuntu4

aeronutt
April 1st, 2012, 04:39 PM
Wow...I just tried this on Precise Beta2, and it works...almost.
Loaded fglrx from the repositories, ran "sudo aticonfig --initial", and now catalyst runs!! (Never successful before), and switching between Intel integrated graphics and ATI grapics is as simple as:

Then to switch to integrated gpu, run
sudo aticonfig --px-igpu
and restart X.

To Switch to discrete gpu:
sudo aticonfig --px-dgpu
and restart X.

...BUT...and the only but.
When using integrated graphics, only Ubuntu2D works. (3D works fine with ATI GPU is selected).

Anyone have a fix for this?

pinguinhood
April 2nd, 2012, 07:16 AM
Finally works for me too!!! (Samsung serie 7 chronos, ubuntu 12.04)
I had to remove the ppa and reinstall the driver. All seems to work well, I can switch to intel graphic (simple with catalyst control center).

It is normal that only unity 2d works, unity 3d require more resource that integrated graphic doesn't have. (IMHO Unity 2D looks very good in this version of Ubuntu!)

Thank you very much!!!

aeronutt
April 2nd, 2012, 12:30 PM
....
It is normal that only unity 2d works, unity 3d require more resource that integrated graphic doesn't have. ...

On other loads (eg 11.04, Mint12) Unity3D works fine using my Intel i3 integrated graphics using open drivers (with my AMD discrete GPU turned off).

kmas
April 2nd, 2012, 01:24 PM
any one gets this warning?


makezan@700Z3A:~$ sudo aticonfig --px-igpu
PowerXpress info: Diagnostic output from /usr/lib/fglrx/switchlibglx:
update-alternatives: warning: skip creation of /etc/OpenCL/vendors/amdocl32.icd because associated file /usr/lib/fglrx/etc/OpenCL/vendors/amdocl32.icd (of link group x86_64-linux-gnu_gl_conf) doesn't exist.


I haven't restarted the x server just yet.


Wow...I just tried this on Precise Beta2, and it works...almost.
Loaded fglrx from the repositories, ran "sudo aticonfig --initial", and now catalyst runs!! (Never successful before), and switching between Intel integrated graphics and ATI grapics is as simple as:

Then to switch to integrated gpu, run
sudo aticonfig --px-igpu
and restart X.

To Switch to discrete gpu:
sudo aticonfig --px-dgpu
and restart X.

...BUT...and the only but.
When using integrated graphics, only Ubuntu2D works. (3D works fine with ATI GPU is selected).

Anyone have a fix for this?

pinguinhood
April 2nd, 2012, 01:58 PM
On other loads (eg 11.04, Mint12) Unity3D works fine using my Intel i3 integrated graphics using open drivers (with my AMD discrete GPU turned off).
Sorry, I didn't know that.

aeronutt
April 2nd, 2012, 02:01 PM
Sorry, I didn't know that.

No worries...it does take a few tweaks to get it to work in 3D mode!

onefthemany
April 3rd, 2012, 11:21 AM
Wow...I just tried this on Precise Beta2, and it works...almost.
Loaded fglrx from the repositories, ran "sudo aticonfig --initial", and now catalyst runs!! (Never successful before), and switching between Intel integrated graphics and ATI grapics is as simple as:

Then to switch to integrated gpu, run
sudo aticonfig --px-igpu
and restart X.

To Switch to discrete gpu:
sudo aticonfig --px-dgpu
and restart X.

...BUT...and the only but.
When using integrated graphics, only Ubuntu2D works. (3D works fine with ATI GPU is selected).

Anyone have a fix for this?

You don't have to use fglrx or reboot. I can switch between integrated and discreet by doing the following on another thread:

http://ubuntuforums.org/showthread.php?p=11780425#post11780425

all you have to do is make sure you have gxmessage installed to make the script work.

I have this running on 2 different laptops with switchable graphics and it works great without requiring a reboot.

aeronutt
April 3rd, 2012, 11:55 AM
You don't have to use fglrx or reboot. I can switch between integrated and discreet by doing the following on another thread:

http://ubuntuforums.org/showthread.php?p=11780425#post11780425

all you have to do is make sure you have gxmessage installed to make the script work.

I have this running on 2 different laptops with switchable graphics and it works great without requiring a reboot.

Thanks for the link. Just FYI, here's what I think I know about fglrx vs the method in the script you pointed to:
- fglrx includes proprietary drivers which should perform better than the open drivers. Loaded fglrx is needed if you want to run the proprietary drivers. Certainly if you don't like using proprietary drivers, your method is great.
- I do not need to reboot to use fglrx,simply restart X (eg alt-printscrn-k).
- Just browsing the script, I saw a misspelling of a command, so I'm reluctant to depend on it. ( gnome-session-quit is spelled as gnome-sesseion-quit on one of the lines, didn't look any further at the script.)
- I've tried vgaswitcheroo before, with no luck. Maybe it'll work for me in 12.04, but no need to use that with proprietary drivers and s/w fglrx/catalyst working.

delsus
April 3rd, 2012, 01:44 PM
Got it working with 12.04 Precise! Didn't need any ppa, so all that trying xorg-edgers was not needed. Simply install the fglrx driver and then run:
sudo aticonfig --initial

Then to switch to integrated gpu, run
sudo aticonfig --px-igpu
and restart X.

To Switch to discrete gpu:
sudo aticonfig --px-dgpu
and restart X.


Laptop is HP dv6-6100 (i7 Quad with Radeon HD 6700M and i915)


fglrx version 2:8.960-0ubuntu1
xserver-xorg-video-intel version 2:2.17.0-1ubuntu4

Has anyone tried this on 12.4 with an ati radeon HD 5400 series laptop yet? I can only ever get low graphics mode and I have to restore the default xorg.conf so fglrx will not work, I use the fglrx driver from jokey. or perhaps link me to a compatible version for my graphics card if that is the problem.

kmas
April 4th, 2012, 01:37 PM
I'm going to ask a silly question. So the intel graphics was so that we could have our laptops not discharge as fast as it does under the high power settings correct?? can anyone tell me how much their battery lives improved because mine went from 2:30 to 2:45.

second silly question, was anyone able to make this work for unity 3d.

last question how do you restart your xserver without reboot in 12.04.

bidget
April 4th, 2012, 07:48 PM
I can't seem to get my intel graphics to work properly. My AMD graphics will load up just fine, but if I use catalyst to switch to intel, or if I do it via the command line with 'aticonfig --px-igpu' after I restart and login, nothing will display, it is simply the desktop wallpaper. There's no bar along the lefthand side or along the top. To fix it I just restart into the recovery mode and use 'aticonfig --px-dgpu' and then after I restart again everything is working ok.

I'm using 12.04 and have a Lenovo y470p which has a ati 7690m/intel 3000. I would really like to get the intel chip working because my battery life with the 7690m on is HORRIBLE!

I've attached a screenshot of what my catalyst shows as I'm not entirely sure what I have to type to get all of the version numbers etc. to display. I haven't used ubuntu since 7.10, so I am a bit rusty!

Also it should be noted that it is detecting that I have a 7670m, instead of 7690. Not too sure why it's doing that.http://i.imgur.com/2Ekfl.png

aeronutt
April 4th, 2012, 08:31 PM
I can't seem to get my intel graphics to work properly. My AMD graphics will load up just fine, but if I use catalyst to switch to intel, or if I do it via the command line with 'aticonfig --px-igpu' after I restart and login, nothing will display, it is simply the desktop wallpaper. There's no bar along the lefthand side or along the top. To fix it I just restart into the recovery mode and use 'aticonfig --px-dgpu' and then after I restart again everything is working ok.

I'm using 12.04 and have a Lenovo y470p which has a ati 7690m/intel 3000. I would really like to get the intel chip working because my battery life with the 7690m on is HORRIBLE!

I've attached a screenshot of what my catalyst shows as I'm not entirely sure what I have to type to get all of the version numbers etc. to display. I haven't used ubuntu since 7.10, so I am a bit rusty!

Also it should be noted that it is detecting that I have a 7670m, instead of 7690. Not too sure why it's doing that.http://i.imgur.com/2Ekfl.png


This sounds like the exact same problem I have. When you switch to integreated (intel) graphics, try using Unity 2D instead of Unity 3D.

For me, before I loaded fgrlx, intel integrated graphics and Unity3D worked fine. After loading fglrx, whoooohooo, I can now switch between integrated and discrete graphics, BUT, in integrated graphics mode, only Unity2D works.

Niccola
April 4th, 2012, 10:10 PM
This sounds like the exact same problem I have. When you switch to integreated (intel) graphics, try using Unity 2D instead of Unity 3D.

For me, before I loaded fgrlx, intel integrated graphics and Unity3D worked fine. After loading fglrx, whoooohooo, I can now switch between integrated and discrete graphics, BUT, in integrated graphics mode, only Unity2D works.

aeronutt, can you tell me if you have direct rendering when you're using Intel iGP?
just show the output of:



$ glxinfo | egrep render
thanks

bidget
April 5th, 2012, 05:08 AM
Alright! So I figured out how to get 2d to work (click the little ubuntu logo, very clever...) and the intel graphics seems to work just fine. I tried the glxinfo | egrep render and it spit out the following:

direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile

Any idea why catalyst would still be recognizing my graphics as 7670 instead of 7690 though? Maybe just because it's so new?



Also... Is it just me or do unity 2d/3d look exactly the same...?

sarathsnair
April 5th, 2012, 05:43 AM
i also have this problem

Niccola
April 5th, 2012, 09:27 AM
Alright! So I figured out how to get 2d to work (click the little ubuntu logo, very clever...) and the intel graphics seems to work just fine. I tried the glxinfo | egrep render and it spit out the following:

direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile

Any idea why catalyst would still be recognizing my graphics as 7670 instead of 7690 though? Maybe just because it's so new?



Also... Is it just me or do unity 2d/3d look exactly the same...?

bidget,
try to remove the file amdpcsdb in /etc/ati/ as root with the following command:


$ sudo rm /etc/ati/amdpcsdb then reboot and check it out again.

if it does not work, I think you have to wait for newer versions of Catalyst. You Graphic Card could too recent to this driver (for linux users) OR you card has the same chipset or identifier that the 7670

----------------------------------------------

Ok, I've figured out this problem (about no rendering at Intel iGP) when switching to iGP the direct render isn't working on intel.

So, I think that's the problem about Unity3D and also Gnome-shell error loading using iGP

When using a fresh installation, the direct render works successfully but, without any switch method.

I'm trying to fix iGP no direct rendering (I think it'll solve most of performance and hardware problem), but I have no so much time to put on it so if any of you want to help me just send me an email or lets talking in this thread.

:!: just some knowledge:
this error occurred with me in older version and just installing mesa-dri-experimental has solved the problem. However, this was solved on an old computer without Hybrid Graphics, I've installed it yesterday but without success (but no errors). If one of you want to test, be knowing that it doesn't causes any error for me and feel free to try the same.

:arrow: Are you using 12.04? :?:

Could you tell me what version of this packages you have?
xserver-xorg-core
xserver-xorg-common
xserver-xorg-video-all
and
xserver-xorg-video-intel

thanks

bidget
April 5th, 2012, 01:45 PM
I'll try installing mesa-dri-experimental when I get home from work tonight and see if that changes anything. I'll post all my other info as well. I definitely don't mind helping, it's a fresh installation that I'm working with on a new computer, so I really have nothing to lose.

What commands would I use to find out which versions of those packages/drivers I have?

Niccola
April 5th, 2012, 02:53 PM
I've found the solution!!!!!!


It's not necessary the mesa-dri-experimental package to solve the problem.
I've found a weird thing done by AMD fglrx driver during installation, but to make sure it'll work, let's verify if you have the same diagnostic:
First thing is about glxinfo, if it show no direct rendering, just execute this command:

LIBGL_DEBUG=verbose; glxinfo the first output lines, if appears a lot of 'libGL errors' like below:

libGL error: dlopen /usr/lib32/fglrx/dri/swrast_dri.so failed
libGL error: dlopen /usr/lib32/fglrx/dri/i915_dri.so failed

if you saw, there's an i915 dri driver that couldn't be loaded for some reason. As you can see, the directory is /usr/lib32/fglrx/dri/ but, if you ls this directory you will not see more than one driver named
fglrx_dri.so
So, I've figured out that when fglrx driver installs it changes the LIBGL_DRIVERS_PATH to its own particular path, such that is: /usr/lib/fglrx/dri:/usr/lib32/fglrx/dri
if you write the command below you'll see the output like above:

echo $LIBGL_DRIVERS_PATH
the output will be something like that: /usr/lib/fglrx/dri:/usr/lib32/fglrx/dri
if you have the same output as above you just have to add the directory where is the intel dri drivers, lets do that!

as you can see in this file : /etc/X11/Xsession.d/10fglrx

$ gksu gedit /etc/X11/Xsession.d/10fglrx


if [ `uname -m` = 'x86_64' ]; then
if [ -d /usr/lib32/fglrx/dri ]; then
LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri
if [ ! -z $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
fi
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32
export LD_LIBRARY_PATH
fi
fi
export LIBGL_DRIVERS_PATH
in the fourth line you have the LIBGL_DRIVERS_PATH defined as: /usr/lib/fglrx/dri:/usr/lib32/fglrx/dri
if you have the same as above, just add the following path in that fourth line:

for x86_64 (64 bits): /usr/lib/x86_64-linux-gnu/dri/

for x86 (32 bits) linux: /usr/lib32/dri/

just add is with a “:” (without quotes) in the end of 4th line and put the path above of your respective system to get the direct render working!
The file will be like this:
File /etc/X11/Xsession.d/10fglrx for 64 bits (x86_64) linux:


LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri
if [ `uname -m` = 'x86_64' ]; then
if [ -d /usr/lib32/fglrx/dri ]; then
LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri:/usr/lib/x86_64-linux-gnu/dri
if [ ! -z $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
fi
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32
export LD_LIBRARY_PATH
fi
fi
export LIBGL_DRIVERS_PATH
File /etc/X11/Xsession.d/10fglrx for 32 bits (x86) linux:


LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri
if [ `uname -m` = 'x86_64' ]; then
if [ -d /usr/lib32/fglrx/dri ]; then
LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri://usr/lib32/dri
if [ ! -z $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
fi
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32
export LD_LIBRARY_PATH
fi
fi
export LIBGL_DRIVERS_PATH
then save the /etc/X11/Xsession.d/10fglrx (must have root privileges) and reboot your system

then glxinfo | egrep render
and check it out if you'll have direct rendering!
Voilà! Shaazaam! Works

I've got gnome-shell loading and working sweeeeeeeeeetly without video tearing!!! XBMC also are working sweeeeetly and without video tearing! Good bye cruel World!!!!

Can someone tell me if Unity 3D works?

bidget
April 5th, 2012, 03:57 PM
Alright so what I take from that is I just have to edit the /etc/X11/Xsession.d/10fglrx file and add in the proper path to the drivers?

Would my path be the same or would it be something different? Can't wait to try this when I get home!

Niccola
April 5th, 2012, 04:27 PM
Alright so what I take from that is I just have to edit the /etc/X11/Xsession.d/10fglrx file and add in the proper path to the drivers?

Would my path be the same or would it be something different? Can't wait to try this when I get home!

Yes! You just have to edit it! BUT, make sure about the prognostic explained above

Good luck! ;D

Alexislavie
April 5th, 2012, 09:03 PM
Alright! So I figured out how to get 2d to work (click the little ubuntu logo, very clever...) and the intel graphics seems to work just fine. I tried the glxinfo | egrep render and it spit out the following:

direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile

Any idea why catalyst would still be recognizing my graphics as 7670 instead of 7690 though? Maybe just because it's so new?



Also... Is it just me or do unity 2d/3d look exactly the same...?

I think your graphic card isn't supported for the moment, this is why the driver use it as an 7670 instead of a 7690, and because this is not a 7670 you can't change the settings.

eug89
April 5th, 2012, 11:07 PM
I've found the solution!!!!!!


It's not necessary the mesa-dri-experimental package to solve the problem.
I've found a weird thing done by AMD fglrx driver during installation, but to make sure it'll work, let's verify if you have the same diagnostic:
First thing is about glxinfo, if it show no direct rendering, just execute this command:

LIBGL_DEBUG=verbose; glxinfo the first output lines, if appears a lot of 'libGL errors' like below:

libGL error: dlopen /usr/lib32/fglrx/dri/swrast_dri.so failed
libGL error: dlopen /usr/lib32/fglrx/dri/i915_dri.so failed

if you saw, there's an i915 dri driver that couldn't be loaded for some reason. As you can see, the directory is /usr/lib32/fglrx/dri/ but, if you ls this directory you will not see more than one driver named
fglrx_dri.so
So, I've figured out that when fglrx driver installs it changes the LIBGL_DRIVERS_PATH to its own particular path, such that is: /usr/lib/fglrx/dri:/usr/lib32/fglrx/dri
if you write the command below you'll see the output like above:

echo $LIBGL_DRIVERS_PATH
the output will be something like that: /usr/lib/fglrx/dri:/usr/lib32/fglrx/dri
if you have the same output as above you just have to add the directory where is the intel dri drivers, lets do that!

as you can see in this file : /etc/X11/Xsession.d/10fglrx

$ gksu gedit /etc/X11/Xsession.d/10fglrx


if [ `uname -m` = 'x86_64' ]; then
if [ -d /usr/lib32/fglrx/dri ]; then
LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri
if [ ! -z $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
fi
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32
export LD_LIBRARY_PATH
fi
fi
export LIBGL_DRIVERS_PATH
in the fourth line you have the LIBGL_DRIVERS_PATH defined as: /usr/lib/fglrx/dri:/usr/lib32/fglrx/dri
if you have the same as above, just add the following path in that fourth line:

for x86_64 (64 bits): /usr/lib/x86_64-linux-gnu/dri/

for x86 (32 bits) linux: /usr/lib32/dri/

just add is with a “:” (without quotes) in the end of 4th line and put the path above of your respective system to get the direct render working!
The file will be like this:
File /etc/X11/Xsession.d/10fglrx for 64 bits (x86_64) linux:


LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri
if [ `uname -m` = 'x86_64' ]; then
if [ -d /usr/lib32/fglrx/dri ]; then
LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri:/usr/lib/x86_64-linux-gnu/dri
if [ ! -z $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
fi
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32
export LD_LIBRARY_PATH
fi
fi
export LIBGL_DRIVERS_PATH
File /etc/X11/Xsession.d/10fglrx for 32 bits (x86) linux:


LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri
if [ `uname -m` = 'x86_64' ]; then
if [ -d /usr/lib32/fglrx/dri ]; then
LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri://usr/lib32/dri
if [ ! -z $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
fi
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32
export LD_LIBRARY_PATH
fi
fi
export LIBGL_DRIVERS_PATH
then save the /etc/X11/Xsession.d/10fglrx (must have root privileges) and reboot your system

then glxinfo | egrep render
and check it out if you'll have direct rendering!
Voilà! Shaazaam! Works

I've got gnome-shell loading and working sweeeeeeeeeetly without video tearing!!! XBMC also are working sweeeeetly and without video tearing! Good bye cruel World!!!!

Can someone tell me if Unity 3D works?

You're great!!!!:guitar:
I have a dv6 6178sl with radeon 6770m and I was struggling with this problem since I installed ubuntu on this laptop. I can confirm that by doing what you've described I'm able to run unity3d with the integrated graphic using catalyst 12.3 on ubuntu 12.04 beta2.
Thanks again:p

bidget
April 6th, 2012, 02:29 AM
so, here's the output I got. Don't see any errors here...


dan@derp:~$ LIBGL_DEBUG=verbose; glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_INTEL_swap_event
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_framebuffer_sRGB,
GLX_EXT_create_context_es2_profile, GLX_MESA_copy_sub_buffer,
GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read,
GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_EXT_texture_from_pixmap, GLX_INTEL_swap_event
GLX version: 1.4
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_MESA_multithread_makecurrent, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_EXT_texture_from_pixmap, GLX_INTEL_swap_event
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL version string: 1.4 (3.0 Mesa 8.0.2)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
GL_ARB_fragment_program_shadow, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_point_sprite,
GL_ARB_shadow, GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_vertex_program, GL_ARB_window_pos,
GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_copy_texture,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_object,
GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture,
GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle,
GL_EXT_vertex_array, GL_3DFX_texture_compression_FXT1,
GL_APPLE_packed_pixels, GL_ATI_draw_buffers, GL_ATI_texture_env_combine3,
GL_ATIX_texture_env_combine3, GL_IBM_texture_mirrored_repeat,
GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
GL_NV_blend_square, GL_NV_depth_clamp, GL_NV_light_max_exponent,
GL_NV_texgen_reflection, GL_NV_texture_env_combine4,
GL_NV_texture_rectangle, GL_NV_vertex_program, GL_NV_vertex_program1_1,
GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays

32 GLX Visuals
visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
----------------------------------------------------------------------------
0x021 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x022 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x090 24 tc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x091 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x092 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x093 24 tc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x094 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x095 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x096 24 tc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x097 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x098 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x099 24 tc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x09a 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x09b 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow
0x09c 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x09d 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow
0x09e 24 dc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x09f 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x0a0 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x0a1 24 dc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x0a2 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x0a3 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x0a4 24 dc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x0a5 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x0a6 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x0a7 24 dc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x0a8 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x0a9 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x0aa 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow
0x0ab 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x0ac 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow
0x05f 32 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None

48 GLXFBConfigs:
visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
----------------------------------------------------------------------------
0x060 0 tc 0 16 0 r . . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x061 0 tc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x062 0 tc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x063 0 tc 0 16 0 r . . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x064 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x065 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x066 24 tc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x067 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x068 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x069 24 tc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x06a 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x06b 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x06c 24 tc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x06d 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x06e 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x06f 24 tc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x070 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x071 32 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x072 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x073 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 16 16 16 0 0 0 Slow
0x074 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x075 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow
0x076 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x077 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow
0x078 0 dc 0 16 0 r . . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x079 0 dc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x07a 0 dc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x07b 0 dc 0 16 0 r . . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x07c 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x07d 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x07e 24 dc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x07f 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x080 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x081 24 dc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x082 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x083 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x084 24 dc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x085 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x086 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x087 24 dc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x088 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x089 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x08a 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x08b 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 16 16 16 0 0 0 Slow
0x08c 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x08d 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow
0x08e 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x08f 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow



Also I looked into the 7670/7690 issue and they are they exact same chip, only the 7690 is clocked at 725mhz instead of 600. My catalyst shows a 7670m clocked at 725mhz, so everything appears to be fine it's just displaying the wrong model number. I'm not too worried about it.

Where do I proceed from here though? I don't see any problems like you were explaining.

Should I just try adding the driver path to the file anyway...?

Niccola
April 6th, 2012, 07:26 AM
You're great!!!!:guitar:
I have a dv6 6178sl with radeon 6770m and I was struggling with this problem since I installed ubuntu on this laptop. I can confirm that by doing what you've described I'm able to run unity3d with the integrated graphic using catalyst 12.3 on ubuntu 12.04 beta2.
Thanks again:p

nice to hear that my solution works for you! ;D

Niccola
April 6th, 2012, 07:39 AM
so, here's the output I got. Don't see any errors here...


dan@derp:~$ LIBGL_DEBUG=verbose; glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_INTEL_swap_event
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_framebuffer_sRGB,
GLX_EXT_create_context_es2_profile, GLX_MESA_copy_sub_buffer,
GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read,
GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_EXT_texture_from_pixmap, GLX_INTEL_swap_event
GLX version: 1.4
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_MESA_multithread_makecurrent, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_EXT_texture_from_pixmap, GLX_INTEL_swap_event
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL version string: 1.4 (3.0 Mesa 8.0.2)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
GL_ARB_fragment_program_shadow, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_point_sprite,
GL_ARB_shadow, GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_vertex_program, GL_ARB_window_pos,
GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_copy_texture,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_object,
GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture,
GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle,
GL_EXT_vertex_array, GL_3DFX_texture_compression_FXT1,
GL_APPLE_packed_pixels, GL_ATI_draw_buffers, GL_ATI_texture_env_combine3,
GL_ATIX_texture_env_combine3, GL_IBM_texture_mirrored_repeat,
GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
GL_NV_blend_square, GL_NV_depth_clamp, GL_NV_light_max_exponent,
GL_NV_texgen_reflection, GL_NV_texture_env_combine4,
GL_NV_texture_rectangle, GL_NV_vertex_program, GL_NV_vertex_program1_1,
GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays

32 GLX Visuals
visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
----------------------------------------------------------------------------
0x021 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x022 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x090 24 tc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x091 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x092 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x093 24 tc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x094 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x095 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x096 24 tc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x097 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x098 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x099 24 tc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x09a 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x09b 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow
0x09c 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x09d 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow
0x09e 24 dc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x09f 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x0a0 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x0a1 24 dc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x0a2 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x0a3 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x0a4 24 dc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x0a5 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x0a6 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x0a7 24 dc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x0a8 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x0a9 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x0aa 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow
0x0ab 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x0ac 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow
0x05f 32 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None

48 GLXFBConfigs:
visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
----------------------------------------------------------------------------
0x060 0 tc 0 16 0 r . . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x061 0 tc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x062 0 tc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x063 0 tc 0 16 0 r . . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x064 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x065 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x066 24 tc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x067 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x068 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x069 24 tc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x06a 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x06b 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x06c 24 tc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x06d 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x06e 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x06f 24 tc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x070 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x071 32 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x072 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x073 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 16 16 16 0 0 0 Slow
0x074 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x075 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow
0x076 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x077 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow
0x078 0 dc 0 16 0 r . . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x079 0 dc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x07a 0 dc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x07b 0 dc 0 16 0 r . . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x07c 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x07d 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x07e 24 dc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x07f 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x080 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x081 24 dc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x082 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x083 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x084 24 dc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x085 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x086 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x087 24 dc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x088 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x089 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x08a 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x08b 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 16 16 16 0 0 0 Slow
0x08c 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x08d 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow
0x08e 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x08f 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow

Also I looked into the 7670/7690 issue and they are they exact same chip, only the 7690 is clocked at 725mhz instead of 600. My catalyst shows a 7670m clocked at 725mhz, so everything appears to be fine it's just displaying the wrong model number. I'm not too worried about it.

Where do I proceed from here though? I don't see any problems like you were explaining.

Should I just try adding the driver path to the file anyway...?

You can continue adding path anyway, but I know whats happens in your case:
I think you've installed liggl1-mesa-dri-experimental because your vendor on glxinfo shows SGI, and not Tungsten. That's why the errors doesn't appear. Remove it, it's not necessary as I said.

Can you please show the following outputs:

$ echo $LIBGL_DRIVERS_PATH

remove the libgl1-mesa-dri-experimental
reboot your machine
edit adding the path in 10fglrx file
reboot

l0o0
April 6th, 2012, 11:04 AM
I am in 12.04 with xserver-xorg-video-intel version 2.17. but when i install the catalyst 12.3, do sudo aticonfig --initial -f and reboot. Ubuntu is running in low graphic mode. how can i solve this problem.
my laptop is acer 4745, ati radeon5650 ande intel HD graphic(inside i5).
i really appreciate someone help me:p

bidget
April 6th, 2012, 11:18 AM
Alright, so I've removed the libgl1-mesa-dri-experimental package. I think in 12.04 it comes already installed, as I don't remember installing it... I also added the path to the intel driver.


dan@derp:~$ echo $LIBGL_DRIVERS_PATH
/usr/lib/fglrx/dri:/usr/lib32/fglrx/dri:/usr/lib/x86_64-linux-gnu
dan@derp:~$


But I still don't have the direct rendering working!


dan@derp:~$ glxinfo | egrep render
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
dan@derp:~$


When I check the glxinfo with the verbose option, I still get the following:


dan@derp:~$ LIBGL_DEBUG=verbose; glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_INTEL_swap_event
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_framebuffer_sRGB,
GLX_EXT_create_context_es2_profile, GLX_MESA_copy_sub_buffer,
GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read,
GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_EXT_texture_from_pixmap, GLX_INTEL_swap_event
GLX version: 1.4
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_MESA_multithread_makecurrent, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_EXT_texture_from_pixmap, GLX_INTEL_swap_event
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL version string: 1.4 (3.0 Mesa 8.0.2)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
GL_ARB_fragment_program_shadow, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_point_sprite,
GL_ARB_shadow, GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_vertex_program, GL_ARB_window_pos,
GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_copy_texture,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_object,
GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture,
GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle,
GL_EXT_vertex_array, GL_3DFX_texture_compression_FXT1,
GL_APPLE_packed_pixels, GL_ATI_draw_buffers, GL_ATI_texture_env_combine3,
GL_ATIX_texture_env_combine3, GL_IBM_texture_mirrored_repeat,
GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
GL_NV_blend_square, GL_NV_depth_clamp, GL_NV_light_max_exponent,
GL_NV_texgen_reflection, GL_NV_texture_env_combine4,
GL_NV_texture_rectangle, GL_NV_vertex_program, GL_NV_vertex_program1_1,
GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays

32 GLX Visuals
visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
----------------------------------------------------------------------------
0x021 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x022 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x090 24 tc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x091 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x092 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x093 24 tc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x094 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x095 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x096 24 tc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x097 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x098 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x099 24 tc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x09a 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x09b 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow
0x09c 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x09d 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow
0x09e 24 dc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x09f 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x0a0 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x0a1 24 dc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x0a2 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x0a3 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x0a4 24 dc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x0a5 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x0a6 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x0a7 24 dc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x0a8 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x0a9 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x0aa 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow
0x0ab 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x0ac 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow
0x05f 32 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None

48 GLXFBConfigs:
visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
----------------------------------------------------------------------------
0x060 0 tc 0 16 0 r . . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x061 0 tc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x062 0 tc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x063 0 tc 0 16 0 r . . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x064 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x065 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x066 24 tc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x067 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x068 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x069 24 tc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x06a 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x06b 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x06c 24 tc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x06d 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x06e 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x06f 24 tc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x070 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x071 32 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x072 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x073 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 16 16 16 0 0 0 Slow
0x074 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x075 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow
0x076 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x077 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow
0x078 0 dc 0 16 0 r . . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x079 0 dc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x07a 0 dc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x07b 0 dc 0 16 0 r . . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x07c 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x07d 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x07e 24 dc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x07f 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x080 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x081 24 dc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x082 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x083 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x084 24 dc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x085 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x086 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x087 24 dc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x088 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x089 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x08a 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x08b 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 16 16 16 0 0 0 Slow
0x08c 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x08d 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow
0x08e 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x08f 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow



:(

Niccola
April 6th, 2012, 03:29 PM
Alright, so I've removed the libgl1-mesa-dri-experimental package. I think in 12.04 it comes already installed, as I don't remember installing it... I also added the path to the intel driver.


dan@derp:~$ echo $LIBGL_DRIVERS_PATH
/usr/lib/fglrx/dri:/usr/lib32/fglrx/dri:/usr/lib/x86_64-linux-gnu
dan@derp:~$
But I still don't have the direct rendering working!


dan@derp:~$ glxinfo | egrep render
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
dan@derp:~$
When I check the glxinfo with the verbose option, I still get the following:


dan@derp:~$ LIBGL_DEBUG=verbose; glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_INTEL_swap_event
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_framebuffer_sRGB,
GLX_EXT_create_context_es2_profile, GLX_MESA_copy_sub_buffer,
GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read,
GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_EXT_texture_from_pixmap, GLX_INTEL_swap_event
GLX version: 1.4
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_MESA_multithread_makecurrent, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_EXT_texture_from_pixmap, GLX_INTEL_swap_event
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL version string: 1.4 (3.0 Mesa 8.0.2)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
GL_ARB_fragment_program_shadow, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_point_sprite,
GL_ARB_shadow, GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_vertex_program, GL_ARB_window_pos,
GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_copy_texture,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_object,
GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture,
GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle,
GL_EXT_vertex_array, GL_3DFX_texture_compression_FXT1,
GL_APPLE_packed_pixels, GL_ATI_draw_buffers, GL_ATI_texture_env_combine3,
GL_ATIX_texture_env_combine3, GL_IBM_texture_mirrored_repeat,
GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
GL_NV_blend_square, GL_NV_depth_clamp, GL_NV_light_max_exponent,
GL_NV_texgen_reflection, GL_NV_texture_env_combine4,
GL_NV_texture_rectangle, GL_NV_vertex_program, GL_NV_vertex_program1_1,
GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays

32 GLX Visuals
visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
----------------------------------------------------------------------------
0x021 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x022 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x090 24 tc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x091 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x092 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x093 24 tc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x094 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x095 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x096 24 tc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x097 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x098 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x099 24 tc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x09a 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x09b 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow
0x09c 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x09d 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow
0x09e 24 dc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x09f 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x0a0 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x0a1 24 dc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x0a2 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x0a3 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x0a4 24 dc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x0a5 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x0a6 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x0a7 24 dc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x0a8 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x0a9 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x0aa 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow
0x0ab 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x0ac 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow
0x05f 32 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None

48 GLXFBConfigs:
visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat
----------------------------------------------------------------------------
0x060 0 tc 0 16 0 r . . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x061 0 tc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x062 0 tc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x063 0 tc 0 16 0 r . . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x064 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x065 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x066 24 tc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x067 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x068 24 tc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x069 24 tc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x06a 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x06b 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x06c 24 tc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x06d 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x06e 24 tc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x06f 24 tc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x070 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x071 32 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x072 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x073 0 tc 0 16 0 r y . 5 6 5 0 . . 0 16 0 16 16 16 0 0 0 Slow
0x074 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x075 24 tc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow
0x076 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x077 24 tc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow
0x078 0 dc 0 16 0 r . . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x079 0 dc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x07a 0 dc 0 16 0 r y . 5 6 5 0 . . 0 0 0 0 0 0 0 0 0 None
0x07b 0 dc 0 16 0 r . . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x07c 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x07d 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x07e 24 dc 0 24 0 r . . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x07f 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x080 24 dc 0 24 0 r y . 8 8 8 0 . . 0 0 0 0 0 0 0 0 0 None
0x081 24 dc 0 24 0 r . . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x082 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x083 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x084 24 dc 0 32 0 r . . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x085 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x086 24 dc 0 32 0 r y . 8 8 8 8 . . 0 0 0 0 0 0 0 0 0 None
0x087 24 dc 0 32 0 r . . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x088 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x089 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x08a 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 0 0 0 0 0 0 None
0x08b 0 dc 0 16 0 r y . 5 6 5 0 . . 0 16 0 16 16 16 0 0 0 Slow
0x08c 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 0 0 0 0 0 0 None
0x08d 24 dc 0 24 0 r y . 8 8 8 0 . . 0 24 8 16 16 16 0 0 0 Slow
0x08e 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 0 0 0 0 0 0 None
0x08f 24 dc 0 32 0 r y . 8 8 8 8 . . 0 24 8 16 16 16 16 0 0 Slow

:(


sorry but I think your path is wrong!
You said your path as
/usr/lib/fglrx/dri:/usr/lib32/fglrx/dri:/usr/lib/x86_64-linux-gnu
when it should be
/usr/lib/fglrx/dri:/usr/lib32/fglrx/dri:/usr/lib/x86_64-linux-gnu/dri

I think you forgot the "dri" subdirectory that contains dri drivers

Niccola
April 6th, 2012, 03:34 PM
I am in 12.04 with xserver-xorg-video-intel version 2.17. but when i install the catalyst 12.3, do sudo aticonfig --initial -f and reboot. Ubuntuis running in low graphic mode. how can i solve this problem.
my laptop is acer 4745, ati radeon5650 ande intel HD graphic(inside i5).
i really appreciate someone help me:p

You should remove the installed driver and try again following the steps below: (to remove correctly, check this link (http://wiki.cchtml.com/index.php/Ubuntu_Oneiric_Installation_Guide#Removing_Catalys t.2Ffglrx))

before installing Catalyst 12.3 you should do the following things:

1- install packages dependencies of Catalyst:

sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases linux-headers-generic 2-install 32-bit library:

sudo apt-get install ia32-libs3- Create symlink between 64 and 32 libraries:

cd /usr ; sudo ln -svT lib /usr/lib64then install the driver 12.3
and sudo aticonfig --initial -f

reboot and check

Instructions can be read here (http://wiki.cchtml.com/index.php/Ubuntu_Oneiric_Installation_Guide)

sarathsnair
April 6th, 2012, 04:22 PM
i am new in this topic. i have dv6 6121tx from HP. it has 2 graphics processors

1. Integrated Intel GPU ( my processor is Core i7-2630QM)
2. Dedicated ATI 6770m

i want to use Ubuntu as my primary OS , but the Hybrid graphics problem will not permit me to use Ubuntu, because of the heating problem and less battery backup.
i came here this thread to resolve my problem. I heared that from 12.04 this problem will be resolved. Is that information is correct ?
i cant understand the solutions given in above posts such as intel ppa, sna, package and editing files , mesa,xorg etc. these are confusing me. I am new in linux. but once i used in my desktop i really love it.
can any one help give a step by step guide to resole this problem? Remember i am a beginner. At this moment i installed the ubuntu 12.04 beta and i have downloaded catalyst 12.3 driver. what is the next steps ?? thannks in advance

eug89
April 6th, 2012, 06:56 PM
i am new in this topic. i have dv6 6121tx from HP. it has 2 graphics processors

1. Integrated Intel GPU ( my processor is Core i7-2630QM)
2. Dedicated ATI 6770m

i want to use Ubuntu as my primary OS , but the Hybrid graphics problem will not permit me to use Ubuntu, because of the heating problem and less battery backup.
i came here this thread to resolve my problem. I heared that from 12.04 this problem will be resolved. Is that information is correct ?
i cant understand the solutions given in above posts such as intel ppa, sna, package and editing files , mesa,xorg etc. these are confusing me. I am new in linux. but once i used in my desktop i really love it.
can any one help give a step by step guide to resole this problem? Remember i am a beginner. At this moment i installed the ubuntu 12.04 beta and i have downloaded catalyst 12.3 driver. what is the next steps ?? thannks in advance
Hi, I basically have your same hardware. In order to install correctly the 12.3 driver I followed this guide http://wiki.cchtml.com/index.php/Ubuntu_Oneiric_Installation_Guide#Installing_Catal yst_Manually_.28from_AMD.2FATI.27s_site.29 up to the
sudo aticonfig --initial -f comand. Then I followed the steps Niccola posted yesterday http://ubuntuforums.org/showpost.php?p=11819555&postcount=107. This allows you to use Unity3d or gnome shell with the integrated graphic card (intel).
Lastly, if you want to achieve better battery consumption and working backlight comands you can follow this guide http://help.stedman.net.au/2011/10/xubuntu-1110-on-hp-dv6-6023tx.html only the first part though, where he describes how to edit the etc/default/grub file. Hope this helps solve your problems how it did for me.

bidget
April 6th, 2012, 07:59 PM
dan@derp:~$ glxinfo | egrep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
GL_NV_conditional_render, GL_ARB_ES2_compatibility,
dan@derp:~$


Woohoo!!! I'm also able to use Unity3D and gnome without issues on the integrated graphics.

Now all I have to do is figure out why alt+tab doesn't work and everything will be perfect!

Also I realize this is probably the wrong thread for this, but now that the rendering is working I have noticed a very significant hit to battery life. Before on integrated graphics I was getting about 4.5-5 hours of battery, and now I'm down to 2-3. Still a lot better than running off the ati graphics, but definitely an issue I wouldn't mind working on. Any recommendations?

sarathsnair
April 7th, 2012, 04:56 AM
Hi, I basically have your same hardware. In order to install correctly the 12.3 driver I followed this guide http://wiki.cchtml.com/index.php/Ubuntu_Oneiric_Installation_Guide#Installing_Catal yst_Manually_.28from_AMD.2FATI.27s_site.29 up to the
sudo aticonfig --initial -f comand. Then I followed the steps Niccola posted yesterday http://ubuntuforums.org/showpost.php?p=11819555&postcount=107. This allows you to use Unity3d or gnome shell with the integrated graphic card (intel).
Lastly, if you want to achieve better battery consumption and working backlight comands you can follow this guide http://help.stedman.net.au/2011/10/xubuntu-1110-on-hp-dv6-6023tx.html only the first part though, where he describes how to edit the etc/default/grub file. Hope this helps solve your problems how it did for me.

So i first install catalyst 12.3 ? Any steps before that ?

eug89
April 7th, 2012, 09:21 AM
So i first install catalyst 12.3 ? Any steps before that ?

Yes, you have nothing to do before installing catalyst 12.3. If you want you can try to edit the etc/default/grub file as described in the last link I've posted, it's not related with the graphic cards.
When you're installing the 12.3 drivers be sure to change the comand
sudo sh ./amd-driver-installer-12-3-x86.x86_64.run --buildpkg Ubuntu/oneiric in
sudo sh ./amd-driver-installer-12-3-x86.x86_64.run --buildpkg Ubuntu/precise since you have ubuntu 12.04 installed.

sarathsnair
April 7th, 2012, 11:14 AM
Yes, you have nothing to do before installing catalyst 12.3. If you want you can try to edit the etc/default/grub file as described in the last link I've posted, it's not related with the graphic cards.
When you're installing the 12.3 drivers be sure to change the comand
sudo sh ./amd-driver-installer-12-3-x86.x86_64.run --buildpkg Ubuntu/oneiric in
sudo sh ./amd-driver-installer-12-3-x86.x86_64.run --buildpkg Ubuntu/precise since you have ubuntu 12.04 installed.

i done all the steps u mentioned. but i have no luck. still the fan running noisly and the laptop heats much more. i knw that i cant do anything with ubuntu. First of alli didnt understand the commands and such terms used. i just copy and paste in terminal. Now i want to know that is this problem will completely resolve in new ubuntu 12.04 ? so that i can run without any problem. or is their any development regarding this issue by canonocal developers ?

Genero
April 7th, 2012, 12:58 PM
Salut Alexis,

Merci beaucoup de ta contribution pour ce sujet qui doit concerner de plus en plus de monde ;) Je vais essayer de suivre ta procédure avec une installation fraîche de 12.04. Je t'ai envoyé un message privé, j'espère que tu y répondra.

Bonne journée

-----------

Hi Alexis,

Thanks a lot for your involvement in this very interesting topic ! More and more users seem concerned these days. I will try to follow the different steps that you have described before, with a fresh installation of Precise 12.04 64bits. I sent you a private message at your hotmail's, I hope you will reply soon.

Bye.

pinguinhood
April 7th, 2012, 05:14 PM
sorry but I think your path is wrong!
You said your path as
/usr/lib/fglrx/dri:/usr/lib32/fglrx/dri:/usr/lib/x86_64-linux-gnu
when it should be
/usr/lib/fglrx/dri:/usr/lib32/fglrx/dri:/usr/lib/x86_64-linux-gnu/dri

I think you forgot the "dri" subdirectory that contains dri drivers

I had the same output of Niccola and the trick works to me!
Now my notebook is 100% working(and absolutely noiseless!)!!!

Notebook: Samsung Series 7 Chronos NP700Z5A-S02IT
Graphics: INTEL HD Graphics 3000 + AMD Radeon HD 6750M
OS: Ubuntu 12.04 + kernel 3.2.0-22-generic
xserver-xorg-video-intel + fglrx: from Ubuntu's repository
/etc/X11/Xsession.d/10fglrx: modify as above

Thanks to all!!!

aeronutt
April 7th, 2012, 09:58 PM
Darn, this didn't work for me. I could get to login screen but nothing else, is now hanging after entering password. I've tried to change file back to previous, but looks like something got corrupted. Might need to re-install 12.04 and try again. This is worth messing with to get it right . :)

aeronutt
April 9th, 2012, 02:16 AM
Got it working, awesome!! Reinstalled 12.04 beta, installed fglrx from the repositories, edited the one line in the file as described above, and all is good!! I can now run gnome-shell and unity3d with either AMD gpu or intel imbedded gpu.

Novak
April 9th, 2012, 10:03 PM
Is current beta 12.04 includes compatible Xorg version?I installed it but I havn't tried to do this because last time I tried this caused the same problems as in the case of aeronutt (http://ubuntuforums.org/member.php?u=761978).And how can I see which version of Intel drivers is using?This problem has frustrated me quite a while...

redhat24
April 13th, 2012, 10:02 PM
Hey!

I have a Dell Vostro 3350 with AMD video card. I've installed ubuntu 12.04 and the latest driver from amd.com (12.3).

Starting with discrete (
aticonfig --px-dgpu) it works fine with default Gnome (I think this is what you are referring as unity 3d), but my laptop gets warm really quick and the fan is really loud. (Though I get a good FPS in fgl_glxgears). When I switch to integrated (
aticonfig --px-igpu), if I start default Gnome it hangs up after login (no unity 3d), but with Gnome 2D option it starts, but flickers heavily (the cursor, the windows etc, it is really annoying).

I would prefer that AMD would be turn off (only integrated) by default and sometimes when I would need some 3D accel, I would turn it on, but integrated would have the primary usage.

Is anybody experiencing this aswell? I can provide any output I can get from commands you need.

Thanks for any guidance!

EDIT:
When I switch I get this in console:

PowerXpress info: Diagnostic output from /usr/lib/fglrx/switchlibglx:
update-alternatives: figyelj!: forcing reinstallation of alternative /usr/lib/pxpress/ld.so.conf because link group x86_64-linux-gnu_gl_conf is broken.
update-alternatives: figyelj!: skip creation of /etc/OpenCL/vendors/amdocl32.icd because associated file /usr/lib/fglrx/etc/OpenCL/vendors/amdocl32.icd (of link group x86_64-linux-gnu_gl_conf) doesn't exist.
update-alternatives: figyelj!: not replacing /usr/lib/x86_64-linux-gnu/xorg/extra-modules with a link.

PowerXpress: Integrated GPU is selected (Power-Saving mode), please restart Xserver(s) for changes to take effect!

I am using 64-bit version of Ubuntu 12.04. Maybe this is the one of the problems?

Alexislavie
April 14th, 2012, 06:35 PM
I'm going to update the 1st post, I installed Ubuntu 12.04 beta 2 today with fglrx (catalyst) 12.3 and it works very well. It seems that the new AMD driver doesn't need the intel driver to have been compiled with the sna option. Which really simplify all the installation.

Just one thing : with the integrated gpu (intel) my cursors blinks a few times everytime I move it, and this doesn't happen with the discrete gpu. Does anyone has an idea to fix this ?

EDIT: This may be because it's a beta version of Ubuntu. I hope it is because of this.

Alexislavie
April 14th, 2012, 06:39 PM
This is an history of the 1st post published. PLEASE DO NOT FOLLOW IT. GO TO THE FIRST POST TO GET THE INSTRUCTIONS.


As the title says there is way to get AMD/Intel Hybrid Graphics to work on Ubuntu and other Linux's distros. I'm actually writing this post under Ubuntu 11.10 and Gnome Shell on a Dell Vostro 3550 computer with a Intel HD 3000 integrated video device and a ATI/AMD 6630M video card, and the video device used right now is the AMD one.

So before, I tell you how did I do and what to know about how the AMD/Intel Switchable Graphics works, I believe it would be better to show you a screenshot, so here it is :

http://ubuntuforums.org/attachment.php?attachmentid=213167&stc=1&d=1330035570
*As you can notice my computer is in French, but I think this isn't a problem for a global understanding of the text.

I - How to make fglrx (the catalyst ATI/AMD driver) communicate with the intel driver ?

1 - Sandy Bridge New Acceleration -SNA

First of all, the major problem that users are faced when trying to install fglrx is that fglrx to communicate with the Intel driver and take control of the Xorg server need the Intel driver package : xserver-xorg-video-intel to have been compiled with the --enable-sna option. Otherwise without that option fglrx doesn't work at all and may not detect any AMD device on your computer. In fact the Sandy Bridge New Acceleration wasn't included into the xserver-xorg-video-intel package by Ubuntu because that option was known to be too much recent and was consequently a risk of many bugs for people who actually have a Intel video device.

2 - Version compatibility between fglrx and xserver-xorg-video-intel

In order to make fglrx properly works, the intel driver installed must be supported by the actual fglrx driver installed on your computer.

Here is what I know :

- flgrx (version < 12.1 && version >= 11.6) supports only as most recent the 2.15 Intel's driver version.

- fglrx (version = 12.1) now works with the latest Intel's driver version which is 2.17.
The conclusion is that no matter if xserver-xorg-video-intel has been compiled with the --enable option if it's version is not compatible with fglrx.

II - Xorg.conf and switching between the two graphics cards.

Supposing you just installed the proper drivers (fglrx + xserver-xorg-video-intel with SNA), you first need to create a xorg.conf, this can be simply done by entering this command :

sudo aticonfig --initial -fThis command outputs a valid Xorg.conf that indicate to the Xserver to give control of the display to the fglrx driver, nothing is mentioned about the Intel's driver in it.
A thing to note before you continue the reading is that when you actually switch between the graphics cards you will need to reboot your system in order to apply the changes.

To know what gpu is used enter this command in a terminal :

sudo aticonfig --pxlTo switch to the Intel gpu enter this command in a terminal :

sudo aticonfig --px-igpuTo switch to the AMD/ATI gpu enter this command in a terminal :

sudo aticonfig --px-dgpuNote : This can also be easily done with the catalyst gui as seen on my screenshot.

The two commands that switch the gpu secondarily calls two scripts installed automatically by fglrx. Those scripts contains command (mainly update-alternatives) to indicate to the system which GL's librairies the Xserver will have to use at next boot. Those two scripts are developed to work on any Debian based distros, so it totally works out of the box on Ubuntu.

III - How to install a correct version of xserver-xorg-video-intel and fglrx on Ubuntu to get AMD/Intel Hybrid Graphics to work. [TODO]

Sadly, there is actually no easy way to install a sna version of the xserver-xorg-video-intel driver, I plan to do a ppa containing it, so you better check this thread frequently. I hope I will be able to make it before the end of the week (26 February), if you want to help, please tell me. I suscribed to this thread, I will receive an email if anybody create a new post.
The Oneiric version of the package is 2.15.901 I will only compile that one and not the most recent to avoid bugs with Oneiric's Xorg version.

To install the latest AMD/ATI driver an easy way exists just check this page : http://wiki.cchtml.com/index.php/Ubuntu_Oneiric_Installation_Guide
But do not install it ! Before I release the Intel driver compiled with sna.

IV - AMD/Intel Hybrid Graphics in the Linux future.

As I said in the first part, by default there is actually no Linux distribution that provides the xserver-xorg-video-intel package compiled with --enable-sna. But recently Chris Wilson the main developper of this driver has released the 2.17 version of it (this is the version that will be included in Ubuntu 12.04), which according to him brings many bug fixes and performance improvements. What I hope is that Ubuntu and other distros will in the future provides by default the Intel driver compiled with sna, this would make our AMD hybrid card work out of the box after installation (if the package maintainer also check the compatibility with fglrx).

Sadly I don't think this will be available for Ubuntu 12.04 (I think it's too late to integrate new functionnality into the drivers that will be provided).
I'm asking every person reading this post, to create a post, to proove that we are many that depends on this sna option, to gain the attention of Ubuntu employees. An attention which I hope will lead to the adoption of the New Sandy Bridge Acceleration before the release of Ubuntu 12.10.


Any kind of help is welcome, and you can contact me at dev.lavie.alexis@gmail.com (dev-lavie.alexis@gmail.com)



Useful links :
http://forums.gentoo.org/viewtopic-p-6936730.html You can thanks that guy because his post really helped me to understand how the ati hybrid graphics works.
http://en.gentoo-wiki.com/wiki/Fglrx-hybrid-graphics You can also check this Gentoo wiki about hybrid graphics, this is some Gentoo's users that actually found first a solution on how to make AMD hybrid cards to work on Linux.

carlocb
April 15th, 2012, 01:28 AM
Hello everyone! This is my first posts in this forum. In fact I'm not even a ubuntu user (arch actually), but I'm following this as it seems the most updated thread in getting switchable graphics to work with linux in the whole www! :P
So...I have an HP pavilion dv6 6169sl with an intel i7 and radeon 6770hd I guess. I set the bios option to "fixed graphics" opposed to "dynamic" mode. I tried both however.
I tried with fedora 16, installed the fglrx drivers from directly from amd website and it worked. That is: the fglrx got the radeon card working BUT highly unstable. And by that I mean gnome was crashing like 2-3 times an hour. That is NOT usable and/or acceptable for me, so if your achievements are that the discrete graphic runs Xorg but it crashes every 10 minutes just tell me please. The switching feature provided by ccc did not work, so the discrete (buggy) card was the only available.

Then I installed arch linux (my favorite distro) and got running the intel card without heat issues (switching OFF the vgaswitcheroo on boot). The gnome-experience is exceptional: NO crashes ever. The vgaswitcheroo is not able to switch to the discrete card however, it just hangs even if doing it with init runlevel 3 (no X running).

I tried uninstalling the opensource ati drivers and recompiling the intel ones with --enable-sna feature (because with arch that is easy to do), then installing the ati drivers 12.3 from amd website.
NO LUCK this time.
What I mean is: (Xorg.0.log) ---
(EE) Screen 1 deleted because of no matching config section.
Backtrace:
0: /usr/bin/Xorg (xorg_backtrace+0x36) [0x55f646]
1: /usr/bin/Xorg (0x400000+0x163379) [0x563379]
[...] CUT
Segmentation fault at address 0x4
-----
Of course I tried googling the logs but with no luck (except this thread, which I tried reading whole: happened to some, but no answers for this issue).
So I'm here begging for help, because I know it has to work in some way...we need to get a better picture of it so it can be applied to every linux distro.
I'd like to ask to the ones that have this working (like the OP):
- what version of Xorg are you running?
- what version of intel xf86 drivers?
- kernel version?
- is kms or framebuffer working? do you get a nice splash screen?
And, most importantly: is everything really running smoothly? As in...no crashes with discrete, no crashes with internal? Flash player, virtualbox, opening java software like eclipse, mplayer...all running well with either cards?? I don't care about power consumption, as I am on ac like 99% of the times...hell...I wouldn't even care about the integrated if the discrete for which I payed lots of money worked as requested...I wasn't using integrated even on windows...
I just need my laptop to run with linux with no major issues...so if it means switching to ubuntu because we can't figure out how to adapt it I'll go with it...but I'd like to better understand everything...please! ;)

godofcrows
April 15th, 2012, 03:23 AM
Thanks so much been trying to get my gpu to work well with ubuntu for a while. Got it running on my acer 7750g-6444 with an amd 6650m. Ubuntu looks so beautiful now!! :guitar:

Alexislavie
April 15th, 2012, 10:26 AM
Thanks so much been trying to get my gpu to work well with ubuntu for a while. Got it running on my acer 7750g-6444 with an amd 6650m. Ubuntu looks so beautiful now!! :guitar:
Can you more describe your configuration ? Did you test HDMI out and VGA out ? Test them with the integrated and discrete card.

Alexislavie
April 15th, 2012, 10:50 AM
Please try this on a fresh install, AND DO NOT USE VGASWITCHEROO.
I never used Arch Linux, but it should works too if you follow the guide here: http://wiki.cchtml.com/index.php/Arch_Linux for the catalyst installation.
I encourage you to make a post on the Arch Linux forums, and post a link to the ubuntu thread, Arch Linux users may better help you.
As you asked, the system is very stable, with both cards. And power consumption is 4x lower now with the integrated gpu active.

linux-generic version : linux-meta (3.2.0.23.25) precise-proposed;
xorg version : xorg (1:7.6+12ubuntu1) precise;
xorg-server version : xorg-server (2:1.11.4-0ubuntu10) precise;
xserver-xorg-video-intel version : xserver-xorg-video-intel (2:2.17.0-1ubuntu4) precise;

carlocb
April 15th, 2012, 11:42 AM
Please try this on a fresh install, AND DO NOT USE VGASWITCHEROO.
I never used Arch Linux, but it should works too if you follow the guide here: http://wiki.cchtml.com/index.php/Arch_Linux for the catalyst installation.
I encourage you to make a post on the Arch Linux forums, and post a link to the ubuntu thread, Arch Linux users may better help you.
As you asked, the system is very stable, with both cards. And power consumption is 4x lower now with the integrated gpu active.

linux-generic version : linux-meta (3.2.0.23.25) precise-proposed;
xorg version : xorg (1:7.6+12ubuntu1) precise;
xorg-server version : xorg-server (2:1.11.4-0ubuntu10) precise;
xserver-xorg-video-intel version : xserver-xorg-video-intel (2:2.17.0-1ubuntu4) precise;
So...first of all thank you very very much for your answer! ;) The fact that it's stable is very reassuring for me. In fact I guess I'll try your method on ubuntu as soon as possible.
The strange thing is that I'm now in your same position, meaning that I have installed the same exact version of xorg-server, the intel driver and the catalyst driver. Strange thing is I'm still getting the same crash of the xorg-server...I thought it was related to the xorg version (was on 1.12 and it's said to not be compatible with catalyst...now I don't know what to think anymore... :(

carlocb
April 15th, 2012, 02:59 PM
Ok...soooo...things are starting to get weirder and weirder...but I'm actually understanding something maybe! I'm sure we can find a solution to get this working in every linux distro!!
So...first of all...I reinstalled the xserver (correct version). The libgl, intel-dri and intel xf86 drivers. Then I reinstalled the catalyst downloaded from amd's website and it is WORKING! What I mean is that discrete graphic card gets recognized and is usable (with direct rendering enabled).
I noted that, if you compile the xf86 intel drivers with --enable-sna (as suggested before) DOES NOT work! I have to omit it (--enable-dri only option).

Things are getting weird when trying to switch to the integrated card!!
aticonfig --px-igp tells me it can't do the switch (but it actually does it, if you do aticonfig --pxl afterwards you see that integrated is enabled).

-- INTERESTING OBSERVATION:
How does it do that (the switch)? It is my observation that it actually changes a symlink in /usr/lib/xorg/modules/extensions. That folder in my system looks like this:

1. BEFORE installing fglrx (but with intel driver installed) the libglx.so is a symlink to libglx.xorg in the very same folder.

2. WHEN you install fglrx it creates another symlink in that folder: FGL.renamed.libglx.so which points to libglx.xorg. It then makes the libglx.so symlink point to fglrx/fglrx-libglx.so --> this is with DISCRETE graphics selected.

3. SWITCHING means simply changing the libglx.so to point to FGL.renamed.libglx.so...which is nothing more than a pointer to libglx.xorg THEREFORE the situation will be the same as when you were using simply the intel driver, even without fglrx installed.

NOW...what happens is that the aticonfig --px-igp changes that symlink BUT it leaves the xorg.conf which states that Xorg server should use as graphic card the PCI id 1:0:0 (ati card) with the fglrx driver...Xorg crashes!!
I found two equal solutions to this issue:
1. moving /etc/X11/xorg.conf to xorg.conf.old for example
2. editing xorg.conf to have PCI id 0:2:0 (intel card) with the intel driver
Now X starts fine on the intel graphic BUT direct rendering is NOT working. Why? Because of the variables you talked about: if I cat $LIBGL_DRIVERS_PATH in my system it points to /usr/lib32/dri:/usr/lib/dri
folder which contains only the fglrx_dri.so
The correct folder (after intel switching) would be /usr/lib/xorg/modules/dri which contains i915_dri.so and such...

Now the answer is: since I don't have the /etc/X11/xorg.conf.d/10-fglrx file you are talking about...how can I have that variable properly set up when I make the switch?? If I get that right, then I could write a little scripts which does the switch:
1. change the libglx.so symlink to intel one
2. move the xorg.conf out of the way (or maybe not)
3. use the proper $LIBGL_DRIVERS_PATH
4. start gdm

I also have a little concern about the fglrx driver actually switching off the intel card when using the discrete and viceversa. Why?? Because the i915 module gets loaded on boot and it provides the kms, so I doubt it can be shut off.

Other little concern...try doing the following:
1. start X on the discrete card
2. switch to integrated
3. start X on the integrated
4. switch back to the discrete
5. start X again on the discrete
Do you get a KERNEL PANIC doing this?? That is the case for me. It seems it can't switch again to the discrete card (reproducible error for me). Hard-rebooting however gets the discrete loaded again first an with no issues...

carlocb
April 15th, 2012, 03:27 PM
Ok...I tried changing the $LIBGL_DRIVERS_PATH to the correct one after switching to integrated card but still no luck :(

Thing is REALLY weird, because the single drivers alone are working well. I can use intel drivers correctly if i uninstall fglrx and I can use fglrx right now (with intel drivers installed). But intel drivers don't work anymore...I can't make the switch!! WTF???

delsus
April 15th, 2012, 03:38 PM
Still can't get this working properly with my ATI 5470 card, here is my current xorg.conf, I'm not sure if its been setup properly


Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
Option "UseFastTLS" "1"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
What seems off to me is under the Device subsection it says Identifier "aticonfig-Device[0]-0" rather than naming my card, aticonfig --list-adapters shows it as a
0. 01:00.0 ATI Mobility Radeon HD 5000 Series Most of what I am seeing in here is 6000 series cards getting it working and anyone that uses a 5000 series is having problems (on 12.4) of it booting into low graphics mode, I have installed all prereqs with the following commands from the terminal.



sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 sudo apt-get install dkms libqtgui4 wget execstack libelfg0 dh-modaliases sudo apt-get install linux-headers-generic xserver-xorg-core libgcc1

sudo apt-get install ia32-libs lib32gcc1 libc6-i386
cd /usr ; sudo ln -svT lib /usr/lib64

Any help will be appreciated, this is really annoying me now nothing seems to work for my card everything
I do to solve it makes it boot into low graphics mode using the fglrx driver, also curiously after I have run
aticonfig --initial I cannot use fglrxinfo I get the error:


X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 136 (GLX)
Minor opcode of failed request: 19 (X_GLXQueryServerString)
Serial number of failed request: 12


I don't mind editing xorg.conf manually if someone can provide one that should work with my card to try it.

Which does make me think I am missing something, please help.

carlocb
April 15th, 2012, 04:40 PM
I'm decided to understand this better that I can: I'll try installing ubuntu precise now and see how it works with OP instructions...

eug89
April 15th, 2012, 07:10 PM
Couple of days ago I did exactly what you described on the first post thanks to Niccola's help, now everything's working fine on my hp dv6 6178sl.
You can add this to the first page:
HP DV6-6178sl, i7 2670QM, Intel HD 3000, AMD 6770m, igpu<->dgpu switch: working, Unity3D/Gnome shell on Intel: working, HDMI Intel/AMD: working/working, VGA Intel/AMD: working/working
Ubuntu 12.04 beta 2 + catalyst 12.3 + 3.3.1-030301-generic
To improve power consumption I added these lines

pcie_aspm=force i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1
On GRUB_CMDLINE_LINUX_DEFAULT in the /etc/default/grub file as described in this article http://www.phoronix.com/scan.php?page=article&item=intel_i915_power&num=1(I also added acpi_backlight=vendor in order to get the backlight controls to work on this laptop).
Thanks again for this useful thread!

carlocb
April 15th, 2012, 08:40 PM
Ok...ubuntu 12.04 beta2 definitely works as written by the OP. This is great! Still can't figure out why is this, but I will...I hope!
Interesting thing to note (don't know if it's the same for you)...when I'm using discrete graphics if I go under "System Settings" > "Details" > "Overview" or "Graphics" show "unknown driver". Intel one is correctly recognized when using discrete instead.
All the other non-working distros I tried (fedora, linux mint 12, archlinux) all showed correctly the fglrx driver when using discrete graphics...it was impossible however to switch to discrete...so this is definitely the best solution so far! ;)

EDIT: Actually now (after reboot which keeps the integrated enabled...WOW!) I tried switching to discrete...it's very nice and flawless and radeon hd6700 series gets correctly recognized in unity "system settings"...

EDIT: Been testing a little more...with java, vbox (things I had real troubles using with ati&fglrx in other distros)...it is working WONDERFULLY!! XD
So far no crashes _whatsoever_ of the Xorg server or gnome...of course I'm using unity (which I hate)...I would like to try out gnome-shell to see if something changes (like the crashes)...but I'm a little reluctant now that everything is finally working properly (been trying for a week to get this working).
OK...did that...gnome-shell 3.4 WORKS and is STABLE with both cards! ;)

EDIT --- IMPORTANT!!!
Have you tried suspend / hibernate using the fglrx driver on both cards??
This is what I'm observing: using the "suspend" from gnome (or unity) results in a system freeze or kernel panic (visible) *before* the actual suspension takes place and with *both* cards (fglrx is supposed to have problems with suspend from what I've read).
Using pm-suspend command from a root terminal (inside X) works fine on the intel, I'll try the discrete tomorrow I guess.
It is interesting if this means that gnome "suspend" feature doesn't use the well-tested and stable pm-utils (since using pm-suspend directly doesn't result in a crash). It should be possible to bypass gnome controls completely (like closing lid, pressing button, etc.) and just write the appropriate acpid script calling pm-utils (which provide also the hibernate, that is not available in my ubuntu for some misterious reasons)...

sarathsnair
April 16th, 2012, 03:30 PM
Is the hybrid graphics problem is over ?? !!! Can i install ubuntu 12.04 beta 2 in my laptop with switchable graphics intel hd3000/ati redeon 6770m ? unuty 3d/gnome 3 shel works well with Integrated gpu ?

Tinek
April 16th, 2012, 03:35 PM
Hi all!

I'm a french Ubuntu user trying to fix these switching problems too :D
('scuse for the poor english level)
First of all thanks for your work (I mean all of you trying and trying, and other www contributors).

I found this thread yesterday and I hoped I could add my config in the hardware supported list today. I hoped!.. But something went wrong. I'm always stuck with a "running on low graphic mode" at the beginning. And this time any way to choose reconfigure graphics or anything, I'm sent on tty1. So I think I'll wait a little more (still waiting and trying since 10.04lts ;)).
But I'd like to help a little if I can!

I also have a few questions about Mux(ed/less) :

-I read that muxless cards are powerXpress >=4.0 ati cards (so then all cards newer than HD6xxx series) can we conclude that every card under hd6xxx is muxed?! That could explain the fact I didn't see that any HD 5xxx/4xxx user was able to run Catalyst drivers properly
-Could Catalysts Drivers can run on muxed configs? In the page 3 it's told that no, but later on the topic someone say that it works.

One more last thing : while trying to solve my problems I tried a "dsmeg | grep VGA" and then found a
"[Firmware Bug] : Duplicate ACPI video bus devices for the same VGA controller, plesae try module parameter "video.allow_duplicates=1" if the current driver doesn't work"
Maybe it can help ;)

Keep it up!
Tinek

aeronutt
April 16th, 2012, 03:53 PM
Is the hybrid graphics problem is over ?? !!! Can i install ubuntu 12.04 beta 2 in my laptop with switchable graphics intel hd3000/ati redeon 6770m ? unuty 3d/gnome 3 shel works well with Integrated gpu ?

I'd say you have a good chance of it working with your configuration. But, there's only one way to know for sure. And remember, this IS still beta.

Alexislavie
April 16th, 2012, 05:05 PM
Ok...ubuntu 12.04 beta2 definitely works as written by the OP. This is great! Still can't figure out why is this, but I will...I hope!
Interesting thing to note (don't know if it's the same for you)...when I'm using discrete graphics if I go under "System Settings" > "Details" > "Overview" or "Graphics" show "unknown driver". Intel one is correctly recognized when using discrete instead.
All the other non-working distros I tried (fedora, linux mint 12, archlinux) all showed correctly the fglrx driver when using discrete graphics...it was impossible however to switch to discrete...so this is definitely the best solution so far! ;)

EDIT: Actually now (after reboot which keeps the integrated enabled...WOW!) I tried switching to discrete...it's very nice and flawless and radeon hd6700 series gets correctly recognized in unity "system settings"...

EDIT: Been testing a little more...with java, vbox (things I had real troubles using with ati&fglrx in other distros)...it is working WONDERFULLY!! XD
So far no crashes _whatsoever_ of the Xorg server or gnome...of course I'm using unity (which I hate)...I would like to try out gnome-shell to see if something changes (like the crashes)...but I'm a little reluctant now that everything is finally working properly (been trying for a week to get this working).
OK...did that...gnome-shell 3.4 WORKS and is STABLE with both cards! ;)

EDIT --- IMPORTANT!!!
Have you tried suspend / hibernate using the fglrx driver on both cards??
This is what I'm observing: using the "suspend" from gnome (or unity) results in a system freeze or kernel panic (visible) *before* the actual suspension takes place and with *both* cards (fglrx is supposed to have problems with suspend from what I've read).
Using pm-suspend command from a root terminal (inside X) works fine on the intel, I'll try the discrete tomorrow I guess.
It is interesting if this means that gnome "suspend" feature doesn't use the well-tested and stable pm-utils (since using pm-suspend directly doesn't result in a crash). It should be possible to bypass gnome controls completely (like closing lid, pressing button, etc.) and just write the appropriate acpid script calling pm-utils (which provide also the hibernate, that is not available in my ubuntu for some misterious reasons)...

Hibernation doesn't work yes, I didn't test suspend.

sarathsnair
April 16th, 2012, 05:12 PM
I'd say you have a good chance of it working with your configuration. But, there's only one way to know for sure. And remember, this IS still beta.

i just want to know that is the switchable graphics work well on bete 2 ?

Alexislavie
April 16th, 2012, 05:16 PM
Well I discovered some little bugs, they are not related with my solution. If someone has any idea how to correct them, please tell me.
- On Gnome Classic (gnome-panel), when playing fullscreen flash videos on the AMD graphic, the top and bottom defaults panels doesn't hide, this do not happen when using the Intel graphic. This may be an aticonfig or compiz problem.
- I experience screen tearing when playing fullscreen videos (Unity, Gnome Classic or Gnome Shell), I tried many settings, nothing worked. In Catalyst Control Center on my precedent computer they were a "Tear Free Desktop" option, I had to tick it, and deactivate Sync to VBlank on compiz and screen tearing disappeared. Problem : there is no such option in Catalyst Control Center for hybrid graphics cards. Do someone knows the aticonfig equivalent command ? Maybe it can be activated via command line ?

Can someone help me and confirm those two bugs ?

Alexislavie
April 16th, 2012, 05:24 PM
i just want to know that is the switchable graphics work well on bete 2 ?
Yep it works well, just a few screen tearing problems when playing fullscreen videos.
What is your configuration ?

Alexislavie
April 16th, 2012, 05:36 PM
Hi all!

I'm a french Ubuntu user trying to fix these switching problems too :D
('scuse for the poor english level)
First of all thanks for your work (I mean all of you trying and trying, and other www contributors).

I found this thread yesterday and I hoped I could add my config in the hardware supported list today. I hoped!.. But something went wrong. I'm always stuck with a "running on low graphic mode" at the beginning. And this time any way to choose reconfigure graphics or anything, I'm sent on tty1. So I think I'll wait a little more (still waiting and trying since 10.04lts ;)).
But I'd like to help a little if I can!

I also have a few questions about Mux(ed/less) :

-I read that muxless cards are powerXpress >=4.0 ati cards (so then all cards newer than HD6xxx series) can we conclude that every card under hd6xxx is muxed?! That could explain the fact I didn't see that any HD 5xxx/4xxx user was able to run Catalyst drivers properly
-Could Catalysts Drivers can run on muxed configs? In the page 3 it's told that no, but later on the topic someone say that it works.

One more last thing : while trying to solve my problems I tried a "dsmeg | grep VGA" and then found a
"[Firmware Bug] : Duplicate ACPI video bus devices for the same VGA controller, plesae try module parameter "video.allow_duplicates=1" if the current driver doesn't work"
Maybe it can help ;)

Keep it up!
Tinek

That thread is for muxless systems only.

sarathsnair
April 16th, 2012, 05:37 PM
Yep it works well, just a few screen tearing problems when playing fullscreen videos.
What is your configuration ?

I have dv6 6121tx. Intel core i7-2630QM , Intel HD 3000 / HD radeon 6770m gpu. 4gb ram. Now i am downloading ubuntu 12.04 beta 2 and catalyst 12.3 fglrx driver. Is their any additional requirements ? I am going to install both. will it work ?

Alexislavie
April 16th, 2012, 05:41 PM
I have dv6 6121tx. Intel core i7-2630QM , Intel HD 3000 / HD radeon 6770m gpu. 4gb ram. Now i am downloading ubuntu 12.04 beta 2 and catalyst 12.3 fglrx driver. Is their any additional requirements ? I am going to install both. will it work ?

I think it should work with your amd card.

Tinek
April 16th, 2012, 07:59 PM
That thread is for muxless systems only.

Ok, huum so then I don't understand something :



(...)
1- This guide work in MUXED CARDS.
2- This guide WORK in MUXLESS cards that have bios choice for primary card (most of ones here that work have this and doesn't know it).
(...)


Is there a mistake in the wegah post? The Launchpad page let me think that muxed systems are ok with this method...

I suggest you adding a little part a the beginning of the post.
EDIT: oooops, you did it !

thanks,

carlocb
April 16th, 2012, 08:48 PM
You can write my configuration as fully working however!
HP Pavilion DV6 6169sl - ATI radeon HD6770M + Intel i7. Everything works with this tutorial...tried also using my external monitor (when on integrated graphics)...no issues whatsoever! ;) Great work!!

htrex
April 16th, 2012, 11:01 PM
I've found the solution!!!!!!


It's not necessary the mesa-dri-experimental package to solve the problem.
I've found a weird thing done by AMD fglrx driver during installation, but to make sure it'll work, let's verify if you have the same diagnostic:
First thing is about glxinfo, if it show no direct rendering, just execute this command:

LIBGL_DEBUG=verbose; glxinfo the first output lines, if appears a lot of 'libGL errors' like below:

libGL error: dlopen /usr/lib32/fglrx/dri/swrast_dri.so failed
libGL error: dlopen /usr/lib32/fglrx/dri/i915_dri.so failed

if you saw, there's an i915 dri driver that couldn't be loaded for some reason. As you can see, the directory is /usr/lib32/fglrx/dri/ but, if you ls this directory you will not see more than one driver named
fglrx_dri.so
So, I've figured out that when fglrx driver installs it changes the LIBGL_DRIVERS_PATH to its own particular path, such that is: /usr/lib/fglrx/dri:/usr/lib32/fglrx/dri
if you write the command below you'll see the output like above:

echo $LIBGL_DRIVERS_PATH
the output will be something like that: /usr/lib/fglrx/dri:/usr/lib32/fglrx/dri
if you have the same output as above you just have to add the directory where is the intel dri drivers, lets do that!

as you can see in this file : /etc/X11/Xsession.d/10fglrx

$ gksu gedit /etc/X11/Xsession.d/10fglrx


if [ `uname -m` = 'x86_64' ]; then
if [ -d /usr/lib32/fglrx/dri ]; then
LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri
if [ ! -z $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
fi
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32
export LD_LIBRARY_PATH
fi
fi
export LIBGL_DRIVERS_PATH
in the fourth line you have the LIBGL_DRIVERS_PATH defined as: /usr/lib/fglrx/dri:/usr/lib32/fglrx/dri
if you have the same as above, just add the following path in that fourth line:

for x86_64 (64 bits): /usr/lib/x86_64-linux-gnu/dri/

for x86 (32 bits) linux: /usr/lib32/dri/

just add is with a “:” (without quotes) in the end of 4th line and put the path above of your respective system to get the direct render working!
The file will be like this:
File /etc/X11/Xsession.d/10fglrx for 64 bits (x86_64) linux:


LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri
if [ `uname -m` = 'x86_64' ]; then
if [ -d /usr/lib32/fglrx/dri ]; then
LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri:/usr/lib/x86_64-linux-gnu/dri
if [ ! -z $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
fi
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32
export LD_LIBRARY_PATH
fi
fi
export LIBGL_DRIVERS_PATH
File /etc/X11/Xsession.d/10fglrx for 32 bits (x86) linux:


LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri
if [ `uname -m` = 'x86_64' ]; then
if [ -d /usr/lib32/fglrx/dri ]; then
LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri://usr/lib32/dri
if [ ! -z $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
fi
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32
export LD_LIBRARY_PATH
fi
fi
export LIBGL_DRIVERS_PATH
then save the /etc/X11/Xsession.d/10fglrx (must have root privileges) and reboot your system

then glxinfo | egrep render
and check it out if you'll have direct rendering!
Voilà! Shaazaam! Works

I've got gnome-shell loading and working sweeeeeeeeeetly without video tearing!!! XBMC also are working sweeeeetly and without video tearing! Good bye cruel World!!!!

Can someone tell me if Unity 3D works?

It works like a charm,
Thank you Niccola!

sarathsnair
April 17th, 2012, 05:01 AM
I installed ubuntu 12.04 and catalyst 12.3 then run
sudo aticonfig --initial -f then i restarted. But ubuntu running in low graphics mode message appears. I dont know what to do. One thing is that i didnt run "sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases linux-headers-generic" before installing catalyst 12.3. Is this is the problem ? how can i uninstall catalyst 12.3 drivers ? And also i cant decrease brightness using function keys ( F3 to increase F2 to decrease ). So it is very hard to look into the screen. Tell me how to resolve this problem also

Unclean009
April 17th, 2012, 07:20 AM
I can confirm the methods listed in the OP working on my system.
I have an HP Probook 4530s running AMD Radeon HD 6490M w/ Intel HD 3000

offnix
April 17th, 2012, 07:20 AM
Hi all,
my configuration is:
ACER 7750g, Intel HD 3000, AMD 6650m, HDMI Intel/AMD: not tested/not tested, VGA Intel/AMD: not tested/not tested

you can mark this as tested and working.

thanks for the support.

OffNix :-)

Alexislavie
April 17th, 2012, 07:45 AM
I installed ubuntu 12.04 and catalyst 12.3 then run
sudo aticonfig --initial -f then i restarted. But ubuntu running in low graphics mode message appears. I dont know what to do. One thing is that i didnt run "sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases linux-headers-generic" before installing catalyst 12.3. Is this is the problem ? how can i uninstall catalyst 12.3 drivers ? And also i cant decrease brightness using function keys ( F3 to increase F2 to decrease ). So it is very hard to look into the screen. Tell me how to resolve this problem also

Just reinstall ubuntu it will be simpler than trying to fix your system. Don't forget anything this time while reading the tutorial.

Alexislavie
April 17th, 2012, 07:50 AM
You can write my configuration as fully working however!
HP Pavilion DV6 6169sl - ATI radeon HD6770M + Intel i7. Everything works with this tutorial...tried also using my external monitor (when on integrated graphics)...no issues whatsoever! ;) Great work!!

Please don't forget to mention VGA and HDMI, "external monitor working" isn't enough.
Intel HD 3000 ?

sarathsnair
April 17th, 2012, 08:05 AM
Just reinstall ubuntu it will be simpler than trying to fix your system. Don't forget anything this time while reading the tutorial.

can u explain little more ? Which guide i follow ?

iowabeakster
April 17th, 2012, 08:34 AM
I followed the new instructions in the first post, exactly.

OS is an up-to-date 12.04.

Computer is a new Asus B43S-X51, intel i5- 2520, with an ATI 6470 card.

I also got the low graphics graphics warning. Removing the xorg.conf file did not bring back the 2D desktop either. I have made a few attempts of installing Catalyst driver prior to today, and I used to be able to get the desktop back after removing the xorg.conf file. So, I had to reinstall the OS (now done 3 times trying to get this working).

Is it possible to get the direct rendering on the integrated chip, without installing fglrx first?

carlocb
April 17th, 2012, 11:07 AM
I followed the new instructions in the first post, exactly.

OS is an up-to-date 12.04.

Computer is a new Asus B43S-X51, intel i5- 2520, with an ATI 6470 card.

I also got the low graphics graphics warning. Removing the xorg.conf file did not bring back the 2D desktop either. I have made a few attempts of installing Catalyst driver prior to today, and I used to be able to get the desktop back after removing the xorg.conf file. So, I had to reinstall the OS (now done 3 times trying to get this working).

Is it possible to get the direct rendering on the integrated chip, without installing fglrx first?

Of course you can...that is the "easy" thing! ;) Just make sure you have the i915 and radeon modules, then
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
Don't make an xorg.conf, the intel card will be recognized by default...
Of course if you would like to install the fglrx afterwards, you'll need to blacklist the radeon module.

nico@nc
April 17th, 2012, 02:50 PM
Hello,

I tried these instructions with the following configuration, and it almost works.

* Computer: Sony VAIO VPC SE series.
* Graphic cards: AMD Radeon HD 6470M 512Mo + Intel HD 3000

The problem is that even though direct rendering is said to be enabled:

nicolas@nico-ubuntu:~$ glxinfo | egrep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
GL_EXT_vertex_array_bgra, GL_NV_conditional_render,
...Unity "3D" interface doesn't appear after login. I only get a functional desktop, but no sidebar nor "top bar". And the problem is the same using any of the two GPUs.

It however works when choosing "Ubuntu 2D" (ie. no desktop effect) at login.

What could be wrong?

Thank you!

edit: I am using Ubuntu 11.10 (apparently, I can't change my profile as I have less than 50 posts)

ubik89
April 17th, 2012, 06:11 PM
It works!

I've got a Lenovo G-770 and my graphic cards are Intel HD 3000 and Radeon HD 6650M.

But there is a problem.

When activating the radeon card, there is tearing. Anybody knows how to fix it?

Using the intel one, there is no tearing.

carlocb
April 17th, 2012, 06:58 PM
Please don't forget to mention VGA and HDMI, "external monitor working" isn't enough.
Intel HD 3000 ?

Sorry...tried VGA, no money for the hdmi cable, lol! ;)

Goronok
April 17th, 2012, 07:11 PM
Does anyone know if an Envy 13 is considered a muxed or muxless setup? I have an intel GMA4500HD and an ATI HD 4330 which does not switch automatically, but also does not have an option in BIOS to switch. Everything is done within software on the windows side of things.

Any chance the directions in the OP will work for me? The intel card works fine off of a fresh install, but it's also the only option. Installing the Radeon or FGLRX drivers brings me to a non-booting system, forcing a full OS re-install.

I'm on 11.10 - any help that you guys can provide would be greatly appreciated!

carlocb
April 18th, 2012, 12:05 AM
Ok guys...I did a little more testing, so here are my findings...

1. Tried again to get this working on archlinux, but with no success. Discrete works fine, intel doesn't as before. The --px-igpu says it can't switch to the integrated, while in fact it does (changing the symlink libglx.so to the intel one)...but there surely is more than that.
What I mean is that managing the symlink is one thing, and is probably all switchlibGL and switchlibglx do.
This is confirmed by the fact that if you look at those script on ubuntu (installing with the ati installer, not via apt!!) they are written in python and with a VERY INTERESTING "Copyright 2011 Canonical Ltd."!! Interesting because this could be the reason why I couldn't get this f*** driver to work on *any* distro I tried, *but* ubuntu, lol! ;) Those scripts are different on different distros, where the "official" amd ones use the symlinking, debian uses update-alternatives and the gentoo hack (on the wiki) uses eselect opengl. It is basically the same thing and those scripts should work (and I bet they do).
It is also confirmed by the fact that the error message I see when I try the --px-igpu is not present in those script.
Soooo the error could be in the part (which is yet to find) where the fglrx actually "tells" our cards something like "power off discrete, switch to integrated". In fact the laptop fans spin a lot, as if both the cards were active...
Now...how could this part be distro-dependent is really strange because I figure this is the "driver" or "kernel-module" part as I see it, and that should be unaffected by things as xorg version, xf86 intel drivers, etc. It could however depend on a kernel version or config?? O_o But that would be really strange...I don't know, I'm open to your ideas as well...

2. (On Ubuntu) Since now I always used the integrated graphics and it works flawlessly so far. I tried to better test the discrete this evening.
Happy to say pm-suspend WORKS on this one too! :D So that's a problem of the gnome sleep management which is easily corrected if you do use suspend function a lot like me.
The card does indeed show tearing issues with fullscreen vids, and that's sad! :(
There is a REALLY strange bug I noticed just now: the battery icon in the statusbar doesn't get drawn when using the ati card: it's a clickable black spot. Doing "alt+F2 - r" resulted in a gnome crash, "ctrl+alt+F1 - killall Xorg" and that battery icon still isn't showing up, so it could really be related somehow to the driver.

In the end, amd should *really* be doing something for their lame ****** driver. It sucked years ago, in the ati-era. It continues to suck now. Their catalyst control center is something horrible and a pain-in-the-*** also on windows. The whole thing is basically rubbish. We are their customers, not beta-testers or whatsoever...I'll NEVER EVER EVER buy a f**** ati card again!! :(
(sorry for the swearing against amd but I'm so tired of trying to get to work something that should just work at least at a *DECENT* level and for which I payed for)

Niccola
April 18th, 2012, 03:08 PM
It's always a pleasure for me help the linux community. A lot of bugs in AMD/Intel Hybrid graphics in the linux world were fixed in the past days, any contributions is always welcome.

However, there's still people who don't read everything and do not follow the post as they have to. So, who still have problems should uninstall completely the fglrx driver and remove the Xorg.conf file and of course reboot the machine.

After that, should read the first post (http://ubuntuforums.org/showpost.php?p=11712748&postcount=1) that was created by our friend Alexislavie (http://ubuntuforums.org/member.php?u=1138228) and have worldwide contributions.

Remember: RTFM!!! ):P

sarathsnair
April 18th, 2012, 05:46 PM
I done all the steps mentioned in the first post. But after i run sudo aticonfig --initial -f and then restart, the "Ubuntu running in Low graphics mode" message appear. What should i do ?

carlocb
April 18th, 2012, 08:32 PM
Ok...tested also the radeon is working with the external monitor (in vga). Thing is, the behavior is very strange:

- with the intel you have your normal gnome-shell on the laptop monitor and an "added desktop" on the external one. What I mean is if you switch virtual desktops, the laptop monitor switches fine, while the external stays "fixed" on the same workspace.

- with the ati it basically "extends" everything on the external monitor, meaning that if you have a fullscreen window, that window becomes "huge" extending also on the other monitor. So - if you press your windows key - you will see the application launcher on the left of your laptop's lcd and the workspaces on the right of the external monitor. The windows in the middle are basically splitted between the twos. I don't know if I made myself clear...sorry but english is not my mother tongue.

There are also other observations:

1. Suspend works with the pm-suspend command (as I said)...so how would you leave your computer on sleep on the office table when you're going away and don't want anyone wandering with your laptop?

sudo pm-suspend; gnome-screensaver-command -l
So that when you open it up, the lockscreen comes over asking for your password. Well...if you do that a nice kernel panic greets you!! And that is very strange to me. And it could be the reason why pm-suspend alone works, while the gnome "suspend" feature doesn't: it seems that the fglrx driver, when you wake your laptop, takes a little bit of time before being "reactivated". You can see this also because after opening the lid you see a console (no X) for a little while. Will try adding a little sleep between the two commands to see if that fixes it...
[EDIT] It doesn't...it seems you just can't put another command after the pm-suspend, even if it's a sleep. :(

2. There's more to the battery icon bug I told you yesterday: it seems that some icons are "evil" in some way and disliked by the f*** fglrx driver!! The virtualbox icon in the app drawer is blank too when using the ati...and maybe some other...WHY???

phoenix6434
April 19th, 2012, 10:45 PM
For all pangolin (32 bit) users with an AMD/Intel Hybrid Graphic Solution. It's possible to use the installation via apt. There's also a direct rendering bug on the integrated card. Here is my solution

You can install the fglrx driver via apt.


sudo apt-get install fglrx

after installation let's configure the Xserver (xorg.conf file) for the first time:


sudo aticonfig --initial -f

There is also the bug for direct rendering on the integrated card. To fix it you have to edit the following file (it's nearly the same fix like the one from Niccola):


gksu gedit /etc/X11/Xsession.d/10fglrx

If you're using a 32bit system add at the end of 1th line this text : ":/usr/lib/i386-linux-gnu/dri" without the quotes. The file should now look like this :





LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri:/usr/lib/i386-linux-gnu/dri
if [ `uname -m` = 'x86_64' ]; then
if [ -d /usr/lib32/fglrx/dri ]; then
LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri
if [ ! -z $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
fi
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32
export LD_LIBRARY_PATH
fi
fi
export LIBGL_DRIVERS_PATH


If you have the integrated card activated reboot your system.

You can check the result after the reboot with glxinfo. If direct rendering is activated, it shows "direct rendering: yes".


glxinfo | grep rendering

You can also test it with the glxgears command.

Unity 3d should work now in integrated mode.

sarathsnair
April 20th, 2012, 03:00 AM
i have hp pavilion dv6 6121tx. Intel 3000/ATI 6770m hybrid graphics. How can i decrease my brightness using the function keys ? the brightness is always high and i can't also control it via settings menu

wegah
April 23rd, 2012, 01:47 AM
Ok, huum so then I don't understand something :



Is there a mistake in the wegah post? The Launchpad page let me think that muxed systems are ok with this method...

I suggest you adding a little part a the beginning of the post.
EDIT: oooops, you did it !

thanks,


Tinek..

This method WORK in MUXED cards. Like series 5000. But of course. You do the choice in your bios and then when you boot you install the catalyst driver like the one default.
Your computer will act being or having a default discrete card. no mastery.

Until now, Just in one MSI computer with series 5000 muxed I saw you change the integrated to discrete just by Catalyst control center.


The other side. Everyone that use the supposed muxless cards serie 6000 up and this method work.

How I write.

1- They have some exotic muxless system, like MAC OS. That have the own mux chip inside computer or some DELL/LENOVO/PINGPONG CHINESE BRANDS. That ACT like a MUXED one same being muxless.
2- They have in bios the choice of primary card output, same when using muxless card ( most of dv6, dv7 hp ones, and do not do a choice of THE CARD being used, But the path where the default monitor will be out by default).
3- If no choice. And your notebook have the integrate GPU being the default one most of ASUS, DELL, ACER ones.

But if you are a owner of a EXPENSIVE computer like me using a ENVY second generation with 6850m. and the bios locked and setup to use the GPU bein the primary output card.

YOU ARE ****...

Until now, there is no MAMBOJAMBO or ABRACADABRA we can do. Just because the CATALYST driver find out your card, load modules, everything well. BUT does not find the default OUTPUT device ( monitor) to render. If you use an HDMI external monitor you will find will work most of time. but not the default monitor from our devices. Because the default monitor seems some way trigged in bios to primary gpu and then we have all messages of muxless not being working or not output device found.

Some point in a not near future. What developers will do , or try to do. to find out how to use this TRIGGER to turn the default output monitor to AMD cards and bypass the intel one.

Until this not come under light.

CRY like me... A BEAST. we cant use..

OR..

HP and any computer WITH LOCKED BIOS NEVER MORE.

wegah
April 23rd, 2012, 01:49 AM
i have hp pavilion dv6 6121tx. Intel 3000/ATI 6770m hybrid graphics. How can i decrease my brightness using the function keys ? the brightness is always high and i can't also control it via settings menu

Try to do it.

under /etc/default/grub

Put this

GRUB_CMDLINE_LINUX_DEFAULT="acpi_backlight=vendor"

then save

and use the comand

update-grub2


Will work

wegah
April 23rd, 2012, 01:52 AM
Does anyone know if an Envy 13 is considered a muxed or muxless setup? I have an intel GMA4500HD and an ATI HD 4330 which does not switch automatically, but also does not have an option in BIOS to switch. Everything is done within software on the windows side of things.

Any chance the directions in the OP will work for me? The intel card works fine off of a fresh install, but it's also the only option. Installing the Radeon or FGLRX drivers brings me to a non-booting system, forcing a full OS re-install.

I'm on 11.10 - any help that you guys can provide would be greatly appreciated!

Goronok

Muxed one. And you have the ADVANCE BIOS mode. Just look around how to enter.
Envy 13 first and second generation do have this advanced bios.

there you can change to discrete graphics card and install catalyst like a standard computer.

ddonn
April 25th, 2012, 08:07 PM
You may add this configuration to your list of "fully supported computers"
HP Envy15 (Kubuntu), Intel HD 3000, AMD HD 7670M, HDMI Intel/AMD: not tested/not tested, VGA na/na, DisplayPort Intel/AMD: not tested/not tested.

And a big "thank you" to you and the other contributors for sorting all this out!

eug89
April 26th, 2012, 10:52 AM
Just installed catalyst 12.4 on precise following the same steps as with 12.3. Everything seems to work, I still need to test vga/hdmi though.

iowabeakster
April 27th, 2012, 01:27 AM
I also followed the instructions on page one, completely, except I substituted these four lines for catalyst 12.4.



cd ~/; mkdir catalyst12.4 (http://wiki.cchtml.com/index.php/12.4); cd catalyst12.4 (http://wiki.cchtml.com/index.php/12.4)/
wget http://www2.ati.com/drivers/linux/amd-driver-installer-12-4 (http://wiki.cchtml.com/index.php/12-4)-x86.x86_64.run
chmod +x amd-driver-installer-12-4 (http://wiki.cchtml.com/index.php/12-4)-x86.x86_64.run

sudo sh ./amd-driver-installer-12-4 (http://wiki.cchtml.com/index.php/12-4)-x86.x86_64.run --buildpkg Ubuntu/preciseEverything downloads, builds, and installs perfectly fine. No errors... nothing

I run the "aticonfig --initial -f" command and it spits out my xorg.conf file. I give the command to switch to the discrete card, and it responds that it is in high performance mode and using the discrete card.

and on reboot... low graphics mode

I remove the xorg.conf file and default graphics work again.

I believe that the xorg.conf file generated is the problem (experienced but ignorant linux user guesswork here). I tried manually messing with the xorg.conf file... and managed to do nothing good. More screwing around led to total re-installation of Precise. I have previously tried building the .deb files with catalyst 12.3... tried with jockey... and "sh" ing the blob without manually building and installing the .deb files...

All with the same results... low graphics on reboot... screw around with it until eventually I screw it up... and reinstall the OS fresh again. I've reinstalled Precise four times now.

Asus B43S-XH51
Intel i5-2520
ATI 6470M HD

Anybody gotten a 6470M card working?

SonnyBegood
April 27th, 2012, 03:27 PM
Don't know too much about my hardware details, but...

Got it running on a Sony Vaio VPCSA, with a AMD radeon HD 6600M and some integrated Intel graphics and as well with the amd-fglrx 12-4 version. works a treat. thanks.

brshadow
April 27th, 2012, 05:41 PM
After following the guide here what i get when i try to log in

http://i49.tinypic.com/2z4woyc.jpg

After i Press ok

http://i49.tinypic.com/2aep1t.jpg

After I choose "Just for this session"

http://i50.tinypic.com/30n858i.jpg

Please help me I don't know how to fix this.

-------------------------------------------------

Computer-----> Laptop HP Pavillion g7-1205ev
CPU---> Intel® Core™ i5-2430M CPU @ 2.40GHz × 4
Graphics ------------> VESA: Intel®Sandybridge Mobile Graphics
Card 1: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
Card 2: Advanced Micro Devices [AMD] nee ATI Seymour [Radeon HD 6400M Series]
OS --------- > Ubuntu 12.04 Precise Pangolin 64bit

miatawnt2b
April 27th, 2012, 05:49 PM
login as you
sudo -s
cd /path_to_amd-driver-installer
./amd-driver-installer-12-xxx.run
keep pressing enter through the installer
when installer exits, type 'amdconfig -i'
shutdown -r now

carocco
April 27th, 2012, 11:55 PM
Yeeeeeeeaaaahhh! It finally works!!!

For me:

SONY Vaio VPC-SB1S1E, Intel HD 3000, AMD 6470M, HDMI Intel/AMD: not tested/not tested, VGA Intel/AMD: working/working

yoyo007
April 28th, 2012, 01:57 AM
Followed the instructions just used the 12.4 driver everything seems good except a message I get when I use the switch command. Haven't yet put time into looking for the issue.


sudo aticonfig --px-dgpu
PowerXpress info: Diagnostic output from /usr/lib64/fglrx/switchlibglx:
update-alternatives: warning: skip creation of /etc/OpenCL/vendors/amdocl32.icd because associated file /usr/lib/fglrx/etc/OpenCL/vendors/amdocl32.icd (of link group x86_64-linux-gnu_gl_conf) doesn't exist.

PowerXpress: Discrete GPU is selected (High-Performance mode), please restart Xserver(s) for changes to take effect


I do not see any negative effects from it in the short time I have been using it. I used the 12.04 final release of ubuntu and the amd 12.4 driver. I did the beta2 with the 12.3 and did not have the message.

I am able to use both graphics battery life seems better then before 2 hours to about 4 hours on the intel. I get about 2.5 with the amd.

I have gone from sad with this laptop to extremely happy now that I can get 4 hours of battery life and now can make use of the amd card.


HP ENVY 14t-2000 CTO, Intel HD 3000, AMD 6630M, HDMI Intel/AMD: not tested/not tested, Mini DisplayPort Intel/AMD: not tested/not tested

razorxpress
April 28th, 2012, 03:12 AM
Works for dell N4110 (Sandy bridge/Radeon HD 6400M)

Ikith
April 28th, 2012, 03:33 AM
Can't get this working, I've read everything in this thread and tried all of the methods and aside from wiping out xorg.conf which makes it so I can't do anything, I keep getting kicked in to low graphics mode. Running a AMD Radeon 6700M Series.

analyzer123
April 28th, 2012, 08:31 PM
Got it working on my Sony VAIO SC series. Specs:

Vaio VPC-SC1AFM/S Intel HD 3000, AMD 6470m
Ubuntu 12.04, AMD driver 12.4

I did get a few warnings as described by yoyo007 above, but thats fine. (Note: to all those who already have ubuntu 11.xx or higher installed alongwith the default amd fglrx driver through jockey - please remove it completely. The instructions are at:
http://askubuntu.com/questions/68306/how-do-i-restore-default-video-drivers

also remove 'jockey' from Ubuntu software center)

Switching works with command line or by opening the catalyst control center app and selecting the appropriate option in switchable graphics.

Note: This notebook (like all Vaio S-series 2010, 2011) have a physical switch to switch between intel/ATI. However that only works in windows where you dont have to restart any "x-server"

for now, that switch is meaningless in linux. Switch using the methods described above.

temperatures are much less, fan is gentle. But yes, the temperatures (esp. with integrated intel gpu) are much lesser in windows. I guess the windows drivers are much more optimized (which is not surprising!)

Thanks Alexi for the perfect instructions! (Do you know if anyone has written a utility to detect the change of switch to perform switching?)

I finally have usable ubuntu alongwith windows on my Vaio!

HDMI Intel/AMD: not tested/not tested
VGA Intel/AMD: not tested/not tested

Ikith
April 29th, 2012, 12:17 AM
Could me not having luck have anything to do with the fact that I updated the kernel as well using dist-upgrade?

iowabeakster
April 29th, 2012, 01:23 AM
Wow, two folks with 6470 cards working! Both with Sonys... anybody with an Asus?

Could one of you that recently got your 6470 cards working on your Sonys please post the contents of your xorg.conf file? I would like to see it.

Ikith
April 29th, 2012, 01:49 AM
Anyone get this working with a 7690M XT still having issues with mine even after reinstalling without the kernel update.

Eastsun
April 29th, 2012, 01:59 AM
Hi,Alexislavie (http://ubuntuforums.org/member.php?u=1138228).

I have followed your steps bug got some error.

In
sudo dpkg -i fglrx*.deb

I got messages as:

Building only for 3.2.0-24-generic-pae
Building for architecture i686
Building initial module for 3.2.0-24-generic-pae
Error! Bad return status for module build on kernel: 3.2.0-24-generic-pae (i686)
Consult /var/lib/dkms/fglrx/8.961/build/make.log for more information.
update-initramfs: deferring update (trigger activated)
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for bamfdaemon ...

My computer inf: Thinkpad E420, ATI Radeon HD 6630M, with Ubuntu 12.04 x86 alternate.

Any help would be much appreciated (http://us.battle.net/sc2/en/forum/topic/4768478313)!

Joe76000
April 29th, 2012, 03:41 AM
Bonjour Alexis,

Long time ago... My previous message was on February 26th ! This year of course.

I am running my tests on one of my laptops: HP Pavilion DV7-6070ef (http://h10025.www1.hp.com/ewfrf/wc/product?product=5085483&lc=fr&cc=fr&dlc=fr&lang=fr&cc=fr)
CPU INTEL Core i7-2630QM with Switchable Graphics dGPU AMD HD6490M / iGPU INTEL HD3000, BIOS version F.1B and 1600 x 900 screen resolution.

NB: Switchable Graphics AMD+INTEL... On the HP Pavilion DV6-6000 or DV7-6000 series (only Fixed Mode in the BIOS) and on DV6-6100 or DV7-6100 series (Fixed or Dynamic Mode setup in BIOS available starting with version F.1A). Users of HP series DV6 and DV7-6100 Series must set Fixed Mode in their BIOS. But it's impossible to disable neither iGPU nor dGPU in the BIOS.
We have to keep in mind that the BIOS update can only be done under Windows !

HP explanations about Switchable Graphics under Windows for these above HP Pavilion Series which could help understanding how this works and could be more or less extrapolated to Linux...

- Overview of Switchable Graphics or Dual GPUs (http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02731962&cc=ad&dlc=en&lc=en&jumpid=reg_r1002_usen)
HP notebook PCs with switchable graphics provide the following benefits to mobile
computing:
. The notebook conserves power for longer battery life when handling less demanding
applications.
. When using graphics-intense applications such as games, the discrete graphics
processor enables high performance.
- Switchable Graphics on Notebooks Configured with Intel and ATI GPUs (http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03048374&cc=ad&dlc=en&lc=en&jumpid=reg_r1002_usen)
This document contains information pertaining to specific HP notebook PCs configured
with dual Intel and AMD graphics adapters.
- OpenGL Applications Cannot Be Configured to Use the Discrete GPU (http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02948560&cc=ad&dlc=en&lc=en&jumpid=reg_r1002_usen)
This document pertains to HP Envy 14-2000 series, HP Pavilion dv6-6100 series
and HP Pavilion dv7-6100 Series Entertainment Notebook PCs.Some other links:
- AMD Dynamic Switchable Graphics Technology
(http://www.amd.com/us/products/technologies/switchable-graphics/Pages/dynamic-switchable-graphics.aspx)- AMD Switchable Graphics Technology (http://www.amd.com/us/products/technologies/switchable-graphics/Pages/switchable-graphics.aspx)
- AMD PowerXpress 4.0 & Interview with AMD's Asif Rehman (http://www.rage3d.com/articles/amd_powerxpress4_asif_rehman_interview/)

=> So now, let's enter into the race...
After a fresh installation of Ubuntu 12.04 LTS RTM, I have tried both proprietary AMD drivers proposed by Ubuntu. And of course there were not successful at all, a real nightmare. :(

=> So, as I said it previously, I have made a second full and fresh installation of Ubuntu 12.04 LTS 64-bits on my DV7 applying your updated solution VERSION 2 in the first post of this subject.
-> HP DV7-6070ef with Switchable Graphics and both WLan and Bluetooth on:
- iGPU INTEL HD3000: Working both on AC and on Battery (last +/- 2H45mn with full screen light as not managed by Ubuntu)
- dGPU AMD HD6490M: Working both on AC and on Battery (last +/- 1H30mn with full screen light as not managed by Ubuntu)
- HDMI Intel/AMD: not tested / working (A/V on Sony LCD TV with 1920 x 1080 screen resolution)
- VGA Intel/AMD: not tested / not tested.
And guess what ? It's working great like a charm for the time being ! 8-) \\:D/

=> May 1st - WARNING: Further comments to Alexis's 1st post FGLRX update !
I was obliged to make a 3rd fresh installation as bloody Ubuntu updated automatically my working graphic drivers.
For avoiding that, I am now disabling "Additional proprietary drivers (restricted)" in Software sources - Ubuntu Softwares. I hope it will be fine...

=> AFTER the 1st reboot (initial Ubuntu installation) - Some comments in French as my Ubuntu is...

UBUNTU Version 12.04 (precise) 64 bits
Noyau Linux 3.2.0-24-generic
GNOME 3.4.1
Mémoire : 5,8 Gio
Processeur : Intel® Core™ i7-2630QM CPU @ 2.00GHz × 8
Espace disque disponible : 34,0 Gio

joehp@ubuntu:~$ glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
GLX version: 1.4
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL version string: 3.0 Mesa 8.0.2
OpenGL shading language version string: 1.30

joehp@ubuntu:~$ glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
302 frames in 5.0 seconds = 60.312 FPS
301 frames in 5.0 seconds = 60.122 FPS
301 frames in 5.0 seconds = 60.125 FPS

Carte graphique: Intel® Sandybridge Mobile / Expérience standard

Firefox's Hardware Acceleration Stress Test (http://hacks.mozilla.org/2010/09/hardware-acceleration/)
How fast is your browser? 60+ FPS
What is hardware acceleration?
"Hardware acceleration" is basically using the GPU when it’s possible
(instead of the CPU). This makes page-drawing operations faster.
=> Screen shoots of ACCC v.12.3: http://ubuntuforums.org/%3Ca%20href=http://imageshack.us/photo/my-images/824/hpdv76070efu1204accc123.jpg/%20target=_blank%3Ehttp://img824.imageshack.us/img824/8605/hpdv76070efu1204accc123.jpghttp://img36.imageshack.us/img36/5903/dv76070efu1204accc123.jpg

=> After applying your STEPS 1-2-3 / dGPU AMD Radeon HD6490M

joehp@ubuntu:~$ glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: ATI
server glx version string: 1.4
client glx vendor string: ATI
client glx version string: 1.4
GLX version: 1.4
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6400M Series
OpenGL version string: 4.2.11566 Compatibility Profile Context
OpenGL shading language version string: 4.20

joehp@ubuntu:~$ glxgears
6224 frames in 5.0 seconds = 1244.746 FPS
6211 frames in 5.0 seconds = 1242.163 FPS
6212 frames in 5.0 seconds = 1242.354 FPS

joehp@ubuntu:~$ fgl_glxgears (added)
Using GLX_SGIX_pbuffer
3340 frames in 5.0 seconds = 668.000 FPS
3298 frames in 5.0 seconds = 659.600 FPS
3349 frames in 5.0 seconds = 669.800 FPS

Carte graphique: AMD Radeon HD 6400M Series / Expérience standard

Firefox's Hardware Acceleration Stress Test
[I]How fast is your browser? 30 FPS ! THERE IS A PROBLEM HERE !

ACCC INFORMATIONS:
Version Catalyst™ 12.3
Version du package du pilote 8.951-120308a-135854C-ATI
Version du pilote 2D 8.95.3
Version de Catalyst™ Control Center 2.13
Version de RandR 1.3
Fournisseur OpenGL Advanced Micro Devices, Inc.
Moteur de rendu OpenGL AMD Radeon HD 6400M Series
Version de OpenGL 4.2.11566 Compatibility Profile Context

joehp@ubuntu:~$ aticonfig --pxl # List current activated GPU
PowerXpress: Discrete GPU is active (High-Performance mode).

joehp@ubuntu:~$ fglrxinfo
display: :0 screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6400M Series
OpenGL version string: 4.2.11566 Compatibility Profile Context

joehp@ubuntu:~$ glxinfo | egrep render
direct rendering: Yes
OpenGL renderer string: AMD Radeon HD 6400M Series
GL_KTX_buffer_region, GL_NV_blend_square, GL_NV_conditional_render
=> After applying your STEPS 1-2-3 / iGPU INTEL HD3000

joehp@ubuntu:~$ glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
GLX version: 1.4
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL version string: 3.0 Mesa 8.0.2
OpenGL shading language version string: 1.30

joehp@ubuntu:~$ glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
302 frames in 5.0 seconds = 60.357 FPS
301 frames in 5.0 seconds = 60.100 FPS
301 frames in 5.0 seconds = 60.077 FPS

joehp@ubuntu:~$ fgl_glxgears (added - but ratio is strange vs glxgears and dGPU !)
Using GLX_SGIX_pbuffer
300 frames in 5.0 seconds = 60.000 FPS
301 frames in 5.0 seconds = 60.200 FPS
300 frames in 5.0 seconds = 60.000 FPS

Carte graphique: Intel® Sandybridge Mobile / Expérience standard

Firefox's Hardware Acceleration Stress Test
How fast is your browser? 60+ FPS

ACCC INFORMATIONS:
Version Catalyst™ 12.3
Version du package du pilote 8.951-120308a-135854C-ATI
Version du pilote 2D 8.95.3
Version de Catalyst™ Control Center 2.13
Version de RandR 1.1
Fournisseur OpenGL Tungsten Graphics, Inc
Moteur de rendu OpenGL Mesa DRI Intel(R) Sandybridge Mobile
Version de OpenGL 3.0 Mesa 8.0.2

joehp@ubuntu:~$ aticonfig --pxl # List current activated GPU
PowerXpress: Integrated GPU is active (Power-Saving mode).

joehp@ubuntu:~$ fglrxinfo
display: :0 screen: 0
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL version string: 3.0 Mesa 8.0.2

joehp@ubuntu:~$ glxinfo | egrep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
GL_NV_conditional_render, GL_ARB_ES2_compatibility,You are making the life of lot of users of Switchable Graphics under Ubuntu really easier ! :guitar:
Thanks a lot and much more to YOU (and the folks you have mentioned) for your GREAT solution and contribution to the community... =D>

JOE from France ):P

brshadow
April 29th, 2012, 09:10 AM
login as you
sudo -s
cd /path_to_amd-driver-installer
./amd-driver-installer-12-xxx.run
keep pressing enter through the installer
when installer exits, type 'amdconfig -i'
shutdown -r now

I dont know how to find the path to amd driver... Anyone help ?

brshadow
April 29th, 2012, 09:27 AM
Who write this guide need to put a warning at start.

1- This guide work in MUXED CARDS.
2- This guide WORK in MUXLESS cards that have bios choice for primary card (most of ones here that work have this and doesn't know it).
3- THIS GUIDE will WORK for who DOESN't HAVE BIOS CHOICe, But the manufacturer made the AMD the primary card.
4- This GUIDE WILL NOT work for who have MUXLESS CARD AND NO BIOS CHOICE TO CHANGE the PRIMARY CARD AND THE BIOS WAS NOT SET BY THE MANUFACTURER HAVING THE AMD CARD BEING THE PRIMARY.

There is a lot of users that just become in troubles when doing this and being with a black screen after.

vgaswitcheroo is the standard test. that will not harm your install.

If vgaswitcheroo doesn't work for you. This guide will not work to. There is no MAGIC here. The X developers, THE VIDEO CARDS developers are aware this.

It's not a cheat that will solve this.

And please explain me what is MUXED cards and how do i find out if i have one ?

-------------------------------------------------

Computer-----> Laptop HP Pavillion g7-1205ev
CPU---> Intel® Core™ i5-2430M CPU @ 2.40GHz × 4
Graphics ------------> VESA: Intel®Sandybridge Mobile Graphics
Card 1: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
Card 2: Advanced Micro Devices [AMD] nee ATI Seymour [Radeon HD 6400M Series]
OS --------- > Ubuntu 12.04 Precise Pangolin 64bit

analyzer123
April 29th, 2012, 05:17 PM
I don't think you're completely correct. vgaswitcheroo does not work in Sony VAIO S-series laptops but the steps mentioned here do make the switchable graphics work correctly.

the 'magic' is really in AMD writing excellent drivers to support their version of switchable graphics in linux.



Who write this guide need to put a warning at start.

1- This guide work in MUXED CARDS.
2- This guide WORK in MUXLESS cards that have bios choice for primary card (most of ones here that work have this and doesn't know it).
3- THIS GUIDE will WORK for who DOESN't HAVE BIOS CHOICe, But the manufacturer made the AMD the primary card.
4- This GUIDE WILL NOT work for who have MUXLESS CARD AND NO BIOS CHOICE TO CHANGE the PRIMARY CARD AND THE BIOS WAS NOT SET BY THE MANUFACTURER HAVING THE AMD CARD BEING THE PRIMARY.

There is a lot of users that just become in troubles when doing this and being with a black screen after.

vgaswitcheroo is the standard test. that will not harm your install.

If vgaswitcheroo doesn't work for you. This guide will not work to. There is no MAGIC here. The X developers, THE VIDEO CARDS developers are aware this.

It's not a cheat that will solve this.

clement.analogue
April 29th, 2012, 05:36 PM
It doesn't work on my laptop with an ATI Radeon Mobility HD 5400.

electromattic
April 29th, 2012, 06:18 PM
I can report that the solution on Page 1 works successfully on the HP ENVY 15-3090CA. Logging in using integrated graphics works perfectly in Ubuntu-2D. When logging in with Ubuntu-3D, I have to manually restart unity (desktop background comes up, but no window manager).
To do this, I log into tty 1 (ctrl+alt+F1, enter username/pw), then type 'unity <enter>'. Ctrl+Alt+F7 brings me back to the desktop and everything is fine from there.

dagnachewl
April 29th, 2012, 09:05 PM
Everything went well as per the instruction on page 1. I now have a working ATI driver version 12.4 switchable with Intel on:

Ubuntu 12.04 64-bit

Samsung Chronos 7 series, Intel® Core™ i7-2675QM CPU @ 2.20GHz × 8, AMD Radeon HD 6400M, Tested both -igpu and -dgpu and it works.

But I get the following error while running:
sudo aticonfig --px-igpu or sudo aticonfig --px-dgpu


PowerXpress info: Diagnostic output from /usr/lib64/fglrx/switchlibglx:
update-alternatives: warning: skip creation of /etc/OpenCL/vendors/amdocl32.icd because associated file /usr/lib/fglrx/etc/OpenCL/vendors/amdocl32.icd (of link group x86_64-linux-gnu_gl_conf) doesn't exist.

PowerXpress: Discrete GPU is selected (High-Performance mode), please restart Xserver(s) for changes to take effect!

restarting X does apply the change. What may be wrong?

Another issue: When on battery, battery life is double with the integrated option. However, the fan often kick starts every now and then and the system is unusable in that fraction of second. This is same on both options. When on power, no issue at all.

Thank you for this useful and clearly written tutorial.

analyzer123
April 30th, 2012, 01:17 AM
Nothing is wrong:) it is working as it is. logout and login again to see the change.

btw, its a 'warning' and not an error.


Everything went well as per the instruction on page 1. I now have a working ATI driver version 12.4 switchable with Intel on:

Ubuntu 12.04 64-bit

Samsung Chronos 7 series, Intel® Core™ i7-2675QM CPU @ 2.20GHz × 8, AMD Radeon HD 6400M, Tested both -igpu and -dgpu and it works.

But I get the following error while running:
sudo aticonfig --px-igpu or sudo aticonfig --px-dgpu


PowerXpress info: Diagnostic output from /usr/lib64/fglrx/switchlibglx:
update-alternatives: warning: skip creation of /etc/OpenCL/vendors/amdocl32.icd because associated file /usr/lib/fglrx/etc/OpenCL/vendors/amdocl32.icd (of link group x86_64-linux-gnu_gl_conf) doesn't exist.

PowerXpress: Discrete GPU is selected (High-Performance mode), please restart Xserver(s) for changes to take effect!

restarting X does apply the change. What may be wrong?

Another issue: When on battery, battery life is double with the integrated option. However, the fan often kick starts every now and then and the system is unusable in that fraction of second. This is same on both options. When on power, no issue at all.

Thank you for this useful and clearly written tutorial.

analyzer123
April 30th, 2012, 01:18 AM
.

dagnachewl
April 30th, 2012, 03:53 PM
Thank you for the reply above. My other problem is in fact related to a known problem, helas, of hdparm, which causes the hard disk to spin up and down every few seconds. It is not only annoying but potentially dangerous for the hard disk. Apparently, there has been a 'fix' but in vein. Still waiting for a fix from Ubuntu or Linus Torvalds (it is a kernel issue).

Cheers

xtrasyn
April 30th, 2012, 08:46 PM
I just tried this on my ThinkPad EDGE e520, and it worked like a charm :) I didn't need to reinstall from scratch or anything, I just did a web-update from ubuntu 11.10, and then followed the howto in the first post. 3D acceleration works with both integrated and discrete GPU, VGA output works as well (I haven't tried HDMI yet). And, most importantly for me, OpenCL works when the discrete GPU is selected.
Thanks very much for this thread :) Without it, I probably would have spent countless hours trying to make this work ;)

shinylenin
April 30th, 2012, 08:56 PM
Hello!

I have this problem and I hope someone can help me out here.

I have an ATI 6770m and an Intel chip. The installation for the driver went smoothly and without any problems. The thing is Unity3D doesn't work with the integrated Intel chip. I truely did it the same way as it was explained. Here is my configuration:


LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri
if [ `uname -m` = 'x86_64' ]; then
if [ -d /usr/lib32/fglrx/dri ]; then
LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri:/usr/lib/x86_64-linux-gnu/dri
if [ ! -z $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
fi
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32
export LD_LIBRARY_PATH
fi
fi
export LIBGL_DRIVERS_PATH

What could have went wrong? Tell me if you need any further information!

I would be glad if someone could help me :)

analyzer123
May 1st, 2012, 02:30 AM
are you sure you installed ubuntu 64-bit?


Hello!

I have this problem and I hope someone can help me out here.

I have an ATI 6770m and an Intel chip. The installation for the driver went smoothly and without any problems. The thing is Unity3D doesn't work with the integrated Intel chip. I truely did it the same way as it was explained. Here is my configuration:


LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri
if [ `uname -m` = 'x86_64' ]; then
if [ -d /usr/lib32/fglrx/dri ]; then
LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri:/usr/lib/x86_64-linux-gnu/dri
if [ ! -z $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
fi
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32
export LD_LIBRARY_PATH
fi
fi
export LIBGL_DRIVERS_PATH

What could have went wrong? Tell me if you need any further information!

I would be glad if someone could help me :)

wegah
May 1st, 2012, 03:06 AM
[QUOTE=brshadow;11886416]And please explain me what is MUXED cards and how do i find out if i have one ?


MUXED the "MUX" is a kind of SWITH, key, you have in your computer.
Where you can change the cards. Is almost like to change your computer card.
You in fact do have 2 complete video cards inside computer. DIS and IGD.

Because this you need to restart your computer.
when you are with your IGD card. You can install the IGD program/driver like a standard and unique card.

When you are with DIS card ( in case Catalyst ) your system behave like have a standard and single amd card.

Because this you can install catalyst the standard way. Just when switch back to DIS card and using xorg.conf need to change/remove this to.

BUT in most cases if you are not using xorg.conf. with muxed cards. The ubuntu will identify and work well since for the system, seems just one card working.


The muxles card. By other side. The computer have only one video card output where the 2 CPUS are plugged ( Ok, the more technical will write in case, just exist the IGD card where the DIS are plugged, but no need this technical here to explain).

There is the trouble.
the linux identify both cards processors and load the modules and turn on both. But we ( in amd case) don't have the TRIGGER that speak the system WHAT CPU is using the output card to monitor.

Some computers, like hp, envy 13, 14, dv4, dv5, dv6, dv7 and others do have the OUTPUT set-up by default using the DIS card. OR. they have an advanced bios menu where they can switch this output ( similar the muxed ones).

This ones are lucky. Because the CATALYST driver LOAD the module and know the output to monitor.

But who are not lucky in have this bios option or the bios by default are set-up to be the IGD. When we load our graphics. Everything is well. Until the driver module request the output and didn't find it ( what we have in xorg.log of no EDP found).

By default. All, 6xxx series from AMD are muxless and old ones no.

BUT.....

Some cards in some brands are exotic. Muxles act like muxed ones and muxed ones act like muxles.

EXAMPLE are APPLE ones. That muxless or muxed. They use a specific mux chip inside computer. APPLE SPECIFIC.
And some dell ones. Seems have something similar.

wegah
May 1st, 2012, 03:17 AM
I don't think you're completely correct. vgaswitcheroo does not work in Sony VAIO S-series laptops but the steps mentioned here do make the switchable graphics work correctly.

the 'magic' is really in AMD writing excellent drivers to support their version of switchable graphics in linux.

I'm not 100% correct because I never tested all computers.
but until now, all tests i do with computers ( and was a lot). All ones that work with vgaswitcheroo worked with catalyst. All one that worked with catalyst worked with standard amd drivers. All ones that have troubles with vgaswitcheroo didn't work with catalyst.

I'm 100% correct? no. There is crazy hardware's with crazy set-ups around there.

one point vgaswitcheroo does not work if you have the catalyst working.

second point, if not work, try to load the standard amd driver in ubuntu using xorg.conf.

The point is.
AMD is not DOING MAGIc to suport this.

AGAIN.

Who are lucky of do this work. Or have the bios option to switch the card output in BIOS, or the bios option are set-up by default to DIS.

All others ones that the BIOS come locked and set-up by default to IGD ( the default by the technical papers), Catalyst just doesn't know how to trigger this. Like the same driver in windows do very well.

now AMD release a new kind of MUXLESS cards. Our only hope are the open source driver. Because I doubt AMd will maintain for long the old muxles cards.

shinylenin
May 1st, 2012, 08:11 AM
I was working on my system but I couldn't find a solution. Therefore I made a new install and now everything works perfectly. :)

Thanks anyway!

analyzer123
May 1st, 2012, 10:46 PM
dude, its AMD's driver which is working here to support switchable graphics! so the magic is from AMD's side, no body else. Even with windows drivers - its AMD's graphics drivers which implement the switching, not Intel.

BIOS option to switch is old tech. Most of the new laptops have dynamic switching, where you dont have to do any kind of reboot or login/logout to switch. So there is no 'default' card.


I'm not 100% correct because I never tested all computers.
but until now, all tests i do with computers ( and was a lot). All ones that work with vgaswitcheroo worked with catalyst. All one that worked with catalyst worked with standard amd drivers. All ones that have troubles with vgaswitcheroo didn't work with catalyst.

I'm 100% correct? no. There is crazy hardware's with crazy set-ups around there.

one point vgaswitcheroo does not work if you have the catalyst working.

second point, if not work, try to load the standard amd driver in ubuntu using xorg.conf.

The point is.
AMD is not DOING MAGIc to suport this.

AGAIN.

Who are lucky of do this work. Or have the bios option to switch the card output in BIOS, or the bios option are set-up by default to DIS.

All others ones that the BIOS come locked and set-up by default to IGD ( the default by the technical papers), Catalyst just doesn't know how to trigger this. Like the same driver in windows do very well.

now AMD release a new kind of MUXLESS cards. Our only hope are the open source driver. Because I doubt AMd will maintain for long the old muxles cards.

wegah
May 2nd, 2012, 01:01 AM
dude, its AMD's driver which is working here to support switchable graphics! so the magic is from AMD's side, no body else. Even with windows drivers - its AMD's graphics drivers which implement the switching, not Intel.

BIOS option to switch is old tech. Most of the new laptops have dynamic switching, where you dont have to do any kind of reboot n/logout to switch. So there is no 'default' card.


YET there is a lot about INTEL and how the BIOS are set-up.


Here you have a fast understand of HOW a muxless from AMD work ( not being more technical to become easy).

http://www.rage3d.com/articles/amd_powerxpress4_asif_rehman_interview//pics/r3dbaco08.jpg

There you understand that in THEORY we have just one complete VIDEO CARD Hardware, The INTEL ONE ( in our case of IGD are intel, because exist a muxless not use intel, but ati + ati).

The amd in practice just have the acceleration PROCESSOR. That use all HARDWARE from IGD card.

The switch from one to another. Is done in a very easy way of understand. Bridging the output hardware and disabling one or other card.

This default use of OUTPUT HARDWARE is a logic things not a PHYSIC one.

Then when the manufacturer BUILD your computer and write the BIOS. they decide "WHAT CARD WILL HAVE THE HARDWARE OUTPUT TRIGGERED by default"

And all BIOSES already have this switch of the default OUTPUT. But some manufacturers just crypt the bios and do not allow us to change this. This bios switch is not to do the CARD CHOICE. Like MUXED ones. But what one have the logic enabled by default.

Easy to test this. ( i'm to use HP or MSI example, because is more easy to me).

Go there in Bios.. enter in ADVANCED MENU. If you are lucky of HP allow you do it. ( this is for muxless ones, another brands of computers do have another keys for advanced menu).

almost all dv5, dv6, dv7, envy 13, 14, 15m 17 first generation work with this)
1. Shutdown your computer completely
2. Power on and hit 'esc' to enter the boot menu.
3. Now press F10 immediately followed by the key "A". you have to press "A" after you press F10 and before you are in bios setup screen.
4. You are now in advanced bios setup. You should see additional tabs and new options.

Now turn by default logic output the AMD card. And use this metod from forum. Will work like a charm.

Now with your card working under linux. Got to advanced menu again and turn the advanced logic output to integrate one.

BANG. Your computer do not start anymore with AMD.

WHY?

Because your hardware are LOGICALLY SET-UP to make the discrete card use the default monitor output patch. Then the AMD didn't find this "HARDWARE" output and halt ( and the message of

"
No devices detected.
Fatal server error:
no screens found
"
)

this message is exactly this. The KERNEL was loaded. The driver was loaded and working. BUT the card do not have a output to monitor and crash.

Actually, The AMD kernel driver do not work the same way in windows.
Under windows. The AMD catalyst do this swith being your bios setup to default output patch DIS or IGD. Linux no, who have this working are LUCKY.


Now AMd is changing the PowerXpress/Bacon muxless system to a new one called AMD Enduro. So we will be more in trouble. We need to wait until the open source ones start to support this muxless cards because is obvious AMD will soon treat us like a OLD CARD.

Here we can have a little more about.
https://blueprints.launchpad.net/ubuntu/+spec/desktop-p-hybrid-graphics

"
MUXed (with multiplexers, “switchable graphics”)
Every output has a multiplexer that both the integrated (IGP) and discrete GPU’s are connected to and depending on the workload the GPU is switched to the more appropriate GPU.
There are several downsides to this method of implementation [1]:
* Manual mode changes - the user is required to make the change herself.
* Transition time - mode change can take several seconds.
* User Experience - The GPU switch results in screen flicker.
* Increased cost - due to the need of hardware multiplexers.
The user experience of this method of Hybrid Graphics is not that great even on Windows, due to aforementioned issues in addition to “blocking apps” which reserve the hardware and prevent switching until closed.
"

"
MUXless
In this implementation the video output is routed via the integrated (IGP) chipset and the more intense graphics work is offloaded to the discrete GPU.
The benefits of this implementation are:
* Possible to automatically enable/disable the discrete GPU
* Near-instant transition time
* No screen flicker
* Less complex/expensive hardware support
"

"
Some machines allow selecting between the integrated graphics (IGP) and the discrete GPU from the BIOS, however most ‘low-cost’ implementations do not.
"

THEN MY POINT, SOME EXPENSIVE ONES LIKE HP ENVY O NOT TO, TO HELL HP
"

"
MUXed Configurations
For Intel and Radeon open-source drivers there is an interface available called “vga_switcheroo” which does provide the ability to “switch”between integrated and discrete GPUs. This does still require a restart of the X server, resulting in a flawed user-experience. Lastly there has been mention of forthcoming Nouveau support within vga_switcheroo [3].
The AMD Catalyst driver has no official support, though scripts have been provided to perform the switching and mucking with the mesa/fglrx libGL flavors. This implementation similarly requires a X server restart.
"

"
NOTES:
Problems:
- binary drivers do not coexist with builtin graphics well
- installing the binary drivers commits you to the discrete graphics
- sometimes outputs are only available via the discrete grahics (which may not be in use) - would like the Displays GUI to indicate possibly *why* they are not available (or at least that any but the suppored outputs ones are not available). Also, the GUI should show pictures of the socket types to help less techincal users.
"

The fault is not just from AMD.
There is more under all this troubles. There is a problem with EGO's from X developers, AMD developers, OPEN SOURCE driver developers, KERNEL developers.

There is to, troubles with how the kernel work with binaries and licenses and HOW the drivers can be integrated.

miatawnt2b
May 2nd, 2012, 03:51 PM
Using the howto from post 1, I have hybrid graphics on my Samsung Chronos7 working perfectly. Thanks!

A couple of quick questions...

Is anyone running the 3.4 kernel with Catalyst 12.4 packages? I am currently running the precise latest 3.2.0-24, butI have a need to run 3.4. Do I need to install 3.4 and rebuild the deb's and install fglrx again?

Second... I am seeing a 29W power draw with the discerete gpu and about 19W with the integrated. I would really like to get this even lower, especially when in descrete mode on battery power. I saw somewhere someone had wrote some updated config scripts to help with the power savings when on battery for the catalyst, but I can't find it again. I don't believe it was in this thread. Anyone else come across it, or can help with tweaking the power usage on battery?

Thanks!
-J

Ikith
May 3rd, 2012, 05:48 AM
This does not work on HP Envy 17 3070NR with 7690M XT.

wegah
May 3rd, 2012, 03:30 PM
This does not work on HP Envy 17 3070NR with 7690M XT.

Welcome to the club. Not the envy 17 3d second generation with 6850m.

If you HEX the bios to change the option work at first boot. but the second bood your computer lock in bios start.

Welcome the brave new world of locked bios. Welcome to the new windows 8 world.

Przedzmirski
May 3rd, 2012, 07:25 PM
My configuration is:

"Dell Inspiron 14R (N4110) computer with a Intel HD 3000 integrated video device and a AMD Radeon HD 6470M video card"

Haven't tried yet.. :P

Does someone already tried with this configuration???

Ikith
May 3rd, 2012, 11:40 PM
welcome to the club. Not the envy 17 3d second generation with 6850m.

If you hex the bios to change the option work at first boot. But the second bood your computer lock in bios start.

Welcome the brave new world of locked bios. Welcome to the new windows 8 world.

awesome!

Przedzmirski
May 4th, 2012, 07:26 PM
Im glad to say that i tested and its working!!!!!!!! Just the fan that is getting crazy sometimes, but the temperature isn't so high.
:guitar:

Betonius
May 5th, 2012, 07:45 AM
Hello everyone.

First, thanks you all of you, your posts helped me to finally solve this problem. I'm really new into Ubuntu. Is nice to know that you have the support of a big big community.

Second. I have a Lenovo e520, i5 with sandybridge. Ati HD 6630 and Intel HD graphics. I did all the things in the first post. Everything worked out!:P:KS

Third. :confused:I have questions about the check part: How to i perform the checks?

After i perform the checks. then you can put my laptop model in the "all works" list
Thx in advance

melser.anton
May 5th, 2012, 03:53 PM
Seems to work for a:
HP Pavilion dm4-2160sf (Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz with AMD Radeon HD 6470M, maybe this card is not the exact one, it's 64?0M anyway).

Przedzmirski
May 6th, 2012, 07:39 PM
Btw, the performance of the discrete card in windows is a lot better... I assume that this is caused by the fact that the "switchable graphics" in windows doesn't really switches the cards, just force the discrete when needed, but it is always like : DIS: default for processing and IGD : default for displaying. Here in Ubuntu, we have OR the DIS working OR the IGD. Am I wrong? Sometimes, just for surfing on the net or programming, etc, its better to use the IGD one...

Rabenschwinge
May 7th, 2012, 11:13 AM
Thanks for the guide. At least it works for now. I am using an HP Pavilion dv6-6102sg with Intel Core I5 2430 CPU (including intel HD 3000 graphics) and an AMD Radeon HD 6770M graphics adapter.

I would strongly discourage anyone with such a computer who depends on using external screens from using Ubuntu 12.04!

I am still having massive problems using an external screen - any change in the screen setting my cause a crash. And while I managed to use the external VGA screen at work at its native resolution of 1280x1024, it doesn't work for my HDMI screen at home at 1920x1080. A part of the screen remains black, even though the mouse cursor is rendered if I move it into it. Even pulling the HDMI cable or connecting it after XServer started causes the system to hang up.

But I can use the the built in screen without complication and with full 3D support, which is a great thing.

I updated to 12.4 which didn't fix my problems but seems to work fine otherwise earlier today.

o xavi
May 7th, 2012, 07:13 PM
Hi thanks for the post, it did work fine with my laptop:

HP Pavillion dm4 - 2110, VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller , AMD HD 6470, HDMI Intel/AMD: not tested/not tested, VGA Intel/AMD: OK / OK

rotten777
May 9th, 2012, 12:33 AM
Asus B43S - Doesn't work as of May 8 2012. Radeon 6400 series.

debashishone
May 9th, 2012, 02:24 PM
Hey,

It dint worked for me too...I am using generic-pae kernel Ubuntu 12.04 LTS on HP Pavilion dv-6 laptop. The command worked right up until creating of debs (debian package); but the package compiled won't install and it always gave an error. :(

For the time being this is what worked for me:

Uninstall all the drivers suggested by jokey-gtk, if you have tried installing it. And restart.

Now install the drivers using this command

sudo apt-get install fglrx-updates fglrx-amdcccle-updates

Initialise aticonfiguration

sudo aticonfig --initial --input=/etc/X11/xorg.conf

Restart the system

Verify installation by using fgl_glxgears or fglrxinfo

Hope someone find it useful! ENJOY!!!

iowabeakster
May 9th, 2012, 09:03 PM
Asus B43S - Doesn't work as of May 8 2012. Radeon 6400 series.

at least i am not the only one... i have tried and tried on my wife's new B43S.

maraschin
May 9th, 2012, 10:42 PM
I've a HP Envy 17 3D and there is no way I can make the ATI drive to work with it! It is really frustrating! (Radeon HD 6850)

rotten777
May 10th, 2012, 12:06 AM
at least i am not the only one... i have tried and tried on my wife's new B43S.

Yeah I'm not even sure who to complain to. The forums ignore the cries for help and Asus doesn't care... neither does ATI/AMD or Intel.

iowabeakster
May 11th, 2012, 04:15 AM
my plan is to wait for some updates... try again in few weeks/months

then wait and try again... then....give up

delsus
May 11th, 2012, 04:01 PM
Yeah I'm not even sure who to complain to. The forums ignore the cries for help and Asus doesn't care... neither does ATI/AMD or Intel.

No laptop vendors care, contacted HP about it on my laptop and all they would say is "we are unable to support software that was not preinstalled" even when I was only asking if there were plans to update the bios to allow us to completly disable the intel GPU before the laptop boots, which would enable me to use the fglrx driver.

What ever happened to good customer service?

polyrhythmic
May 11th, 2012, 06:28 PM
This would be working great for Catalyst 12.4 on my Samsung Series 7 Chronos (NP700Z5B-S01UB) with Radeon HD 6490M (512MB) if I was running Xorg 1.11 ... but I like xorg-edgers PPA and Xorg 1.12 segfaults with fglrx. The integrated graphics still work great for gnome-shell though. Really digging this laptop with linux.

eloydark
May 12th, 2012, 12:14 AM
Although this guide does show how to switch the two graphics cards (A6 6775G2 on an HP DV6) this does nothing for OpenCL.
OpenCL only recognises the onboard graphics of the A6 (Turks) with 6 processors.
Is there any advice on that matter?

rompelstompel
May 12th, 2012, 01:00 PM
Why don't the fglrx-update packages work as well (jockey)? It isn't that much older than the current release (8.960 vs 8.961).

Is there a way to make the repository packages work in the same way as the bundle from AMD?

doktoreas
May 12th, 2012, 01:00 PM
I tried the procedure but, once I reboot, I have got a black screen with you are running in low graphic mode :(

LSPCI:
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Seymour [Radeon HD 6400M Series]

Thx
L.

jamesmuga
May 13th, 2012, 03:44 PM
Thanks, it does work with my

HP g4-1001tx, Intel HD 3000, AMD 6470m

hani270
May 14th, 2012, 01:37 PM
i have 512MB ATI Card -- Mobility Radeon HD 5430 Series (laptop: dell inpiron n4030)

what can i do ?

willis
May 14th, 2012, 11:20 PM
This works on a sony vaio VPCSA:

lspci:
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Whistler [AMD Radeon HD 6600M Series]

Have to be careful with updates though, and fglrx update breaks the whole system and I have to redo the steps.

Niccola
May 15th, 2012, 02:12 PM
I've uploaded to YouTube a video for tearing test. This video was originally posted in launchpad (http://youtu.be/ceX18O9pvLs) and now it is available in YouTube by me.

If you can't see the white line moving smoothly in the screen, you have video tearing in your system.

OBS: It is Highly recommended the download of the video in High resolution. YouTube flash executing don't reproduces this test very well. So, use some tools to download it in High definition or click in the link above to download the original video file source.

YouTube Video Tearing Test link (http://youtu.be/ceX18O9pvLs)

I'm running I've tested the fglrx driver and opensource intel HD driver as described in this thread in a lot of linux systems and it works very well in all of them. The computer used for testing is a laptop HP Pavilion dv6-6192sf Core i7 + AMD Radeon HD6770M and tested in:

Ubuntu 11.10 / Ubuntu 12.04 LTS
Kubuntu 11.10 and Kubuntu 12.04 LTS
Lubuntu 11.10 and Lubuntu 11.10
also tested in Debian squeeze

shinylenin
May 16th, 2012, 05:12 PM
Guys, you are seriously my last hope.

I already posted this in other forums, but no one could help me.

Here it is: I have a HP dv6-6180eg i5, an Intel iGPU and an ATI HD 6770M dGPU. I seriously followed every step from your tutorial but still I have this big problem: The dGPU is burning hot. I barely can't lie my left hand on the laptop.

Only the iGPU is activated:


$ fglrxinfo
display: :0 screen: 0
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL version string: 3.0 Mesa 8.0.2


Here is the output of sensors:


$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +54.0°C (crit = +99.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +53.0°C (high = +86.0°C, crit = +100.0°C)
Core 0: +52.0°C (high = +86.0°C, crit = +100.0°C)
Core 1: +53.0°C (high = +86.0°C, crit = +100.0°C)


I already switched to "Dynamic" and not "Fixed" in BIOS but I still can't lower the temperatur. I mean, around 50° is not too bad for this kind of machine, but as I said, the dGPU is extremely hot.

When I activate the dGPU, the temperature is the following:



~$ aticonfig --adapter=0 --od-gettemperatur

Adapter 0 - AMD Radeon HD 6700M Series
Sensor 0: Temperature - 54.00 C


I am seriously hopeless right now. I don't know what else I can do. I made a fresh install of Kubuntu (there is no Win anymore on my HDD) but the problem still remains.

I really hope that you guys can help me out!

Thanks in advance!

tminhdn
May 17th, 2012, 04:27 AM
Hey,

It dint worked for me too...I am using generic-pae kernel Ubuntu 12.04 LTS on HP Pavilion dv-6 laptop. The command worked right up until creating of debs (debian package); but the package compiled won't install and it always gave an error. :(

For the time being this is what worked for me:

Uninstall all the drivers suggested by jokey-gtk, if you have tried installing it. And restart.

Now install the drivers using this command


Initialise aticonfiguration


Restart the system

Verify installation by using fgl_glxgears or fglrxinfo

Hope someone find it useful! ENJOY!!!

Thanks. This works for me. But whenever I switch to intergrated gpu, I can't load gnome-shell (desktop and icon on desktop show, but nothing more). How can I solve this? I tried the way in first post to enable direct rendering in intergrated gpu but it doesnt work. Or how can I revert to original driver when install ubuntu? I'm using Dell Inspiron N4110R, core-i3, intel hd 3000 + ati radeon 6630m

apochry
May 18th, 2012, 02:49 AM
Hi guys,

very helpful thread!

I am using a Dell Vostro 3450 Laptop with Hybrid AMD 6630M/Intel HD300 graphics. The discrete card works fine, but I can't get Unity 3D with the integrated.

Google doesn't help me a lot to figure out, if Unity 3D is supported by the Intel HD3000 integrated cards.
Here is what
/usr/lib/nux/unity_support_test -p
says:


penGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2
OpenGL version string: 1.4 (3.0 Mesa 8.0.2)

Not software rendered: yes
Not blacklisted: yes
GLX fbconfig: yes
GLX texture from pixmap: yes
GL npot or rect textures: yes
GL vertex program: yes
GL fragment program: yes
GL vertex buffer object: no
GL framebuffer object: yes
GL version is 1.4+: yes

Unity 3D supported: no

Is there any way to have Unity3D with the integrated card?
You, guys, should know this for sure...

Thanks,
Christo

tminhdn
May 18th, 2012, 04:59 AM
Hi guys,

very helpful thread!

I am using a Dell Vostro 3450 Laptop with Hybrid AMD 6630M/Intel HD300 graphics. The discrete card works fine, but I can't get Unity 3D with the integrated.

Google doesn't help me a lot to figure out, if Unity 3D is supported by the Intel HD3000 integrated cards.
Here is what
/usr/lib/nux/unity_support_test -p
says:


penGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2
OpenGL version string: 1.4 (3.0 Mesa 8.0.2)

Not software rendered: yes
Not blacklisted: yes
GLX fbconfig: yes
GLX texture from pixmap: yes
GL npot or rect textures: yes
GL vertex program: yes
GL fragment program: yes
GL vertex buffer object: no
GL framebuffer object: yes
GL version is 1.4+: yes

Unity 3D supported: no

Is there any way to have Unity3D with the integrated card?
You, guys, should know this for sure...

Thanks,
Christo

Intel HD3000 supports Unity 3D if you dont install Catalyst. After you install Catalyst, when switch to intergrated gpu (intel hd3000), it can't run Unity 3D anymore until you remove Catalyst and revert to original driver. That's what happened to me.

Alexislavie
May 18th, 2012, 08:17 AM
Hi guys,

very helpful thread!

I am using a Dell Vostro 3450 Laptop with Hybrid AMD 6630M/Intel HD300 graphics. The discrete card works fine, but I can't get Unity 3D with the integrated.

Google doesn't help me a lot to figure out, if Unity 3D is supported by the Intel HD3000 integrated cards.
Here is what
/usr/lib/nux/unity_support_test -p
says:


penGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2
OpenGL version string: 1.4 (3.0 Mesa 8.0.2)

Not software rendered: yes
Not blacklisted: yes
GLX fbconfig: yes
GLX texture from pixmap: yes
GL npot or rect textures: yes
GL vertex program: yes
GL fragment program: yes
GL vertex buffer object: no
GL framebuffer object: yes
GL version is 1.4+: yes

Unity 3D supported: no

Is there any way to have Unity3D with the integrated card?
You, guys, should know this for sure...

Thanks,
Christo

Check if you do have direct rendering enabled.

aeronutt
May 18th, 2012, 11:01 AM
Hi guys,

very helpful thread!

I am using a Dell Vostro 3450 Laptop with Hybrid AMD 6630M/Intel HD300 graphics. The discrete card works fine, but I can't get Unity 3D with the integrated.

Google doesn't help me a lot to figure out, if Unity 3D is supported by the Intel HD3000 integrated cards.
Here is what
/usr/lib/nux/unity_support_test -p
says:


penGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2
OpenGL version string: 1.4 (3.0 Mesa 8.0.2)

Not software rendered: yes
Not blacklisted: yes
GLX fbconfig: yes
GLX texture from pixmap: yes
GL npot or rect textures: yes
GL vertex program: yes
GL fragment program: yes
GL vertex buffer object: no
GL framebuffer object: yes
GL version is 1.4+: yes

Unity 3D supported: no

Is there any way to have Unity3D with the integrated card?
You, guys, should know this for sure...

Thanks,
Christo

Did you do step #2 as outlined in the first post? Unity 3D didn't work for me until I did step #2.

apochry
May 18th, 2012, 11:12 AM
Did you do step #2 as outlined in the first post? Unity 3D didn't work for me until I did step #2.

Yes, I did exactly as described.

My /etc/X11/Xsession.d/10fglrx says:

LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri
if [ `uname -m` = 'x86_64' ]; then
if [ -d /usr/lib32/fglrx/dri ]; then
LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri:/usr/lib32/dri
if [ ! -z $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
fi
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32
export LD_LIBRARY_PATH
fi
fi
export LIBGL_DRIVERS_PATH

When try I log in to Unity 3D using the integrated video, I get in, but I don't have Launcher and Panel on my desktop and the start-up applications start without window decorations. I can't do anything else but press ctrl+alt+del and log out.

Thanks!

Aidamir
May 21st, 2012, 01:31 PM
Hi, all. Thank's! It is very helpful thread. But I still cannot run unity-3d on HP ProBook 4350s intel HD3000/Radeon 6400M intergated card it show's likely the same as described in many posts here. No unity appear and all windows are headless (due compiz fail to start). There is only these lines I found in the /var/log/syslog.log
May 20 23:30:52 yellow gnome-session[2090]: WARNING: App 'compiz.desktop' respawning too quickly
May 20 23:30:52 yellow gnome-session[2090]: CRITICAL: We failed, but the fail whale is dead. Sorry....
However I notice - when I tried to start compiz manually, it started successfully from console and windows start's looking normal (but still missing unity panel).

I also want to share my experience of installing latest AMD catalyst driver's. It does not build kernel driver without patch.
I found also this post complain to the same problem
http://ubuntuforums.org/showpost.php?p=11885405&postcount=192

When installing catalyst Dirver I got these error:

Building only for 3.2.0-24-generic-pae
Building for architecture i686
Building initial module for 3.2.0-24-generic-pae
Error! Bad return status for module build on kernel: 3.2.0-24-generic-pae (i686)
Consult /var/lib/dkms/fglrx/8.961/build/make.log for more information.
update-initramfs: deferring update (trigger activated)
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for bamfdaemon ...

/var/lib/dkms/fglrx/8.961/build/make.log - says the following:

MD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/3.2.0-24-generic-pae/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Вход в каталог `/usr/src/linux-headers-3.2.0-24-generic-pae'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: В функции «KCL_fpu_begin»:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5812:28: ошибка: «TS_USEDFPU» undeclared (first use in this fun
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5812:28: замечание: each undeclared identifier is reported only
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Ошибка 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Ошибка 2
make[1]: Выход из каталога `/usr/src/linux-headers-3.2.0-24-generic-pae'
make: *** [kmod_build] Ошибка 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.

I found fix for that on these thread of AMD site forum:http://ati.cchtml.com/show_bug.cgi?id=444

These patch I copied from that site and attached here. It does only simple thing you can do using any text editor.
So to replace string "if (cur_task->status & TS_USEDFPU)" with
"if (__thread_has_fpu(cur_task))" in /usr/src/fglrx-8.961/firegl_public.c file after unpacking fglrx package.

How to fix:

The following guide assumes that you are running all commands from the directory containing fglrx_8.961-0ubuntu1_i386.deb package (built by --buildpkg option of AMD catalyst package) and patch file ts_usedfpu.txt attached here.


1) Firstly you have to build packages using the Alexislavie steps, or if you have already built and installed them no reinstallation requered the procedure should replace fglrx package.
2) Then we need unpack deb package to let us apply patches before running kernel module build:
sudo dpkg --unpack ./fglrx_8.961-0ubuntu1_i386.deb

Output expected to be something like:
(Reading database ... 194533 files and directories currently installed.)
Preparing to replace fglrx 2:8.961-0ubuntu1 (using fglrx_8.961-0ubuntu1_i386.deb) ...
Unpacking replacement fglrx ...
Processing triggers for ureadahead ...

3) Apply patch:
sudo patch -d /usr/src/fglrx-8.961 -p0 < ts_usedfpu.txt
Output expected to be something like:

patching file firegl_public.c
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 5809 with fuzz 1 (offset 10 lines).


Or you can simply open /usr/src/fglrx-8.961/firegl_public.c, go to 5812 line and replace the string "if (cur_task->status & TS_USEDFPU)" with "if (__thread_has_fpu(cur_task))"

4) Build DMKS and finish package istallation
sudo dpkg --configure fglrx

At the end of output you should see something like:
Loading new fglrx-8.961 DKMS files...
Building only for 3.2.0-24-generic-pae
Building for architecture i686
Building initial module for 3.2.0-24-generic-pae
Done.

fglrx:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.2.0-24-generic-pae/updates/dkms/

depmod....

DKMS: install completed.
update-initramfs: deferring update (trigger activated)
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-24-generic-pae
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place


Now you are ready to proceed with configure if neccesary.

jjiggens
May 22nd, 2012, 05:24 AM
Works fine on an HP Elietebook 8560p Intel: HD 3000, AMD 6470m did not test display port or vga. i will tomorrow.

Aidamir
May 22nd, 2012, 08:39 AM
Hi, has anybody solved missing launcher and panel with integrated adatper running?
The only information I have is 2 lines from syslog:

May 20 23:30:52 yellow gnome-session[2090]: WARNING: App 'compiz.desktop' respawning too quickly
May 20 23:30:52 yellow gnome-session[2090]: CRITICAL: We failed, but the fail whale is dead. Sorry....

I did try to run session by startx script. Decorator did start. Then I did run unity from console. It start to show launcher and panel but with horrible blinking and glitches. May be somebody can comment that?

unity log:

Checking if settings need to be migrated ...no
Checking if internal files need to be migrated ...no
Backend : gconf
Integration : true
Profile : unity
Adding plugins
Initializing core options...done
compiz (core) - Warn: failed to receive ConfigureNotify event on 0x1600004

Initializing composite options...done
Initializing opengl options...done
Initializing decor options...done
Initializing vpswitch options...done
Initializing snap options...done
Initializing mousepoll options...done
Initializing resize options...done
Initializing place options...done
Initializing move options...done
Initializing wall options...done
Initializing grid options...done
Initializing session options...done
Initializing gnomecompat options...done
Initializing animation options...done
Initializing fade options...done
Initializing unitymtgrabhandles options...done
Initializing workarounds options...done
Initializing scale options...done
compiz (expo) - Warn: failed to bind image to texture
Initializing expo options...done
Initializing ezoom options...done

(compiz:3709): GConf-CRITICAL **: gconf_client_add_dir: assertion `gconf_valid_key (dirname, NULL)' failed
ERROR 2012-05-21 17:15:24 unity.launcher.trashlaunchericon TrashLauncherIcon.cpp:62 Could not create file monitor for trash uri: Operation not supported
Initializing unityshell options...done
compiz (core) - Warn: unhandled ConfigureNotify on 0x100009e!
compiz (core) - Warn: this should never happen. you should probably file a bug about this.

WARN 2012-05-21 17:15:25 unity.glib-gobject <unknown>:0 invalid cast from `BamfWindow' to `BamfApplication'
ERROR 2012-05-21 17:15:25 unity <unknown>:0 bamf_application_get_desktop_file: assertion `BAMF_IS_APPLICATION (application)' failed
....................................several lines of the same content.......................
ERROR 2012-05-21 17:15:25 unity <unknown>:0 bamf_application_get_desktop_file: assertion `BAMF_IS_APPLICATION (application)' failed
WARN 2012-05-21 17:15:25 unity.launcher Launcher.cpp:3012 Object registration failed. Won't get dynamic launcher addition.
Initializing staticswitcher options...done
Setting Update "launcher_hide_mode"
Setting Update "icon_size"
Setting Update "edge_responsiveness"
Setting Update "launcher_capture_mouse"
Setting Update "main_menu_key"
Setting Update "run_key"

mimmozzo
May 22nd, 2012, 11:31 PM
All works for me except for Unity 3D with Intel (I am forced to use discrete gpu), even after applying the fix in step 2.
Notebook: HP Pavilion dv6 6169sl


cat /etc/X11/Xsession.d/10fglrx
LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri
if [ `uname -m` = 'x86_64' ]; then
if [ -d /usr/lib32/fglrx/dri ]; then
LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri:/usr/lib/dri
if [ ! -z $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
fi
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32
export LD_LIBRARY_PATH
fi
fi
export LIBGL_DRIVERS_PATH

EDIT: I took a deeper look at the script and, since "uname -m" gives "i686" as output (I have 32 bit Ubuntu), none of the instructions above are executed but these two:

LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri
export LIBGL_DRIVERS_PATH
Guess we need something like:

LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri:/usr/lib/dri
export LIBGL_DRIVERS_PATH
I'll try it and let you know :)

EDIT2: No luck, even tried creating symlink /usr/lib32 to /usr/lib (the aticonfig util wants the lib32 directory).

EDIT3: This is Xorg.0.log when Unity does not start correctly after selecting igpu:


[ 17.679] (II) fglrx(0): pEnt->device->identifier=0xb8828108
[ 17.680] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 17.680] (II) intel(1): pEnt->device->identifier=(nil)
[ 17.680] (EE) Screen 1 deleted because of no matching config section.
[ 17.680] (II) UnloadModule: "intel"
[ 17.680] (II) Unloading intel

jasonwyz98
May 23rd, 2012, 01:59 AM
All works for me except for Unity 3D with Intel (I am forced to use discrete gpu), even after applying the fix in step 2.
Notebook: HP Pavilion dv6 6169sl


cat /etc/X11/Xsession.d/10fglrx
LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri
if [ `uname -m` = 'x86_64' ]; then
if [ -d /usr/lib32/fglrx/dri ]; then
LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri:/usr/lib/dri
if [ ! -z $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
fi
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32
export LD_LIBRARY_PATH
fi
fi
export LIBGL_DRIVERS_PATH

EDIT: I took a deeper look at the script and, since "uname -m" gives "i686" as output (I have 32 bit Ubuntu), none of the instructions above are executed but these two:

LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri
export LIBGL_DRIVERS_PATH
Guess we need something like:

LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri:/usr/lib/dri
export LIBGL_DRIVERS_PATH
I'll try it and let you know :)

EDIT2: No luck, even tried creating symlink /usr/lib32 to /usr/lib (the aticonfig util wants the lib32 directory).

EDIT3: This is Xorg.0.log when Unity does not start correctly after selecting igpu:


[ 17.679] (II) fglrx(0): pEnt->device->identifier=0xb8828108
[ 17.680] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 17.680] (II) intel(1): pEnt->device->identifier=(nil)
[ 17.680] (EE) Screen 1 deleted because of no matching config section.
[ 17.680] (II) UnloadModule: "intel"
[ 17.680] (II) Unloading intel


1. Remove ":/usr/lib/dri" from 4th line

2. Append this ":/usr/lib32/dri" ( 32bit systems ) without quotes to: LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri

so the first line should be: LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri:/usr/lib32/dri

Let us know if works :)

rotten777
May 23rd, 2012, 02:52 PM
Asus B43S - Doesn't work as of May 8 2012. Radeon 6400 series.


at least i am not the only one... i have tried and tried on my wife's new B43S.



I got 3D to work. Not with ATI card I don't believe though.



To anyone that runs across this, I've ended up getting 3D to work. I don't believe it is the ATI card doing it though. If you just want your B43S-X51 to work in Unity 3D, do this:


sudo apt-get purge nvidia*
sudo rm /etc/X11/xorg.conf
sudo apt-get install --reinstall xserver-xorg-core libgl1-mesa-glx:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:amd64
sudo dpkg-reconfigure xserver-xorg
sudo reboot

mimmozzo
May 23rd, 2012, 09:43 PM
It didn't work sorry.