Announcement

Collapse
No announcement yet.

Marek Patches A "Mega Radeon" Driver

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

  • Marek Patches A "Mega Radeon" Driver

    Phoronix: Marek Patches A "Mega Radeon" Driver

    In an effort to aid distribution vendors maximizing their disk space and simplify things, AMD developer Marek Olk has posted a patch for possible take-up for a "Mega Radeon" driver...

    http://www.phoronix.com/vr.php?view=MTY5MTA

  • #2
    Great work Marek!

    Comment


    • #3
      Rather than calling the mega radeon driver r300_dri.so, I would think just naming it radeon_dri.so would be best. After all, they are all under the radeon branding.

      Comment


      • #4
        Originally posted by mmstick View Post
        Rather than calling the mega radeon driver r300_dri.so, I would think just naming it radeon_dri.so would be best. After all, they are all under the radeon branding.
        radeon_dri.so name is in use by classic driver for original radeon .

        Comment


        • #5
          I'm asking myself why the distributions install every driver in the first place. I don't need Nvidia and intel (or matrox or S3) drivers if I am using an ATI card but nonetheless they are installed. And if I try to remove them, the packaging software probably wants to remove all desktop and X11 packets because they "depend" on drivers I never use.
          But instead of improving their shitty packagers and introducing a hardware detection at installation time - sure, let the upstreamers change everything to save some space (the Windows drivers also include everything for all cards and even a config interface with dependant libraries, who cares about 200MB drivers there?).
          If they are so anal about package size, they probably want to shrink their kernel images from 30MB to 2MB first, then we'll talk again.

          Comment


          • #6
            Originally posted by mark_ View Post
            I'm asking myself why the distributions install every driver in the first place. I don't need Nvidia and intel (or matrox or S3) drivers if I am using an ATI card but nonetheless they are installed. And if I try to remove them, the packaging software probably wants to remove all desktop and X11 packets because they "depend" on drivers I never use.
            But instead of improving their shitty packagers and introducing a hardware detection at installation time - sure, let the upstreamers change everything to save some space (the Windows drivers also include everything for all cards and even a config interface with dependant libraries, who cares about 200MB drivers there?).
            If they are so anal about package size, they probably want to shrink their kernel images from 30MB to 2MB first, then we'll talk again.
            So you can switch components without having to rebuild your operating system.

            Comment


            • #7
              Yeah. For someone who's capable of setting VIDEO_CARDS="r600", this change means that my driver is now 7 MB instead of 6 MB because it supports cards I don't have. I don't care about 1 MB on my hard drive, but 1 MB of RAM seems like a needless waste.

              Doesn't look like there'll be an option to compile them separately though.

              Comment


              • #8
                Originally posted by mark_ View Post
                I'm asking myself why the distributions install every driver in the first place.
                Live images where mentioned specifically in the article, for them install time is to late.

                Comment


                • #9
                  Excellent idea, keep up the good work!

                  I have finally switched over to AMD open source drivers & boycotted Catalyst. After not trying them for about a year, I'm VERY impressed with the performance (currently using the 3.14 kernel). They even work on my Radeon HD 4200 IGP using 1080p video, something they would struggle with last time I used them.

                  Comment


                  • #10
                    Thank you Marek, you're a hero.

                    Comment


                    • #11
                      @mark_

                      You likely know this already, but most users do not know what they need. If the default install does not show a screen, or only ships vesa, they will complain, instead of only installing the driver for their card.

                      Comment


                      • #12
                        It is funny what is results of this, for example Debian linked all those i915_dri.so, i965_dri.so, nouveau_vieux.dri.so and radeon_dri.so to the one called r200_dri.so .

                        So in the end we have only one dri.so for all classics drivers and with this only one for the all gallium dri drivers .

                        So the best i think for those to just be called: mesa_dri.so and gallium_dri.so
                        Last edited by dungeon; 05-15-2014, 05:42 AM.

                        Comment


                        • #13
                          Originally posted by rohcQaH View Post
                          Yeah. For someone who's capable of setting VIDEO_CARDS="r600", this change means that my driver is now 7 MB instead of 6 MB because it supports cards I don't have. I don't care about 1 MB on my hard drive, but 1 MB of RAM seems like a needless waste.

                          Doesn't look like there'll be an option to compile them separately though.
                          Oh, c'mon, it's just 1MB. We don't live in the '90s anymore, you get 512 of those even in ~30 hardware.
                          Also Marek says that what's missing is mostly build-work, it's clear that he didn't bother adding an option to enable/disable the megadriver, but who wants to get it merged will have to.

                          Originally posted by mark_ View Post
                          I'm asking myself why the distributions install every driver in the first place. I don't need Nvidia and intel (or matrox or S3) drivers if I am using an ATI card but nonetheless they are installed. And if I try to remove them, the packaging software probably wants to remove all desktop and X11 packets because they "depend" on drivers I never use.
                          But instead of improving their shitty packagers and introducing a hardware detection at installation time - sure, let the upstreamers change everything to save some space (the Windows drivers also include everything for all cards and even a config interface with dependant libraries, who cares about 200MB drivers there?).
                          If they are so anal about package size, they probably want to shrink their kernel images from 30MB to 2MB first, then we'll talk again.
                          This is all about livecd, which are limited to ~700mb. You could boot users in vesa mode and download the proper drivers then, but honestly it would be shit experience and a good way to turn away new users.
                          Removing the drivers from the default installation would save maybe ~30mb of disk space (and not improve ram usage, or speed), and remove one of the nicest features of Linux, which is the ability to take my hdd, plug it into any machine and have it working.

                          If you really want more control over what you get installed, then Gentoo is for that. Arch too, on a lesser level.

                          Comment


                          • #14
                            Originally posted by Spittie View Post
                            Oh, c'mon, it's just 1MB. We don't live in the '90s anymore
                            Originally posted by Spittie View Post
                            This is all about livecd, which are limited to ~700mb
                            Oh, c'mon, we don't live in the '00s anymore. How cares for livecd? You can use livedvd or liveusb...

                            What is more important, as I understand, is that mega-driver is also about security, isn't?

                            Comment


                            • #15
                              Originally posted by rohcQaH View Post
                              Yeah. For someone who's capable of setting VIDEO_CARDS="r600", this change means that my driver is now 7 MB instead of 6 MB because it supports cards I don't have. I don't care about 1 MB on my hard drive, but 1 MB of RAM seems like a needless waste.

                              Doesn't look like there'll be an option to compile them separately though.
                              There won't be a "no megadrivers" option if it gets merged just like classic. But just like classic, you won't be forced to include drivers you don't need. If you check the current classic megadriver, if you have --with-dri-drivers=radeon, there won't be nouveau in that megadriver taking space.

                              IOW, the filename will change, but if you only include r600, you will only get r600, no size increase.

                              Comment

                              Working...
                              X