I would like to use CUDA on my Ubuntu machine with the graphics card NVIDIA Geforce 9600 GT. Installing CUDA is no problem but in order to run any CUDA code I need to install the proprietary NVIDIA driver as well.
I did so by choosing an appropriate one (for example, 331) from the list popping up in the "Additional drivers" menu. The installation works just fine but whenever I reboot the system all I see is a black screen with a blinking cursor.
I read somewhere that this problem might be related to the fact that I have to use DVI instead of VGA as there are no other output ports on the card. However, switching from one DVI output port to another doesn't help either.
I've found that manual installs work best for installing nvidia drivers, so go to here and download the latest drivers. By default, it'll most likely go into /Downloads, but if not, just know where it is. Then, you'll want to press
For me, tabbing the rest of the NVIDIA-Linux-x86_64-343.13.run file does not work for me, but it is CRUCIAL THAT YOU DO THIS. If nothing happens after you run the second command, check your caps and spelling to make sure they are right. You have to go through the program using the keyboard to correctly install it. For me it will tell me that something went wrong right on the bat, just keep going and see if it still works. If it asks you to install 32 bit libraries, do so. Some programs (like steam games) will not run unless you have these installed.
This should have worked for most people, if not keep looking, there's always a fix. If anyone knows something about getting virtual 7.1 audio to work, please message me somehow. Thanks. Hope I helped someone.
You'd have to install a 1.20 version of the server (there's a package in the AUR, but idk. how well they're maintained) - simply fishing one out the ALA might not work because of ABI incompatibilities w/ recent toolchain updates.
Update: I got the nvidia drivers working with that patch, but now i have another problem, when i try to open the tty its a black screen and when i switch back to gui with ctrl+alt+F1 it returns to gui, is there any way to fix this? Another problem i have is the windows are glitchy when i move the windows they are a bit glitchy and weired things happen.
The driver will work w/ a sufficiently old kernel and Xorg version - regardless of the distro.
(Though arch is certainly not optimized for using dated software)
The kernel patch is actually the smaller problem.
currently I'm running Asus 7900GT but I found that videomemory is failing. I'm got some artifact even in text mode! Underclocking to lowest GPU/RAM frequency didn't help. So I will need to buy some replacement. But 7900/7950 is too old - they disappeared from shops here. If I will have a luck I could buy it from other user otherwise I will need to buy something newer. From previous experiences and reading around here maybe 8600GT would work if equipped with 256MB. 8800 would be better but I saw only with 384MB or more. I belive that VRAM size is important. Please can somebody test the 256MB version of 8xxx/9xxx chip under win98?
8600gt with 256MB is not working, although the modified nvidia driver 82.69 recognises the card properly. I tried manual install on a clean win98, but the computer freezes during booting up. In safe mode the PC is booting and shows the graphics card properly in the device manager.
I have tried a 512MB 8400GS in my ECS 6100SM and Gigabyte MA78GM Computers with the 82.69 Drivers. Both crashed in bootup on the second initialization of NVCORE.VXD. The Motherboard Video on the ECS 6100SM also failed in the same manner, regardless of AGP Aperture size.
Unlike my 128MB ATI Radeon card, these drivers do not allocate all of the AGP space at one time. This is the likely cause of problems using 512MB Graphics cards, that other people have reported, since this would exhaust System Arena Memory unless the File Cache is made very small. I also tried reducing File Cache without result.
But, until someone finds a way to use the Series 8 and higher cards, if ever such a way will be found, I do highly recommend that you all consider the second-hand market as an option. I've never bought a brand new graphics card in my life, and had no problems with the various second-hand ones I acquired along the years. My most recent acquisition was a dead GeForce FX5200 (AGP, 128 MiB) given me by a client: it wasn't quite obvious, but the problem was just 5 bad capacitors, which I substituted, and it's now working like a champ again.
When I boot again, Windows is coming up in VGA mode, the graphic card is shown with a yellow exclamation mark. I'm currently not able to boot in safe mode, as I have 4GB ram installed, so I need to get a 521MB bar for further testing.
However I managed to use Win98 normal, by installing my old ATI 9600Pro card in the AGP slot of the AliveDual-eSATAII motherboard, while keeping the 9600gt in the PCIe slot, using it in WInXP and Vista. Just needed to disable the ATI card, however one could use both cards under XP and even Vista. just need to switch the primary card in the BIOS to AGP before starting Win98.
If you have an older card, NVIDIA no longer actively supports drivers for your card. This means that these drivers do not officially support the current Xorg version. It thus might be easier to use the nouveau driver, which supports the old cards with the current Xorg.
Since NVIDIA does not support automatic KMS late loading, enabling DRM (Direct Rendering Manager) kernel mode setting is required to make Wayland compositors function properly, or to allow for Xorg#Rootless Xorg.
Additionally, with the driver version 545 and above, you can also set the experimental nvidia_drm.fbdev=1 parameter, which is required to tell the NVIDIA driver to provide its own framebuffer device instead of relying on efifb or vesafb, which do not work under simpledrm.
For basic functionality, just adding the kernel parameter should suffice. If you want to ensure it is loaded at the earliest possible occasion, or are noticing startup issues (such as the nvidia kernel module being loaded after the display manager) you can add nvidia, nvidia_modeset, nvidia_uvm and nvidia_drm to the initramfs.
If you are using an old driver (e.g. nvidia-340xx-dkmsAUR), you need to create device nodes. Invoking the nvidia-modprobe utility automatically creates them. You can create /etc/udev/rules.d/70-nvidia.rules to run it automatically:
The proprietary NVIDIA graphics card driver does not need any Xorg server configuration file. You can start X to see if the Xorg server will function correctly without a configuration file. However, it may be required to create a configuration file (prefer /etc/X11/xorg.conf.d/20-nvidia.conf over /etc/X11/xorg.conf) in order to adjust various settings. This configuration can be generated by the NVIDIA Xorg configuration tool, or it can be created manually. If created manually, it can be a minimal configuration (in the sense that it will only pass the basic options to the Xorg server), or it can include a number of settings that can bypass Xorg's auto-discovered or pre-configured options.
Several tweaks (which cannot be enabled automatically or with nvidia-settings) can be performed by editing your configuration file. The Xorg server will need to be restarted before any changes are applied.
The "ConnectedMonitor" option under section Device allows overriding monitor detection when X server starts, which may save a significant amount of time at start up. The available options are: "CRT" for analog connections, "DFP" for digital monitors and "TV" for televisions.
Taken from the NVIDIA driver's README Appendix B: This option controls the configuration of SLI rendering in supported configurations. A "supported configuration" is a computer equipped with an SLI-Certified Motherboard and 2 or 3 SLI-Certified GeForce GPUs.
You want only one big screen instead of two. Set the TwinView argument to 1. This option should be used if you desire compositing. TwinView only works on a per-card basis, when all participating monitors are connected to the same card.
If you have multiple cards that are SLI capable, it is possible to run more than one monitor attached to separate cards (for example: two cards in SLI with one monitor attached to each). The "MetaModes" option in conjunction with SLI Mosaic mode enables this. Below is a configuration which works for the aforementioned example and runs GNOME flawlessly.
If you are using TwinView and vertical sync (the "Sync to VBlank" option in nvidia-settings), you will notice that only one screen is being properly synced, unless you have two identical monitors. Although nvidia-settings does offer an option to change which screen is being synced (the "Sync to this display device" option), this does not always work. A solution is to add the following environment variables at startup, for example append in /etc/profile:
You can change DFP-0 with your preferred screen (DFP-0 is the DVI port and CRT-0 is the VGA port). You can find the identifier for your display from nvidia-settings in the "X Server XVideoSettings" section.
In case you want to play full-screen games when using TwinView, you will notice that games recognize the two screens as being one big screen. While this is technically correct (the virtual X screen really is the size of your screens combined), you probably do not want to play on both screens at the same time.
Mosaic mode is the only way to use more than 2 monitors across multiple graphics cards with compositing. Your window manager may or may not recognize the distinction between each monitor. Mosaic mode requires a valid SLI configuration. Even if using Base mode without SLI, the GPUs must still be SLI capable/compatible.
Base Mosaic mode works on any set of Geforce 8000 series or higher GPUs. It cannot be enabled from within the nvidia-setting GUI. You must either use the nvidia-xconfig command line program or edit xorg.conf by hand. Metamodes must be specified. The following is an example for four DFPs in a 2x2 configuration, each running at 1920x1024, with two DFPs connected to two cards:
795a8134c1