Bug 3041 - NOUVEAU driver BZflag "Could not set Video Mode"
Summary: NOUVEAU driver BZflag "Could not set Video Mode"
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Anssi Hannula
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-14 10:08 CEST by DariuszSki
Modified: 2011-12-23 16:00 CET (History)
0 users

See Also:
Source RPM: x11-driver-video-nouveau
CVE:
Status comment:


Attachments
Result of cat /var/log/Xorg.0.log (44.79 KB, text/plain)
2011-10-14 10:13 CEST, DariuszSki
Details

Description DariuszSki 2011-10-14 10:08:28 CEST
Description of problem:
When trying to run the game BZflag, the command line says the following error, and refuses to start bBZlag. This was not a problem in the previous version of the kernel (I don't remember if display driver is updated at the same time)..

> bzflag
Could not set Video Mode: Couldn't find matching GLX visual.
Error creating window - Exiting

The current kernel is: 2.6.38.8-desktop-6.mga


Version-Release number of selected component (if applicable):
Nouveau 0.0.16-0.20110303.3.mga1

How reproducible:
Use latest Nouveau driver and attempt to play BZflag
Comment 1 DariuszSki 2011-10-14 10:13:55 CEST
Created attachment 961 [details]
Result of cat /var/log/Xorg.0.log
Comment 2 DariuszSki 2011-10-14 14:47:44 CEST
Also affecting start of Google Earth, refuses to start.

> googleearth
Xlib:  extension "GLX" missing on display ":0".
Google Earth has caught signal 11.
Manuel Hiebel 2011-10-16 00:36:39 CEST

Assignee: bugsquad => anssi.hannula
Source RPM: nouvaeu 0.0.16-0.20110303.3.mga1 => x11-driver-video-nouveau

Comment 3 Anssi Hannula 2011-12-16 05:02:15 CET
You are trying to use 'nouveau' driver with the proprietary NVIDIA OpenGL libraries, which doesn't work. You probably manually altered the driver in xorg.conf or did something else that caused it to be altered.

To fix your driver installation, go to Graphics Card settings in Mageia Control Center and go to the Graphics card selection, select your card (usually already autoselected), and go through the wizard (and answer 'no' if it asks to use the proprietary driver if you want to use 'nouveau' instead).

Alternatively, you can
b) use "update-alternatives --config gl_conf" and then select the GL/standard.conf option, and then run "ldconfig -X", or
c) remove x11-driver-video-nvidia* and x11-driver-video-fglrx packages
Comment 4 DariuszSki 2011-12-18 13:00:57 CET
I tried your suggestion, a combination of both b and c managed to get the 3D stuff working with the Nvidia driver, but still have graphics problem... which is in a separate bug so won't bother with in this one ( https://bugs.mageia.org/show_bug.cgi?id=1649 ).

I ran the suggestion "b", but that did not fix the problem. I then ran "c" BUT also removed the Nvidia driver at the same time, on reboot I selected the proprietary driver (Nvidia), which installed that, on reboot I got 3D working again so BZflag ran without problem. Google Earth however has another problem to look into..


Version mismatch detected between the NVIDIA libGL.so
and libnvidia-glcore.so. shared libraries (libGL.so version:
275.28; libnvidia-glcore.so. version: 275.09.07).
Please try reinstalling the NVIDIA driver.Google Earth has caught signal 11.
Comment 5 DariuszSki 2011-12-23 15:59:26 CET
The new graphics card / driver combination solved the problems I've been having. Maybe there was a bug introduced by Nvidia driver or build? No matter how many times the driver for the old card was removed then re-installed, the problem kept on recurring.

The new card was recognised on booting, and new driver automatically downloaded and installed. and all 3D stuff worked (compiz, bzflag, Brutal Chess etc.)

As for the Google Earth bug that occurred linked to the driver problem, I think this was down to either the Nouveau of Nvidia driver adding bits of libraries. While the new card did not solve the issue, I eventually found a posting about it from an Ubuntu forum ( http://ubuntuforums.org/showpost.php?p=9209147&postcount=3 )

Run the following commands as root in Konsole got Google Earth working:

cd /usr/lib/
rm libGL.*
Comment 6 DariuszSki 2011-12-23 16:00:22 CET
Am closing bug report.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.