LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-11-2010, 12:34 PM   #1
soviet
LQ Newbie
 
Registered: Oct 2009
Location: Serbia, Belgrade
Distribution: Slackware64
Posts: 12

Rep: Reputation: 0
Slackware64 current - Core i3 and ATI Mobility Radeon HD 5470 switchable problem


Hi all,
I have installed Slackware64 13.1 on HP G72-A20EM laptop with Core i3 CPU and ATI Mobility Radeon HD 5470 switchable.
I am trying to install ATI Catalyst using installer ati-driver-installer-10-11-x86.x86_64.run but even installation was successful I can not start X.
After two days of reading about vga switcherooo, integrated and discrete graphics cards, and finally upgrading to slackware64 current with kernel 2.6.35.7 I am still at the beginning.
I downloaded older version of drivers (ati-driver-installer-10-9-x86.x86_64.run) so I could completely follow these instructions but now I'm getting this error:

Code:
ATI SlackBuild Version 1.4.1
--------------------------------------------
by: Emanuele Tomasi <tomasiATcli.di.unipi.it>
    Ezio Ghibaudo <ekxiusATgmail.com>

Found patch:
        /etc/ati/patch/patch-8.771-2.6.35.7
applied

can't find file to patch at input line 4
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ru ./2.6.x/Makefile ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile
|--- ./2.6.x/Makefile   2010-09-01 16:05:31.000000000 +0200
|+++ ../../../../../../fglrx-install.uZLF8t/common/lib/modules/fglrx/build_mod//2.6.x/Makefile  2010-09-23 08:47:24.000000000 +0200
--------------------------
File to patch: ./2.6.x/Makefile
patching file ./2.6.x/Makefile
patching file kcl_ioctl.c
patching file make.sh
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.GCC* .??* *.symvers
make -C /lib/modules/2.6.35.7/build SUBDIRS=/root/fglrx-install.0rRPR3/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.35.7'
/usr/src/linux-2.6.35.7/arch/x86/Makefile:81: stack protector enabled but no compiler support

  WARNING: Symbol version dump /usr/src/linux-2.6.35.7/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /root/fglrx-install.0rRPR3/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/usr/libexec/gcc/x86_64-slackware-linux/4.5.1/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory
make[2]: *** [/root/fglrx-install.0rRPR3/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/root/fglrx-install.0rRPR3/common/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.35.7'
make: *** [kmod_build] Error 2
build failed with return value 2
ERROR: i don't have make module
Removing temporary directory: fglrx-install.0rRPR3
Thanks in advance,
soviet
 
Old 12-11-2010, 03:09 PM   #2
soviet
LQ Newbie
 
Registered: Oct 2009
Location: Serbia, Belgrade
Distribution: Slackware64
Posts: 12

Original Poster
Rep: Reputation: 0
I've just reinstalled slackware64 13.1 and I managed to start X in vesa mod passing nomodeset in boot option and executing this:
echo 'options i915 modeset=0' > /etc/modprobe.d/i915

After restart I used xorg.conf-vesa and got X running but no 3D acceleration...

Any suggestions?
 
Old 12-11-2010, 05:15 PM   #3
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
fglrx 10.11 should work on kernel 2.6.35.7 without any patching (it did here, anyway).

Ultimately, though, the fatal error when installing the drivers was this:

Code:
error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory
Does /usr/lib/64/libmpc.so.2 exist?

Adam
 
Old 12-11-2010, 05:22 PM   #4
soviet
LQ Newbie
 
Registered: Oct 2009
Location: Serbia, Belgrade
Distribution: Slackware64
Posts: 12

Original Poster
Rep: Reputation: 0
I installed ati catalyst 10-11 without any problem, and executed aticonfig --initial... Then I restarted machine and tried to start x but crash again...
 
Old 12-11-2010, 05:42 PM   #5
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
Mind you, I have no experience with switchable graphics, but have read a little. I know, for example, that nVidia doesn't support it with their proprietary drivers unless there is an option in the BIOS to disable the on-board intel GPU. It would not surprise me if fglrx were the same.

I do not know if the open source drivers support switchable graphics any better.

Having said that... If you expect help, you'll need to give us at least a little more information. The /var/log/Xorg.0.log file that was generated would be a start.
 
Old 12-12-2010, 01:45 AM   #6
soviet
LQ Newbie
 
Registered: Oct 2009
Location: Serbia, Belgrade
Distribution: Slackware64
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by adamk75 View Post
Does /usr/lib/64/libmpc.so.2 exist?
Adam
No, but after running slackpkg install-new and then slackpkg upgrade-all I managed to build fglrx packages from ati-driver-installer-10-11-x86.x86_64.run.
Probably after updating to current with slapt-get wasn't enough.
Here is part of Xorg.0.log:

Code:
[  1980.332] (WW) Falling back to old probe method for fglrx
[  1980.340] (II) Loading PCS database from /etc/ati/amdpcsdb
[  1980.341] (--) Chipset Supported AMD Graphics Processor (0x68E0) found
[  1980.341] (WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
[  1980.342] (II) AMD Video driver is running on a device belonging to a group targeted for this release
[  1980.342] (II) AMD Video driver is signed
[  1980.343] (II) fglrx(0): pEnt->device->identifier=0x7fc2d0
[  1980.344] (II) fglrx(0): === [xdl_x760_atiddxPreInit] === begin
[  1980.344] (**) fglrx(0): Depth 24, (--) framebuffer bpp 32
[  1980.344] (II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[  1980.344] (==) fglrx(0): Default visual is TrueColor
[  1980.344] (**) fglrx(0): Option "DPMS" "true"
[  1980.344] (==) fglrx(0): RGB weight 888
[  1980.344] (II) fglrx(0): Using 8 bits per RGB
[  1980.344] (==) fglrx(0): Buffer Tiling is ON
[  1980.344] (II) Loading sub module "fglrxdrm"
[  1980.344] (II) LoadModule: "fglrxdrm"
[  1980.344] (II) Reloading /usr/lib64/xorg/modules/linux/libfglrxdrm.so
[  1980.403] ukiDynamicMajor: found major device number 245
[  1980.403] ukiDynamicMajor: found major device number 245
[  1980.403] ukiOpenByBusid: Searching for BusID PCI:1:0:0
[  1980.403] ukiOpenDevice: node name is /dev/ati/card0
[  1980.403] ukiOpenDevice: open result is 13, (OK)
[  1980.403] ukiOpenByBusid: ukiOpenMinor returns 13
[  1980.403] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
[  1980.403] (==) fglrx(0): NoAccel = NO
[  1980.403] (==) fglrx(0): ATI 2D Acceleration Architecture enabled
[  1980.403] (--) fglrx(0): Chipset: "ATI Mobility Radeon HD 5400 Series " (Chipset = 0x68e0)
[  1980.403] (--) fglrx(0): (PciSubVendor = 0x103c, PciSubDevice = 0x143a)
[  1980.403] (==) fglrx(0): board vendor info: third party graphics adapter - NOT original ATI
[  1980.403] (--) fglrx(0): Linear framebuffer (phys) at 0xa0000000
[  1980.403] (--) fglrx(0): MMIO registers at 0xc4400000
[  1980.403] (--) fglrx(0): I/O port at 0x00003000
[  1980.403] (==) fglrx(0): ROM-BIOS at 0x000c0000
[  1980.423] (II) fglrx(0): AC Adapter is used
[  1980.427] (II) fglrx(0): Detected: Switchable-graphics system with a non-AMD chipset
[  1980.427] (EE) fglrx(0): Please disable switchable-graphics feature and configure the discrete card as the default adapter
[  1980.427] (EE) fglrx(0): GetBIOSParameter failed
[  1980.427] (EE) fglrx(0): PreInitAdapter failed
[  1980.427] (EE) fglrx(0): PreInit failed
[  1980.427] (II) fglrx(0): === [xdl_x760_atiddxPreInit] === end
[  1980.430] (II) UnloadModule: "fglrx"
[  1980.430] (II) UnloadModule: "fglrxdrm"
[  1980.431] (II) UnloadModule: "fglrxdrm"
[  1980.431] (EE) Screen(s) found, but none have a usable configuration.
[  1980.431]
Fatal server error:
[  1980.431] no screens found
[  1980.431]
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[  1980.431] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
And entire Xorg.0.log file is attached if needed.
Attached Files
File Type: log Xorg.0.log (9.9 KB, 2 views)
 
Old 12-12-2010, 02:29 AM   #7
soviet
LQ Newbie
 
Registered: Oct 2009
Location: Serbia, Belgrade
Distribution: Slackware64
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by adamk75 View Post
Mind you, I have no experience with switchable graphics, but have read a little. I know, for example, that nVidia doesn't support it with their proprietary drivers unless there is an option in the BIOS to disable the on-board intel GPU. It would not surprise me if fglrx were the same.

I do not know if the open source drivers support switchable graphics any better.
There is NO option in the BIOS to disable the on-board intel GPU, and I somewhere found that HP will not publish BIOS update with that option.

So does that mean that there is no way to use linux on such laptops? Or we just need to wait for another release of catalyst or another release of kernel?

I am little confused here...
Who should fix this problem?
Intel by removing CPU integrated graphic adapter?
Or ATI, I don't know how and why should they do it (if switchable option was not their idea)?
Or Linux by finding a way to use that "advanced" feature?

My opinion is that integrating graphic card in CPU was very stupid idea in the first place, but what's done it's done.
I don't want ms windows, that is for sure...
And if slackware(or some other linux) is not an option, what else can I do, except returning laptop to HP and telling that there is no use of their product, which I am very close to do.

Here is my xorg.conf file if nedded:
Attached Files
File Type: txt xorg.conf.txt (7.1 KB, 8 views)

Last edited by soviet; 12-12-2010 at 02:33 AM.
 
Old 12-12-2010, 04:09 AM   #8
tomtomjkw
Member
 
Registered: Jan 2008
Distribution: Slackware64-current
Posts: 127

Rep: Reputation: 31
As log said - fglrx driver doesn't support switchable graphics. Basically, you must stick to opensource radeon driver, which is not a bad idea nowadays. You might start from there :
http://linux-hybrid-graphics.blogspot.com/
 
Old 12-12-2010, 02:29 PM   #9
soviet
LQ Newbie
 
Registered: Oct 2009
Location: Serbia, Belgrade
Distribution: Slackware64
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for your replay.

I managed to start X with radeon drivers using this instructions found following your link.
All this is very complicated...
Needed kernel compilation to use vgaswitcheroo and all this stuff with switching...
But... Slackware64 current with Hybrid Graphics Intel/ATI on HP G72 laptop is possible.
I need to review all this work and see what are minimum steps to make it work...
I really hope that someone will make it work out of the box very soon.

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware64 -current video problem with ATI HD5570 lpallard Slackware 23 01-08-2011 06:38 PM
ATI Mobility Radeon HD 5470 Advice DiBosco Linux - Hardware 7 08-17-2010 05:41 PM
Problem with ati mobility radeon x800 dawmon77 Suse/Novell 6 10-31-2005 07:22 AM
Fedora Core 3 and ATI Mobility Radeon 9700 Niels82 Linux - Laptop and Netbook 2 12-06-2004 04:43 PM
Suse 9.0 ATI Mobility Radeon M7 problem xconfederacy Linux - Laptop and Netbook 5 02-01-2004 08:50 PM


All times are GMT -5. The time now is 03:04 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration