No, switching with amdcccle doesn't work. It's freezing my system.
First, Thanks very much for the great tutorial and you efforts here in the thread
Second , I have a laptop hp probook 4530s with amd 6490 and intel 3000 I tried this tutorial and did it all step by step
my problem is after running
then restart Ubuntu runs in the low graphics mode and i must reconfigure the grahpicssudo aticonfig --initial -f
also
fglrxinfo
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
Current serial number in output stream: 12
Last edited by mohgabr; July 9th, 2012 at 09:53 AM.
Who's having low graphics mode problem, please follow this steps:
1 - Post the following command output:
2 - follow the post #1, AND before install fglrx .deb files, execute the following command (must be executed inside fglrx .deb directory):Code:uname -a
OBS: The command above will create a file fglrx_install.log logging all std output and error output occurred during fglrx installation.Code:sudo dpkg -i fglrx*.deb >> fglrx_install.log 2>&1
3 - post here the fglrx_install.log file content
IMPORTANT TIP: To post something in this thread and be clear to everyone read it, use CODE /CODE declaration inside brackets.
You can also use pastebin to paste your code, output or command stuff there and just put your stuff pastebin URL here. like that:
uname -a output: http://pastebin.com/eaLcXUGV
Cheers
Last edited by Niccola; July 11th, 2012 at 12:31 PM.
Guys,
sorry but there's an error in my post #107. Which, probably, will not work on 32-bits Linux.
The 32-bits dri driver path is wrong. However, now I'll post an 10fglrx fix that will work to 32 or 64 bits.
Before, make sure you have libgl1-mesa-dri installed. Without this package, you cannot have Intel direct rendering on 32 bits systems.
Now, just edit /etc/X11/Xsession.d/10fglrx (with super user permission)Code:sudo apt-get install libgl1-mesa-dri
REPLACE LINE 4 with code below:Code:sudo gedit /etc/X11/Xsession.d/10fglrx
AND ADD the code below between lines 11 and 12. (before export LIBGL_DRIVERS_PATH)Code:LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri:/usr/lib/x86_64-linux-gnu/dri
VERIFY YOUR CHANGES BEFORE SAVINGCode:if [ `uname -m` = 'i686' ] | [ `uname -m` != 'x86_64' ]; then LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib/i386-linux-gnu/dri fi
Your file should looks like this:
VERIFY YOUR CHANGES BEFORE SAVINGCode: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 if [ `uname -m` = 'i686' ] | [ `uname -m` != 'x86_64' ]; then LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib/i386-linux-gnu/dri fi export LIBGL_DRIVERS_PATH
Verify your changes, save and enjoy Direct Rendering in 32/64 bits OSs
voila!
You can download here all .deb files from amd Catalyst 12.6 final with 10fglrx fixed (ready to install).
- This .deb files only works with 12.04 LTS Precise Ubuntu
- I've add Kernel 3.4 support in this .deb files (for Ubuntu 12.04 LTS precise)
- Fixed Intel direct rendering
Download:
for Ubuntu 12.04 LTS 64 bits: amd-12-6-fixed-Niccola-amd64.tar.gz
for Ubuntu 12.04 LTS 32 bits: amd-12-6-fixed-Niccola-i386.tar.gz
Instructions:
1 - Extract inside a new and empty directory
2 - Install:Code:tar -xvf amd-12-6-fixed-Niccola.tar.gz
3 - Run automatic configuration for xorg.conf file:Code:sudo dpkg -i fglrx*.deb
Reboot your machineCode:sudo amdconfig --initial -f
4 - Switch to Intel Integrated Graphic Card:
reboot your machineCode:sudo amdconfig --px-igpu
5 - test Intel Direct Rendering:
Code:glxinfo | egrep render
Last edited by Niccola; July 13th, 2012 at 03:50 PM.
Hi , thanks for your efforts
And here is my output:
about the other thing I removed the old packages and can't generate them again using :Code:$ uname -a Linux MohGabr-Ubuntu 3.2.0-26-generic-pae #41-Ubuntu SMP Thu Jun 14 16:45:14 UTC 2012 i686 i686 i386 GNU/Linux
it gives me this errorCode:sudo sh ./amd-driver-installer-12-4-x86.x86_64.run --buildpkg Ubuntu/precise
I will try to rebuild the packages againCode:. . . . . . . . dpkg-buildpackage: error: debian/rules binary gave error exit status 2 Removing temporary directory: fglrx-install.dL7xtG
I don't know what's happen with this information you give me. But in this step you probably miss some packages installation.
try it:
and after, download it to an empty directory:Code:sudo apt-get install build-essential cdbs dh-make dkms execstack dh-modaliases fakeroot libqtgui4 libgl1-mesa-dri
amd-12-6-fixed-Niccola-i386.tar.gz
then execute following command, such that is post #357:
Instructions:
1 - Extract inside a new and empty directory
2 - Install:Code:tar -xvf amd-12-6-fixed-Niccola.tar.gz
3 - Run automatic configuration for xorg.conf file:Code:sudo dpkg -i fglrx*.deb
Reboot your machineCode:sudo amdconfig --initial -f
4 - Switch to Intel Integrated Graphic Card:
reboot your machineCode:sudo amdconfig --px-igpu
5 - test Intel Direct Rendering:
Code:glxinfo | egrep render
First of all I have to say thanks. I am following this thread since a long time and it was helping me a lot to get the switchable graphics working for my Samsung.
Samsung Series 7 Chronos 700Z3A-SO2de, Intel HD 3000, AMD 6490m, HDMI Intel/AMD not tested/not tested, Mini DisplayPort Intel/AMD not testes/not tested
Nevertheless there are still issues to fix. The laptop has been under linux always a little bit hotter than under windows. I had activated the integrated graphics card. But the dedicated seems to be online thought. Today I activated the dedicated and now the used power seems to be dropped by 0.5 to 1W and the temperature of the air coming out of the laptop seems to be lower.
Does anyone made the same observation? Maybe the fglrx driver does'nt set the dedicated graphics card into a very low power mode when the integrated graphics card is chosen.
Thanks for your great efforts I think it worked now
I have downloaded your fixed packages
and here is the output :
1- The installation log file fglrx_install.log : http://pastebin.com/r8dipgCA
2-3-Code:$ fglrxinfo display: :0.0 screen: 0 OpenGL vendor string: Advanced Micro Devices, Inc. OpenGL renderer string: AMD Radeon HD 6400M Series OpenGL version string: 4.2.11733 Compatibility Profile ContextBut the switching not workingCode:$ 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,
Code:$ sudo amdconfig --px-igpu No layout section was found in the file: 'xorg.conf'. Please run 'aticonfig --initial' first or modify your configuration file manually and run aticonfig again. amdconfig: parsing the command-line failed.
Last edited by mohgabr; July 14th, 2012 at 06:23 PM.
Bookmarks