Author Topic: Problems with GLX visual  (Read 761 times)

Cthulhu

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Problems with GLX visual
« on: May 09, 2003, 01:33:00 pm »
Hi everybody,

sorry to come up with an issue I guess the support people have to deal with quite often, but well - I have looked over the forums, checked the FAQs for PS and CS, googled quite a while and yet have not come to a solution. So, maybe you are able to help with this.

Each time I start up the game (OpenGL, btw) I get an error message: \"Cannot use preferred GLX visual - Generic visual will be used.\"
What does it actually mean? I guess it is not properly detecting my OpenGL drivers or something. There were some problems during their installation that I thought I had solved, but I dont know the Linux driver system too well, so I thougt I\'d better ask.

The game itself is very slow, which I guess is anothe sign of running in software, but if I cange to SW manually (the error message does not show up then) I notice a slight change to the worse in grahics quality. So maybe it is just not recognizing parts... ah, heck, I just don\'t know :)

Other problems are not present, although I suggest you should add something to the installing guides for linux that took me quite a while to figure out: CS _requires_ libpng-1.2.4 and libmng-1.0.4. No other version is functional (for png there is 1.2.5 out now, mng don\'t know) as it is not recognized during the installation.

Well, back to the issue, these are my specs:
- Intel Pentium III @ 998 mhz
- 256 mb of SDRAM
- GeForce 2 GTS
- Seagate Disk, 40 gb, 5400 rpm
The rest of the hardware is nothing special (network etc.), but I guess you can see the level the computer is at.

Now for the software:
- Running Linux Slackware 9.0, Kernel 2.4.20 (no DRI, perhaps that?)
- Standard Slack 9.0 versions, nothing updated IIRC:
  - X 4.3.0
  - gcc 3.2.3
  - glibc 2.3.1
  - etc.
- the working libpng and libmng files, installed especially for PS, problems with that?
- newest emu10k1 driver
- the Nvidia-1.0-4363 graphics driver, built from source WITH IGNORE_CC_MISMATCH set (it was simply not recognizing compiler versions properly... for what reason whatsoever)
- quite a few other things, but nothing I guess would interfere with PS

Well, I hope this info is sufficient and there is an easy fix for this.
Thanks in advance,
David
« Last Edit: May 09, 2003, 03:02:43 pm by Cthulhu »

Atanor

  • Hydlaa Resident
  • *
  • Posts: 181
    • View Profile
(No subject)
« Reply #1 on: May 09, 2003, 10:02:32 pm »
\"Cannot use preferred GLX visual - Generic visual will be used.\" Hmm it happens to me too but the game will run anyway. I think the game is slow for everyone, especially for poeple wiht a little GeForce 2

hook

  • Veteran
  • *
  • Posts: 1088
    • View Profile
    • Hook's Humble Homepage
(No subject)
« Reply #2 on: May 13, 2003, 11:38:22 am »
Quote
Originally posted by Atanor
\"Cannot use preferred GLX visual - Generic visual will be used.\" Hmm it happens to me too but the game will run anyway. I think the game is slow for everyone, especially for poeple wiht a little GeForce 2

i get this too, but in my previous install it went ok

yea, the game \"runs\" ...it only lacks about a inch and a half at the bottom and it\'s REALLY laggy

...in my previous install it went completely smoothly :(

...any idea? (nvidia geforce2mx)
:emerald: The Treecastle *will* stand !!! :emerald:

in-game name: Seeln

Atanor

  • Hydlaa Resident
  • *
  • Posts: 181
    • View Profile
(No subject)
« Reply #3 on: May 13, 2003, 06:53:39 pm »
we should look at CS config files... i think we can make it work there.

Cthulhu

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #4 on: May 13, 2003, 10:08:04 pm »
An addition: my card seems to be recognized properly, it even has special config files for the GeForce series in my conf dir.
So this does not seem to be the problem - but what else could it be? A problem talking to the driver, perhaps it does expect DRI? Some experts in here?

/n

[Edit: Negative... it carries them by default, seems I was a little too quick in posting.]
« Last Edit: May 13, 2003, 10:10:38 pm by Cthulhu »

Atanor

  • Hydlaa Resident
  • *
  • Posts: 181
    • View Profile
(No subject)
« Reply #5 on: May 13, 2003, 10:13:58 pm »
let me check...

DRI is not enabled here.... but i can\'t restart X now... can you enable DRI on yours and see what happens ?

Cthulhu

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
(No subject)
« Reply #6 on: May 13, 2003, 10:32:09 pm »
Sorry, but not possible - the DRI doesen\'t have any GF support and thus it would not be affected very much by switching it on. Insted, Nvidia has written its own, proprietary interface, which is supposed to work just as good. But then, I don\'t know the system all too well, as I am a newbie, and just made a suggestion about something I thought would possibly interfere...  basically just to get a statement that this doesen\'t change anything at all from someone who uses DRI.

/c

PS: Also, ATM I am too lazy to recompile my kernel :)
PPS: As far as I understand the system: it first loads the generic ogl driver and then the module tries to determine wether it has to use 3dFX or NvGf specific extensions, right? And if it is not able to, it just switches back to generic driver. This would explain the enormous loss in performance, as the GF has quite a set of specific options.
« Last Edit: May 13, 2003, 10:32:50 pm by Cthulhu »

Atanor

  • Hydlaa Resident
  • *
  • Posts: 181
    • View Profile
(No subject)
« Reply #7 on: May 13, 2003, 10:35:18 pm »
You could be right... Last time I checked it was working on my bro\'s comp who\'s using the same card than me. I will check his config files...