<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Nicolai,</p>
<p><br>
</p>
<p>Is there any place were I can find all the options with their respectives descriptions?</p>
<p>I have readed a little of information about DRI here[1], but i'm not very sure were I can find a doc about all those options.</p>
<p><br>
</p>
<p>About the language and the choice of full rewrite or incremental, I'm still thinking about it.</p>
<p>Currently I don't know GTK+ and Python.</p>
<p><span>C++ is a possible choice, as I already know a little about it.</span><br>
</p>
<p>I'm studying the options and will see what best fits my knowledge. <br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>Best Regards</p>
<p><br>
</p>
<p>[1]: <a href="https://dri.freedesktop.org/wiki/ConfigurationForDevelopers/" class="OWAAutoLink" id="LPlnk957230" previewremoved="true">
https://dri.freedesktop.org/wiki/ConfigurationForDevelopers/</a><br>
</p>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>De:</b> Nicolai Hähnle <nhaehnle@gmail.com><br>
<b>Enviado:</b> quarta-feira, 5 de abril de 2017 05:26<br>
<b>Para:</b> Jean Hertel; mesa-dev@lists.freedesktop.org<br>
<b>Assunto:</b> Re: [Mesa-dev] [GSOC] DriConf Replacement</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hi Jean,<br>
<br>
On 04.04.2017 01:52, Jean Hertel wrote:<br>
> I would like to ask what are the proposed projects for Gsoc 2017.<br>
> Specifically I want to know if someone proposed something to the Driconf<br>
> replacement idea.<br>
<br>
If you haven't already, try installing driconf and playing around with <br>
it a bit. This should give you a reference point for how it works and <br>
the kind of complaints people have about driconf.<br>
<br>
Most of the user complaints are about the GUI being clunky and missing <br>
features. For example, it doesn't properly deal with the PRIME setups <br>
found in many laptops (internal GPU + external GPU). The way <br>
application-specific settings work is pretty weird as well: Why is it a <br>
separate pane of the window?<br>
<br>
From the Mesa developer point of view, there is one huge problem with <br>
driconf which means we must advise users against using it right now: It <br>
writes out a full ~/.drirc which overrides the system's /etc/drirc. So <br>
when a user runs driconf once and then later updates Mesa, the <br>
Mesa-provided /etc/drirc may have some changed options which are <br>
effectively ignored.<br>
<br>
Organizing a bit, here's a bunch of either smaller sub-projects to <br>
evolve the current DriConf, or things to keep in mind for a full re-design:<br>
<br>
1) Change DriConf to not write the full ~/.drirc every time, but only <br>
the explicitly set options. DriConf should track options as "tri-state" <br>
(On/Off/System-default).<br>
<br>
2) Handle the multi-GPU case. This requires some GUI changes, obviously. <br>
Under the hood, this requires directly enumerating the DRI device nodes <br>
and loading the driver for each device.<br>
<br>
2b) Currently, devices are identified by driver name, which is a bit <br>
silly in A+A systems, where both the internal and the external GPU use <br>
radeonsi. Evolve the drirc XML format in a way to identify the actual <br>
device (by PCI ID makes the most sense, I think) instead of (possibly in <br>
addition to?) the driver.<br>
<br>
2c) Consider adding an option to configure PRIME to driconf.<br>
<br>
[2b and 2c will also require changes in Mesa; also, you may want to get <br>
rid of the implicit dependency on xdriinfo]<br>
<br>
3) Re-design the GUI in general, keeping in mind that it should provide <br>
a more natural way to define application-specific settings and <br>
driver-specific settings, and a combination of those.<br>
<br>
4) There's just a general bunch of cleanups for user-friendliness that <br>
would be nice. For example, why is "Force GLSL extension default <br>
behavior to 'warn'" under the "Debugging" category, when it really <br>
should be under an "Application bug workaround" category? And options <br>
like "Force a default GLSL version" should provide a drop-down box of <br>
possible options rather than a generic integer slider. Note that many of <br>
these cleanups actually require changes to Mesa as well.<br>
<br>
This should give you a good idea of the kind of things that need to be <br>
taken into account.<br>
<br>
As for the replace/rewrite question: It's always tempting to say "I can <br>
do better, let's rewrite everything", and if you're "just" in it for the <br>
learning experience, then go for it! (This may be especially true if <br>
there's a different GUI toolkit that you know by heart or you hate <br>
Python; though I'd say that using a high-level language for GUI work <br>
does have an advantage.)<br>
<br>
However, think well about how much time you'll have to devote to this <br>
task. I would estimate multiple full-time months of work for addressing <br>
all of the above points properly. If you actually want to have a useful <br>
contribution in the end, it may be better and more rewarding to work on <br>
evolving the existing DriConf.<br>
<br>
Cheers,<br>
Nicolai<br>
<br>
<br>
><br>
> Can anyone point me out?<br>
><br>
> Thanks in advance.<br>
><br>
> PS: I'm not elegible to the program, so please, don't reply saying that<br>
> the subscription time is over, I already know it.<br>
> --<br>
> Enviado de meu dispositivo Android com K-9 mail. Desculpe-me pela<br>
> brevidade.<br>
><br>
><br>
> _______________________________________________<br>
> mesa-dev mailing list<br>
> mesa-dev@lists.freedesktop.org<br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" id="LPlnk592791" previewremoved="true">
https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
><br>
<br>
<br>
-- <br>
Lerne, wie die Welt wirklich ist,<br>
Aber vergiss niemals, wie sie sein sollte.<br>
</div>
</span></font></div>
</div>
</body>
</html>