LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 04-07-2013, 05:08 AM   #1
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 305

Rep: Reputation: 22
Post Multimedia problems in -current


Hi

I have installed -current on my PC, not trying to setup it. So have 2 problems:
1. Cannot install AMD driver for video. ./amd-driver-install*run --buildpkg finishes with error of unfounded version.h
Tryied to do instructions from here - that instruction is fake I think because it is already broken on 3rd step(not such /lib/modules/fglrx/build_mod directory left after installer breaks).


2. There are no sound in any browser I run: opera, firefox, chrome. But Amarok plays nicely. mp3blaster to. Installed pulseaudio from SBo - no result

Is there any workable solutions for such problems?

EDIT: part1 not more necessary now, since driver causes segfault of X.

Last edited by FeyFre; 04-07-2013 at 10:49 AM.
 
Old 04-07-2013, 07:29 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,343

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
Have you installed the kernel-source package. Typically most driver requires kernel source in order to compile a module linked to the kernel
 
Old 04-07-2013, 07:39 AM   #3
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 305

Original Poster
Rep: Reputation: 22
Full installation of course. I have managed to trick it.
1. Run installer, select wanted action to do(to build package for instance), but not confirm it.
2. Switch to other terminal, navigate to temporary directory created by installer, and apply patch there.
3. Confirm action.
Now it works.
Installed, rebooted, configured, running X.
But soon enough happened bad think: X segfaulted in fglrx code(google chrome in stack trace present also). So for now I reverted back.
But second problem not solved yet.
 
Old 04-07-2013, 07:58 AM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,343

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
that's not how to properly build the driver
 
Old 04-07-2013, 08:49 AM   #5
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 305

Original Poster
Rep: Reputation: 22
willysr, that how it builds. And since there is no alternative it is properly build river by definition.
 
Old 04-07-2013, 09:06 AM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,343

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
You can create the lib/modules/fglrx/build_mod directory using root
I think Henry has created that directory before as he continuously following Catalyst driver development
 
Old 04-07-2013, 09:38 AM   #7
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 305

Original Poster
Rep: Reputation: 22
So I did it. It is empty now, but exists! Then, as instruction advices, I did "patch -p0 <3.8.patch" there, and? surprise, surprise, it fails, because patch cannot patch non-existing files.
Nothing changed! Installer does not uses that path. And Henry's algorithm as much useless as our conversation here.
 
Old 04-07-2013, 09:52 AM   #8
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,343

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
did you run the installer first? It's said that when you encounter any error, exit the installer and start patching it
 
Old 04-07-2013, 09:53 AM   #9
Darth Vader
Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 553

Rep: Reputation: 103Reputation: 103
Quote:
Originally Posted by FeyFre View Post
... as much useless as our conversation here.
Chill out, young padawan!

Nobody here is on Slackware Call Center Support! That guy spent his time, trying to help you, out of generosity. You should respect that.
 
Old 04-07-2013, 10:47 AM   #10
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 305

Original Poster
Rep: Reputation: 22
willysr, I DID it. I am mature enough to follow instructions without errors.
1. change directory to the path where the installer is
DONE. In my case it is /usr/src
2. run the installer as root (superuser):
# ./amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run
DONE.
3. follow the instructions, at the end of installation process you will get notice that there are some errors.
DONE. Yes, there was errors.
4. exit the installer
DONE.
5. at console, copy the patch file (fglrx-3.8.patch) to /lib/modules/fglrx/build_mod/
NOT DONE. There is not any /lib/modules/fglrx/build_mod/ directory. OK, created it(it is empty now), on copied given patch file. DONE.
6. (optional, if you don't find version.h in /lib/modules/3.8.2/build/include/linux) Make symlink of version.h:
# ln -s /lib/modules/3.8.2/build/include/generated/uapi/linux/version.h /lib/modules/3.8.2/build/include/linux/version.h
DONE. In my case it was 3.8.4-smp
7. change directory to /lib/modules/fglrx/build_mod/
DONE.
8. patch the fglrx source:
# patch -p0 < fglrx-3.8.patch
NOT DONE. patch asks me for file name to patch to. What I should answer here?
9. compile the fglrx modules:
# ./make.sh
# cd ..
# ./make_install.sh
NOT CAN DO. There is no such files make.sh and make_install.sh
10. reboot
NOT DONE. No reason.
Quote:
start patching it
Start patching what? Empty space? Installer unpacks its sources into temporary directory and removes it completely it after exit. 4th step of instruction breaks whole instruction. Does anybody has reasons to consider me child/idiot? In any case, I done with this part of problem since, I do not need X to segfault every 5 minutes.
 
Old 04-07-2013, 11:15 AM   #11
Darth Vader
Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 553

Rep: Reputation: 103Reputation: 103
Quote:
Originally Posted by FeyFre View Post
willysr, I DID it. I am mature enough to follow instructions without errors.
1. change directory to the path where the installer is
DONE. In my case it is /usr/src
2. run the installer as root (superuser):
# ./amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run
DONE.
3. follow the instructions, at the end of installation process you will get notice that there are some errors.
DONE. Yes, there was errors.
4. exit the installer
DONE.
5. at console, copy the patch file (fglrx-3.8.patch) to /lib/modules/fglrx/build_mod/
NOT DONE. There is not any /lib/modules/fglrx/build_mod/ directory. OK, created it(it is empty now), on copied given patch file. DONE.
6. (optional, if you don't find version.h in /lib/modules/3.8.2/build/include/linux) Make symlink of version.h:
# ln -s /lib/modules/3.8.2/build/include/generated/uapi/linux/version.h /lib/modules/3.8.2/build/include/linux/version.h
DONE. In my case it was 3.8.4-smp
7. change directory to /lib/modules/fglrx/build_mod/
DONE.
8. patch the fglrx source:
# patch -p0 < fglrx-3.8.patch
NOT DONE. patch asks me for file name to patch to. What I should answer here?
9. compile the fglrx modules:
# ./make.sh
# cd ..
# ./make_install.sh
NOT CAN DO. There is no such files make.sh and make_install.sh
10. reboot
NOT DONE. No reason.
Start patching what? Empty space? Installer unpacks its sources into temporary directory and removes it completely it after exit. 4th step of instruction breaks whole instruction. Does anybody has reasons to consider me child/idiot? In any case, I done with this part of problem since, I do not need X to segfault every 5 minutes.
How about running that:

Code:
./amd-driver-installer-13.1-x86.x86_64.run --extract catalyst_files
Then look what is in the new catalyst_files (sub-)directory...
 
Old 04-07-2013, 11:22 AM   #12
hotchili
Member
 
Registered: Sep 2009
Location: Germany
Distribution: slackware64-current
Posts: 69

Rep: Reputation: 16
If you run slackware-current it will probably not work anyway.
Xorg is too new for catalyst driver (unless there was a new catalyst update). (I am still running the old xorg here...)

Last edited by hotchili; 04-07-2013 at 11:24 AM.
 
Old 04-07-2013, 11:24 AM   #13
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 305

Original Poster
Rep: Reputation: 22
Quote:
How about running that:
Not. Instruction says just run as usual. I follow strictly instruction. Doesn't works. (Consider me stupid clerk instead of experienced developer.)
And YES, I did tried that too. Failed and failed again.
So forget that. Now I interested in second issue more(no sound in browsers).
 
Old 04-07-2013, 11:42 AM   #14
Darth Vader
Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 553

Rep: Reputation: 103Reputation: 103
Forget that instructions. Here is how you can make a properly installation of your fglrx in Slackware:

1. Be sure that that the symlink /usr/src/linux-3.8.4/include/linux/version.h exists.

2. mkdir -p /etc/ati/patch

3. copy the provided fglrx-3.8.patch patch (which is correct) as /etc/ati/patch/patch-9.012-3.8.4-smp

4. run ./amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run --buildpkg

5. Install the new generated fglrx-9.012-x86-1.tgz package.

6. run aticonfig --initial
 
Old 04-07-2013, 11:48 AM   #15
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,343

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
Are you running Slackware64-Current or Slackware-Current?
Just to be sure since the driver mentioned is for x86_64
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Multimedia key problems! Can someone tell me where I am going wrong? barnac1e Debian 2 06-14-2012 07:56 PM
GSB-Current, Multimedia keys, Rhythmbox merciful Slackware 0 11-20-2010 05:34 PM
DreamLinux Multimedia Edition 2.2 Problems tq2007 Linux - Newbie 3 04-18-2007 06:12 AM
various multimedia (small) problems hildog Linux - Newbie 0 10-06-2003 04:23 PM
Having problems with X Multimedia System pmorkert Linux - Software 3 07-29-2003 11:20 PM


All times are GMT -5. The time now is 03:40 AM.

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