Author Topic: Problems with OpenGL in Ubuntu Feisty  (Read 1277 times)

drewfus

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
Problems with OpenGL in Ubuntu Feisty
« on: June 13, 2007, 05:52:34 am »
I keep getting an Indirect Rendering error. When I try to launch the updater the video flickers like crazy. I tried this from another post "..Open up the file [PS Directory]/data/config/r3dopengl.cfg in a text editor, and find this line:
Video.OpenGL.FontCache.UseMultiTexturing = yes" and it at least displays in english now instead of flickering Japanese. I get the errors:

:~/PlaneShift$ ./psclient
DEBUG: Sound System Software Renderer Initializing...
  Indirect rendering may indicate a flawed OpenGL setup if you run on a local
  X server.

planeshift.application.client:
  PlaneShift Crystal Blue
  This game uses Crystal Space Engine created by Jorrit and others
  1.1dev [Unix-x86-GCC]
LOG_ANY flag deactivated with no filter.
LOG_WEATHER flag deactivated with no filter.
LOG_SPAWN flag deactivated with no filter.
LOG_CELPERSIST flag deactivated with no filter.
LOG_PAWS flag deactivated with no filter.
LOG_GROUP flag deactivated with no filter.
LOG_CHEAT flag deactivated with no filter.
LOG_LINMOVE flag deactivated with no filter.
LOG_SPELLS flag deactivated with no filter.
LOG_NEWCHAR flag deactivated with no filter.
LOG_SUPERCLIENT flag deactivated with no filter.
LOG_EXCHANGES flag deactivated with no filter.
LOG_ADMIN flag deactivated with no filter.
LOG_STARTUP flag deactivated with no filter.
LOG_CHARACTER flag deactivated with no filter.
LOG_CONNECTIONS flag deactivated with no filter.
LOG_CHAT flag deactivated with no filter.
LOG_NET flag deactivated with no filter.
LOG_LOAD flag deactivated with no filter.
LOG_NPC flag deactivated with no filter.
LOG_TRADE flag deactivated with no filter.
LOG_SOUND flag deactivated with no filter.
LOG_COMBAT flag deactivated with no filter.
LOG_SKILLXP flag deactivated with no filter.
LOG_QUESTS flag deactivated with no filter.
LOG_SCRIPT flag deactivated with no filter.
LOG_MARRIAGE flag deactivated with no filter.
LOG_MESSAGES flag deactivated with no filter.
LOG_CACHE flag deactivated with no filter.
LOG_PETS flag deactivated with no filter.
LOG_USER flag deactivated with no filter.
LOG_LOOT flag deactivated with no filter.
LOG_DUELS flag deactivated with no filter.
LOG_TRIBES flag deactivated with no filter.
All LOGS are off.
Mounting skin: /this/art/skins/elves.zip
Mounting skin: /planeshift/art/skins/base/client_base.zip
Skipping 'ButtonTutorial' because it's already loaded
  psEngine initialized.
Using fontsize 16 for resolution 1024x768
psEngine destroyed.
Segmentation fault (core dumped)

Any suggestions? I may have not searched hard enough in the threads but I'm stumped.

Thank you.


Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
Re: Problems with OpenGL in Ubuntu Feisty
« Reply #1 on: June 13, 2007, 05:56:32 am »
First lets see if you actually have direct rendering enabled on your computer. 

Open a terminal   -  Applications ---> Accessories ---> Terminal

Enter the following command:

Code: [Select]
glxinfo | grep direct
And paste the output of that command as a reply in this thread.  We'll go from there once we have that information.

blitzgren

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
Re: Problems with OpenGL in Ubuntu Feisty
« Reply #2 on: June 17, 2007, 07:23:49 am »
I seem to be having this problem as well. The output of that command is:
blitzgren@hServ-v2:~$ glxinfo | grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
Re: Problems with OpenGL in Ubuntu Feisty
« Reply #3 on: June 18, 2007, 10:19:37 pm »
This means hardware 3d drivers are not installed. What is your video card?

drewfus

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
Re: Problems with OpenGL in Ubuntu Feisty
« Reply #4 on: June 20, 2007, 04:57:45 am »
mine isn't enabled either, i  use nvidia

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
Re: Problems with OpenGL in Ubuntu Feisty
« Reply #5 on: June 20, 2007, 06:30:24 am »
To install the correct driver, click on the System Menu and select Administration.  Inside that should be a "Restricted Drivers Manager" somewhere in the list.  Click on that.  Mine looks like this:



Make sure to checkbox and enable the driver for your card.  If you have an ati card there will be an option for that instead of your nvidia option.  Once its enabled and installed (will take a bit to apply) you can use CTRL + ALT + BACKSPACE to restart X without restarting the computer.  This way you can change to the new video driver quickly without a reboot.

Also, if you have a GeForce4 videocard be warned as it may not work.  Nvidia doesn't support that card well and you may end up with a black screen.  Its worth googling around to see what other people have come up with as solutions for this problem, but afaik it only affects the geforce4 series.










bilbous

  • Guest
Re: Problems with OpenGL in Ubuntu Feisty
« Reply #6 on: July 02, 2007, 05:22:41 am »
Having looked at some of this lately I've come to the conclusion this is only going to get worse. The last version of the nvidia proprietary driver that works without problem for my chipset is the 8776 version. Nvidia seems to have settled on a three track driver system: the current driver and two strains of legacy drivers. Unfortunately for me the 8776 version is two releases back from the middle driver (96xx) which gives me that black screen. You can tell it is not going to work because the nvidia splash screen appearing when x is loading had a black background instead of the normal white. It works fine for some OGL applications and not at all for others as can be seen looking at the OGL screensavers. It may be possible to fix by adding an option to the xorg.conf file:
Quote
Option "AllowGLXWithComposite" "true"<< to the device-section in /etc/X11/xorg.conf.
but I am not certain yet. My Fedora partition is in that non-functional state now, my Ubuntu is not currently bootable, I am going to test this anyway and report if it fixes the problem. If it works in one it should work in another.

Edit: adding the option did nothing apparent, I'll have to fiddle with it some more later. :detective: :@#\
« Last Edit: July 02, 2007, 06:19:09 am by bilbous »