Users online right now: 83 - Login  » search  » forum index  

Slax 7 - AMD Drivers

chupa
wrote 1 year ago


reply
Slax 7 kernel 3.8.2

type amdsetup in console to run the configuration script i have included

*note: 64bit bundles labeled multiarch include 32bit drivers

13.3 beta3
http://www.slax.org/en/modules.php?detail=amd-experimental&category=drivers

13.1 Legacy
http://www.slax.org/en/modules.php?detail=amd-legacy&category=drivers


64 bit

13.3 beta3 multiarch
http://www.slax.org/en/modules.php?detail=amd-experimental-multiarch&category=drivers

13.1 Legacy multiarch
http://www.slax.org/en/modules.php?detail=amd-legacy-multiarch&category=drivers


===================
###################

Slax 7 Kernel 3.6.11

type amdsetup in console to run the configuration script i have included


32 bit

AMD 13.1
http://www.mediafire.com/?gn49hmh46375r46

AMD 13.1 Legacy
http://www.mediafire.com/?cec9a94awa82lda

AMD 13.2 beta3
http://www.mediafire.com/?sgq9pm76vkes7yw


64 bit

AMD 13.1
http://www.mediafire.com/?ua2amf4uftm889h

AMD 13.1 multiarch
http://www.mediafire.com/?pmu29a4nrrc4la5

AMD 13.1 Legacy
http://www.mediafire.com/?ja54csh9byr4uid

AMD 13.1 Legacy multiarch
http://www.mediafire.com/?afue5g9tjn0qq0k

AMD 13.2 beta6
http://www.mediafire.com/?f4inmkza24cj9bb

AMD 13.2 beta6 multiarch
http://www.mediafire.com/?a5xzen13hamb63n



heres the SlaxBuilds I used to make these
http://www.mediafire.com/?6rbb2p4t241dg

Note for building modules with kernel-source-slax-stripped
I recommend rebooting after you have created the module, then run the configuration script.
Ensure depmod -a runs fully
It is best to make modules in ram mode
Remember to deactivate kernel-source-slax-stripped when you are finished. you don't want that being loaded unnecessarily.

updated
2/26
3/26
4/10
 
chupa
wrote 1 year ago


reply
links:
my mediafire
http://www.mediafire.com/?ta6aqyjedraqa


driver setup:
aticonfig --initial -f
cp /etc/ati/amdpcsdb.default /etc/ati/amdpcsdb
gunzip /lib/modules/{KERNEL VERSION}/external/fglrx.ko.gz
depmod -a
echo "blacklist radeon" >> /etc/modprobe.d/blacklist.conf
echo "blacklist radeonhd" >> /etc/modprobe.d/blacklist.conf

Slax 7.0.3 - Additional instructioncp /etc/X11/xorg.conf /etc/X11/xorg.conf.d/

System Settings>Desktop Effects>Advanced>Compositing type: OpenGl:Raster


how to fix annoying underscan bug for hdtv's
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0

infos
http://lotphelp.com/lotp/install-ati-catalyst-slackware-linux-2
http://nixnote.blogspot.co.uk/2012/06/amd-catalyst-fixing-underscan.html
 
francois.e
wrote 1 year ago


reply
Congratulations. It seems that you are doing very well, especially for a newcomer. ;)
 
chupa
wrote 1 year ago


reply
fixed hdmi audio

root@slax~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC887-VD Digital [ALC887-VD Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0


i had to create etc/asound.conf
defaults.pcm.!card Generic
defaults.ctl.!card Generic
defaults.pcm.!device 3
defaults.ctl.!device 3


source: http://ptspts.blogspot.com/2009/03/how-to-select-alsa-sound-card-and-have.html
 
chupa
wrote 1 year ago


reply
reserved
 
giac_fab
wrote 1 year ago


reply
Hi I'm back after about 3 years ( after Thomas stopped development I migrated to another linux ) ...

I'd like so much try new slax but I have a trouble with my laptop video-card (the famous ati hybrid overheating problem ).
I need ATI proprietary drivers, without these my pc becames like a grill in ten minutes and it turns off ( my bios , thanks HP, doesn't provides a switch intel/ATI).

I don't have the time to do a compilation before my pc turns off ( I found and I'm using a linux with compiled ati fglrx in repository ) .

Why I'm writing if the drivers are posted ? Because ATI dropped out the support for my Mobility HD 4650 ( 2xxx 3xxx 4xxx ) since 12.06 ....

I think I could be a good thing provide also the drivers for these cards ( not only for me ) , if it's not a problem ....

Thank you !
 
chupa
wrote 1 year ago


reply
added links to second post

12.6 required a patch
i worked from a couple different sources, i cant remember what i searched

sh ./amd-driver-installer-12.6-legacy-x86.x86_64.run --extract /tmp/amd

place patch files in required dirs
ati-drivers-do_mmap.patch
/tmp/amd/common/lib/modules/fglrx/build_mod/

compat_alloc-Makefile.patch
/tmp/amd/common/lib/modules/fglrx/build_mod/2.6.x/

cd /tmp/amd/common/lib/modules/fglrx/build_mod/

patch -p 6 firegl_public.c < ati-drivers-do_mmap.patch

cd 2.6.x/

patch -p 5 Makefile < compat_alloc-Makefile.patch

return to /tmp/amd/
./ati-installer.sh 8.980 --buildpkg Slackware
 
giac_fab
wrote 1 year ago


reply
thank you so much !
 
lettry
wrote 1 year ago


reply
@chupa:


tgz2sb /tmp/linux-kernel-3.6.11-*ARCH*-1.tgz /tmp/linux-kernel-3.6.11-*ARCH*.sb


Where you get *.tgz ? I didn't find in my /tmp or this link (http://ftp.slax.org/Slax-7.x-development/sources/Slax-7.0-sources/kernel/) .

Before this time ,I tried to make ATI modules , but failed :(
My ATI video card is ATI HD 4330
Thanks for your post :)
 
lettry
wrote 1 year ago


reply
@chupa:

create links:
/usr/src/ linux > /mnt/live/memory/bundles/linux-kernel-3.6.11*ARCH*.sb (the name of your kernel sb)


I put linux-sources_headers-3.6.11-x86.sb in /modules and reboot . After reboot , I want to create a link.
So I execute this:
ln -s /usr/src/ linux > /mnt/live/memory/bundles/linux-kernel-3.6.11-x86*.sb

But slax 7.0.3 report :

-bash: /mnt/live/memory/bundles/linux-sources_headers-3.6.11.sb : Is a directory


Did you meet this situation?

Thanks,
Regards!
 
giac_fab
wrote 1 year ago


reply
it's strange module seems to be loaded correctly
xorg.log has no errors but desktop doesn't start .... black screen with no ability to exit ( need to turnoff pc with button )
 
lettry
wrote 1 year ago


reply
giac_fab wrote:
it's strange module seems to be loaded correctly
xorg.log has no errors but desktop doesn't start .... black screen with no ability to exit ( need to turnoff pc with button )


My video card is HD4330 and amd not support it :(

Slax 7.0.3 use 3.6.11 kernel . but ATI Driver 12.6 not support . I used @chupa patch ,but not get package .

Did you get ati module ? How did ?

Thanks,
 
chupa
wrote 1 year ago


reply
i think the spacing is messed up on the patches i posted, you'll need to goggle it.

i do not have a hd2000~4000 card, i could not test the 12.6 modules. but they built without errors on my system. sorry if theyre not working, did you double check that the setup files were copied? and the driver unzipped? blacklist radeon?
 
lettry
wrote 1 year ago


reply
@chupa:
I notice you patches and do what you said .

This is my steps:
1) Download every file form the link :http://ftp.slax.org/Slax-7.x-development/sources/Slax-7.0-sources/kernel/ . except .config-x86_64
I put them in /root/kernel/

2) sh ./kernel.SlackBuild .
After it done , I create a File directory and copy files.

mkdir -p usr/src/
cp -dpR /usr/src/linux-3.6.11/ usr/src/


3) Here , I make a module

dir2sb /root/kernel/ /root/linux-sources-3.6.11-x86.sb

and active it

slax active linux-sources-3.6.11-x86.sb


4)Download ATI 12.6 Driver , extract it to /tmp/amd and use your patches.
But there is a problem :
After use your patches , execute ./ati-installer.sh --buildpkg slackware

root@slax:/tmp/amd# ./ati-installer.sh --buildpkg slackware
=====================================================================
AMD Catalyst(TM) Proprietary Driver Installer/Packager
=====================================================================
Unrecognized parameter 'slackware' to ati-installer.sh
This script supports the following arguments:
--help : print help messages
--listpkg : print out a list of generatable packages
--buildpkg [package] [--dryrun] : if generatable, the package will be created
--buildandinstallpkg [package] [--dryrun] [--force] : if generatable, the package will be creadted and installed
--install : install the driver


From the message , I think maybe "Slackware" brings about . So I try again

From the message , I think maybe "Slackware" bring about


=====================================================================
AMD Catalyst(TM) Proprietary Driver Installer/Packager
=====================================================================
Unrecognized parameter '' to ati-installer.sh
This script supports the following arguments:
--help : print help messages
--listpkg : print out a list of generatable packages
--buildpkg [package] [--dryrun] : if generatable, the package will be created
--buildandinstallpkg [package] [--dryrun] [--force] : if generatable, the package will be creadted and installed
--install : install the driver
root@slax:/tmp/amd# ./ati-installer.sh--buildpkg
-bash: ./ati-installer.sh--buildpkg: No such file or directory
root@slax:/tmp/amd# ./ati-installer.sh --buildpkg


5) Not use your patches and extract 12.6 driver to /tmp/amd . Execute " ./ati-installer.sh --buildpkg slackware " , I get the same result like above .

Did you meet it ?
 
chupa
wrote 1 year ago


reply
""Execute " ./ati-installer.sh --buildpkg slackware """

./ati-installer.sh 8.980 --buildpkg Slackware
 
lettry
wrote 1 year ago


reply
chupa wrote:
./ati-installer.sh 8.980 --buildpkg Slackware

But when I use ./ati-installer.sh --help , it not show this .

If possible , can you tell me why we need add 8.980 ?

Thanks,
Regards!
 
Slaxmax
wrote 1 year ago


reply
@chupa

Send-me your kernel-headers 3.6.11 x86_64 please!

thx
 
lettry
wrote 1 year ago


reply
@Slaxmax:
Can you post you result out ? Or you just need the kernel-headers-3.6.11-x86_64.sb ?
 
chupa
wrote 1 year ago


reply
AMD 13.1 32 bit kv 3.6.11
http://www.mediafire.com/?gn49hmh46375r46

AMD 13.1 Legacy 32 bit kv 3.6.11
http://www.mediafire.com/?cec9a94awa82lda

AMD 13.1 64 bit kv 3.6.11
http://www.mediafire.com/?85rloegq580brto

AMD 13.1 Legacy 64 bit kv 3.6.11
http://www.mediafire.com/?s0kng2bke9nnssx

my 13.1 packages now include a setup script
simply type in consoleamdsetup
script contains: #!/bin/bash
path=:/
echo "Run aticonfig"
aticonfig --initial
echo "Copy amdpcsdb"
cp /etc/ati/amdpcsdb.default /etc/ati/amdpcsdb
echo "Unzip driver"
gunzip /lib/modules/3.6.11/external/fglrx.ko.gz
echo "Run depmod -a"
depmod -a
echo "Blacklist radeon"
echo "blacklist radeon" >> /etc/modprobe.d/blacklist.conf
echo "blacklist radeonhd" >> /etc/modprobe.d/blacklist.conf
echo "Copy xorg.conf"
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.d/
echo "Done! Please Reboot."
 
MadSheep
wrote 1 year ago


reply
i have ati 3850 can some one tell me witch .sb need to activate i used "AMD 13.1 32 bit kv 3.6.11" and "AMD 13.1 Legacy 32 bit kv 3.6.11" but i get that i dont have compatible adapter
 
guy
wrote 1 year ago


reply
legacy is for radeon hd2000~4000 series
 
MadSheep
wrote 1 year ago


reply
i used "AMD 13.1 Legacy 32 bit kv 3.6.11" but same thing no compatible adapter if i use the radeon driver that comes with the slax 7 i have black horizontal flickering even without x started any solution?
 
guy
wrote 1 year ago


reply
are you using persistence? did you clear your changes before activating the legacy module?
you may have left-over files from the first attempt if you tried 13.1 non-legacy

ive just tested the module on a hd3200 motherboard, works fine here
root@slax:~# glxgears
2853 frames in 5.0 seconds = 570.501 FPS

the drivers like to be installed from a completely fresh state
 
MadSheep
wrote 1 year ago


reply
i used a fresh formated stick with persistence and legacy driver but nothing my pc is hunted :P

steps
1. Format the driver
2. Copy the Slax and install the bootloader
3. Copy the driver
4. Boot the Slax with Grafical interface and persistence
5. Activate Legacy driver and run amdsetup
(i get no compatible adapter) at configuration of driver
6. after reboot x dont start and this is logic because the radeon driver is disabled
 
MadSheep
wrote 1 year ago


reply
MadSheep wrote:
i used a fresh formated stick with persistence and legacy driver but nothing my pc is hunted :P

steps
1. Format the driver
2. Copy the Slax and install the bootloader
3. Copy the driver
4. Boot the Slax with Grafical interface and persistence
5. Activate Legacy driver and run amdsetup
(i get no compatible adapter) at configuration of driver
6. after reboot x dont start and this is logic because the radeon driver is disabled


*drive
*Graphical
 
chupa
wrote 1 year ago


reply
you will have to generate your own driver module

you're in luck because i just finished a slaxbuild for kernel-sources-3.6.11

https://www.slax.org/buildscripts/kernel-source-slax.SlaxBuild

You MUST run this from root dir (:/) Not /root/ or anyplace else
You MUST have persistence while running this, i've tried from ram, i run out of memory and doesnt complete* on 32bit, i have 6 gigs of ram
* maybe creating a extra swapfile somewhere will help if you want to do it from ram, i dont know and havent tried it
takes around 30 minutes to compile
save the kernel-source*.sb file somewhere (on a different partition)

the rest is up to you, you may have to patch the driver installer package, described above, changing it for 13.1
 
guy
wrote 1 year ago


reply
https://www.slax.org/modules.php?detail=kernel-source-slax
 
guy
wrote 1 year ago


reply
so the updated procedure for standard 13.1 would be:

slax activate kernel-source-slax
wget "http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip"
unzip amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip
sh amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run
#generate distro specific package: slackware
tgz2sb nameofdriver.tgz
 
guy
wrote 1 year ago


reply
excuse me,

you need kernel-devel also, forgot that in the post above
slax activate kernel-devel
 
guy
wrote 1 year ago


reply
@MadSheep
have you investigated
http://wiki.cchtml.com/index.php/Slackware:_ATI_SlackBuild_%28ENG%29

i wish i had your card to test with :(
 
MadSheep
wrote 1 year ago


reply
@guy
i followed your instructions but after tgz2sb the sb grows and when finishes the sb is only 4 kb

is the tgz2sb also installs the tgz file?

same with the patched version above and if i reboot i get a blue login screen that loops every time
 
chupa
wrote 1 year ago


reply
if the package doesn't fill up something went wrong, check the log before closing the installer screen

hold on with making the module. lets explore this minimal xorg configuration

could you try making /etc/X11/xorg.conf.d/xorg.conf
with this in it, reboot, then try amdsetup again (from http://wiki.cchtml.com/index.php/Slackware:_ATI_SlackBuild_%28ENG%29 )

Section "Module"

Load "dri"
Load "fglrx"

EndSection

Section "Device"

Driver "fglrx"

EndSection

Section "DRI"
Group 0
Mode 0666
EndSection


 
MadSheep
wrote 1 year ago


reply
@chupa

can you tell me the procedure for my card because i am confused

this steps i followed tell me if it is right or not

slax activate 2289-kernel-source-slax.sb
sh ./amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64.run --extract /tmp/amd

place patch files in required dirs
ati-drivers-do_mmap.patch
/tmp/amd/common/lib/modules/fglrx/build_mod/

compat_alloc-Makefile.patch
/tmp/amd/common/lib/modules/fglrx/build_mod/2.6.x/

cd /tmp/amd/common/lib/modules/fglrx/build_mod/

patch -p 6 firegl_public.c < ati-drivers-do_mmap.patch

cd 2.6.x/

patch -p 5 Makefile < compat_alloc-Makefile.patch

return to /tmp/amd/
./ati-installer.sh 8.980 --buildpkg Slackware

after that
i used tgz2sb and i get 4kb .sb
 
chupa
wrote 1 year ago


reply
you also need kernel-devel module

slax activate kernel-devel
---

return to /tmp/amd/
./ati-installer.sh 8.980 --buildpkg Slackware

after that the console instructs you to do an addition command to make the package, you have to launch a new terminal and put in what it instructs

when i find time i will prepare a SlaxBuild for that, if you are willing to wait.
im currently working on something else
 
chupa
wrote 1 year ago


reply
this is sooo sloppy but i think it worked
http://www.mediafire.com/?onn68fz7xq92737

place that in a temp dir and type

sh fglrx-8.97.100.7.SlaxBuild
 
chupa
wrote 1 year ago


reply
heres standard 13.1 SlaxBuild
http://www.mediafire.com/?tf19hcmqlsx6u77

sorry for slop-town-ness
 
MadSheep
wrote 1 year ago


reply
Driver seems to work now i have a problem and a question

Problem: My screen goes out of range so i set the Modes to 1024x768 inside the xorg.conf after i start the x i get out of sync and i dont know how to set the refresh rate to 60-70hz

Question: Do i need to run every time the driver at boot and the amdsetup?
 
chupa
wrote 1 year ago


reply
Question: Do i need to run every time the driver at boot and the amdsetup?

no, you run that just once, on a fresh 'install', ie after clearing changes
 
chupa
wrote 1 year ago


reply
from googling xorg refreshrate
https://wiki.ubuntu.com/X/Config/Resolution

Setting resolution changes in xorg.conf

While xorg.conf is largely empty these days, it can still be used for setting up resolutions. For example:

Section "Monitor"
Identifier "External DVI"
Modeline "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync
Option "PreferredMode" "1280x1024_60.00"
EndSection
Section "Device"
Identifier "ATI Technologies, Inc. M22 [Radeon Mobility M300]"
Driver "ati"
Option "Monitor-DVI-0" "External DVI"
EndSection
Section "Screen"
Identifier "Primary Screen"
Device "ATI Technologies, Inc. M22 [Radeon Mobility M300]"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Primary Screen"
EndSection

See man xorg.conf for full details on how to craft an xorg.conf file.


type
gtf 1024 768 59.9-70.1

that should output a modeline,
edit so its something similiar - xorg.conf in /X11/xorg.conf.d/
 
MadSheep
wrote 1 year ago


reply
Everything works now thank you ;) if i run the AMD.sb from the drive the changes dont save this is my one problem and the other with the resolution is fixed now thanks again :)
 
chupa
wrote 1 year ago


reply
just place amd.sb in slax/modules, you dont have to keep running it
 
chupa
wrote 1 year ago


reply
updated kernel-source-slax to 3.8.2
I have only built 13.3-beta3 because it supports kernel 3.8
you can easily google how to remove the watermark
 
sorajio
wrote 1 year ago


reply
thank you for ur great work!
 
chupa
wrote 1 year ago


reply
13.1 legacy for kernel 3.8.2 done.
 
chupa
wrote 1 year ago


reply
i've uploaded stripped kernel source
should be useful for creating driver modules
nice 10mb download instead of 80

http://www.slax.org/en/modules.php?detail=kernel-source-slax-stripped&category=develop


Note for building modules with kernel-source-slax-stripped
I recommend rebooting after you have created the module, then run the configuration script.
Ensure depmod -a runs fully
It is best to make modules in ram mode
If you want to build compat32 drivers for 64bit machines activate multiarch-libs before hand.
Remember to deactivate kernel-source-slax-stripped when you are finished. you don't want that being loaded unnecessarily.
 
chupa
wrote 1 year ago


reply
amd 13.3-beta3 and amd 13.1 legacy for kernel 3.8.2 are now available in the module repo

xD
 
carlos
wrote 356 days ago


reply
anything i can do for that:
[ 966.114] (EE) Failed to load /usr/lib/xorg/modules/drivers/fglrx_drv.so: /usr/lib/xorg/modules/drivers/fglrx_drv.so: undefined symbol: noXFree86DRIExtension
[ 966.114] (II) UnloadModule: "fglrx"
[ 966.114] (II) Unloading fglrx
thx
 
slaxer
wrote 187 days ago


reply
Anyone know where I can I get the bleeding edge version of AMD drivers for Slax? Can someone update the module repository with the latest version? Thank You!

After I drag and drop the proprietary AMD catalyst drivers into the modules folder and then run aticonfig --initial with persistent enabled then reboot it still doesn't work. I think it defaults back to the open source driver disregarding the changes I made.

It seems installing AMD drivers isn't as simple as dragging and dropping into the module into the module folder. Sorry, I am Linux newb.

Do I need to modprobe, depmod, blacklist something or that only refers to the old amd drivers and slax version?

Help would be much appreciated!
 
lettry
wrote 186 days ago


reply
@slaxer

What is your AMD Video Card series ?
 
slaxer
wrote 186 days ago


reply
I'm using HD 7480D and on another computer a HD 7790.

If this is any help, when I do lspci -v I can see my video card using the open source radeon drivers. I tried following the 2nd post of this thread and blacklisting it. But after restarting it still defaults to open source drivers.
 
bofifniia
wrote 184 days ago


reply
After his marriage broke up, my manager became very philosophical."I guess it was in our stars," he sighed."What do you mean?" I asked."Her astrological sign is the one for earth. Mine is the one for water. Together we made mud."






-----------------------------------------------------------------------------
http://www.eafut14coins.co.uk/
http://www.fifa14world.co.uk/
 

  » search  » forum index  

Post your reply

Your name (Login):

Message:

These HTML tags are allowed: <quote>, <b>, <u>, <i>, <pre>, <code>, <small>, <h1>, <h2>, <h3>, <li>



Slax is generously supported by: P&P Software GmbH and wisol technologie GmbH