OpenGL problem

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
SunLight
Level 2
Level 2
Posts: 12
Joined: Thu Feb 28, 2008 11:30 am

OpenGL problem

Post by SunLight »

I have "strange" warning in console, when running winecfg:

Code: Select all

err:wgl:X11DRV_WineGL_InitOpenglInfo  couldn't initialize OpenGL, expect problems
This is my new box with GeForce 8600 GT. Wine is 0.9.55, from winehq repositories. I have installed nvidia drivers. Error persist in Ubuntu 7.10 and Debian Etch. I want optimal video acceleration in order to test some games.

Any idea what is wrong ?
Dan Kegel

OpenGL problem

Post by Dan Kegel »

On Fri, Feb 29, 2008 at 1:29 AM, SunLight <[email protected]> wrote:
err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems

This is my new box with GeForce 8600 GT. Wine is 0.9.55,
from winehq repositories. I have installed nvidia drivers.
Error persist in Ubuntu 7.10 and Debian Etch.
Does glxgears work?

Which nvidia driver?

Often OpenGL failures are due to a mismatch between
the nividia driver and the kernel.
Try reinstalling the nvidia driver just to make sure it matches.
- Dan
Sleaka J
Level 2
Level 2
Posts: 29
Joined: Wed Feb 27, 2008 7:43 am

Post by Sleaka J »

Is there a terminal command you can type in to give you the version of the drivers?

(fyi, I know which version I installed, but was just wondering if there was an easy way of checking).
Dan Kegel

OpenGL problem

Post by Dan Kegel »

On Fri, Feb 29, 2008 at 6:36 AM, Sleaka J <[email protected]> wrote:
Is there a terminal command you can type in to give you the version of the drivers?
Yes, it's
cat /proc/driver/nvidia/version
but it won't really help. That won't tell you if
there's a mismatch with your kernel.

This is kind of out of scope for the wine-users mailing list, or at
least beyond my ken.
To get more help, be sure to say exactly how you
installed the nvidia drivers.
- Dan
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Sleaka J wrote:Is there a terminal command you can type in to give you the version of the drivers?

(fyi, I know which version I installed, but was just wondering if there was an easy way of checking).
glxinfo | grep -i version
SunLight
Level 2
Level 2
Posts: 12
Joined: Thu Feb 28, 2008 11:30 am

Post by SunLight »

$ glxgears
Error: glXCreateContext failed
$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86 Kernel Module 169.09 Fri Jan 11 14:38:28 PST 2008
GCC version: gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

Code: Select all

$ glxinfo
name of display: :0.0
Error: glXCreateContext failed
Often OpenGL failures are due to a mismatch between
the nividia driver and the kernel.
Try reinstalling the nvidia driver just to make sure it matches.
I used an magic sidux script to install drivers. It scans card, download latest driver, bekup and configure xorg.conf. Everything so far work perfect - nvidia logo, nvidia-settings, videos.

Code: Select all

deb http://sidux.com/debian/ sid main contrib non-free firmware fix.main fix.contrib fix.non-free

Code: Select all

apt-get update
apt-get install sidux-scripts

Code: Select all

sudo sgfxi
In Ubuntu driver is older and work (at least now). Anyway if sgfxi is the problem I will install driver manually. Just want to be sure it's not something trivial before mess up everything.
This is kind of out of scope for the wine-users mailing list, or at
least beyond my ken.
To get more help, be sure to say exactly how you
installed the nvidia drivers.
Indeed. But glxgears was good point. Now I know what to looking for.
Thanks!

Edit:

I solve it! Just run #sgfxi to rebuild driver. Apparently latest Debian kernel update disrupt driver.
Locked