LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Radeon kms works! (https://www.linuxquestions.org/questions/slackware-14/radeon-kms-works-760963/)

adamk75 01-08-2010 05:19 AM

Well, first, fglrx does not work with 2.6.32.*, last I heard.

Second, KMS is part of the open source driver infrastructure. You can't mix the open source and closed source drivers.

Adam

gtludwig 01-08-2010 05:39 AM

well, doesn't that just makes sense? lol! a bit more reading on my part might've spared us all of this post (and of my trouble!).

I switched "fglrx" to "radeon" on /etc/X11/xorg.conf and font rendering *seems* a little better, but still got no 3D acceleration.

Is this right? What am I missing here?

Thanks in advance!
gtludwig

adamk75 01-08-2010 05:44 AM

3D acceleration should work if everything is setup properly and up-to-date with the versions dolphin77 outlined. Show us your /var/log/Xorg.0.log file.

Adam

gtludwig 01-08-2010 06:24 AM

Well, I decided on a different (and temporary!) approach - I've to work a little and I'll play with this later. =)

I had a different image entry on /etc/lilo.conf for kernel panic case.

Now I'm keeping everything on -current tree BUT kernel packages, which are 13.0's. This way 3D acceleration works with proprietary drivers.

On my lunch break, I'll bring kernel to -current later, boot it and post /var/log/Xorg.0.log file in a few hours.

Thanks!
gtludwig

TSquaredF 01-08-2010 05:53 PM

Having seen post 91, I was intent on updating my kms installation. Fortunately, I didn't start until this morning, after I read post 97, so was able to start with 2.6.33-rc3-git2. I followed the instructions in post 91 almost to the letter, only changing the output locations for makepkg, so I wouldn't have to copy the package anywhere. Everything installed OK, but I get the following in my Xorg.0.log:
Code:

(EE) RADEON(0): [dri] RADEONDRIGetVersion failed because of a version mismatch.
[dri] This chipset requires a kernel module version of 1.17.0,
[dri] but the kernel reports a version of 2.0.0.[dri] If using legacy modesetting, upgrade your kernel.
[dri] If using kernel modesetting, make sure your module is
[dri] loaded prior to starting X, and that this driver was built
[dri] with support for KMS.
[dri] Disabling DRI.

Anybody able to give me a clue as to how to load dri?
Regards.
Bill

adamk75 01-08-2010 05:57 PM

It really sounds like your Xorg driver wasn't built against a version of libdrm that supports KMS. What is the output of 'pkg-config --cflags --modversion libdrm_radeon'?

TSquaredF 01-08-2010 06:58 PM

Quote:

Originally Posted by adamk75 (Post 3819575)
It really sounds like your Xorg driver wasn't built against a version of libdrm that supports KMS. What is the output of 'pkg-config --cflags --modversion libdrm_radeon'?

Probably correct. I realized a few minutes ago that I was not using the same drm repository as the instructions specified. I had a libdrm repository from the last time I built these packages. I will start rebuilding now. The output you requested is:
Code:

$ pkg-config --cflags --modversion libdrm_radeon
1.0.1
-I/usr/include/drm

I don't know it means, but will see if it changes after I rebuild.
Regards,
Bill

BrZ 01-08-2010 07:47 PM

Quote:

Originally Posted by dolphin77 (Post 3818560)
to BzR:
I didn't get it. You built new Xorg yourself?

Yes, sorry if it was misinterpreted against official Slackware releases. My RS480 (Xpress1100) is really tricky to accommodate and I'm following the development made to R600 chips and ported to R300.

Old_Fogie 01-09-2010 03:28 AM

Quote:

Originally Posted by adamk75 (Post 3818576)
I've played ut2004 with and without KMS on a radeon 4350, radeon x850, and radeon x1900.

Adam

Thanks for the reply. Yeah I cannot even get it to open/run. Thought maybe kms was the solution, but now it sounds more like I need to try a different radeon driver then. Thanks again.

thomasye 01-09-2010 11:23 AM

Hi dolphin77,
Thanks for the very helpful guide for the radeon video card. I followed the instructions on #13 using the kernel 2.6.32-3, I have also compiled the drm, macros, mesa, xf86-video-ati. My card is onboard ATI-card HD4200. After recompile/install all the packages and reboot. The X works great. glxgears gives roughly 1500 fps.

However, if I examine the /var/log/Xorg.0.log, there is error message:

(EE) Failed to load module "fbdev" (module does not exist, 0)

Is it normal or something I need to solve?

dolphin77 01-09-2010 01:56 PM

You are welcome.

I also have abt 1450FPS when kwin desktop effects are switched on and abt 2050 FPS when it is switched off.

With regards to fbdev it is absolutely normal. We do not use it anyway. I have the same here.

Code:

vladimir@darkstar:~$ cat /var/adm/Xorg.0.log

X.Org X Server 1.6.3
Release Date: 2009-7-31
X Protocol Version 11, Revision 0
Build Operating System: Slackware 13.0 Slackware Linux Project
Current Operating System: Linux darkstar 2.6.33-rc3-git3 #1 SMP Sat Jan 9 09:29:52 EET 2010 x86_64                                                             
Build Date: 03 August 2009  07:39:15PM                                         
                                                                               
        Before reporting problems, check http://wiki.x.org                     
        to make sure that you have the latest version.                         
Markers: (--) probed, (**) from config file, (==) default setting,             
        (++) from command line, (!!) notice, (II) informational,               
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.         
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan  9 21:37:43 2010           
(II) Loader magic: 0x3d20                                                     
(II) Module ABI versions:                                                     
        X.Org ANSI C Emulation: 0.4                                           
        X.Org Video Driver: 5.0                                               
        X.Org XInput driver : 4.0                                             
        X.Org Server Extension : 2.0                                           
(II) Loader running on linux                                                   
(++) using VT number 7                                                         

(--) PCI:*(0:1:0:0) 1002:95c4:104d:9033 rev 0, Mem @ 0x80000000/134217728, 0x88020000/65536, I/O @ 0x00009000/256, BIOS @ 0x????????/131072                   
(==) Using default built-in configuration (30 lines)                           
(==) --- Start of built-in configuration ---                                   
        Section "Device"                                                       
                Identifier      "Builtin Default ati Device 0"                 
                Driver  "ati"                                                 
        EndSection                                                             
        Section "Screen"                                                       
                Identifier      "Builtin Default ati Screen 0"                 
                Device  "Builtin Default ati Device 0"                         
        EndSection                                                             
        Section "Device"                                                       
                Identifier      "Builtin Default vesa Device 0"               
                Driver  "vesa"                                                 
        EndSection                                                             
        Section "Screen"                                                       
                Identifier      "Builtin Default vesa Screen 0"               
                Device  "Builtin Default vesa Device 0"                       
        EndSection                                                             
        Section "Device"                                                       
                Identifier      "Builtin Default fbdev Device 0"               
                Driver  "fbdev"                                               
        EndSection                                                             
        Section "Screen"                                                       
                Identifier      "Builtin Default fbdev Screen 0"               
                Device  "Builtin Default fbdev Device 0"                       
        EndSection                                                             
        Section "ServerLayout"                                                 
                Identifier      "Builtin Default Layout"                       
                Screen  "Builtin Default ati Screen 0"                         
                Screen  "Builtin Default vesa Screen 0"                       
                Screen  "Builtin Default fbdev Screen 0"                       
        EndSection                                                             
(==) --- End of built-in configuration ---                                     
(==) ServerLayout "Builtin Default Layout"                                     
(**) |-->Screen "Builtin Default ati Screen 0" (0)                             
(**) |  |-->Monitor "<default monitor>"                                       
(**) |  |-->Device "Builtin Default ati Device 0"                             
(==) No monitor specified for screen "Builtin Default ati Screen 0".           
        Using a default monitor configuration.                                 
(**) |-->Screen "Builtin Default vesa Screen 0" (1)                           
(**) |  |-->Monitor "<default monitor>"                                       
(**) |  |-->Device "Builtin Default vesa Device 0"                           
(==) No monitor specified for screen "Builtin Default vesa Screen 0".         
        Using a default monitor configuration.                                 
(**) |-->Screen "Builtin Default fbdev Screen 0" (2)                           
(**) |  |-->Monitor "<default monitor>"                                       
(**) |  |-->Device "Builtin Default fbdev Device 0"                           
(==) No monitor specified for screen "Builtin Default fbdev Screen 0".         
        Using a default monitor configuration.                                 
(==) Automatically adding devices                                             
(==) Automatically enabling devices                                           
(WW) The directory "/usr/share/fonts/CID" does not exist.                     
        Entry deleted from font path.                                         
(==) FontPath set to:                                                         
        /usr/share/fonts/local,                                               
        /usr/share/fonts/TTF,                                                 
        /usr/share/fonts/OTF,                                                 
        /usr/share/fonts/Type1,                                               
        /usr/share/fonts/misc,                                                 
        /usr/share/fonts/75dpi/:unscaled,                                     
        /usr/share/fonts/100dpi/:unscaled,                                     
        /usr/share/fonts/75dpi,                                               
        /usr/share/fonts/100dpi,                                               
        /usr/share/fonts/cyrillic,                                             
        built-ins                                                             
(==) ModulePath set to "/usr/lib64/xorg/modules"                               
(II) Cannot locate a core pointer device.                                     
(II) Cannot locate a core keyboard device.                                     
(II) The server relies on HAL to provide the list of input devices.           
        If no devices become available, reconfigure HAL or disable AllowEmptyInput.                                                                           
(II) Open ACPI successful (/var/run/acpid.socket)                             
(II) System resource ranges:                                                   
        [0] -1  0      0xffffffff - 0xffffffff (0x1) MX[B]                   
        [1] -1  0      0x000f0000 - 0x000fffff (0x10000) MX[B]               
        [2] -1  0      0x000c0000 - 0x000effff (0x30000) MX[B]               
        [3] -1  0      0x00000000 - 0x0009ffff (0xa0000) MX[B]               
        [4] -1  0      0x0000ffff - 0x0000ffff (0x1) IX[B]                   
        [5] -1  0      0x00000000 - 0x00000000 (0x1) IX[B]                   
(II) LoadModule: "extmod"                                                     
(II) Loading /usr/lib64/xorg/modules/extensions//libextmod.so                 
(II) Module extmod: vendor="X.Org Foundation"                                 
        compiled for 1.6.3, module version = 1.0.0                             
        Module class: X.Org Server Extension                                   
        ABI class: X.Org Server Extension, version 2.0                         
(II) Loading extension MIT-SCREEN-SAVER                                       
(II) Loading extension XFree86-VidModeExtension                               
(II) Loading extension XFree86-DGA                                             
(II) Loading extension DPMS                                                   
(II) Loading extension XVideo                                                 
(II) Loading extension XVideo-MotionCompensation                               
(II) Loading extension X-Resource                                             
(II) LoadModule: "dbe"                                                         
(II) Loading /usr/lib64/xorg/modules/extensions//libdbe.so                     
(II) Module dbe: vendor="X.Org Foundation"                                     
        compiled for 1.6.3, module version = 1.0.0                             
        Module class: X.Org Server Extension                                   
        ABI class: X.Org Server Extension, version 2.0                         
(II) Loading extension DOUBLE-BUFFER                                           
(II) LoadModule: "glx"                                                         
(II) Loading /usr/lib64/xorg/modules/extensions//libglx.so                     
(II) Module glx: vendor="X.Org Foundation"                                     
        compiled for 1.6.3, module version = 1.0.0                             
        ABI class: X.Org Server Extension, version 2.0                         
(==) AIGLX enabled                                                             
(II) Loading extension GLX                                                     
(II) LoadModule: "dri"                                                         
(II) Loading /usr/lib64/xorg/modules/extensions//libdri.so                     
(II) Module dri: vendor="X.Org Foundation"                                     
        compiled for 1.6.3, module version = 1.0.0                             
        ABI class: X.Org Server Extension, version 2.0                         
(II) Loading extension XFree86-DRI                                             
(II) LoadModule: "dri2"                                                       
(II) Loading /usr/lib64/xorg/modules/extensions//libdri2.so                   
(II) Module dri2: vendor="X.Org Foundation"                                   
        compiled for 1.6.3, module version = 1.1.0                             
        ABI class: X.Org Server Extension, version 2.0                         
(II) Loading extension DRI2                                                   
(II) LoadModule: "ati"                                                         
(II) Loading /usr/lib64/xorg/modules/drivers//ati_drv.so                       
(II) Module ati: vendor="X.Org Foundation"                                     
        compiled for 1.6.3, module version = 6.12.99                           
        Module class: X.Org Video Driver                                       
        ABI class: X.Org Video Driver, version 5.0                             
(II) LoadModule: "radeon"                                                     
(II) Loading /usr/lib64/xorg/modules/drivers//radeon_drv.so                   
(II) Module radeon: vendor="X.Org Foundation"                                 
        compiled for 1.6.3, module version = 6.12.99                           
        Module class: X.Org Video Driver                                       
        ABI class: X.Org Video Driver, version 5.0                             
(II) LoadModule: "vesa"                                                       
(II) Loading /usr/lib64/xorg/modules/drivers//vesa_drv.so                     
(II) Module vesa: vendor="X.Org Foundation"                                   
        compiled for 1.6.3, module version = 2.2.1                             
        Module class: X.Org Video Driver                                       
        ABI class: X.Org Video Driver, version 5.0                             
(II) LoadModule: "fbdev"                                                       
(WW) Warning, couldn't open module fbdev                                       
(II) UnloadModule: "fbdev"                                                     
(EE) Failed to load module "fbdev" (module does not exist, 0)                 
(II) RADEON: Driver for ATI Radeon chipsets:                                   
          ***************************                               
(II) VESA: driver for VESA chipsets: vesa                                     
(II) Primary Device is: PCI 01@00:00:0                                         
(II) resource ranges after xf86ClaimFixedResources() call:                     
        [0] -1  0      0xffffffff - 0xffffffff (0x1) MX[B]                   
        [1] -1  0      0x000f0000 - 0x000fffff (0x10000) MX[B]               
        [2] -1  0      0x000c0000 - 0x000effff (0x30000) MX[B]               
        [3] -1  0      0x00000000 - 0x0009ffff (0xa0000) MX[B]               
        [4] -1  0      0x0000ffff - 0x0000ffff (0x1) IX[B]                   
        [5] -1  0      0x00000000 - 0x00000000 (0x1) IX[B]                   
(II) [KMS] Kernel modesetting enabled.                                         
(WW) Falling back to old probe method for vesa                                 
(II) resource ranges after probing:                                           
        [0] -1  0      0xffffffff - 0xffffffff (0x1) MX[B]                   
        [1] -1  0      0x000f0000 - 0x000fffff (0x10000) MX[B]               
        [2] -1  0      0x000c0000 - 0x000effff (0x30000) MX[B]               
        [3] -1  0      0x00000000 - 0x0009ffff (0xa0000) MX[B]               
        [4] 0  0      0x000a0000 - 0x000affff (0x10000) MS[B]               
        [5] 0  0      0x000b0000 - 0x000b7fff (0x8000) MS[B]                 
        [6] 0  0      0x000b8000 - 0x000bffff (0x8000) MS[B]                 
        [7] -1  0      0x0000ffff - 0x0000ffff (0x1) IX[B]                   
        [8] -1  0      0x00000000 - 0x00000000 (0x1) IX[B]                   
        [9] 0  0      0x000003b0 - 0x000003bb (0xc) IS[B]                   
        [10] 0  0      0x000003c0 - 0x000003df (0x20) IS[B]                   
(II) Setting vga for screen 0.                                                 
(II) RADEON(0): Creating default Display subsection in Screen section         
        "Builtin Default ati Screen 0" for depth/fbbpp 24/32                   
(==) RADEON(0): Depth 24, (--) framebuffer bpp 32                             
(II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)       
(==) RADEON(0): Default visual is TrueColor                                   
(==) RADEON(0): RGB weight 888                                                 
(II) RADEON(0): Using 8 bits per RGB (8 bit DAC)                               
(--) RADEON(0): Chipset: "ATI Mobility Radeon HD 3400 Series" (ChipID = 0x95c4)
(II) RADEON(0): PCIE card detected                                             
(WW) RADEON(0): Color tiling is not yet supported on R600/R700                 
(II) RADEON(0): KMS Color Tiling: disabled                                     
drmOpenDevice: node name is /dev/dri/card0                                     
drmOpenDevice: open result is 8, (OK)                                         
drmOpenDevice: node name is /dev/dri/card0                                     
drmOpenDevice: open result is 8, (OK)                                         
drmOpenByBusid: Searching for BusID pci:0000:01:00.0                           
drmOpenDevice: node name is /dev/dri/card0                                     
drmOpenDevice: open result is 8, (OK)                                         
drmOpenByBusid: drmOpenMinor returns 8                                         
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0                           
(II) [drm] DRM interface version 1.3                                           
(II) [drm] DRM open master succeeded.                                         
(II) RADEON(0): Output VGA-0 has no monitor section                           
(II) RADEON(0): Output LVDS has no monitor section                             
(II) RADEON(0): Output DVI-0 has no monitor section                           
(II) RADEON(0): Output VGA-0 disconnected                                     
(II) RADEON(0): Output LVDS connected                                         
(II) RADEON(0): Output DVI-0 disconnected                                     
(II) RADEON(0): Using exact sizes for initial modes                           
(II) RADEON(0): Output LVDS using initial mode 1280x800                       
(II) RADEON(0): mem size init: gart size :1fdff000 vram size: s:8000000 visible:7bd8000                                                                       
(II) RADEON(0): EXA: Driver will allow EXA pixmaps in VRAM                     
(==) RADEON(0): DPI set to (96, 96)                                           
(II) Loading sub module "fb"                                                   
(II) LoadModule: "fb"                                                         
(II) Loading /usr/lib64/xorg/modules//libfb.so                                 
(II) Module fb: vendor="X.Org Foundation"                                     
        compiled for 1.6.3, module version = 1.0.0                             
        ABI class: X.Org ANSI C Emulation, version 0.4                         
(==) RADEON(0): Using gamma correction (1.0, 1.0, 1.0)                         
(II) Loading sub module "ramdac"                                               
(II) LoadModule: "ramdac"                                                     
(II) Module "ramdac" already built-in                                         
(II) Loading sub module "exa"                                                 
(II) LoadModule: "exa"                                                         
(II) Loading /usr/lib64/xorg/modules//libexa.so                               
(II) Module exa: vendor="X.Org Foundation"                                     
        compiled for 1.6.3, module version = 2.4.0                             
        ABI class: X.Org Video Driver, version 5.0                             
(II) UnloadModule: "vesa"                                                     
(II) Unloading /usr/lib64/xorg/modules/drivers//vesa_drv.so                   
(--) Depth 24 pixmap format is 32 bpp                                         
(II) do I need RAC?  No, I don't.                                             
(II) resource ranges after preInit:                                           
        [0] -1  0      0xffffffff - 0xffffffff (0x1) MX[B]                   
        [1] -1  0      0x000f0000 - 0x000fffff (0x10000) MX[B]               
        [2] -1  0      0x000c0000 - 0x000effff (0x30000) MX[B]               
        [3] -1  0      0x00000000 - 0x0009ffff (0xa0000) MX[B]               
        [4] 0  0      0x000a0000 - 0x000affff (0x10000) MS[B]               
        [5] 0  0      0x000b0000 - 0x000b7fff (0x8000) MS[B]                 
        [6] 0  0      0x000b8000 - 0x000bffff (0x8000) MS[B]                 
        [7] -1  0      0x0000ffff - 0x0000ffff (0x1) IX[B]                   
        [8] -1  0      0x00000000 - 0x00000000 (0x1) IX[B]                   
        [9] 0  0      0x000003b0 - 0x000003bb (0xc) IS[B]                   
        [10] 0  0      0x000003c0 - 0x000003df (0x20) IS[B]                   
(II) RADEON(0): [DRI2] Setup complete                                         
(II) RADEON(0): Front buffer size: 4000K                                       
(II) RADEON(0): VRAM usage limit set to 110534K                               
(==) RADEON(0): Backing store disabled                                         
(II) RADEON(0): Direct rendering enabled                                       
(II) RADEON(0): Setting EXA maxPitchBytes                                     
(II) EXA(0): Driver allocated offscreen pixmaps                               
(II) EXA(0): Driver registered support for the following operations:           
(II)        Solid                                                             
(II)        Copy                                                             
(II)        Composite (RENDER acceleration)                                   
(II)        UploadToScreen                                                   
(II)        DownloadFromScreen                                               
(II) RADEON(0): Acceleration enabled                                           
(II) RADEON(0): DPMS enabled                                                   
(==) RADEON(0): Silken mouse enabled                                           
(II) RADEON(0): Set up textured video                                         
(II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(--) RandR disabled                                                           
(II) Setting vga for screen 0.                                                 
(II) Initializing built-in extension Generic Event Extension                   
(II) Initializing built-in extension SHAPE                                     
(II) Initializing built-in extension MIT-SHM                                   
(II) Initializing built-in extension XInputExtension                           
(II) Initializing built-in extension XTEST                                     
(II) Initializing built-in extension BIG-REQUESTS                             
(II) Initializing built-in extension SYNC                                     
(II) Initializing built-in extension XKEYBOARD                                 
(II) Initializing built-in extension XC-MISC                                   
(II) Initializing built-in extension XINERAMA                                 
(II) Initializing built-in extension XFIXES                                   
(II) Initializing built-in extension RENDER                                   
(II) Initializing built-in extension RANDR                                     
(II) Initializing built-in extension COMPOSITE                                 
(II) Initializing built-in extension DAMAGE                                   
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer                                   
(II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control             
(II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects               
(II) AIGLX: Loaded and initialized /usr/lib64/xorg/modules/dri/r600_dri.so     
(II) GLX: Initialized DRI2 GL provider for screen 0                           
(II) RADEON(0): Setting screen physical size to 338 x 211                     
(II) config/hal: Adding input device Macintosh mouse button emulation         
(II) LoadModule: "evdev"                                                       
(II) Loading /usr/lib64/xorg/modules/input//evdev_drv.so                       
(II) Module evdev: vendor="X.Org Foundation"                                   
        compiled for 1.6.3, module version = 2.2.5                             
        Module class: X.Org XInput Driver                                     
        ABI class: X.Org XInput driver, version 4.0


BroX 01-10-2010 01:52 PM

DXTn compression/decompression
 
Can anyone tell me what the warning is about?
Code:

bash-3.1$ glxinfo
Mesa: Mesa 7.8-devel DEBUG build Jan  8 2010 00:20:53
Mesa warning: software DXTn compression/decompression available
Mesa: Initializing x86-64 optimizations                       
Mesa: 3Dnow! detected                                         
GL_VERSION: 2.0 Mesa 7.8-devel
...

Kernel 2.6.33-rc1
Radeon R600, kms-enabled

All is working fine, just curious ;-)

EDIT: never mind, this was already answered (in a way) by adamk75 in #47

forum1793 01-10-2010 03:07 PM

I no longer see that error. They either fixed it or more likely removed message from the code. Using 2.6.33-rc3 with gits from a couple of days ago.

BroX 01-10-2010 04:15 PM

Quote:

Originally Posted by forum1793 (Post 3821618)
I no longer see that error. They either fixed it or more likely removed message from the code. Using 2.6.33-rc3 with gits from a couple of days ago.

It's not so much as an error, but a warning. I solved the error earlier on, see #46. But apparently (#47) it's broken in R600/R700 cards.

overvolting 01-11-2010 04:43 AM

weird problem
 
So I have an R600 and I've just got the latest kernel/radeon/drm/mesa/xserver combo built and I have a weird problem.
2.6.33-rc3
KMS is working.
3d is working:

$ glxinfo | grep OpenGL
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RV670 9501) 20090101 TCL DRI2
OpenGL version string: 2.0 Mesa 7.8-devel

glxgears gives me ~1000fps. Kwin desktop effects is working great.

What I'm having a problem with is quakelive.

It is running at 1 frame every 3 seconds and for some reason refuses to go fullscreen.

How to I even begin to find out what the problem is?

Also a smaller note:
When I load radeon as a module it manages to load the firmware.

When I build it into the kernel, including the firmware, it won't load it.
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="/radeon/R600_rlc.bin /radeon/R700_rlc.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"

I'll keep trying to build it in and drop a note if I succeed.

dolphin77 01-11-2010 07:36 AM

You didn't mention which kernel you are using. I make a guess, you are using 2.6.33-rc3 or later kernel. And you are unable to built in firmware which corresponds to IRQ. I do not have a solution for this. Some time ago I also tried to build this firmware into kernel, but without any luck. If you really need this to be built in, either wait when this firmware will be included in kernel, or try to ask at phoronix forum, where a lot of developers are present and perhaps they are able to help you with this.

adamk75 01-11-2010 08:11 AM

Quote:

Originally Posted by dolphin77 (Post 3822359)
You didn't mention which kernel you are using. I make a guess, you are using 2.6.33-rc3 or later kernel. And you are unable to built in firmware which corresponds to IRQ. I do not have a solution for this. Some time ago I also tried to build this firmware into kernel, but without any luck. If you really need this to be built in, either wait when this firmware will be included in kernel, or try to ask at phoronix forum, where a lot of developers are present and perhaps they are able to help you with this.

If you wait for the kernel to include it, you will be waiting a very long time. The kernel is no longer accepting new firmwares.

You can download it here:

http://people.freedesktop.org/~agd5f/radeon_ucode/

And then you can compile it into the kernel.

Adam

BrZ 01-11-2010 04:00 PM

Things are moving very fast... Newer xorg-server seems to need mesa already built and installed. The modular developers guide have a little mention to it (http://wiki.x.org/wiki/ModularDevelopersGuide):
"Note: as of 2009-01-18 (commit titled "Kill off --with-mesa-source completely"), the server will pick up the installed headers it needs from mesa."

This commit drop "--with-mesa-source": http://cgit.freedesktop.org/xorg/xse...67f6fe927d3f7a

I think it changes the path macros->proto->xserver->libdrm->ddx->mesa. Just to be sure I'm building it twice. First to make some modules and ddx compile against the new server and one more time after mesa.

overvolting 01-12-2010 01:59 AM

Woa.

If I go into quakelive game settings and I turn off "post processing", the frames per second goes from 0.2 to over 100fps.

This seems like something very important to track down the issue.

I still cannot get it to go fullscreen though, Kwin keeps windowing it.

**update**
I got it working fullscreen. I had to right click any taskbar and choose 'configure window behavior'. Then I set kwin to FORCE fullscreen and force no border and force override window type for any window with a substring match of quake in the title.

Voila! 125fps maxed out quakelive, fullscreen, very playable and very fast loading with the latest free software radeon driver.

Bye Bye fglrx.

dolphin77 01-12-2010 01:53 PM

2 Attachment(s)
1) Now in order to build this stuff, as mentioned above, you will need also to update dri2proto and glproto.

git clone git://cgit.freedesktop.org/xorg/proto/dri2proto
git clone git://cgit.freedesktop.org/xorg/proto/glproto

Attachment 2479
Attachment 2480

2) for those running 2.6.32.3 from current, there is no need to rebuild kernel. You may simply use the -generic kernel and modules shipped with it.

You only have to create file /etc/modprobe.d/radeon.conf with following contents:
Code:

options radeon modeset=1
radeon module still have to be blacklisted and loaded from rc.modules.

TSquaredF 01-16-2010 06:30 PM

I originally posted a problem I was having in post #105. I did a little work on it just after I posted, but then the laptop went on a few trips & I just got it back yesterday. Today I d/led & installed 2.6.32.3, from current. Then I built & installed all five packages mentioned above, but I still had no joy. The error I was getting was that it couldn't find /usr/lib64/xorg/modules/dri/r300_dri.so. /usr/lib64/xorg/modules/dri/r600_dri.so was there, however. Working a hunch & knowing that I couldn't make it any worse, I went into mesa.SlackBuild & changed both instances of r600 to r300. This time, after rebuilding & reinstalling mesa, all worked well. My xorg.log is clean. I built & installed bloodfrontier again & it runs at a decent rate (I had been getting 1 fps before). One of the things I did early on was to remove Eric's multilib packages. I am very probably wrong, but I had the impression that something there was interfering with the operation of mesa. If I had to use this in a multilib environment, how would I go about that?
Regards,
Bill

dolphin77 01-17-2010 02:37 AM

Please correct me if I am wrong.

At first I also sought that in order to get working solution, Alien's multilib packages has to be of the same versions as 64 bit. I mean if I installed mesa*_x86_64*, I also have to build and upgrade the same version of 32compat package.

But in some other thread I saw that Eric reply to similar question. He was saying if I remember correctly, that 32compat packages live completely independent from 64 bit packages. So there is no need to update those unless you have some special need for it.

I have 32copmat packages of Eric installed on my computer and I do not update those.
Code:

ls -l /var/adm/packages/ |grep mesa
-rw-r--r-- 1 root root    1688 2010-01-16 21:06 mesa-20100116_git-x86_64-1_vt
-rw-r--r-- 1 root root    1949 2009-12-11 00:29 mesa-compat32-7.5-x86_64-1


TSquaredF 01-17-2010 09:13 AM

dolphin77:
Quote:

I have 32copmat packages of Eric installed on my computer and I do not update those.
Then are you not using dri in a 32 bit environment? My daughter is deeply into World Of Warcraft, which only runs under wine, which means a 32 bit environment. We have currently left a 12.2 partition on the laptop, into which I have installed the ATI binary drivers. I guess I have a bit more work to do to get that scenario to work on 13.0.
Regards,
Bill

dolphin77 01-24-2010 10:53 AM

Power management for radeon? It is there for testing.

1) get the linux-2.6.33-rc5

2) get this patches:
http://people.freedesktop.org/~agd5f/pm/

We do not need the first one. It is already in the kernel.

3) [CODE]cd /usr/src/linux-2.6.33-rc5
make mrproper
patch -p1 < /home/Soft/agd5f/pm/0002-drm-radeon-kms-add-dynamic-engine-reclocking-V9.patch
patch -p1 < /home/Soft/agd5f/pm/0003-drm-radeon-kms-add-functions-to-get-current-pcie-la.patch
patch -p1 < /home/Soft/agd5f/pm/0004-drm-radeon-kms-pull-power-mode-info-from-bios-table.patch
patch -p1 < /home/Soft/agd5f/pm/0005-drm-radeon-kms-don-t-set-pcie-lanes-for-ignored-pow.patch
patch -p1 < /home/Soft/agd5f/pm/0006-drm-radeon-kms-add-a-power-state-type-based-on-powe.patch
patch -p1 < /home/Soft/agd5f/pm/0007-drm-radeon-kms-add-code-to-select-power-state.patch
patch -p1 < /home/Soft/agd5f/pm/0008-drm-radeon-kms-use-power-states-for-dynamic-reclock.patch
patch -p1 < /home/Soft/agd5f/pm/0009-drm-radeon-kms-get_power_state-early-not-when-proc.patch
patch -p1 < /home/Soft/agd5f/pm/0010-drm-radeon-kms-use-wait-queue-events-for-VBLANK-sync.patch
cp /{path to slackware}/source/k/config-generic-2.6.32.3 .config
make oldconfig
make bzImage modules modules_install
4) do the lilo part and add something like
append="resume=/dev/cryptvg/swap vt.default_utf8=1 radeon.modeset=1 radeon.dynpm=1" for this kernel. Third option switches on kms for radeon and the forth switches on power management.
First and second options has nothing to do with radeon. Just general options for hibernate and utf.
5) copy *.bin from here http://people.freedesktop.org/~agd5f/radeon_ucode/
to /lib/firmware/radeon

this should be it.

overvolting 01-25-2010 03:26 AM

looking forward to seeing the power management changes in the kernel asap.

dolphin77 03-02-2010 02:54 PM

First of all thanks a lot for the Slack Team for a huge updates.

Secondly if you wish to run kms for radeon on -current and to be able to use acceleration for X, you still need libdrm, mesa and xf86-video-ati from git. Actually there should be stable releases of this soft later this month. But for now we still need git.

For the kernel part - nothing has to be rebuilt. You only need to add file /etc/modprobe.d/radeon.conf, which will include only one string: "options radeon modeset=1".

Then you need to load radeon module before X starts. it is safe to do this from /etc/rc.d/rc.modules. Add the following line:
/sbin/modprobe radeon
somewhere.

And after reboot proceed with downloading and building libdrm, mesa and xf86-video-ati, using above quoted scripts.

Good luck there.

zvzi 03-03-2010 01:57 PM

i had a working kms enabled 2.6.32 kernel working perfectly fine with kde 4.4 (with compositing) before by following this guide.

i just updated to current after looking at the huge batch of updates and was eager to try out the kms improvements on the 2.6.33 kernel..X stopped working after the updates and i spent a couple of hours trying to get things running back again with kms + kde 4.4 + compositing. so far i've only managed to get the 2.6.32 kernel working as usual..here are my notes:-

- i had to rebuild libdrm, mesa, xf86-video-ati from git and replace them over the -current packages. (i noticed the -current packages seem to be up to date with the current git versions except for mesa..i'm wondering if only mesa needs to be rebuilt from git)
- then Xorg.0.log reported that it couldn't find the dri drivers and i had to export LIBGL_DRIVERS_PATH=/usr/local/lib/dri/ in /etc/profile. then another library error came up and i had to symlink /usr/local/lib/dri/ to /usr/lib64/xorg/modules/dri.

now kms and compositing was working fine again but only with the 2.6.32 kernel. with the 2.6.33 kernel i'm getting these errors (as posted here http://www.linuxquestions.org/questi...pgrade-792578/):-

WARNING: Error inserting i2c_algo_bit (/lib/modules/2.6.33-smp/kernel/drivers/i2c/algos/i2c-algo-bit.ko): Invalid module format
WARNING: Error inserting agpgart (/lib/modules/2.6.33-smp/kernel/drivers/char/agp/agpgart.ko): Invalid module format
WARNING: Error inserting drm (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/drm.ko): Invalid module format
WARNING: Error inserting drm_kms_helper (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/drm_kms_helper.ko): Invalid module format
WARNING: Error inserting ttm (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/ttm/ttm.ko): Invalid module format
FATAL: Error inserting radeon (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/radeon/radeon.ko): Invalid module format

i haven't tried the proposed solution of recompiling the kernel with changing the CONFIG_PREEMPT options but i'm assuming it's not actually the CONFIG_PREEMPT options that are solving the problem but rebuilding the modules again. i'll give a try later today to see if works and give an update.

hope this helps.cheers

*edited*

i've just recompiled the 2.6.33 kernel with my old .config and

CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
CONFIG_PREEMPT is not set

and kms + DRI is working fine. it looks like problem isn't with the preempt options, but the kernel modules in the -current package. rebuilding them seems to solve the problem.

BroX 03-03-2010 02:57 PM

Quote:

Originally Posted by dolphin77 (Post 3883056)
Secondly if you wish to run kms for radeon on -current and to be able to use acceleration for X, you still need libdrm, mesa and xf86-video-ati from git. Actually there should be stable releases of this soft later this month. But for now we still need git.

Thanks for keeping this thread up-to-date. Great job! :hattip:

LordAnta 03-03-2010 03:18 PM

Quote:

Originally Posted by zvzi (Post 3884359)
i had a working kms enabled 2.6.32 kernel working perfectly fine with kde 4.4 (with compositing) before by following this guide.

i just updated to current after looking at the huge batch of updates and was eager to try out the kms improvements on the 2.6.33 kernel..X stopped working after the updates and i spent a couple of hours trying to get things running back again with kms + kde 4.4 + compositing. so far i've only managed to get the 2.6.32 kernel working as usual..here are my notes:-

- i had to rebuild libdrm, mesa, xf86-video-ati from git and replace them over the -current packages. (i noticed the -current packages seem to be up to date with the current git versions except for mesa..i'm wondering if only mesa needs to be rebuilt from git)
- then Xorg.0.log reported that it couldn't find the dri drivers and i had to export LIBGL_DRIVERS_PATH=/usr/local/lib/dri/ in /etc/profile. then another library error came up and i had to symlink /usr/local/lib/dri/ to /usr/lib64/xorg/modules/dri.

now kms and compositing was working fine again but only with the 2.6.32 kernel. with the 2.6.33 kernel i'm getting these errors (as posted here http://www.linuxquestions.org/questi...pgrade-792578/):-

WARNING: Error inserting i2c_algo_bit (/lib/modules/2.6.33-smp/kernel/drivers/i2c/algos/i2c-algo-bit.ko): Invalid module format
WARNING: Error inserting agpgart (/lib/modules/2.6.33-smp/kernel/drivers/char/agp/agpgart.ko): Invalid module format
WARNING: Error inserting drm (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/drm.ko): Invalid module format
WARNING: Error inserting drm_kms_helper (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/drm_kms_helper.ko): Invalid module format
WARNING: Error inserting ttm (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/ttm/ttm.ko): Invalid module format
FATAL: Error inserting radeon (/lib/modules/2.6.33-smp/kernel/drivers/gpu/drm/radeon/radeon.ko): Invalid module format

i haven't tried the proposed solution of recompiling the kernel with changing the CONFIG_PREEMPT options but i'm assuming it's not actually the CONFIG_PREEMPT options that are solving the problem but rebuilding the modules again. i'll give a try later today to see if works and give an update.

hope this helps.cheers

Rebulding the kernel with CONFIG_PREEMPT_NONE=y does work. I had problems with mesa, drm and radeon from the latest update until I rec ompiled the kernel.

zvzi 03-03-2010 08:50 PM

i've just recompiled the 2.6.33 kernel with my old .config and

CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
CONFIG_PREEMPT is not set

and kms + DRI is working fine. it looks like problem isn't with the preempt options, but the kernel modules in the -current package. rebuilding them seems to solve the problem.

gegechris99 03-04-2010 03:50 PM

Hello,

I just want to share my own experience with my ATI card after I upgraded to latest -current (dated Tue Mar 2 23:31:51 UTC 2010) for Slackware 32-bits.

My card is:
Code:

01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]
When I first ran "startx" after the upgrade, I had a black screen with no response from keyboard and mouse (I'm using the radeon driver).

I've taken advice from dolphin77's post #126

Quote:

You only need to add file /etc/modprobe.d/radeon.conf, which will include only one string: "options radeon modeset=1"
and then it worked. I was not aware of this KMS stuff. My system feels more responsive.

No need for me to recompile the kernel (I'm using the stock generic smp one) or any other package (mesa, xf86-video-ati). I even didn't need to add anything to /etc/rc.d/rc.modules.

Thank you dolphin77 for your tip.

[EDIT] Sorry KMS is not working with driver xf86-video-ati-6.12.5. I'll try to install driver 6.12.191[/EDIT]

octoberblu3 03-05-2010 07:27 PM

I was able to get KMS and DRI2 working by just using xf86-video-ati from git. The kernel is now new enough and so is mesa 7.7

Now we just need xf86-video-ati version 6.13, which is currently in release candidate stage (6.12.9x)

dolphin77 03-06-2010 01:55 AM

Quote:

Originally Posted by octoberblu3 (Post 3887682)
I was able to get KMS and DRI2 working by just using xf86-video-ati from git. The kernel is now new enough and so is mesa 7.7

Now we just need xf86-video-ati version 6.13, which is currently in release candidate stage (6.12.9x)

Yes, you right. For pre r600 chips. I meant r600 and further.

dolphin77 03-09-2010 02:21 AM

Hooray!!!

This thread should be dead for now. Slack Team introduced in -current completely working solution (at least for my Radeon HD3400).

Thank you Slackware Developers!!!

brgrds,
Vladimir

octoberblu3 03-09-2010 11:09 AM

Quote:

Originally Posted by dolphin77 (Post 3891167)
Hooray!!!

This thread should be dead for now. Slack Team introduced in -current completely working solution (at least for my Radeon HD3400).

Thank you Slackware Developers!!!

brgrds,
Vladimir

Well, almost. All we need now is xf86-video-ati-6.13.

6.12.5 doesn't have the KMS code in it, so we have to wait for the next major release (or keep compiling from git master or 6.12.191).

BrZ 03-09-2010 08:44 PM

6.12.191 does the trick, but I rebuilt mesa (7.7), libdrm (2.4.18) and xorg server (1.7.5). Mesa 7.7 failed to build against libdrm 2.4.19 with gallium enabled. Ddx 6.12.19 is going without trouble with and without kms (disabled by default here).

BrZ 04-05-2010 02:11 PM

Finally 6.13.0 is out: http://lists.freedesktop.org/archive...il/001295.html

business_kid 05-28-2010 02:26 PM

Quote:

Originally Posted by BrZ (Post 3925169)

AARGH! I've just compiled 6.9.0 for my r600. I am sick of compiling, but grepping the ChangeLog for r600 (my card) sees a lot of attention to it.


It this worth the pain?

the3dfxdude 05-28-2010 07:38 PM

Quote:

Originally Posted by business_kid (Post 3984568)
AARGH! I've just compiled 6.9.0 for my r600. I am sick of compiling, but grepping the ChangeLog for r600 (my card) sees a lot of attention to it.


It this worth the pain?


If you don't want to compile it, then just upgrade to Slack 13.1. The upgrade is worth it for r600 cards.

business_kid 05-29-2010 07:43 AM

I think I'm ahead of slackware-13.1 on some things - certainly mesa(git of 7.9-devel), and probably libdrm(2.4.20) & libva(0.31). I'll compile :-(. When I get energy, I'll

acummings 10-04-2010 04:34 AM

SW13.1 X64 Radeon HD 5450 pci-E video adapter has prob
 
Hi,

al@ep45:~$ cat /etc/slackware-version
Slackware 13.1.0 (64 bit = yes)

How do I get my gpu accell working? (syslog snippet enclosed says "unable to load firmware"). And, could the shadowfb ([please see logs, etc. below] as substituted for gpu accell) be the cause of my sys freezing?

My Radeon HD 5450 pci-E hasn't wanted to cooperate. I blacklisted intel_agp which seems to have helped.

Being in whatever xterm is the default in xfce4 as root for a while -- I'd used cat then grep and at that point it froze the sys/kernel -- lost all control from the keyboard -- to get it back, held in the power button.

I seem to be safe using a virtual terminal as root. xfce4 works nicely except for how it froze above (just stay away from that xterm).

Code:

<xorg0.log>
(II) LoadModule: "radeon"
(II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
(II) Module radeon: vendor="X.Org Foundation"
    compiled for 1.7.6, module version = 6.13.0
    Module class: X.Org Video Driver
    ABI class: X.Org Video Driver, version 6.0

<snip>

    ATI FirePro (FireGL) Graphics Adapter, CEDAR, ATI Radeon HD 5450,
    CEDAR

<snip>

(--) RADEON(0): Chipset: "ATI Radeon HD 5450" (ChipID = 0x68f9)
(II) RADEON(0): PCIE card detected
(WW) RADEON(0): Color tiling is not yet supported on R600/R700
(II) RADEON(0): KMS Color Tiling: disabled

<snip>

(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib64/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
    compiled for 1.7.7, module version = 1.0.0
    ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(II) RADEON(0): GPU accel disabled or not working, using shadowfb for KMS
(II) Loading sub module "shadow"
(II) LoadModule: "shadow"
(II) Loading /usr/lib64/xorg/modules/libshadow.so
(II) Module shadow: vendor="X.Org Foundation"
    compiled for 1.7.7, module version = 1.1.0
    ABI class: X.Org ANSI C Emulation, version 0.4
(--) Depth 24 pixmap format is 32 bpp
(II) RADEON(0): Front buffer size: 3072K
(II) RADEON(0): VRAM usage limit set to 937958K
(==) RADEON(0): Backing store disabled
(WW) RADEON(0): Direct rendering disabled
(II) RADEON(0): Acceleration disabled
(==) RADEON(0): DPMS enabled
</xorg0.log>



al@ep45:/lib/firmware/radeon$ pwd
/lib/firmware/radeon
al@ep45:/lib/firmware/radeon$ ls
R100_cp.bin  R600_pfp.bin  RV610_pfp.bin  RV635_pfp.bin  RV730_pfp.bin
R200_cp.bin  RS600_cp.bin  RV620_me.bin  RV670_me.bin  RV770_me.bin
R300_cp.bin  RS690_cp.bin  RV620_pfp.bin  RV670_pfp.bin  RV770_pfp.bin
R420_cp.bin  RS780_me.bin  RV630_me.bin  RV710_me.bin
R520_cp.bin  RS780_pfp.bin  RV630_pfp.bin  RV710_pfp.bin
R600_me.bin  RV610_me.bin  RV635_me.bin  RV730_me.bin
al@ep45:/lib/firmware/radeon$


<snippet_from_syslog>
Oct  3 11:46:03 ep45 kernel: r600_cp: Failed to load firmware "radeon/CEDAR_pfp.bin"
Oct  3 11:46:03 ep45 kernel: [drm:evergreen_startup] *ERROR* Failed to load firmware!
Oct  3 11:46:03 ep45 kernel: radeon 0000:01:00.0: disabling GPU acceleration
Oct  3 11:46:03 ep45 kernel: radeon 0000:01:00.0: ffff88021d4c4600 unpin not necessary
Oct  3 11:46:03 ep45 kernel: radeon 0000:01:00.0: ffff88021d4c4600 unpin not necessary
Oct  3 11:46:03 ep45 kernel: Console: switching to colour frame buffer device 128x48
</snippet_from_syslog>


<copied_from_term_into_the_history_file>
<here's_the_relevant_snippet_from_history_file>
  410  root@ep45:/etc/modprobe.d# pwd
  411  /etc/modprobe.d
  412  root@ep45:/etc/modprobe.d# ls
  413  BLACKLIST-nouveau.conf  blacklist.conf  bluetooth.conf  isapnp.conf  psmouse.conf  radeon.conf  usb-controller.conf
  414  root@ep45:/etc/modprobe.d# cat radeon.conf
  415  options radeon modeset=1
  416  root@ep45:/etc/modprobe.d# cat blacklist.conf | grep _agp
  417  blacklist intel_agp
  418  root@ep45:/etc/modprobe.d# cat blacklist.conf | grep radeon
  419  blacklist radeonfb
  420  blacklist radeon
  421  root@ep45:/etc/modprobe.d# cd ..
  422  root@ep45:/etc# cd rc.d
  423  root@ep45:/etc/rc.d# cat rc.modules | grep radeon
      /sbin/modprobe radeon
  424  ------------[ cut here ]------------
  425  kernel BUG at mm/slub.c:2834!
  426  invalid opcode: 0000 [#1] SMP
  427  last sysfs file: /sys/module/snd_mixer_oss/initstate
  428  CPU 1

--
Alan.

acummings 10-04-2010 04:38 AM

Code:

al@ep45:~$ uname -m
x86_64
al@ep45:~$ uname -r
2.6.35.7
al@ep45:~$

I used Robby Workman's generic .config for 2.6.35.x kernel

--
Alan.

dolphin77 10-04-2010 04:49 AM

Quote:

Originally Posted by acummings (Post 4117004)
Hi,


<snippet_from_syslog>
Oct 3 11:46:03 ep45 kernel: r600_cp: Failed to load firmware "radeon/CEDAR_pfp.bin"

</snippet_from_syslog>

I am not very familiar with the card you use. But I would suggest, that you need to download additional firmware from http://people.freedesktop.org/~agd5f/radeon_ucode/
This file (CEDAR_pfp.bin) is in there. Perhaps you will need to download additional files. And put them manually to /lib/firmware/radeon.

Another issue is to switch on kms.
Code:

vladimir@darkstar:~$ cat /etc/modprobe.d/radeon.conf
options radeon modeset=1 dynclks=1

this should help, I think.

PS it looks like you already have /etc/modprobe.d/radeon.conf. So it should be only firmware related.

adamk75 10-04-2010 05:44 AM

For HD5xxx cards, you almost certainly want to use fglrx. The open source drivers only recent gained 2D and 3D acceleration for your GPU. It's still heavily under development and requires building various components from source.

Adam

acummings 10-04-2010 06:33 AM

adamk75: the very latest (10-9 or whatever) fglrx (not works) "i don't have make module build" it said (what cause that? google turned up empty on that).

BTW I been dink with this off and on now for more than a week and a half. I Nearly sledge hammered my hd 5450 and I *very* nearly queried slack forum here for a (like, let's get *real* <grin>) a "Linux friendly pci-E video adapter"

It's (my video) now the very best yet that I've had it. At 4:25 A.M. I now got to get to bed before I end up doing an all nighter. I'll run it more tomorrow and get back to you all as well as I'll look here too. Thanks much.

Code:

al@ep45:~$ cd temp
al@ep45:~/temp$ ls
ati-driver-installer-10-9-x86.x86_64.run  readme_dl_here.txt
al@ep45:~/temp$ cat readme_dl_here.txt
http://support.amd.com/us/gpudownload/Pages/index.aspx

10-3-2010

# lists distros can make a pkg for
sh ./ati-driver-installer-10-9-x86.x86_64.run --listpkg

# enter my distro from above to build an installable pkg
sh ./ati-driver-installer-10-9-x86.x86_64.run --buildpkg my_distro_from_list
al@ep45:~/temp$

http://people.freedesktop.org/~agd5f/radeon_ucode/

From there, I copied a total of three CEDAR* files into my /lib/firmware/radeon

Code:

al@ep45:/lib/firmware/radeon$ lsg CE
CEDAR_me.bin
CEDAR_pfp.bin
CEDAR_rlc.bin

Completely dissappeared from syslog (no longer, not whatsoever, any reference to anything video related in syslog). Yippee!!

video is way faster. And better too!

Xorg0.log still reports the same as before (but I believe the syslog due that my video is much faster as well as better).

Code:

(II) LoadModule: "fb"
(II) Loading /usr/lib64/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
    compiled for 1.7.7, module version = 1.0.0
    ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(II) RADEON(0): GPU accel disabled or not working, using shadowfb for KMS
(II) Loading sub module "shadow"
(II) LoadModule: "shadow"
(II) Loading /usr/lib64/xorg/modules/libshadow.so
(II) Module shadow: vendor="X.Org Foundation"
    compiled for 1.7.7, module version = 1.1.0
    ABI class: X.Org ANSI C Emulation, version 0.4
(--) Depth 24 pixmap format is 32 bpp
(II) RADEON(0): Front buffer size: 3072K
(II) RADEON(0): VRAM usage limit set to 937958K
(==) RADEON(0): Backing store disabled
(WW) RADEON(0): Direct rendering disabled
(II) RADEON(0): Acceleration disabled
(==) RADEON(0): DPMS enabled

--
Alan.

acummings 10-04-2010 06:54 AM

i don't have make module

(the reason the 10-9 fglrx would not work for me)

http://www.google.com/linux?hl=en&q=...le&btnG=Search

--
Alan.

acummings 10-17-2010 12:32 AM

Maybe I got it. I just used the .config for current 64 bit generic kernel to compile 2.6.35.7 (Slack64 13.1)

Adding the cedar firmware or whatever it was had helped. An xorg.conf had helped (xorgsetup). See former posts for the kms stuff had helped.

If it don't freeze up or otherwise goof (hasn't done so, not yet), then I'm at least made it that far anyways.

dmesg is pretty clean and there's no longer any "gpu acceleration is not enabled" in dmesg. However, that message does still shows in the xorg.0.log

(--) RADEON(0): Chipset: "ATI Radeon HD 5450" (ChipID = 0x68f9)
(II) RADEON(0): PCIE card detected
(MSI is the brand, it's a MSI card)

How's the next? (really, I'm not a gamer. I don't know. So I ask.) Worthwhile or not?

Code:

al@ep45:~$ glxgears
5106 frames in 5.0 seconds = 1021.007 FPS
5105 frames in 5.0 seconds = 1020.828 FPS
5041 frames in 5.0 seconds = 1008.137 FPS
5097 frames in 5.0 seconds = 1019.299 FPS
5110 frames in 5.0 seconds = 1021.961 FPS
5107 frames in 5.0 seconds = 1021.331 FPS
5108 frames in 5.0 seconds = 1021.511 FPS
5107 frames in 5.0 seconds = 1021.304 FPS
5105 frames in 5.0 seconds = 1020.826 FPS
5101 frames in 5.0 seconds = 1020.195 FPS

--
Alan.

dolphin77 01-05-2012 05:32 AM

Was quite happy with the drivers supplied in current for quite a while. But recently started to observe X server crashes. mostly when Alt+Tab pressed. Tried to trace what was causing this kind of behavior, but didn't have much time for that. Thus I decided to update drivers for my old laptop.

If anyone interested, here they are:
ftp://vt.dyndns-at-home.com/linux/kms/packages/

build scripts are there too.

In general - effects in KDE works much better (faster, picture looks cleaner and etc). And most importantly I do not get this X crashes anymore.


All times are GMT -5. The time now is 09:21 AM.