Announcement

Collapse
No announcement yet.

ADriConf Looks To Move Under The Mesa Umbrella As Linux Driver Configuration Utility

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

  • ADriConf Looks To Move Under The Mesa Umbrella As Linux Driver Configuration Utility

    Phoronix: ADriConf Looks To Move Under The Mesa Umbrella As Linux Driver Configuration Utility

    Jean Hertel who has spent the past year developing ADriConf as as the Advanced DRI Configurator is now looking for this project to officially live within Mesa...

    http://www.phoronix.com/scan.php?pag...onf-Under-Mesa

  • #2
    Typo:

    Originally posted by phoronix View Post
    Jean Hertel who has spent the past year developing ADriConf as as the Advanced DRI Configurator

    Comment


    • #3
      Such simple applications should be written with Python to reduce amount of code and files and make the usage and the maintaining easy. Files like this looks simply stupid when you know Python. https://github.com/jlHertel/adriconf...er/GPUInfo.cpp

      Comment


      • #4
        Such simple applications should be written with Python to reduce amount of code and files and make the usage and the maintaining easy.
        Then Do it, you heroic super developer.

        Comment


        • #5
          Originally posted by towo2099 View Post
          Then Do it, you heroic super developer.
          I buy Linux compatible hardware and software so I do not need to modify the drirc file. The
          /usr/share/drirc.d/00-mesa-defaults.conf file is for zero user configuration. Developers use that file so that applications works as bests.
          Last edited by debianxfce; 04-02-2019, 09:17 AM.

          Comment


          • #6
            Originally posted by debianxfce View Post
            Such simple applications should be written with Python to reduce amount of code and files and make the usage and the maintaining easy. Files like this looks simply stupid when you know Python. https://github.com/jlHertel/adriconf...er/GPUInfo.cpp
            Actually I sort of hate Python.

            Comment


            • #7
              Originally posted by tildearrow View Post

              Actually I sort of hate Python.
              For you some python code then:
              Code:
              #!/usr/bin/python
              
              import gi
              gi.require_version('Gtk', '3.0')
              from gi.repository import Gtk
              import subprocess
              
              class MyWindow(Gtk.Window):
              
                  def __init__(self):
                      Gtk.Window.__init__(self, title="PS3 Controller")
                      self.box = Gtk.Box(spacing=16)
                      self.add(self.box)
                      a = subprocess.check_output(['cat', '/sys/class/power_supply/sony_controller_battery_04:37:7f:85:63:25/capacity'])
                      label = Gtk.Label("PS3 Controller Power Level = " + a)
                      self.box.pack_start(label, True, True, 0)
              
              win = MyWindow()
              win.connect("delete-event", Gtk.main_quit)
              win.show_all()
              Gtk.main()
              Last edited by debianxfce; 04-02-2019, 09:42 AM.

              Comment


              • #8
                LMAO, good stuff!

                Comment


                • #9
                  Originally posted by debianxfce View Post
                  I buy Linux compatible hardware and software so I do not need to modify the drirc file.
                  If you don't care about this project, then why are you posting/trolling in this thread and derailing it with programming language holy wars?

                  Such simple applications should be written with Python to reduce amount of code and files and make the usage and the maintaining easy.
                  It's a one-wo/man project. If the dev is more comfortable with C(++), then that's what s/he should use. End of holy war.

                  Comment


                  • #10
                    Originally posted by tildearrow View Post

                    Actually I sort of hate Python.
                    Weasel, is tildearrow your twin brother??? lol

                    Comment

                    Working...
                    X