Development/Packaging/KMS

From Mandriva Community Wiki

Jump to: navigation, search

This page should contain information about problems with KMS (kernel mode-setting)

Radeon

At the time of this writing, kernel mode-setting with radeon video cards is enabled by default on 2011.0 and later, but not in 2010.1 and earlier. Radeon general status on X.org.

These steps should help you enabling KMS on 2010.1 or earlier systems:

WARNING: THIS IS NOT SUPPORTED! IT MIGHT BE UNSTABLE AND/OR BREAK YOUR SYSTEM!

  • if you have any new video cards (r600 or later), please install the package radeon-rlc-firmware
urpmi radeon-rlc-firmware
  • make sure you're not using the closed-source driver. Use Mandriva Control Center to change your video driver to "ati" (don't manually edit xorg.conf)
  • as root, edit /boot/grub/menu.lst
    • you'll see a small section that starts with "title linux" and ends with "initrd (hdX,Y)/boot/initrd.img". Copy those 3 lines and paste them above the original ones
    • then change the title to something like "linux with kms" (without the quotes)
    • in the second line, remove the "vga=XXX" parameter and add "radeon.modeset=1". The beginning of our file will look something like this (not EXACTLY this! so don't copy/paste it):
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,0)/boot/gfxmenu
default 0

title linux
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=88af644d-eb2c-4f2b-babf-6961c2bfaee9 resume=UUID=7bbb10ea-dd39-491b-b9b3-69c7d3a9d0b1 splash=silent vga=788
initrd (hd0,0)/boot/initrd.img

title linux with kms
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=88af644d-eb2c-4f2b-babf-6961c2bfaee9 resume=UUID=7bbb10ea-dd39-491b-b9b3-69c7d3a9d0b1 splash=silent radeon.modeset=1
initrd (hd0,0)/boot/initrd.img
  • now, edit /etc/modprobe.preload and add a line containing "radeon" in the end of the file
  • Reboot.
  • At grub (when the first Mandriva logo appears) you'll se a line saying "linux with kms". Select it and good luck =)

List of tested hardware

(please use the output of "lspci -nn | grep VGA" here)

r100 serie 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon Mobility M6 LY [1002:4c59] decreases performance : teapot 27fps-20fps and minor graphical bug
r200 serie 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon RV250 [Mobility FireGL 9000] [1002:4c66] (rev 02) Solve KDE freeze problems
r300 serie 01:05.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon XPRESS 200M 5955 (PCIE) [1002:5955] It works. Improves performance
r300 serie 01:00.0 VGA compatible controller [300]: ATI Technologies Inc M22 [Mobility Radeon X300] [1002:5460] Perfect, solve all my problems (it's no necessary install radeon-rlc-firmware)
r300 serie 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV350 AP [Radeon 9600] [1002:4150] Works perfectly, and corrects two major problems:

1) When exiting from a etracer it would corrupt the bottom of the screen

2) invesalius was "dead slow", and now works at a good speed

r500 serie 06:00.0 VGA compatible controller [0300]: ATI Technologies Inc R580 [Radeon X1900 XT] (Primary) [1002:7249] At last a pleasant user experience!
r500 serie 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon Mobility X1400 [1002:7145] Plymouth displays in text mode at boot time, resume from hibernate not working. Performance improved.
r500 serie 01:05.0 VGA compatible controller [0300]: ATI Technologies Inc RS690M [Radeon X1200 Series] [1002:791f] works, improves performance
r500 serie 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc M52 [Mobility Radeon X1300] [1002:7149] Does not work, when gdm start only cursor is displayed, as a rectangle of random pixels.
r600 serie 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc M64-S [Mobility Radeon X2300] [1002:7188] Works, suspend/resume/hotpug from projector
r600 serie 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Mobility Radeon HD 2400 [1002:94c9] suspend to ram, resume, dockingstation works;
r600 serie 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Mobility Radeon HD 3400 Series [1002:95c4] gnome-shell works; pause/resume works; some ugly visual artifacts
r600 serie 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV630 PRO AGP [Radeon HD 2600 PRO AGP] [1002:9587] KDE works with the compositing effects so far (didn't run it for long). Mesa gears and Mesa gearbox are working nicely. Fonts appear a little more anti-aliased than usual.
r700 serie 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV730XT [Radeon HD 4670] [1002:9490] kde4 compositing : OK. 3D works. (Osmos, glxgears) but graphic cards fan always turn. Suspend to ram OK.
r700 series 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc M92 [Mobility Radeon HD 4500 Series] [1002:9553] KDE compositing works fine. 3D works (gears, gearbox). Suspend to RAM works fine.
 ???? series 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Device [1002:68e0] Is a HD5470 and seems to work regularly.
r300 series 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon R350 [Radeon 9800 Pro] [1002:4e48] Painting and animations are much faster but weird "colorize" effects occur : gray is almost white, yellow also. Rather hard to use...
the serie of the hardware (put "lspci -nn *pipe* grep VGA here") (does it work?)
Personal tools