Easy install of ATI proprietary driver in the console

For those who need or want to install the latest ATI proprietary driver (Catalyst 11.2) right after a fresh 11.4 install - and might not look for solutions in the development subforum - here’s a quick and - not so dirty way (you need internet access at this point) :

  • Exit X or boot in runlevel 3
  • login as root in the console
  • Type the following:

cd /tmp
wget http://www.unixversal.com/linux/openSUSE/atiupgrade
chmod 755 atiupgrade
./atiupgrade

  • Be patient. It might take some time.
  • Answer yes when prompted to install fglrx64_xpic_SUSE113
  • reboot (using nomodeset in the boot options if you need to).

In order to compile the module, I installed the kernel sources and the pattern devel_basis. I normally use most packages in this pattern, so I install it by default from other scripts. While running atiupgrade on a fresh install, I was surprised by the number of packages getting installed with that pattern. You certainly won’t need them all but don’t be afraid though! They don’t bite.

Please report if it doesn’t work. (like aticonfig --initial failed to add a fglrx section for some reason).

Take a look at the atiupgrade thread in the development forum: Upgrading ATI driver with atiupgrade. The latest version of the script is always in the last post.

Thanks for that !!! It worked

…except “wget” did not work ???:wink: don’t know why and did not bother to find out.

Anyway via firefox http://www.unixversal.com/linux/openSUSE/atiupgrade I downloaded the script, reboot nomdoeset 3, installed.

Thanks from otto_oz:)

Oh… I think that would be because wget wasn’t installed then. I tried the script on a fresh install but the only thing I didn’t try might have been to download it with wget in the first place. The script itself uses wget to download the ATI installer. So it looks for wget and installs it if it’s missing:


	# make sure wget is installed
	which wget > /dev/null 2>&1 || zypper in wget

It’s also possible that wget is installed or not depending on the type of install you did (live CD, DVD or net install). I’ll check the next time. In any case you just have to install wget first. That would only add one command to this method. If wget is already installed, you’ll just get a short message ending with “Nothing to do”.


zypper in wget
cd /tmp
wget http://www.unixversal.com/linux/openSUSE/atiupgrade
chmod 755 atiupgrade
./atiupgrade

I did install “wget”

Anyway it worked. Also I appreciated the hit re installing the “development” pattern.

Cheers

I meant the hint (!) re development pattern, since I do compile every now and then…with the result of error msg re missing libs etc. That should now solve most of the problems.

cheers Otto:)

Hi. I have just done a fresh install of 11.4 and followed you above instructions which i found to be very clear and easy to follow, however I still have not had any win. All looked good until I had to reboot.
When I reboot with NOMODESET i just get a blank screen.
If i just allow it to boot normally i get a command line login.
And if i boot in failsafe mode i get a command line login.

I found your link after trying the methods here :- SDB:ATI drivers - openSUSE
I had no win with any of these methods either.

Any ideas or help would be appreciated, Thanks

Hi! This is an old post and this script is now available from my repo here: http://download.opensuse.org/repositories/home:/please_try_again/openSUSE_11.4/home:please_try_again.repo. But the one you downloaded here http://www.unixversal.com/linux/openSUSE/atiupgrade is the same. There is a thread about this script is in the development suborum here: Upgrading ATI driver with atiupgrade which includes lots of details and informations, but it’s a very long thread.

nomodeset is normally only needed with the open source driver radeonhd. As I don’t know how far you have been in running the script and how many steps completed successfully, I would suggest to boot in runlevel 3 first, as shown in this post: Doubts in installing the property ATI driver. This is not the same as failsafe. Don’t use nomodeset for now. Log in as root in the console and

  • Show us if the fglrx package is installed:
rpm -qa | grep fglrx
  • show us the content of xorg.conf:
cat /etc/X11/xorg.conf
  • Also show us the model of your graphic card and which driver it is using now:
hwinfo --gfxcard | grep -i -e model -e driver

Thanks for the reply, the graphics card is a Radeon HD5470

rpm -qa | grep fglrx
fglrx64_xpic_SUSE114-8.831.2-1.x86_64

cat /etc/X11/xorg.conf
Section “Server Layout”
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

hwinfo --gfxcard | grep -i -e model -e driver
Model: “Intel Arrandale Integrated Graphics Controller”
Model: “ATI VGA compatible controller”

Sorry, the last was not complete.

hwinfo --gfxcard | grep -i -e model -e driver
Model: “Intel Arrandale Integrated Graphics Controller”
Driver: “i915”
Driver Modules: “drm”
Driver Info #0:
Driver Status: i915 is active
Driver Activation Cmd: “modprobe i915”
Model: “ATI VGA compatible controller”
Driver: “fglrx_pci”
Driver Modules: “fglrx”
Driver Info #0:
Driver Status: radeon is not active
Driver Activation Cmd: “modprobe radeon”
Driver Info #1:
Driver Status: fglrx is active
Driver Activation Cmd: “modprobe fglrx”

fglrx is properly installed and configured.
I’m not sure about the BusID since you have 2 graphic cards.
Please post the output of the command:

lspci

The onboard Intel Graphic card is causing the problem. You should disable it in the BIOS (if possible) or blacklist the i915 module. I don’t have Intel Graphics. So I can’t help with this issue. From the ATI point of view, everything looks fine, except maybe the BusID. If it refers to the Intel device, it cannot work.
an/or

 hwinfo --gfxcard | grep -i -e model -e busid

I doesn’t look like i can disable in bios, will readup on how to blacklist this, I thankyou very much for the time you have given me looking at this problem.

lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 02)
00:02.0 VGA Compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
00:1c.0 PCI bridge: Intel Coporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.1 PCI bridge: Intel Coporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI Bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA Bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 series chipset 4 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 series/3400 Series Chipset SMBus Controller (rev 05)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05)
01:00.0 VGA Compatible controller: ATI Technologies Inc Manhattan [Mobility Radeon HD 5000 Series]
01:00.1 Audio Device: ATI Technologies Inc Manhattan HDMI Audio [Mobility Radeon HD 5000 Series]
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
7f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
7f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
7f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
7f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
7f:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
7f:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)

From this output, the BusID in /etc/X11/xorg.conf is correct too.

Stupid question: Is the monitor plugged in in the right socket?

I would add “i915” to /etc/modprobe.d/50-blacklist.conf … but there might be a better way to disable it, I don’t know.

You might get a better advice after they kissed … if they kiss. :stuck_out_tongue:

Stupid question: Is the monitor plugged in in the right socket?
Not a stupid question, my fault for not specifying that it is a laptop HP dv6 and i am not using an external display.

blacklisted “i915” but still no joy

Hmm … laptop with 2 graphic devices. Could it be that the ATI one is for an external monitor (only)? Is there a way to switch the graphic devices priority in the BIOS?

I have no idea. I suggest you start a new thread in the laptop subforum since it is a different problem.

Someone has the same machine and reported the same problem in the french forum: Hp Pavillon DV6 / Opensuse 11.4 - Ecran noir. If you create a new thread, you won’t be the only one interested in the solution.

Hello,

Have you news for this problem ?

I have same computer (post in french forum) and my ati is with fdev driver and my intel card is not recognize.

When i load aticonfig, i have black screen but i listen sound of kde … .

Thank for your help .

@Djorev78,
can you confirm that the Intel card can not be disabled in the BIOS?

@the_enduser
You should rerun atiupgrade and specify the version of the driver to install the latest one. I haven’t changed the script yet but you can specify the version on the command line:

atiupgrade 11-4

I don’t know if this version is going to solve the problem (Hybrid Graphics driver help needed). But version 11.3 won’t for sure.

I haven’t installed 11.4 yet (and didn’t try atiupgrade with this version, but I assume it will work - it will take a day or two until I can try).

I confirm, i can’t disable intel graphic card in bios, there are not many option in bios …

I’ve read some laptops have a BIOS setting with a name that is not so obvious to be switching graphic drivers:

  • For Intel
    , set graphics controller to “Switchable” in BIOS - For AMD
    , set graphics controller to “Discrete” in BIOS

Of course if one has no ‘graphics controller’ BIOS entry then there is no way to make such a setting ! :frowning:

On the Fedora forums, one user noted a case where Fedora on their PC always would boot to the Radeon driver and they wanted to try the Intel driver. What purportedly worked for some users with Fedora was a Fedora kernel boot code (which may or may not be enabled for openSUSE, but I think it is with recent openSUSE kernels) :


radeon.modeset=0

where this applies the modesetting only to the Radeon driver. I assume, … no, … “speculate” is a better word, that in this case it is important one does NOT have the proprietary Catalyst fglrx driver loaded.

If that ‘modeset’ boot code is a way to do this (to stop the radeon driver from loading), then that begs the question, will the following boot code work to stop the Intel driver from loading ??

i915.modeset=0 

Please accept this as the speculation it is in trying to help. I don’t know the solution, … but rather I am only offering the various speculations I would consider if I had this situation.

We really need someone who has thrashed all this out already to write a guide.

From my experience (with dedicated intel grahics hardware), issuing ‘i915.modeset=0’ at the grub boot prompt does not stop the i915 from loading. It just disables KMS, and causes the 3D acceleration to be disabled. I would be surprised if it had any effect on disabling the intel graphics chipset (or switching the active graphics chipset). That is ACPI-related.