You are not logged in.
Thanks guys! KMS early start is working perfectly using radeon hook placed before udev just like ras0ir & tomk suggested.
Last edited by zodmaner (2009-12-08 11:22:38)
Offline
Thanks guys! KMS early start is working perfectly using radeon hook placed before udev just like ras0ir & tomk suggested.
this works for me too.
cpuesser
Offline
Thanks guys! KMS early start is working perfectly using radeon hook placed before udev just like ras0ir & tomk suggested.
For me works fine too, thanx.
________
Edit:
When i'm using early start, system 2times freeze in X (KDE4). I'm back in late start, works fine.
Last edited by Tapan (2009-12-08 17:01:05)
Offline
i'm still puzzled should 'early' mean that kms starts right after grub, or am i supposed to see a few big ugly lines of text scroll by first (even with 'quiet')?
ᶘ ᵒᴥᵒᶅ
Offline
i'm still puzzled should 'early' mean that kms starts right after grub, or am i supposed to see a few big ugly lines of text scroll by first (even with 'quiet')?
A few big ugly lines first is early.
Offline
litemotiv wrote:i'm still puzzled should 'early' mean that kms starts right after grub, or am i supposed to see a few big ugly lines of text scroll by first (even with 'quiet')?
A few big ugly lines first is early.
Yeah, that's as early as it get (same case as on the intel card, even if you built the module into the kernel itself).
Offline
guys, help me please!
I've managed to enable KMS, but there are some problems:
1) Black screen during boot-up (init scripts), see practically nothing until Xorg
2) No acceleration in Xorg and "white cube" in compiz with painfully slow 3D..
Here is my dmesg
[drm] Initialized drm 1.1.0 20060810
[drm] radeon defaulting to kernel modesetting.
[drm] radeon kernel modesetting enabled.
radeon 0000:01:05.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[drm] radeon: Initializing kernel modesetting.
[drm] register mmio base: 0xD0000000
[drm] register mmio size: 65536
ATOM BIOS: ATI
[drm] GPU reset succeed (RBBM_STATUS=0x10000140)
[drm] radeon: VRAM 0M
[drm] radeon: VRAM from 0x00000000 to 0xFFFFFFFF
[drm] radeon: GTT 512M
[drm] radeon: GTT from 0x00000000 to 0x1FFFFFFF
radeon 0000:01:05.0: irq 27 for MSI/MSI-X
[drm] radeon: irq initialized.
mtrr: zero sized request
[drm] Detected VRAM RAM=0M, BAR=0M
[drm] RAM width 128bits DDR
[TTM] Zone kernel: Available graphics memory: 444328 kiB.
[TTM] Zone highmem: Available graphics memory: 906444 kiB.
[TTM] Zero size memory manager type 2
[TTM] Failed moving buffer. Proposed placement 0x00060004
[drm:radeon_object_create] *ERROR* Failed to allocate TTM object (262144, 0x00060004, 0)
[drm:radeon_driver_load_kms] *ERROR* Fatal error while trying to initialize radeon.
radeon: probe of 0000:01:05.0 failed with error -22
Last edited by linuxgod (2009-12-08 20:12:54)
Offline
http://bugs.archlinux.org/task/17357 - so this is a known issue you should discuss in the bugtracker.
Offline
I think it is worse than that for linuxgod.
These seem to suggest that it's better to disable kms for now:
[drm] radeon: VRAM 0M
[drm] Detected VRAM RAM=0M, BAR=0M
It seems it can't detect the amount of vram properly.
Here I get:
[drm] Detected VRAM RAM=128M, BAR=128M
[drm] RAM width 64bits DDR
[drm] radeon: 128M of VRAM memory ready
[drm] radeon: 512M of GTT memory ready.
[drm] Loading RV610 CP Microcode
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Yey! Thanks for the instructions guys. Both of my machines now have working KMS.
Offline
hi guys, got kms starting (RV610, late start), but i get a gpu lockup after a few minutes (after lockup, the only thing i can do is: ssh + reboot).
without kms i get screen corruptions
By the way: i am using kernel26 2.6.32 from testing, libdrm-git, mesa-git, glproto-git, dri2proto-git, xf86-video-ati-git, libgl-git, ati-dri-git, all checked out yesterday
Do you have any suggestions?
Offline
hi guys, got kms starting (RV610, late start), but i get a gpu lockup after a few minutes (after lockup, the only thing i can do is: ssh + reboot).
without kms i get screen corruptionsBy the way: i am using kernel26 2.6.32 from testing, libdrm-git, mesa-git, glproto-git, dri2proto-git, xf86-video-ati-git, libgl-git, ati-dri-git, all checked out yesterday
Do you have any suggestions?
do you still have an old vga= or video= parameter in your grub line?
ᶘ ᵒᴥᵒᶅ
Offline
hi guys, got kms starting (RV610, late start), but i get a gpu lockup after a few minutes (after lockup, the only thing i can do is: ssh + reboot).
without kms i get screen corruptionsBy the way: i am using kernel26 2.6.32 from testing, libdrm-git, mesa-git, glproto-git, dri2proto-git, xf86-video-ati-git, libgl-git, ati-dri-git, all checked out yesterday
Do you have any suggestions?
Have you try using ati driver and the associated dependencies from the extra/testing repositories? If not, try to install xf86-video-ati package from official repo and see if the problem still persisted.
Newest driver from git repo have been known to introduced regression from time to time.
Offline
hi guys, got kms starting (RV610, late start), but i get a gpu lockup after a few minutes (after lockup, the only thing i can do is: ssh + reboot).
without kms i get screen corruptionsBy the way: i am using kernel26 2.6.32 from testing, libdrm-git, mesa-git, glproto-git, dri2proto-git, xf86-video-ati-git, libgl-git, ati-dri-git, all checked out yesterday
Do you have any suggestions?
I'm using an RV610 too and It works fine, try to use only stuff from the repos (some of the stuff needs to come from [testing]).
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
I use mesa-full from aur, instead of all these idividual packages; libdrm-git, mesa-git,libgl-git, ati-dri-git
With that, and glproto-git, dri2proto-git, xf86-video-ati-git dri + kms is working like a charm.
I did this because I was getting screen-corruption with apps like abiword or the gimp, making them unusable with the packages from repos.
Regarding early start, I was wrong, its working for me again now,using the radeon hook.
Last edited by hungerfish (2009-12-09 12:56:19)
Beetles and bacteria are vastly more successful than humans in terms of survival.
Offline
it looks like we don't need to insert a radeon module at all..its already built-in and works fine
Last edited by linuxgod (2009-12-09 12:57:45)
Offline
as i see drm loads radeon firmware successfully when KMS disabled (strange, coz its unuseful i think)
when enabled it crashes as described above
Last edited by linuxgod (2009-12-09 13:02:31)
Offline
to litemotiv: no i have removed all vga= and video= entries
to zodmaner: i know about the risk of going git and i have tried using packages of the extra/testing repos.
but to play safe, i'll try it again.
Offline
ok now i am using: libdrm, xf86-video-ati from testing and mesa, libgl ... from extra
with xorg.conf it hangs before kdm (blackscreen and white cursor) when kms enabled
without xorg.conf kms works, but there is wrong resolution + dual-screen does not work (randr)
Offline
next try: now i use xf86-video-ati from extra (not from testing as before)
+ now kms is working (switching terminals) the resolution is right and dual head setup (randr) works
again
- but glxgears doesn't work anymore because:
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream.
is back again
+ the screen corruptions are gone
Last edited by kinski (2009-12-09 14:42:19)
Offline
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream.
This is a known problem, something to do with mesa I think.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
but it has to do something with xf86-video-ati too, because using it from testing instead of extra, this error is gone ( well some others are introduced - at least for me)
Offline
kinski - you're using the testing repo incorrectly. Enable it at top of the pacman.conf list, and run pacman -Syu. Remember that this forum is for the discussion of issues arising from the testing repo.
linuxgod - you don't need radeon in the MODULES line, if that's what you mean, You do need radeon in the HOOKS line, as detailed above. I don't know what you mean by "it's already built-in".
Offline
Speaking of KMS, did anyone notice that when KMS is enabled it seems there is no power saving for the graphics card?
In my case if I boot _without_ KMS then I get this:
1) Only in the console, before starting X my notebook while idle uses around 25W of power (reported by the battery ... I think ... /proc/acpi/battery/BAT0/state)
2) After starting X the notebook idles using around 21W or power (I have: Option "ForceLowPowerMode" "TRUE" in my xorg.conf)
If I use KMS (early start) then the notebook uses always around 25W of power while idle.
This difference represents about 30min of autonomy in my case.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Speaking of KMS, did anyone notice that when KMS is enabled it seems there is no power saving for the graphics card?
yes, ATI power saving with KMS might supposedly be added in 2.6.33
ᶘ ᵒᴥᵒᶅ
Offline