Author Topic: 3d graphics, glx and intel problems  (Read 1987 times)

vikkilea

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
3d graphics, glx and intel problems
« on: July 21, 2006, 10:17:36 pm »
I've looked around everywhere and I can't get the game running

I've got kubuntu 6.06

I've installed the game from CVS

it installed fine.

The error messages I get are:

From running pssetup:
WARNING: could not load plugin 'crystalspace.graphics3d.opengl'
WARNING: could not load plugin 'crystalspace.graphic.image.io.multiplexer'
No 3D driver!
No image loader. Loading images will fail.
WARNING: could not load plugin 'crystalspace.utilities.reporter'
WARNING: could not load plugin 'crystalspace.utilities.stdrep'
ERROR: No 3d driver (iGraphics3D) plugin!

From running psclient:
WARNING: could not load plugin 'crystalspace.graphics3d.opengl'
WARNING: could not load plugin 'crystalspace.sndsys.renderer.software'
WARNING: could not load plugin 'crystalspace.sndsys.element.loader'
WARNING: could not load plugin 'crystalspace.graphic.image.io.multiplexer'
No 3D driver!
No image loader. Loading images will fail.
WARNING: could not load plugin 'crystalspace.sndsys.manager'
WARNING: could not load plugin 'crystalspace.utilities.reporter'
WARNING: could not load plugin 'crystalspace.utilities.stdrep'
ERROR: No 3d driver (iGraphics3D) plugin!

From running glxinfo without nvidia-glx installed is the same as with nvidia-glx installed and enabled:
name of display: :0.0
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
0x21 24 tc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
0x22 24 dc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None

My graphics card is an Intel Corporation 82852/855GM Integrated Graphics Device and so isn't made by nvidia.
Apparantly, 3d accelleration is enabled in the kernel, and I have tried looking at all this and found this to be true, and that it's all there. Yet i still get stupid errors.

I've tried most things. I was just wondering if anyone on here has got the same graphics card and if there is the slightest chance I could get any help that I havent already found through google. I would really appreciate it because I really want to play this game.

Thanks for any comments. I'll post my xorg.conf if you think I should.

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
Re: 3d graphics, glx and intel problems
« Reply #1 on: July 22, 2006, 04:46:52 am »
It appears that something is wrong with the driver.  Can you post the contents of the file "/etc/X11/xorg.conf "  ?

It'll help us out a bit. :D

vikkilea

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Re: 3d graphics, glx and intel problems
« Reply #2 on: July 22, 2006, 12:12:01 pm »
sure thing;

Quote
Section "Files"
   FontPath   "/usr/share/X11/fonts/misc"
   FontPath   "/usr/share/X11/fonts/cyrillic"
   FontPath   "/usr/share/X11/fonts/100dpi/:unscaled"
   FontPath   "/usr/share/X11/fonts/75dpi/:unscaled"
   FontPath   "/usr/share/X11/fonts/Type1"
   FontPath   "/usr/share/X11/fonts/100dpi"
   FontPath   "/usr/share/X11/fonts/75dpi"
   # path to defoma fonts
   FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
   Load   "i2c"
   Load   "bitmap"
   Load   "ddc"
   Load   "dri"
   Load   "extmod"
   Load   "freetype"
   Load   "glx"
   Load   "int10"
   Load   "type1"
   Load   "vbe"
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "kbd"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "pc105"
   Option      "XkbLayout"   "gb"
EndSection

Section "InputDevice"
   Identifier   "Configured Mouse"
   Driver      "mouse"
   Option      "CorePointer"
   Option      "Device"      "/dev/input/mice"
   Option      "Protocol"      "ExplorerPS/2"
   Option      "ZAxisMapping"      "4 5"
   Option      "Emulate3Buttons"   "true"
EndSection

Section "InputDevice"
   Identifier   "Synaptics Touchpad"
   Driver      "synaptics"
   Option      "SendCoreEvents"   "true"
   Option      "Device"      "/dev/psaux"
   Option      "Protocol"      "auto-dev"
   Option      "HorizScrollDelta"   "0"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "Device"
   Identifier   "Intel Corporation 82852/855GM Integrated Graphics Device"
   Driver      "i810"
   BusID      "PCI:0:2:0"
EndSection

Section "Monitor"
   Identifier   "Generic Monitor"
   Option      "DPMS"
   HorizSync   28-64
   VertRefresh   43-60
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Device      "Intel Corporation 82852/855GM Integrated Graphics Device"
   Monitor      "Generic Monitor"
   DefaultDepth   24
   SubSection "Display"
      Depth      1
      Modes      "1280x800"
   EndSubSection
   SubSection "Display"
      Depth      4
      Modes      "1280x800"
   EndSubSection
   SubSection "Display"
      Depth      8
      Modes      "1280x800"
   EndSubSection
   SubSection "Display"
      Depth      15
      Modes      "1280x800"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes      "1280x800"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes      "1280x800"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Default Screen"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"
   InputDevice     "stylus" "SendCoreEvents"
   InputDevice     "cursor" "SendCoreEvents"
   InputDevice     "eraser" "SendCoreEvents"
   InputDevice   "Synaptics Touchpad"
EndSection

Section "DRI"
   Mode   0666
EndSection

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
Re: 3d graphics, glx and intel problems
« Reply #3 on: July 22, 2006, 08:06:32 pm »
OK here is what I want you to try (write this out because you won't be able to use it as a reference)

Restart your computer.  Usuall in ubuntu and kubunt you are either presented with a list of kernels to choose from at bootup or a message that says "hit escape to load grub menu"
If you see the 2nd one, just hit escape and it will bring a menu. When it comes up select the first option that includes the word (recovery mode) at the end of the line.  This will boot you into a text prompt.  First I want you t o do this just in case:

Code: [Select]
sudo apt-get remove --purge nvidia-glx
once that finishes I want you to remove you intel driver as well in order to reinstall it.

Code: [Select]
sudo apt-get install --reinstall xserver-xorg-driver-i810
and reboot.  Once you are done with that reboot your machine. 
Code: [Select]
sudo reboot
Let your pc boot up normally and once you are logged in open a konsole and enter
Code: [Select]
glxinfo
If the driver is working correctly you should NOT get any messages that look like this:
Quote
Error: couldn't find RGB GLX visual

You can also try running
Code: [Select]
glxgears to see if you can get any 3d app to work.  That is a basic 3d test utility.  IF all this doesn't resolve the issue reboot using the same procedure above into recovery mode but replace the --reinstall command with these two (warning only last resort)

Code: [Select]
sudo apt-get remove --purge xserver-xorg-driver-i810
then reinstall it:

Code: [Select]
sudo apt-get install xserver-xorg-driver-i810

vikkilea

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Re: 3d graphics, glx and intel problems
« Reply #4 on: July 23, 2006, 12:08:17 am »
Alright, thanks, I see what you're doing here. It makes sense.

I'll try it tomorrow, and report what happens.

vikkilea

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Re: 3d graphics, glx and intel problems
« Reply #5 on: October 13, 2006, 01:44:56 am »
Hello I'm back after months of putting this off. I finally fixed the driver. and ran from cvs. I'm now getting problems with actually running the thing, I get this error:

vikki@vikki-laptop:/opt/planeshift_cvs/planeshift$ ./pssetup
WARNING: could not load plugin 'crystalspace.graphics3d.opengl'
WARNING: could not load plugin 'crystalspace.graphic.image.io.multiplexer'
No 3D driver!
No image loader. Loading images will fail.
WARNING: could not load plugin 'crystalspace.utilities.reporter'
WARNING: could not load plugin 'crystalspace.utilities.stdrep'
ERROR: No 3d driver (iGraphics3D) plugin!

this error is all over the internet, and all over this forums, but noone seems to have a proper solution to it. Any half-solutions are to do with nividia graphics cards anyway. I unpacked the nvidia libs that were needed as recommended at the top of this tutorial: http://vaalnor.mine.nu/cvs.htm. My graphics driver is installed correctly because other games work.

thanks in advance.

Rolenun

  • Hydlaa Resident
  • *
  • Posts: 52
    • View Profile
Re: 3d graphics, glx and intel problems
« Reply #6 on: October 13, 2006, 05:01:27 am »
This is an error with a lot of different solutions. I would suggest going to #planeshift-build on freenode.net using an irc client. You should be able to get realtime help to troubleshoot the problem.

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
Re: 3d graphics, glx and intel problems
« Reply #7 on: October 15, 2006, 02:33:57 am »
First I no longer maintain that guide though it should mostly work still.  I have more guides here: http://vaalnor.mine.nu/psdoc

That said it looks to me to be a dependancy issue.  When you run ./configure   in the cs directory could you post the results of that?  An easy way to do this is to redirect it to a text file you can open and copy/paste later:

Code: [Select]
./configure >> log.log
or something similar should do it.  My GUESS is a missing X11 header file or development library but I can't be sure till I see the output.

Edit: If you want to have a quick reference for things you might need at compile time look here: http://vaalnor.mine.nu/psdoc/?q=node/4  i've tried to explain it in as much detail as possible

As Prodded cough* cough*  :  But the best solution is to come to irc.freenode.net and join channel #planeshift-build - we can take you through the process and diagnose problems much faster like that.
« Last Edit: October 16, 2006, 06:43:41 pm by Induane »

vikkilea

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Re: 3d graphics, glx and intel problems
« Reply #8 on: October 20, 2006, 01:06:43 am »
The logfile is here.

A bunch of files, called things like libxx86* etc wern't installed, so I'm doing them now.

what needs recompiling after theyre installed? all of it?

Also, It's hard for me to get onto IRC because I have a hidden hostname because I'm using a crappy university connection.

EDIT: I installed all the xx86 things and recomplied everything. Now I have everything installed that was on that list that was linked to, and i still get the same error message. I didn't redownload the game, i just redid all the compile and jam commands for each of the parts, cal3d, cs, and planeshift.
« Last Edit: October 20, 2006, 02:06:19 am by vikkilea »

Rolenun

  • Hydlaa Resident
  • *
  • Posts: 52
    • View Profile
Re: 3d graphics, glx and intel problems
« Reply #9 on: October 20, 2006, 02:28:07 am »
Using your log file prompts me to point out the following:

checking if pkg-config recognizes cal3d... no
checking for cal3d-config... no
checking for libcal3d... no

Which version of cal3d are you building and when you make cal3d, does it build correctly or are you getting errors during the build?
Please note: Not all of the dependencies listed in your log file are required for your OS.

sylmael

  • Traveller
  • *
  • Posts: 17
    • View Profile
    • Cyclic-Medias
Re: 3d graphics, glx and intel problems
« Reply #10 on: October 21, 2006, 11:55:54 am »
My girlfriend is running an i810 graphic card and couldn't use any 3D applications, we resolved that in deinstalling the Nvidia drivers that she installed by error. Check in Synaptic if you have any nVidia drivers installed and deinstalled them.

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
Re: 3d graphics, glx and intel problems
« Reply #11 on: October 21, 2006, 10:58:23 pm »
Per usual doublecheck that 3d is even working. 

Code: [Select]
glxinfo | grep direct
Should return:

Code: [Select]
Direct Rendering: Yes
If it does not then there are other issues to consider.  BTW what compile guide are you using?  Also I'd still suggest comming to irc.  We can help you better there.

kaiserbert

  • Guest
Re: 3d graphics, glx and intel problems
« Reply #12 on: October 30, 2006, 11:33:28 pm »
Go to your OS Forum and solve the Problem with your graphics Card there.

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
Re: 3d graphics, glx and intel problems
« Reply #13 on: November 01, 2006, 03:59:28 am »
Same response on each thread kaiserbert? Thats not particularly helpful.  The linux forums aren't so active that we don't have time to try to help!

I ran across this not too long ago and it may help.  I already linked to it in another thread but I'll post the link again.


Note: This driver is for IntelĀ® 82830M, 82845G, 82852GM, 82855GM, 82865G, and 82915G/GM graphics controller-based products only.