No openGL acceleration with Nvidia Driver

After multiple attempts at installing the NVIDIA driver (tried 3 different 1-click-installs, “the hard way”, and the method listed on the NVIDIA website) I always end up with no graphics acceleration.
With the 1-click-install, the driver gets installed but I can’t log in to GNOME or XBMC. GNOME logs me back out or displays a black screen while XBMC logs me back out with the “No openGL acceleration” error. I can log in with iceWM and I can open the Nvidia X settings app. It seems to be functional and it does indeed detect my graphics card.
If I attempt to install it manually, I end up with the following error:
"nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Fri Mar 15 13:13:15 2013
installer version: 310.32

PATH: /usr/bin:/bin:/usr/sbin:/sbin

nvidia-installer command line:
./nvidia-installer

Using: nvidia-installer ncurses user interface
→ License accepted.
→ Installing NVIDIA driver version 310.32.
→ Running distribution scripts
executing: ‘/usr/lib/nvidia/pre-install’…
→ done.
→ Performing CC sanity check with CC=“cc”.
→ Performing CC version check with CC=“cc”.
→ Kernel source path: ‘/lib/modules/3.7.10-1.1-default/source’
→ Kernel output path: ‘/lib/modules/3.7.10-1.1-default/build’
ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the “KBUILD_OUTPUT” or
the “O” KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.

Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.
ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com."
I have no idea what to do. I’ve already tried all the possible guides I’ve been able to google. I’m just a noob user and I ran out of ideas.

Same issue here but everything installed fine…but when i try to start TF2 (steam) i get an error that opengl acceleration is missing.
The strange thing is the driver seems to be installed fine…no error nothing.:’(I tried also the hard way and one click install…

Before installing the hard way' did you zypper in gcc make kernel-devel’?

On 2013-03-15, Vagrant232 <Vagrant232@no-mx.forums.opensuse.org> wrote:
>
> After multiple attempts at installing the NVIDIA driver (tried 3
> different 1-click-installs, “the hard way”, and the method listed on the
> NVIDIA website) I always end up with no graphics acceleration.
> With the 1-click-install, the driver gets installed but I can’t log in
> to GNOME or XBMC. GNOME logs me back out or displays a black screen
> while XBMC logs me back out with the “No openGL acceleration” error. I
> can log in with iceWM and I can open the Nvidia X settings app. It seems
> to be functional and it does indeed detect my graphics card.
> If I attempt to install it manually, I end up with the following error:
> “nvidia-installer log file ‘/var/log/nvidia-installer.log’
> creation time: Fri Mar 15 13:13:15 2013
> installer version: 310.32
>
> PATH: /usr/bin:/bin:/usr/sbin:/sbin
>
> nvidia-installer command line:
> ./nvidia-installer
>
> Using: nvidia-installer ncurses user interface
> → License accepted.
> → Installing NVIDIA driver version 310.32.
> → Running distribution scripts
> executing: ‘/usr/lib/nvidia/pre-install’…
> → done.
> → Performing CC sanity check with CC=“cc”.
> → Performing CC version check with CC=“cc”.
> → Kernel source path: ‘/lib/modules/3.7.10-1.1-default/source’
> → Kernel output path: ‘/lib/modules/3.7.10-1.1-default/build’
> ERROR: If you are using a Linux 2.4 kernel, please make sure
> you either have configured kernel sources matching your
> kernel or the correct set of kernel headers installed
> on your system.
>
> If you are using a Linux 2.6 kernel, please make sure
> you have configured kernel sources matching your kernel
> installed on your system. If you specified a separate
> output directory using either the “KBUILD_OUTPUT” or
> the “O” KBUILD parameter, make sure to specify this
> directory with the SYSOUT environment variable or with
> the equivalent nvidia-installer command line option.
>
> Depending on where and how the kernel sources (or the
> kernel headers) were installed, you may need to specify
> their location with the SYSSRC environment variable or
> the equivalent nvidia-installer command line option.
> ERROR: Installation has failed. Please see the file
> ‘/var/log/nvidia-installer.log’ for details. You may find suggestions
> on fixing installation problems in the README available on the Linux
> driver download page at www.nvidia.com.”
> I have no idea what to do. I’ve already tried all the possible guides
> I’ve been able to google. I’m just a noob user and I ran out of ideas.
>
>

And please, to make the computer output you post readable to others, post it between CODE tags. You get them by clicking on the # button in the toolbar above the posteditor.

Yeah I did. As a matter of fact I just tried installing them again just to make sure that I did install them and they were already at the most recent version so I definitely did install them.

I can’t seem to be able to edit the post anymore but I’ll remember that for the next time

On 2013-03-15, Vagrant232 <Vagrant232@no-mx.forums.opensuse.org> wrote:
>
> flymail;2535502 Wrote:
>> Before installing the hard way' did you zypper in gcc make
>> kernel-devel’?
> Yeah I did. As a matter of fact I just tried installing them again just
> to make sure that I did install them and they were already at the most
> recent version so I definitely did install them.
>
Hmmm. I’ve done this over a hundred times and the hard way has always worked for me in the end. I think it might be
helpful if you tell us which graphics card you have and output the results of (as superuser) `lspci | grep NVIDIA’ in
code tags. And are you 100% sure there is nothing wrong with the card?

The Card is ASUS ENGT430 with 1 GB DDR3 ram and I’m absolutely sure that the card is working fine because I’ve been able to log in and play graphics-intensive games on Windows (I’m on Windows right now) and a few days ago I was using Ubuntu 12.10 which had the same NVIDIA driver installed (310.32). I’ll post the results of the command in 25 mins as soon as I’m able to reboot.

On 2013-03-15, Vagrant232 <Vagrant232@no-mx.forums.opensuse.org> wrote:
>
> After multiple attempts at installing the NVIDIA driver (tried 3
> different 1-click-installs, “the hard way”, and the method listed on the
<SNIP>
> installer version: 310.32

… have you tried the latest driver (i.e. 310.40) from Nvidia’s website?

I have the exact same problem as the OP only I’ve also tried the 313.26 drivers to no avail. In all the times installing the hard way when I was running Tumbleweed I’ve had no problems.

01:00.0 VGA compatible controller: NVIDIA Corporation GT216 [GeForce GT 330M] (rev a2)

The error you’re getting can be caused because you need a symbolic link to the header file for certain nvidia drivers, like 310.32. Here is the way to create the symbolic link:

cd /lib/modules/3.7.1-16-desktop/build/include/

( a 'ls' should show no file or directory named linux and two directories
called generated and config and a 'ls generated/uapi/linux' should show
version.h )

ln -s generated/uapi/linux

After that a 'ls linux' should show version.h

You must be root to do this. Substitute the kernel you are currently running for the one in the example, since 12.3 doesn’t use 3.7.1-16. You also need the kernel-source package.

I’m using the 310.40 driver at 2560 x 1440 resolution and GL acceleration is working.

No, you cannot change your post after about 5 mins (to correct some typos). We do not like people changing posts later, because then the whole thread discussion can become very illogical.

And in any case, adding CODE tags afterwards is rather useless, the content should be copied/pasted directly from the terminal emulator window in between the tags. When you change it now all the white space layout is already lost.

lspci | grep NVIDIA
VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 430] (rev a1)
Audio device: NVIDIA Corproration GF108 High Definition Audio Controller (rev a1)

Hi,

I encountered the same in openSUSE 12.3
I noticed it as soon as I open blender and nvidia is not present
in the blender preferences. I tried 3 drivers fom nvidia it install without problem.
When I tried to run glxgears it was not installed by default so I tried installing it and it
carried some mesa packages with it. after the glxgear install I tried and it run gracefully
and to my surprise when I run blender, nvidia is in the preferences and blender is back to
working normally. Additionally if I use kde before the glxgear installation it always throw
me back to xrender. My point is there could be some missing packages in the standard installation
for video acceleration which was pickup by the glxgear when I install it. Just my thought:\

To add I have not encountered anything so far except for the above.

On 2013-03-15, Vagrant232 <Vagrant232@no-mx.forums.opensuse.org> wrote:
>
> Code:
> --------------------
> lspci | grep NVIDIA
> VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 430] (rev a1)
> Audio device: NVIDIA Corproration GF108 High Definition Audio Controller (rev a1)
>
> --------------------
>
hmmm, looking all the information here, I cannot see an obvious cause of the problem (GNU / Linux + Nvidia Blob - bleh!).

So I wonder if the NVIDIA**.run file completed the installation properly - did it ask whether you want to install the
32bit OpenGL drivers. And does the command `nvidia-xconfig’ do anything from a virtual console at runlevel 3 before
going back to 5?

On 2013-03-15, Vagrant232 <Vagrant232@no-mx.forums.opensuse.org> wrote:
> The Card is ASUS ENGT430 with 1 GB DDR3 ram and I’m absolutely sure
> that the card is working fine because I’ve been able to log in and play
> graphics-intensive games on Windows (I’m on Windows right now) and a few
> days ago I was using Ubuntu 12.10 which had the same NVIDIA driver
> installed (310.32). I’ll post the results of the command in 25 mins as
> soon as I’m able to reboot.

I’m not sure if this is helpful, but James has kindly provided a blog about installing the nvidia driver which you
may find useful:
http://forums.opensuse.org/blogs/jdmcdaniel3/installing-nvidia-video-driver-hard-way-29/

He has even generated his bash script (calls LNVHW) which installs the driver for openSUSE:
http://forums.opensuse.org/blogs/jdmcdaniel3/lnvhw-load-nvidia-driver-hard-way-runlevel-3-version-1-10-32/

I haven’t needed to use it myself, but included in his description are potentially very useful suggestions on what
kernel parameters to change (e.g. nomodeset).

Your suggested method go t me to run the nvidia.run installer in init 3 and I was able to successfully complete the installation. However, the problem of not having any accelerated graphics rendering persists.

Thank you for your interest! I have tried to check for missing gfx packages but they seem to be installed already

The .run file did complete the installation properly and the nvidia-xconfig generates a new xorg.conf file and backs up the previous one in init 3

Is there any indication that nvidia module is loaded? Try:

lsmod | grep nvidia