Talk:NVIDIA

From ArchWiki
Jump to navigation Jump to search

TV-Out

NVoption Online Version - great tool to make tv-out easy and fast

[I'm using gmplayer with gl and twinview] [1]http://www.sorgonet.com/linux/nv-online/ —This unsigned comment is by Suw (talk) 01:23, 23 March 2006‎. Please sign your posts with ~~~~!

A user found this useful to get TV-Out working with an old Geforce 2 MX: nvtvAUR -- Alad (talk) 13:56, 3 March 2016 (UTC)

'/dev/nvidia0' Input/Output error... suggested fixes

Can anyone verify that the BIOS related suggestions work and are not coincidentally set (either automatically when changing the IRQ or turning off ACPI) while troubleshooting? I have found little information that confirms any of the suggestions would work. The file permissions thing seems to be completely unfounded and never works (as noted in the article) that I could find. It would probably be a good idea if we cleaned out items that have not been verified to work. For my setup I was having this error and none of the items in the wiki nor the many file permission search results worked. -- click, them so hard 19:16, 4 March 2012 (EST)

I've added an Accuracy template, please next time add it yourself so that discussions like this are more visible. -- Kynikos 05:40, 6 March 2012 (EST)

Run a test

There is confusing paragraph saying You can run a test to see if the Xorg server will function correctly without a configuration file.. IMHO, it should be clarified what kind of test the author has in mind, an exact command would be helpful. Currently, this suggestion is simply confusing, especially to less experienced users. --Mloskot (talk) 19:52, 26 November 2012 (UTC)

It's strange. I agree. The link goes to the section for running X. After a beat, I realized you simply try to launch X. And in my case the screen was black. So the "test" failed. A better instruction might say to try launching launching X, and then provide the link which describes all the ways this is done--depending on your configuration. Xtian (talk) 22:05, 21 October 2017 (UTC)
Over 7 years after the original comment (with which I agree), I've amended the labelling of that link to remove the suggestion that the reader will find a test described there. --Ghepardo (talk) 17:44, 29 March 2020 (UTC)

nvidia-xconfig

Several of the commands which are suggested to be run with nvidia-xconfig (such as nvidia-xconfig --twinview) don't work with the current nvidia packages in the repository. I just went through setting mine up so I intend to clean up the ones that I can from my experience. Some don't seem to have a 1:1 replacement (there is a --dynamic-twinview argument now; is that the same as --twinview was?). Teh (talk) 13:10, 20 June 2013 (UTC)

While it shouldn't be necessary to use xconfig to get nvidia working on X, creating a 20-nvidia.conf file is an integral step to fix screen tearing for people that suffer from that issue. Perhaps this section should have this explained and include a link to the nvidia troubleshooting article which contains the section about fixing screen tearing? --TheChickenMan (talk) 21:54, 22 December 2016 (UTC)

Troubleshooting sections link to the main documentation, not vice versa. Otherwise there would be no point in having separate troubleshooting sections. -- Lahwaacz (talk) 22:03, 22 December 2016 (UTC)

Accuracy of driver selection

A thread on the forums revealed that nvidia is more conservative in their suggestion than needed and checking their website tells you to use an older driver (nvidia-340xx) while the latest 'nvidia' one will do just fine. Gusar suggested the removal of the second point in the 'Installing' section. Do we want to get rid of this potentially useful, although somewhat confusing info? -- Karol (talk) 02:52, 15 November 2014 (UTC)

Well, I've rewritten the second point to make it clearer, I hope I got it correctly. However steps 2 and 3 there should probably merged into one, because they deal with the same problem, i.e. finding the correct driver to install. Maybe we could use a table? (just brainstorming). -- Kynikos (talk) 03:47, 16 November 2014 (UTC)

Compositing

I think it could be helpful for anyone that's still using X server to be guided on setting up compositing.

One way to update the Xorg.conf file to enable composition is to use the nvidia command line tool:

   # nvidia-xconfig --composite

The other is to edit the file manually, as per the example below adding the Composite Option to the Extensions section of /etc/X11/xorg.conf:

   Section "Extensions"
       Option         "Composite" "Enable"
   EndSection

For those running KDE, to check if compositing is enabled they can run the following command, compositing information is at the end of the output:

   $ qdbus org.kde.KWin /KWin supportInformation

Esdaniel (talk) 06:25, 16 October 2017 (UTC)


xorg-server 1.20

Seems with xorg 1.20 some nvidia packages are not supported anymore e.g. nvidia-340xx - no matiching ABI. Should we insert a warning? Ua4000 (talk) 07:03, 20 May 2018 (UTC)

PRIME Render Offload in closed-source drivers

Is offload is supported now in these drivers? https://download.nvidia.com/XFree86/Linux-x86_64/435.21/README/primerenderoffload.html DragonX256 (talk) 05:01, 30 August 2019 (UTC)

Experimental Power Management features (for preserving video memory across suspension)

User:Lahwaacz:

"Power Management" - misleading

How is this misleading? It is a descriptive term, the official term that NVIDIA uses, and also the term used by maintainers of the nvidia-utils package (see [2]). Sure, it's confusing that Power Management and Dynamic Power Management are quite different beasts, but it's even more confusing to censor the phrase "Power Management" altogether from the section. We should really mention "Power Management" or "Power Management Support" somewhere in that section.

In case it's not clear, power management refers to suspend-to-RAM and suspend-to-disk computer features, this isn't an NVIDIA specific thing, or anything new ... Neven (talk) 22:00, 8 September 2020 (UTC)

The purpose of this wiki is to make things clearer, not to copy-paste from official manuals. If nvidia uses misleading wording, there is no reason to follow that. -- Lahwaacz (talk) 08:09, 9 September 2020 (UTC)
Again, how is it misleading? As I clearly said in my above comment, which it appears you couldn't bother reading in its entirety, the fact that power management includes system sleep is long established semantics, common throughout the computing world (not NVIDIA specific). Neven (talk) 10:21, 9 September 2020 (UTC)
I agree that the fact that "power management" includes system sleep is long established semantics when you talk about system power management, but I disagree that "power management" is the best term to describe what is going on here. The nvidia driver connects to the suspend pipeline to save the GPU state, including (part of) the video memory. The purpose of the "new" method is to save full video memory, which is purely a visual convenience thing, and some "advanced" CUDA state. There is nothing related to saving or otherwise managing power of the GPU, which is why I find the term "power management" inappropriate for this section. The section should use terms which clearly describe what is going on. -- Lahwaacz (talk) 14:42, 9 September 2020 (UTC)

Common configuration

Well, it's new, of course not everybody is using it; but, at least on my system, chromium (and other heavy GPU users, too, I assume) is currently unusable (more correctly - unviewable) after resuming from system sleep without this feature. Surely this is will become a very common configuration for NVIDIA users soon, at least those that also need to suspend their system. Neven (talk) 22:00, 8 September 2020 (UTC)

It might be new because nvidia added it in a recent driver version, not because few people use it. The fact that your system needs it does not make it common. -- Lahwaacz (talk) 08:09, 9 September 2020 (UTC)

Experimental

I'm not sure what are you asking exactly, it seems like it's a question directed more at NVIDIA than at me; but I can say that it seems like it's not perfect yet, as I had some worrying messages in dmesg after resuming with the new features enabled and Chromium running. Everything seemed to be OK apart from the messages, though, so clearly a great improvement. Neven (talk) 22:00, 8 September 2020 (UTC)

Upstream documentation

Linked in the second sentence of the section, also available in nvidia-utils package (powermanagement.html). Titled "Chapter 21. Configuring Power Management Support". Neven (talk) 22:00, 8 September 2020 (UTC)

Update #Unsupported drivers (390xx) for GF117M

3. Install the appropriate driver for your card:

       For GeForce 400/500/600 series cards [NVCx and NVDx] from around 2010-2011, install the nvidia-390xx-dkmsAUR package.

change to:

       For GeForce 400/500/600/710M/720M/810M/820M series cards [NVCx, NVDx and GF117M] from around 2010-2014, install the nvidia-390xx-dkmsAUR package.

—This unsigned comment is by Nullstric (talk) 00:59, 28 September 2020 (UTC). Please sign your posts with ~~~~!

GPU at 0000:0X:00.0 has fallen off the bus.

Whilst using the nvidia driver with linux and linux-ck my machine randomly freezes with only this in journal, currently using Geforce GTS 450 with the 390xx driver, similar thread on BBS

style="background: inherit; color: inherit; vertical-align: middle; text-align: center; "|

                              Nov 24 15:55:56 archlinux kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  390.138  Thu May 14 01:01:53 PDT 2020 (using threaded interrupts)
                               Nov 24 16:04:49 hawker64 kernel: NVRM: GPU at PCI:0000:02:00: GPU-feeae056-097a-fe32-3f56-3732296882d2
                               Nov 24 16:04:49 hawker64 kernel: NVRM: Xid (PCI:0000:02:00): 79, GPU has fallen off the bus.
                                Nov 24 16:04:49 hawker64 kernel: NVRM: GPU at 0000:02:00.0 has fallen off the bus.
                                Nov 24 16:04:49 hawker64 kernel: NVRM: A GPU crash dump has been created. If possible, please run
                                NVRM: nvidia-bug-report.sh as root to collect this data before
                                NVRM: the NVIDIA kernel module is unloaded.	


A search on BBSshows that its a known common issue and apparently the error message is somewhat generic and could be down to faulty hardware or a regression in driver or other software, reseating card in PCI slot is advised, i have removed the nvidia-drm.modeset=1 parameter and all is well for now. putting the graphics card into persistent mode: sudo nvidia-smi -pm 1 apparently works for some.
[edit] Further testing results in same errors even without the nvidia-drm.modeset=1 parameter, perusing nvidia forums suggests parameter pcie_aspm=off works for some users, so im now trying this.
[update] pcie_aspm=off did not rectify maters, however since updating to kernel 5.9.12-2-ck-nehalem yesterday i've been freeze free. It would appear im not alone,according to this reddit thread

—This unsigned comment is by Cirrus (talk) 16:17, 25 November 2020‎. Please sign your posts with ~~~~!

Add a section for Wayland?

The whole configuration part is only about Xorg, so I guess it would be good to mention Wayland as well.

As I only use Wayland sometimes (in form of Weston) as a second display server (on top of Xorg), I am not aware of necessary configuration.

In addition we could mention some limitations, like the missing GPU acceleration support for XWayland, see Wayland#XWayland for some details.

G3ro (talk) 21:16, 9 December 2020 (UTC)

There is nothing to configure, since Wayland does not have a central configuration file like xorg.conf. Instead, everything is configured in compositors like Sway, including libinput, display outputs and so on. Some compositors like Sway don't even support NVIDIA. -- Lahwaacz (talk) 07:05, 10 December 2020 (UTC)
I added a section for it.
One suggestion: Instead of just providing information, it would be helpful to also answer the main question, whether to add a section for wayland or not.
G3ro (talk) 17:24, 10 December 2020 (UTC) G3ro