LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slackware 14.2 | AMD/ATI proprietry driver installation needs kernel headers, they seems to be missing ? (https://www.linuxquestions.org/questions/slackware-14/slackware-14-2-%7C-amd-ati-proprietry-driver-installation-needs-kernel-headers-they-seems-to-be-missing-4175600379/)

jhsdcsjdcvbdj 02-22-2017 05:07 PM

slackware 14.2 | AMD/ATI proprietry driver installation needs kernel headers, they seems to be missing ?
 
So i was having a go at installing the proprietry driver for my onboard video card (hich i hope i have the right Driver for btw)

lspci output:

Code:

root@dead:/home/nothing# vi /etc/slackpkg/slackpkgplus.conf                             
root@dead:/home/nothing# lscpi
bash: lscpi: command not found
root@dead:/home/nothing# lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS780 Host Bridge
00:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (int gfx)
00:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 1)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3a)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS780C [Radeon 3100]
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8070 based Ethernet Controller (rev 16)
root@dead:/home/nothing#

ended up downloading this one:

amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64.zip

Unzipped and ended up with this one:

amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64.run

Then:

Code:

root@dead:/home/nothing/Downloads# sh amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64.run
Created directory fglrx-install.QXdOq2
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-8.97.100.7....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
 AMD Catalyst(TM) Proprietary Driver Installer/Packager
=====================================================================
Detected configuration:
Architecture: x86_64 (64-bit)
X Server: X.Org 6.9 or later 64-bit

At this point I am presented by a GUI popup window with 2 options:

1: Install Driver 8.97.100.7 on X.Org 6.9 or later 64-bit
2: Generate Distribution Specific Driver Package

Clicking install gives the errors:

Code:

/usr/share/themes/Breeze/gtk-2.0/gtkrc:4: error: unexpected identifier `gtk-color-scheme', expected keyword - e.g. `style'
/home/nothing/.config/gtkrc:10: error: unexpected identifier `gtk-theme-name', expected keyword - e.g. `style'
loki_setup: directory: (null)
/usr/share/themes/Breeze/gtk-2.0/gtkrc:4: error: unexpected identifier `gtk-color-scheme', expected keyword - e.g. `style'
/home/nothing/.config/gtkrc:10: error: unexpected identifier `gtk-theme-name', expected keyword - e.g. `style'

Also a GUI error pops up which states:

One or more tools required for installation cannot be found on the system. Install the required tools before installing the fglrx driver. Optionally, run the installer with --force option to install without the tools. Forcing install will disable AMD hardware Acceleration and may make your system unstable. Not recommended. See /usr/share/ati/fglrx-install.log for more details.

So running '/usr/share/ati/fglrx-install.log' states:

exactly the same thing which is most unhelpful.

Some digging around on the internet and on this forum actually brought me to this topic.

http://www.linuxquestions.org/questi...eaders-935775/

upon typing the so-called solution lol. (something must have changed as this post is from 2012)

Code:

root@dead:/home/nothing# slackpkg install kernel-headers   

Looking for kernel-headers in package list. Please wait... DONE

No packages match the pattern for install. Try:

        /usr/sbin/slackpkg reinstall|upgrade


root@dead:/home/nothing#


Is this to do with me not having the correct repository selected ? or something else.

slackpkgplus.conf is:

Code:

# # set to '1' to never show the download progress bar
# # set to '1' to show the bar only in download packages (default)
# # set to '2' to always show the download bar
# # set to '3' for a debug mode
VERBOSE=1
#
# # Enable (1) / Disable (0) the official slackpkg blacklist. May be useful to temporarily skip
# # the slackware blacklist. You can also override it from command line:
# # 'USEBL=0 slackpkg upgrade-all'
USEBL=1
#
# # Add custom option to 'wget'.
# # You can solve the repository indisponibility issue by set a timeout here
WGETOPTS="--timeout=5 --tries=1"
#
# # Enable (on) / Disable (off) notification events (see notifymsg.conf)
ENABLENOTIFY=off
#
# # Enable (on) / Disable (off) the greylist feature. See /etc/slackpkg/greylist
GREYLIST=on
#
# # Turn GPG Check ON/OFF ###
GPGCHECK=off
#
# # If two or more repositories contains some same packages, you can specify
# # from which repository you prefer to search it.
# # The syntax is "<repository_name>:<package_name>"
# # Accepts regular expressions. To give priority to an entire repository use "<repository_name>:.*"
#
# # Examples:
# #PKGS_PRIORITY=( restricted:vlc )
# #PKGS_PRIORITY=( myrepo:.* )
# #
#
# # List repositories you want to use (defined below)
# # remember to launch 'slackpkg update' if you modify that row.
REPOPLUS=( slackpkgplus multilib alienbob ktown )
 
PKGS_PRIORITY=( slackpkgplus multilib alienbob ktown )
MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+/
MIRRORPLUS['multilib']=http://taper.alienbase.nl/mirrors/people/alien/multilib/current/
MIRRORPLUS['alienbob']=http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.2/x86_64/
MIRRORPLUS['ktown']=http://bear.alienbase.nl/mirrors/alien-kde/
#
#
# # Define mirrors (uncomment one or more mirror; remember to add it to REPOPLUS)
# # Note: only multilib,alienbob,restricted,slacky repositories support GPG. If you add others
# #      you may need to disable gpg check in slackpkg.conf
#
# # Slackware 14.1 - i386
# MIRRORPLUS['alienbob']=http://taper.alienbase.nl/mirrors/people/alien/sbrepos/14.1/x86/
# #MIRRORPLUS['restricted']=http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.1/x86/
# #MIRRORPLUS['slacky']=http://repository.slacky.eu/slackware-14.1/
# MIRRORPLUS['ktown']=http://bear.alienbase.nl/mirrors/alien-kde/{14.1,14.2,current}/{latest,testing}/{x86,x86_64}/
#
# # use this to keep the slackpkg+ package updated
# MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+/
#
# # use this to keep the slackpkg+ package updated
# MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+/
#
# # Local repository:
# #MIRRORPLUS['alienbob']=file://repositories/alien/sbrepos/14.1/x86/
# #
# # Local packages (you do not need metadata nor 'slackpkg update' command):
# #MIRRORPLUS['myrepo']=dir://repositories/mypackages/
#
#
# #
# # Supported Repositories (see /usr/doc/slackpkg+-* for details):
# #
#
# #Supports GPG
# #slackpkgplus:  http://slakfinder.org/slackpkg+/
# #multilib:      http://taper.alienbase.nl/mirrors/people/alien/multilib/{13.37,14.0,14.1,current}/
# #alienbob:      http://taper.alienbase.nl/mirrors/people/alien/sbrepos/{13.37,14.0,14.1,current}/{x86,x86_64}/
# #ktown:        http://taper.alienbase.nl/mirrors/alien-kde/{13.37,14.0,14.1,current}/latest/{x86,x86_64}/
# #restricted:    http://taper.alienbase.nl/mirrors/people/alien/restricted_sbrepos/{13.37,14.0,14.1,current}/{x86,x86_64}/
# #slacky:        http://repository.slacky.eu/slackware{,64}-{13.37,14.0,14.1}/
# #zerouno:      http://www.z01.eu/repo-slack/slackware64-current/
# #mled:          http://www.microlinux.fr/slackware/MLED-{14.0,14.1}-{32,64}bit/
# #mles:          http://www.microlinux.fr/slackware/MLES-{14.0,14.1}-{32,64}bit/
# #mlws:          http://www.microlinux.fr/slackware/MLWS-{14.0,14.1}-{32,64}bit/
# #msb:          http://slackware.org.uk/msb/{14.0,14.1}/1.6/{x86,x86_64}/
# #slackers:      http://www.slackers.it/repository/
# #slacke17:      http://ngc891.blogdns.net/pub/slacke17/slackware{,64,arm}-{14.0,14.1}/
# #studioware:    http://studioware.org/files/packages/slackware{,64}-{13.37,14.0,14.1}/
# #
# #Does NOT support GPG
# #salixos(*):    http://download.salixos.org/{i486,x86_64}/{13.37,14.0,14.1}/
# #salixext:      http://people.salixos.org/ralvex/repository/x86_64/{14.0,14.1}/
# #rlworkman(*):  http://rlworkman.net/pkgs/{13.37,14.0,14.1}/
# #slackel:      http://www.slackel.gr/repo/{i486,x86_64}/current/


Skaendo 02-22-2017 05:15 PM

Quote:

Note: the driver will not work on 14.2 because Catalyst supports only Xorg 1.17 and 3.19 (or no?).
https://docs.slackware.com/howtos:ha...aphics_drivers

jhsdcsjdcvbdj 02-22-2017 05:20 PM

Quote:

Originally Posted by Skaendo (Post 5674742)

lol.

lame :(

Thanks!@


All times are GMT -5. The time now is 06:17 PM.