Template talk:VIDEO CARDS

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using ~~~~:
A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC)
: A reply [[User:Sally|Sally]] 09:24, 5 November 2024 (UTC)
:: Your reply ~~~~

Rationale

Talk status
This discussion is done.

Every X graphics driver and its cat will duplicate this and a lot of other bits. In an effort to ease upkeep we can use embedded pages like this one. /Ni1s 01:07, 25 October 2011 (UTC)

These embedded pages should probably have their own namespace, i.e "Embedded:X/make.conf". /Ni1s 02:31, 25 October 2011 (UTC)
These pages are nothing else than templates. We don't need another namespace. But because of the limited scope of these pages I would just put them in a special category, e.g. "Embedded pages" or "Template-like pages". --Astaecker 12:26, 25 October 2011 (UTC)
If it's a template, why isn't this in "Template:", then? This can be confusing because it shows up as a normal page, but it isn't. It seems like it's saying that putting in {{{1}}} will make portage automatically select the correct driver - which is what I initially thought, but knew that it sounded wrong. --Alec 21:14, 31 October 2011 (UTC)
I don't care enough, so I'm fine with both solutions. Astaecker 07:18, 1 November 2011 (UTC)
As am I, really. /Ni1s 21:46, 1 November 2011 (UTC)
In that case, would anyone be against me moving this to Template:VIDEO_CARDS? (I think it would be a bit more descriptive) --Alec 16:04, 2 November 2011 (UTC)
Done. --Alec 16:07, 3 November 2011 (UTC)

--deep option

Talk status
This discussion is done.

Any reason you don't use --deep in your emerge command? --Sebastian Luther (few_) 05:52, 25 October 2011 (UTC)

It slipped my mind, sorry. /Ni1s 12:19, 25 October 2011 (UTC)

make.conf location

Talk status
This discussion is done.

Please change /etc/make.conf to /etc/portage/make.conf for consistency

Looks like it's been done. --Maffblaster (talk) 01:15, 12 January 2017 (UTC)

For example?

Talk status
This discussion is done.

I'm assuming this template will not always be used in a context where a particular video card (or set of video cards) must be used. In other words, it may be used in a situation where the choice of video card is up to the user. In such a case, the current wording is a bit too strong. It would be good to provide an option to specify (with accompanying warning) that the shown setting is only an example.

In particular, if an article wishes to explain the VIDEO_CARDS setting without committing the user to a specific card, the template could display something like:

Portage uses the variable VIDEO_CARDS for enabling support for various graphics cards in packages. Setting VIDEO_CARDS to an appropriate value will pull in the correct driver:

FILE /etc/portage/make.conf
VIDEO_CARDS="example"

Substitute the name of the driver(s) you wish to use in place of the word "example". Common choices are "nouveau", "nvidia", "radeon", and "intel".

After setting this you want to update your system so the changes take effect:

root #emerge --ask --changed-use --deep world

Or some such. (The changed bits include "an appropriate value", "example", and the entire line starting with "Substitute".) Perhaps this could be the default when no (unnamed) parameter is passed to the template? Or maybe the special parameter value "example" could be recognized and result in the version above? - dcljr (talk) 02:55, 27 August 2014 (UTC)

Good idea. Works for me. I'll update it. --Maffblaster (talk) 01:15, 12 January 2017 (UTC)