Originally posted by Alexiy
View Post
Announcement
Collapse
No announcement yet.
KMS + Radeon quick mini guide
Collapse
X
-
You no longer need --enable-radeon-experimental-api flag when building drm. It is now enabled by default: http://cgit.freedesktop.org/mesa/drm...065394111f6122
Leave a comment:
-
Hi,
I'm wonder if compiz, using KMS, should run smoothly on HD3200?
I have such behavior, only when compiz is up:
- for example if I have two windows open and I'm changing focus from one window to other, my OS slows down significantly. After a few seconds everything is normal again. I can move the window, the wobbly windows effect works smoothly.
- or other example, in any case w/ or w/o compiz: I have a picture frame widget on my desktop configured for slide show. And when pictures are changed there, I get the same freeze, and after a few seconds everything is ok again.
Other things like video playback, desktop composition works well with KMS and DRI2.
my system is:
kernel - 2.6.33-rc8
drm, mesa recently from git
ati - just updated today
Slackware x86_64
Thank you for answering me.
Leave a comment:
-
Originally posted by Alexiy View PostI would like to ask, if there is any way to switch on/off KMS w/o recompiling a kernel with "radeon default KMS on" option?
/etc/modprobe.d/radeon.conf
radeon.modeset=[01]
doesn?t work for me.
Code:options radeon modeset=0
Leave a comment:
-
Hello,
I would like to ask, if there is any way to switch on/off KMS w/o recompiling a kernel with "radeon default KMS on" option?
/etc/modprobe.d/radeon.conf
radeon.modeset=[01]
doesn?t work for me.
Leave a comment:
-
forum1793 that was my feeling too, kms is slower in 3d
but everybody says its faster..
too lame to test it though oops ;p
Just got me a phenom II X4 3.4Ghz this improved UT2004 quite a bit (+10-20% fps estimate) over the previous Athlon 64 X2
Leave a comment:
-
OK, that worked. I must not have read close enough before as I put the files at /lib/firmware and not in the src kernel firmware directory.
So it switches into kms about 1-1.5 seconds into startup whereas as a module it would do it about 4 seconds into startup.
I don't notice any increase in 3D between these 2 based on glxgears and urbanterror. I think it was slightly faster before kms but I don't really have anything to base that on other than the way the games feels to me.
Still have the stuttering problem in xine with audio over hdmi. See my other post for that.
Leave a comment:
-
Originally posted by forum1793 View PostWell, to get audio working I went with 2.6.33-rc2 kernel and tried to use exact same config but updated (make oldconfig). This compiled but died looking for firmware and locked up after 60 sec. I then copied firmware to /lib/firmware/radeon. Same probelm. So I then recompiled kernel and only change was making agpgart, drm, and radeon into modules as opposed to in kernel. I didn't have to blacklist anything and kms worked.
I didn't see anything for audio in Xorg.0.log but guess what, audio over HDMI works now, using the radeon driver as opposed to radeonhd. So, good job devs.
There are two ways you could have got it working in the kernel statically:
1. By using an initrd and copying the firmware files into it. I don't like initrds.
2. Put the firmware files into <kernel-src>/firmware/radeon subdir, then build kernel with
CONFIG_EXTRA_FIRMWARE="radeon/R600_rlc.bin radeon/R700_rlc.bin"
CONFIG_EXTRA_FIRMWARE_DIR="firmware"
I prefer to have no initrd and few modules because then with 'fastboot', stuff can load more in parallel, for a faster boot.
Also I don't like the additional dependency on /boot/initrd-foo. If it goes away, I may have to reach for the rescue CD...
HTH.
Leave a comment:
Leave a comment: