Announcement

Collapse
No announcement yet.

X.Org Server 1.17 Likely To Have Built-In KMS Modesetting Driver

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

  • #11
    Sorry, I forgot to quote, I was referring to uid313's posting.

    Comment


    • #12
      It would be great if somebody wrote a decent (high-performance) KMS kernel driver for VESA.
      The interface is very common, and works very good if the firmware knows your monitor resolution.
      I have been using it on my old box (Geforce 4 MX 420, Athlon 1700+, 1GB RAM) and the experience was better then with the binary nvidia driver (of course I was using only 2D).

      There was some proposition by David Herrmann, but it did not get into the kernel.

      This driver is nice, but unfortunately very slow - see dvbe_vesa_read() in the link above.

      It would be possible to get some code from the uvesafb driver and possibly share it in a common module.
      The uvesafb driver could be even turned completely into KMS and use the framebuffer compatibility layer.

      I have been toying with the idea of writing this driver and investigating it, but did not have time and this seemed quite difficult, especially the memory management code.

      There should also be a new kernel command line parameter, say "basicvideo". When set, it should disable all device-specific drivers (radeon, intel, etc.) and use only the platform ones (VESA/UEFI).
      That way, if the native driver does not work, you have a backup.
      Last edited by Mat2; 12 September 2014, 11:08 AM.

      Comment


      • #13
        Vesa and high-performance in the same sentence is an oxymoron. The cpu will do the work in every case, you can only try to save a mem copy or two, which won't bring it to par with any accelerated card.

        Comment


        • #14
          Originally posted by curaga View Post
          Vesa and high-performance in the same sentence is an oxymoron. The cpu will do the work in every case, you can only try to save a mem copy or two, which won't bring it to par with any accelerated card.
          I meant relatively high-performance, faster then the David's patch.

          Comment


          • #15
            Originally posted by J?rnS View Post
            X has no XAA any longer (for quite a while now). But it should be added back, imho. Many old graphic cards that used to work "fine" are now working only unaccelerated (NoAccel in xorg.conf), which is really a PITA.

            [TRIAGE NOTE] xserver-xorg-video-all metapackage should not depend on xserver-xorg-video-sis because it makes Ubuntu >= 12.10 unusable/uninstallable for SiS users, and upstream X shows little interest in fixing/patching the SiS driver. [WORKAROUND]: For SiS users that already have Ubuntu installed, they can create an /etc/X11/xorg.conf file with the following contents: Section "Device"         Identifier "Configured Video Device"         Option "NoAccel" "true" EndSection Section "Monitor"...

            It seems that xserver-xorg-video-mach64 is broken in Lubuntu 12.10. After the upgrade from 12.04 to 12.10 MACH64 video driver crashes, causing infinite loop at boot: starting desktop manager, X server crash, restarting desktop manager, X server crash, restarting desktop manager, X server crash, etc. It is impossible even to switch to text console. I found a workaround - booting in rescue mode, mounting filesystem read-write and creating the file containing lines ------------------------------...


            And the devs of X don't care about that. Thanks!
            Even XAA was unaccelerated ever since offscreen pixmaps got deactivated, which happened a few years before XAA was yanked completely. So from the acceleration perspective, there's no difference between XAA and NoAccel.

            About those bug reports, The SiS driver has a patch, and if it doesn't work for all GPUs, Arch uses an alternative patch that simply disables the DownloadFromScreen/UploadToScreen hooks, this way EXA works for sure with all SiS GPUs. Not a problem with X devs if Ubuntu doesn't ship fixed packages. I only skimmed the other bug report, but it seems there's patches there as well.

            Bottom line, the solution isn't adding back XAA, but writing fixes and getting those fixes into distro packages.

            Comment


            • #16
              Originally posted by oibaf View Post
              What about xa? Is it supposed to be faster than glamor, using gallium directly without OpenGL?

              (xa) : (glamor) = (gallium-nine + wine) : (vanilla wine)
              doubtful.. XA just implements EXA, so it is still sw fallbacks for everything that EXA does not support. Glamor should be able to accelerate more of the x11 drawing primitives, avoiding fallbacks (and therefore stalls)..

              Comment

              Working...
              X