LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 06-30-2012, 12:44 PM   #1
Pluvius
LQ Newbie
 
Registered: Aug 2011
Posts: 13

Rep: Reputation: Disabled
Radeon Problem


Hello everyone!

I'm using Slackware64 -current. Recently I've switched to Radeon the open source driver, since AMD dropped support for my RAdeon HD mobility 3470

Steps I did :

- aticonfig --uninstall (to remove the fglrx install)
-removed xorg.conf file
- took a kernel that I have for another linux system that has the radeon features enabled (kms and R600 binary blobs.

- installed the radeon_ucode for the latest firmware.

- I updated my Xorg-server to 1.12.2 and then rebuilt xf86-video-ati, xf86-input-keyboard and xf86-input-mouse

I've had some issues and I reinstalled kde (I know it's a stretch but it's always better starting fresh)

Now please look at the output of glxinfo:

Code:
$glxinfo 
name of display: :0
glxinfo: symbol lookup error: /usr/lib64/libGL.so.1: undefined symbol: _XGetRequest
I thought that the issue was around Mesa which I've updated, buts till no luck

I do have a kde graphical environment but with no desktop effects on it and the mouse is moving too fast.
Here's the output of xorg.conf (That's Ive generated using X -configure)

Code:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/lib64/xorg/modules"
        FontPath     "/usr/share/fonts/local"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/CID"
        FontPath     "/usr/share/fonts/75dpi/:unscaled"
        FontPath     "/usr/share/fonts/100dpi/:unscaled"
        FontPath     "/usr/share/fonts/75dpi"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/cyrillic"
EndSection

Section "Module"
        Load  "glx"
        Load  "dri"
        Load  "dri2"
        Load  "extmod"
        Load  "record"
        Load  "dbe"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection


Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "Dac8Bit"                   # [<bool>]
        #Option     "BusType"                   # [<str>]
        #Option     "CPPIOMode"                 # [<bool>]
        #Option     "CPusecTimeout"             # <i>
        #Option     "AGPMode"                   # <i>
        #Option     "AGPFastWrite"              # [<bool>]
        #Option     "AGPSize"                   # <i>
        #Option     "GARTSize"                  # <i>
        #Option     "RingSize"                  # <i>
        #Option     "BufferSize"                # <i>
        #Option     "EnableDepthMoves"          # [<bool>]
        #Option     "EnablePageFlip"            # [<bool>]
        #Option     "NoBackBuffer"              # [<bool>]
        #Option     "DMAForXv"                  # [<bool>]
        #Option     "FBTexPercent"              # <i>
        #Option     "DepthBits"                 # <i>
        #Option     "PCIAPERSize"               # <i>
        #Option     "AccelDFS"                  # [<bool>]
        #Option     "IgnoreEDID"                # [<bool>]
        #Option     "CustomEDID"                # [<str>]
        #Option     "DisplayPriority"           # [<str>]
        #Option     "PanelSize"                 # [<str>]
        #Option     "ForceMinDotClock"          # <freq>
        #Option     "ColorTiling"               # [<bool>]
        #Option     "VideoKey"                  # <i>
        #Option     "RageTheatreCrystal"        # <i>
        #Option     "RageTheatreTunerPort"      # <i>
        #Option     "RageTheatreCompositePort"  # <i>
        #Option     "RageTheatreSVideoPort"     # <i>
        #Option     "TunerType"                 # <i>
        #Option     "RageTheatreMicrocPath"     # <str>
        #Option     "RageTheatreMicrocType"     # <str>
        #Option     "ScalerWidth"               # <i>
        #Option     "RenderAccel"               # [<bool>]
        #Option     "SubPixelOrder"             # [<str>]
        #Option     "ClockGating"               # [<bool>]
        #Option     "VGAAccess"                 # [<bool>]
        #Option     "ReverseDDC"                # [<bool>]
        #Option     "LVDSProbePLL"              # [<bool>]
        #Option     "AccelMethod"               # <str>
        #Option     "DRI"                       # [<bool>]
        #Option     "ConnectorTable"            # <str>
        #Option     "DefaultConnectorTable"     # [<bool>]
        #Option     "DefaultTMDSPLL"            # [<bool>]
        #Option     "TVDACLoadDetect"           # [<bool>]
        #Option     "ForceTVOut"                # [<bool>]
        #Option     "TVStandard"                # <str>
        #Option     "IgnoreLidStatus"           # [<bool>]
        #Option     "DefaultTVDACAdj"           # [<bool>]
        #Option     "Int10"                     # [<bool>]
        #Option     "EXAVSync"                  # [<bool>]
        #Option     "ATOMTVOut"                 # [<bool>]
        #Option     "R4xxATOM"                  # [<bool>]
        #Option     "ForceLowPowerMode"         # [<bool>]
        #Option     "DynamicPM"                 # [<bool>]
        #Option     "NewPLL"                    # [<bool>]
        #Option     "ZaphodHeads"               # <str>
        Identifier  "Card0"
        Driver      "radeon"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
Any help is appreciated. Thanks you!

Last edited by Pluvius; 07-01-2012 at 08:39 PM. Reason: solved
 
Old 06-30-2012, 12:49 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
Perhaps some residue is remaining from fglrx? You might try reinstalling all of the X packages (upgradepkg --reinstall x/*.txz) to see if that cleans things up.
 
Old 06-30-2012, 01:09 PM   #3
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,782

Rep: Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459
Quote:
Originally Posted by Pluvius View Post
Code:
$glxinfo 
name of display: :0
glxinfo: symbol lookup error: /usr/lib64/libGL.so.1: undefined symbol: _XGetRequest
I thought that the issue was around Mesa which I've updated, buts till no luck
What does the following print out:

Code:
ls -l /usr/lib64/libGL.so.*
(libGL.so.1 should be a link to libGL.so.1.2)
 
Old 06-30-2012, 01:11 PM   #4
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
And what's the output of 'ldd /usr/lib64/libGL.so.1' ?

Adam
 
Old 06-30-2012, 05:28 PM   #5
tty13
Member
 
Registered: Aug 2006
Distribution: Slackware64-14.2
Posts: 50

Rep: Reputation: 7
You need reinstall xorg-server-1.12.2, and mesa to fix what fglrx changes.

I recommend that you upgrade your kernel to the 3.5 series, there is a great performance boost for the radeon driver, and use mesa-7.10.2-i486-1 from testing dir.
 
Old 06-30-2012, 06:24 PM   #6
Pluvius
LQ Newbie
 
Registered: Aug 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
Thank you very much for your replies!

Here's what I got from the

Code:
#ls -l /usr/lib64/libGL.so.*
lrwxrwxrwx 1 root root     12 Jun 30 15:27 /usr/lib64/libGL.so.1 -> libGL.so.1.2*
-rwxr-xr-x 1 root root 547424 May 22 21:28 /usr/lib64/libGL.so.1.2*
And then:

Code:
ldd /usr/lib64/libGL.so.1
        linux-vdso.so.1 (0x00007fffce5ff000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f24ab5e5000)
        libXdamage.so.1 => /usr/lib64/libXdamage.so.1 (0x00007f24ab3e3000)
        libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007f24ab1dc000)
        libX11-xcb.so.1 => /usr/lib64/libX11-xcb.so.1 (0x00007f24aafdb000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f24aac9b000)
        libxcb-glx.so.0 => /usr/lib64/libxcb-glx.so.0 (0x00007f24aaa86000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f24aa86a000)
        libXxf86vm.so.1 => /usr/lib64/libXxf86vm.so.1 (0x00007f24aa665000)
        libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00007f24aa459000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f24aa23d000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f24aa039000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f24a9d37000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f24a9a3c000)
        libgcc_s.so.1 => /usr/lib64/libgcc_s.so.1 (0x00007f24a9827000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f24a9469000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f24a9266000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f24a9061000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f24a8e58000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f24abab3000)
Additional notes:



I'm on a Kernel: 3.3.8 after removing fglrx.ko and the xorg.conf file I've rebuilt the following components:

Mesa : 8.0.3-x86_64-1
Xorg-server : 1.12.2
along with the xf86 drivers
 
Old 06-30-2012, 06:29 PM   #7
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Are you mephisto on ##slackware? If so, I recall you talking about all sorts of Xorg problems you've had recently, where packages were installed but missing, you forced an update, had to rebuild the radeon driver... Frankly, I'd guess that your installation of Xorg and Mesa is pretty much borked. You probably have various older and newer Xorg development headers floating around causing problems.

Adam
 
Old 06-30-2012, 06:37 PM   #8
tty13
Member
 
Registered: Aug 2006
Distribution: Slackware64-14.2
Posts: 50

Rep: Reputation: 7
ah, mesa 8.0, shows you need to go over your blacklist every now and then, fixed that for me

you need to reinstall xorg-server and mesa after you remove fglrx, if that doesn't help, you probably have a different problem
 
Old 06-30-2012, 06:42 PM   #9
Pluvius
LQ Newbie
 
Registered: Aug 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
tty13 abd adamk

You're pretty much right, I did exactly as you said, and that same problem was solved in my other system. The thing is that I had xorg-server 1.9.5 and couldn't remove it (neither with slackpkg nor with pkgtool) so I went ahead and installed 1.12.2

I'm in a hot mess!
 
Old 07-01-2012, 02:15 AM   #10
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Yeah, when you remove a proprietary driver often you have to rebuilt almost everything library-wise with the X-Server sometimes. Drivers, Mesa, basic inputs, all can be tarnished by using proprietary drivers.

At best, because -Current is a developer/tester/unstable tree build that is always being updated on a regular basis, you shouldn't use a proprietary driver for this branch of Slackware. The proprietary driver is often best suited for stable branches that aren't receiving heavy updates and may require a proprietary driver for functionality.
 
Old 07-01-2012, 04:32 AM   #11
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,782

Rep: Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459
What does this print out:
Code:
TZ=UTC ls -l /usr/lib64/libX11.so.6.3.0
libX11.so.6.3.0 added _XGetRequest just a while ago. These versions have it:

libX11-1.5.0-x86_64-1:
-rwxr-xr-x 1 root root 1277280 Jun 13 05:36 /usr/lib64/libX11.so.6.3.0
libX11-1.4.99.902-x86_64-1:
-rwxr-xr-x 1 root root 1277280 May 30 19:18 /usr/lib64/libX11.so.6.3.0
libX11-1.4.99.901-x86_64-1:
-rwxr-xr-x 1 root root 1277280 May 4 03:51 /usr/lib64/libX11.so.6.3.0

The one from 13.37 doesn't have _XGetRequest:

libX11-1.4.3-x86_64-2:
-rwxr-xr-x 1 root root 1310016 Apr 16 2011 /usr/lib64/libX11.so.6.3.0
 
Old 07-01-2012, 05:13 AM   #12
tty13
Member
 
Registered: Aug 2006
Distribution: Slackware64-14.2
Posts: 50

Rep: Reputation: 7
Quote:
Originally Posted by Pluvius View Post
tty13 abd adamk

The thing is that I had xorg-server 1.9.5 and couldn't remove it (neither with slackpkg nor with pkgtool) so I went ahead and installed 1.12.2

I'm in a hot mess!
Sounds like you need to upgrade your whole system.
read the upgrade-howto and go from there.
 
Old 07-01-2012, 06:30 AM   #13
Pluvius
LQ Newbie
 
Registered: Aug 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
Hello!

Here's the output of
Code:
TZ=UTC ls -l /usr/lib64/libX11.so.6.3.0
-rwxr-xr-x 1 root root 1310016 Apr 16  2011 /usr/lib64/libX11.so.6.3.0*
I have an idea but in order not to *break* the system even further, I want some advice, I'm thinking about doing a
wget -m to the x/ directory from the -current branch and rebuild the whole thing.

If not then I'll go and upgrade the system as tty13 said
 
Old 07-01-2012, 09:52 AM   #14
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,782

Rep: Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459
Quote:
Originally Posted by Pluvius View Post
Code:
TZ=UTC ls -l /usr/lib64/libX11.so.6.3.0
-rwxr-xr-x 1 root root 1310016 Apr 16  2011 /usr/lib64/libX11.so.6.3.0*
I have an idea but in order not to *break* the system even further, I want some advice, I'm thinking about doing a
wget -m to the x/ directory from the -current branch and rebuild the whole thing.

If not then I'll go and upgrade the system as tty13 said
(You should not rebuild anything. If you build, you compile source code to machine code. You should use precompiled slackware binary packages.)

So, it seems you have a mixture of slackware64-13.37 and slackware64-current. You are lucky that it works at all. You should either upgrade everything to slackware64-current or downgrade everything to slackware64-13.37. It can be tricky to downgrade. Upgrading to slackware64-current should work if you follow the instructions. It won't work if you just upgrade the x/ packages when all your other libraries are probably still from 13.37.
 
Old 07-01-2012, 11:48 AM   #15
Pluvius
LQ Newbie
 
Registered: Aug 2011
Posts: 13

Original Poster
Rep: Reputation: Disabled
Thank you Petri,

I did have an issue with the upgrade to current, now I've managed to delete the 13.37 stuff (unblacklisting aaa_elflibs) and running slackpkg clean-system.

I'm going to try and install mesa and xorg again!
 
  


Reply



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
Radeon problem zoran119 Slackware 11 03-19-2008 10:05 PM
Interesting Video Problem with ATI Radeon 9800 Pro (not a 3D accel based problem) binarynova Linux - Hardware 1 08-27-2005 09:49 PM
hello a new in linux and i got a big problem with my ati radeon 7000/radeon ve card AKAKAK Linux - Hardware 0 01-19-2005 09:39 AM
Yet another radeon problem shadowsun Linux - Hardware 0 10-18-2004 02:03 AM
Another Radeon M6 problem! TheShemeta Linux - General 3 03-12-2004 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:15 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration