Software Rendering Mode = Nvidia driver issue?

Hi,
New to openSUSE and liking it, have an Nvidia Geforce 9400 card and cannot find how to get linux out of software rendering mode. Installing the Nvidia Dock give me an icon that doesn’t open or launch anything, I cannot find the Nvidia settings. Typing nvidia-settings at terminal says command not found.

Fresh install of GeckoLinux_ROLLING_Cinnamon.x86_64-999.161031.0

It may not have all the “recommended” packages, so if it is missing something I would appreciate resolving what is missing so it can be included in an update.

I read a few pages of posts and gathered that I may need to blacklist the nouveau driver but figured I would let those more knowledgeable than me take a shot at it before I break it even further.

Hardware Information returns this:

P: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
E: DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0
E: DRIVER=nouveau
E: ID_MODEL_FROM_DATABASE=G96 [GeForce 9400 GT]
E: ID_PCI_CLASS_FROM_DATABASE=Display controller
E: ID_PCI_INTERFACE_FROM_DATABASE=VGA controller
E: ID_PCI_SUBCLASS_FROM_DATABASE=VGA compatible controller
E: ID_VENDOR_FROM_DATABASE=NVIDIA Corporation
E: MODALIAS=pci:v000010DEd00000641sv00000000sd00000000bc03sc00i00
E: PCI_CLASS=30000
E: PCI_ID=10DE:0641
E: PCI_SLOT_NAME=0000:01:00.0
E: PCI_SUBSYS_ID=0000:0000
E: SUBSYSTEM=pci
E: USEC_INITIALIZED=92528489

30: PCI 100.0: 0300 VGA compatible controller (VGA)
[Created at pci.374]
Unique ID: VCu0.Bjtk0E1veY9
Parent ID: vSkL.hbjCRhwKJE0
SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
SysFS BusID: 0000:01:00.0
Hardware Class: graphics card
Model: “nVidia G96 [GeForce 9400 GT]”
Vendor: pci 0x10de “nVidia Corporation”
Device: pci 0x0641 “G96 [GeForce 9400 GT]”
Revision: 0xa1
Driver: “nouveau”
Driver Modules: “drm”
Memory Range: 0xf6000000-0xf6ffffff (rw,non-prefetchable)
Memory Range: 0xd0000000-0xdfffffff (ro,non-prefetchable)
Memory Range: 0xf4000000-0xf5ffffff (rw,non-prefetchable)
I/O Ports: 0xcc00-0xcc7f (rw)
Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
IRQ: 27 (895876 events)
I/O Ports: 0x3c0-0x3df (rw)
Module Alias: “pci:v000010DEd00000641sv00000000sd00000000bc03sc00i00”
Driver Info #0:
Driver Status: nouveau is active
Driver Activation Cmd: “modprobe nouveau”
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #27 (PCI bridge)

YaST2 software manager shows this:

http://i1202.photobucket.com/albums/bb374/DougGuy/Linux%20Stuff/Screenshot%20from%202016-11-07%2002-43-49_zpsbhbbr3id.png](http://s1202.photobucket.com/user/DougGuy/media/Linux%20Stuff/Screenshot%20from%202016-11-07%2002-43-49_zpsbhbbr3id.png.html)

Install Mesa-dri-nouveau to use (hardware) OpenGL with the open source nouveau driver, or install the proprietary nvidia driver (nvidia-settings is part of the latter).

For informations on how to install the nvidia driver, see here:
https://en.opensuse.org/SDB:NVIDIA_the_hard_way

Note if this is a Notebook you may need bumblebee do not install normal NVIDIA driver on a Optimus based machine (hybrid Intel+NVIDIA)

Ah interesting. This looks like a new package for Tumbleweed. Do you know what the equivalent would be for a Leap system?

AFAIK there is none yet for 42.1, but there will be for 42.2 . The splitting is needed for KDE Plasma 5.8

BTW you shouldn’t have run into this, if your system is properly updated, i.e. through

zypper dup --no-allow-vendor-change

The user did a fresh Tumbleweed install from (my) GeckoLinux, and I wasn’t including that package by default. (I don’t know much about Nvidia and Radeon hardware, I’ve always used only Intel.) Good to know for future versions.

Ah I see, so it’s already integrated and working with the existing Mesa package for Leap?

Haven’t tested it yet on NVIDIA hardware. But since it’s here http://download.opensuse.org/distribution/leap/42.2/repo/oss/suse/x86_64/
and not here http://download.opensuse.org/distribution/leap/42.1/repo/oss/suse/x86_64/

Am Mon, 07 Nov 2016 14:46:01 GMT
schrieb sb56637 <sb56637@no-mx.forums.microfocus.com>:

> Knurpht;2799037 Wrote:
> > AFAIK there is none yet for 42.1, but there will be for 42.2 . The
> > splitting is needed for KDE Plasma 5.8
>
> Ah I see, so it’s already integrated and working with the existing Mesa
> package for Leap?
>
>

https://news.opensuse.org/2016/11/02/last-release-candidate-for-opensuse-leap-42-2-released/

AK


Never attribute to malice that which can be adequately explained by stupidity.
(R.J. Hanlon)

Sorry I wasn’t clear, I meant for Leap 42.1? It’s not necessary to install any other packages for 3D rendering with Nouveau?

Also, if the Mesa-dri-nouveau was split out because of incompatibilities with KDE 5.8, does that mean that I should probably not include it by default on my SuseStudio spin based on Tumbleweed with KDE?

If you want to be sure, search the factory ML or better, ask the maintainer. I think you’d better include it to make sure nvidia users can run KDE properly, but I’m not familiar with the details.

Installing the Mesa-dri-nouveau package with YaST2 worked, I have hardware acceleration now (I think) because CPU usage went from 40% - 60% down to 2% - 4% but I still cannot access any of the settings for the Nvidia card, Nvidia Dock icon is present but does not launch the program.

At least the issue is resolved and VLC plays video smoothly. I don’t game on this system but I do want it to play media smoothly.

Thank you for the help and I have related this to the writer of the Gecko Linux distro who also expressed thanks.

The nvidia-dock applet only works with the NVIDIA proprietary driver. The nouveau driver doesn’t have a GUI/settings interface. You can use the desktop’s settings though to change font rendering, DPI etc.

Thanks a lot Knurpht for the helpful responses!

AFAIK, no, the package split has not been released as update for 42.1.

Also, if the Mesa-dri-nouveau was split out because of incompatibilities with KDE 5.8, does that mean that I should probably not include it by default on my SuseStudio spin based on Tumbleweed with KDE?

Well, 42.1 comes with a completely different version of Mesa.

Also, the main problems are not really “incompatibilities with KDE 5.8”, actually kwin has a fix for that now (it tries to detect freezes and switches to XRender automatically then).

nouveau (still) doesn’t like multi-threaded applications though, and will (likely) just crash if OpenGL is used from separate threads.
This is a long standing design problem in nouveau though (so likely affects 42.1 or even 13.2 too) and may affect any application.
Most (including gnome-shell, but also plasmashell) probably do not have this problem.

One particular thing that’s pretty sure to crash is QtWebEngine, which is used as rendering enging in KDEPIM 16.08 (42.1 comes with older versions that still use QtWebKit and are not affected), but we even patched that to use software rendering if nouveau is detected.

(that warning has been worded before those patches had been added)

And nouveau may be unstable in general anyway (depending on your graphics card), but that’s also nothing new, and not only related to OpenGL either.

I see, thanks a lot wolfi323 for the explanation.