[Nix-dev] Video Driver Name Mismatch

John Altobelli acocaracha at gmail.com
Thu Jan 22 06:58:35 CET 2009


It's good to know it can be set explicitly in the configuration.nix
file and I see how you have done it.  Also, in part it makes sense to
me why it's set to that version.  However, I think a better solution
would be to have videoDriver be a heading with name and version as
options.  Then the default value for the version would be based on the
version at the release of the xserver, but a newer version could then
be set from the configuration.nix file.  There might even be a git
option based on the date (ie version = git-<date><time><timezone>).

I would still like to see the video cards each separated because
organization wise it would make more sense to me.  However, as I am
still getting accustomed to everything nix, I respect the opinions of
those who have spent a lot longer than I with it.

Thanks,
John

On Thu, Jan 22, 2009 at 12:16 AM, Michael Raskin <7c6f434c at mail.ru> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> John Altobelli wrote:
>> The problem is that if I enter the knownVideoDriver as radeonhd in
>> configuration.nix, it goes to the radeonhd version 1.2.1 which does
>> not have the xf86videoradeonhd_124 naming convention.  I basically
>> changed the name xf86videoradeonhd to xf86videoradeonhd_121 and
>> xf86videoradeonhd_124 to xf86videoradeonhd and the new version works
>> flawlessly.  I notice that video-ati uses this naming convention, does
>> this mean only the oldest version can be loaded?  I would think it
>> should look for the newest version installed on the machine?
>
> Default is the version from X.org release. The rest is provided for the
> ease of using different types of override. I do not like the __override
> solution, so I created the option for changing used driver in X job.
> Look it up in my configuration.nix in configurations/
>
>> On a side note, is it necessary to have every video in one nix file,
>> eventually with all the versions this is going to give pretty big.
>
> For most cards latest X.org is enough
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iQEcBAEBAgAGBQJJeAEpAAoJEE6tnN0aWvw3LVUH+gNeIhGJKj7qSTCxgpECD8yB
> FQGCu7g1qjKHZgFFqL0MW6/GEUsF0MrOB62DKnMJ3Myncb7yRGeXtDr08HHseMyJ
> 4eyaRnuFI8hqFal5TvkwF+GWKSzaFcJNzm64tjiZx3S7RMTzgPKtPR9l1mod1TFO
> PtpTMWSXZmsw6lH+Uf/UTQbC7w4E4FNyAWgjCJBGighQL23AOVp4CRHbGUj74E4z
> GHCTdYOTzsFThbN4guvstLozAIATfVaqp+jE92+25wFs3PYyKEapivKJj9sRtutW
> yK1bEx/oJLhmmgyO13H4Pp0hXkae9fq0Woqviw3xM96CdGxMo3Troq9w6IEjsr0=
> =Ak1l
> -----END PGP SIGNATURE-----
>



More information about the nix-dev mailing list