Announcement

Collapse
No announcement yet.

The Linux 2.6.36 Kernel Will Have Some Fun DRM

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #41
    Originally posted by bridgman View Post
    It's already in 2.6.35. I'm sure some bugs will be found but AFAIK we are running EXA, Xv and 3D on 2.6.35 today.

    You're not wrong though. It will be in 2.6.48 as well
    Power management isn't working for me in 2.6.35. Neither in Arch nor in Kubuntu. It worked in 2.6.34. There's also irritating screen flickering in 2.6.35. Are there some 'special' ways to enable power management?

    Comment


    • #42


      "To enable power management load the radeon module with dynpm=1"

      In Grub that means "radeon.dynpm=1"

      Comment


      • #43
        Originally posted by RealNC View Post
        http://www.botchco.com/agd5f/?p=49

        "To enable power management load the radeon module with dynpm=1"

        In Grub that means "radeon.dynpm=1"
        Thanks, but this is not working. There's a message - unknown dynpm parameter or something like this when system boots up.

        Comment


        • #44
          Originally posted by kraftman View Post
          Thanks, but this is not working. There's a message - unknown dynpm parameter or something like this when system boots up.
          I think that command has been depreciated.

          Comment


          • #45
            Yep, you now echo commands/modes on the fly rather than using startup parameters... don't have the details in front of me.
            Test signature

            Comment


            • #46
              Originally posted by bridgman View Post
              Yep, you now echo commands/modes on the fly rather than using startup parameters... don't have the details in front of me.
              I've found I have to echo [something] to /sys/class/drm/card0/device/power_profile. The problem is there's no power_profile. It seems it works for other people.

              Comment


              • #47
                Originally posted by kraftman View Post
                I've found I have to echo [something] to /sys/class/drm/card0/device/power_profile. The problem is there's no power_profile. It seems it works for other people.
                You have to be sure you're running a 2.6.35 or newer kernel, and you have to NOT be passing the radeon.dynpm parameter, or else modprobe won't be able to load the radeon module (both automatically OR manually).

                Now, look if drm and radeon modules are loaded:

                $ lsmod | grep radeon

                if not:

                # modprobe radeon

                Then:

                $ dmesg | grep -i drm

                Paste the output on the forum, for all to study.

                I've been using the new power management for some time now, and always the files:

                /sys/class/drm/card0/device/power_method
                /sys/class/drm/card0/device/power_profile

                have been created, and correctly worked.

                Like this:

                # echo profile > /sys/class/drm/card0/device/power_method
                # echo low > /sys/class/drm/card0/device/power_profile


                Finally, sorry if I've rehashed basic things; they could be useful to somebody, someday. ;-)

                Comment


                • #48
                  Regarding PM:

                  There is a mid profile in 2.6.25 as well. Also the module param is gone in favor of sysfs.

                  Comment


                  • #49
                    Originally posted by Loris View Post
                    You have to be sure you're running a 2.6.35 or newer kernel, and you have to NOT be passing the radeon.dynpm parameter, or else modprobe won't be able to load the radeon module (both automatically OR manually).

                    Now, look if drm and radeon modules are loaded:

                    $ lsmod | grep radeon
                    Ok, I have only default parameters right now - quiet and splash in grub.cfg. It seems everything is working fine except PM (and except screen which flickers, but this is probably related to PM):

                    lsmod |grep radeon
                    radeon 916632 2
                    ttm 68317 1 radeon
                    drm_kms_helper 32776 1 radeon
                    drm 207342 4 radeon,ttm,drm_kms_helper
                    i2c_algo_bit 6222 1 radeon


                    I've been using the new power management for some time now, and always the files:

                    /sys/class/drm/card0/device/power_method
                    /sys/class/drm/card0/device/power_profile

                    have been created, and correctly worked.
                    This is the problem. I don't have such files. 2.6.35 kernel.

                    Comment


                    • #50
                      Originally posted by kraftman View Post
                      This is the problem. I don't have such files. 2.6.35 kernel.
                      If your vbios doesn't define any reduced power states, the files are not added.

                      Comment

                      Working...
                      X