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/)

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 12:15 AM.