Announcement

Collapse
No announcement yet.

KMS: how to do modesetting on console?

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

  • KMS: how to do modesetting on console?

    Now that R300 KMS is in the kernel, I'm curious as to how one
    does set a specific resolution outside X (i.e. on the framebuffer console).
    I work a lot on the console; but the screen is large (1920x1200) and by default KMS sets to 1920x1200x32bpp, which makes scrolling _extremely_
    slow and cpu-intensive (i.e. dmesg scrolling by takes ages).

    So I want to set it to 1920x1200x8bpp to make scrolling a bit faster,
    but I don't see how to do it. fbset doesn't work and generally reports
    invalid ioctl or somesuch when trying to set a new resolution.

    Any ideas?
    Last edited by mlau; 29 September 2009, 07:17 AM.

  • #2
    Same question.

    Comment


    • #3
      AFAIK, there is no way yet to change the resolution in KMS consoles...

      Comment


      • #4
        Dave recently posted some patches to dri-devel for setting the console modes on via the command line.

        Comment


        • #5
          Hmm, I recall the framebuffer wasn't properly hardware-accelerated earlier. Is this still the case?

          Comment


          • #6
            Yes. It's not HW accelerated and likely won't ever be.

            Comment


            • #7
              Originally posted by agd5f View Post
              Yes. It's not HW accelerated and likely won't ever be.
              Thats... unfortunate. What's missing is some sort of DRM-driven console? (a 'drmcon' instead of 'fbcon'?)

              Comment


              • #8
                Originally posted by mlau View Post
                Thats... unfortunate. What's missing is some sort of DRM-driven console? (a 'drmcon' instead of 'fbcon'?)
                Actually fbcon is using DRM framebuffer. I recall hearing security concerns related to using eg blits there.

                Comment


                • #9
                  Some EGL-based hacks could be used to implement a hardware-accelerated console in user space. Obviously this would work on a "he who's interested in it should implement it" basis.

                  Comment


                  • #10
                    Originally posted by agd5f View Post
                    Yes. It's not HW accelerated and likely won't ever be.
                    Going back to my original question: Is it possible to set another videomode on the KMS-driven linux framebuffer console?

                    Comment

                    Working...
                    X