Go Back   Champions of Regnum > English > Technical Support > Linux

Linux Technical issues under Linux platform

Reply
 
Thread Tools Display Modes
Old 03-28-2010, 07:50 PM   #1
Ertial
Master
 
Ertial's Avatar
 
Join Date: May 2007
Location: Friesland, the Netherlands
Posts: 298
Ertial is on a distinguished road
Default Regnum crashes on Ubuntu Lucid amd64 with Nvidia drivers

When I tried to launch Regnum Online on an up-to-date version of Ubuntu 10.04 Lucid Lynx Beta 1 my system suddenly started to run very slow, the starting music was played twice and Regnum Online crashed after a while, which gave me back the control over my system.

It seems that some libGL problems caused the crash. This isn't very unlikely considering the fact that libGL has been moved around a lot in Ubuntu's current development release (Lucid).

I'm running the closed Nvidia drivers as provided from the repository:
Code:
qense@nott:~/regnum/live$ LANGUAGE=C apt-cache policy nvidia-current
nvidia-current:
  Installed: 195.36.15-0ubuntu1
  Candidate: 195.36.15-0ubuntu1
  Version table:
 *** 195.36.15-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ lucid/restricted Packages
        100 /var/lib/dpkg/status
The contents of the backtrace:
Code:
./game(_ZN10ClientBase14save_backtraceEv+0x5f) [0x6339cf]
./game(_ZN10ClientBase12client_crashEi+0x8) [0x633de8]
/lib/libc.so.6(+0x33af0) [0x7fe317926af0]
/usr/lib/nvidia-current/libGLcore.so.1(+0x8ac61e) [0x7fe3160e861e]
/usr/lib/nvidia-current/libGLcore.so.1(+0xa67ae1) [0x7fe3162a3ae1]
/usr/lib/nvidia-current/libGLcore.so.1(+0x938315) [0x7fe316174315]
/usr/lib/nvidia-current/libGLcore.so.1(+0x936923) [0x7fe316172923]
./game(_ZN8Engine3D12RenderizerGL16render_primitiveEjjj+0x91) [0xb7cbb1]
./game(_ZN8Engine3D12RenderizerGL11render_listERNS_17RenderOpListViewsE+0x6b4) [0xb8e034]
./game(_ZN3GUI12CameraWidget12render_sceneEv+0x33d) [0x95e86d]
./game(_ZN3GUI8Drawable6renderEv+0x1c5) [0x90cd25]
./game(_ZN3GUI6Widget11draw_signalENS_9AreaCoordE+0x130) [0x945430]
./game(_ZN3GUI6Widget11draw_signalENS_9AreaCoordE+0x176) [0x945476]
__________________

Last edited by Ertial; 03-29-2010 at 01:03 PM. Reason: Adding Nvidia driver details
Ertial no ha iniciado sesión   Reply With Quote
Old 03-29-2010, 07:26 AM   #2
Anpu
Count
 
Anpu's Avatar
 
Join Date: Jun 2007
Posts: 1,186
Anpu will become famous soon enough
Default

Hm, I m running Lucid too, and had no problems with Regnum so far. Though I get almost same crash log on Amun, when I zoom out camera.
I have ATI with Mesa/DRI.
__________________

Inquisition
Anpu no ha iniciado sesión   Reply With Quote
Old 03-29-2010, 09:27 AM   #3
Arafails
Baron
 
Arafails's Avatar
 
Join Date: Nov 2007
Location: Not where it looks like, to either of us.
Posts: 706
Arafails will become famous soon enough
Default

Well nVidia drivers completely replace the OpenGL driver stack, sharing no code with Mesa, so...

At any rate, I'd suggest the OP could try using an alternate version of the nVidia drivers if possible.
__________________
If you can't detect sarcasm yourself, please pay attention when it's pointed out to you.
Arathael :: Wyrd Sceote :: Gwn M'gerSoul Taker, Imperial Guard of Ignis
Arafails no ha iniciado sesión   Reply With Quote
Old 03-29-2010, 01:03 PM   #4
Ertial
Master
 
Ertial's Avatar
 
Join Date: May 2007
Location: Friesland, the Netherlands
Posts: 298
Ertial is on a distinguished road
Default

Yes, this is most likely limited to the Nvidia drivers. They underwent a major restructure in Lucid and the way libGL was provided has also changed.
I suspect that NGD needs to adapt Regnum in order to work with this new way.
__________________
Ertial no ha iniciado sesión   Reply With Quote
Old 04-01-2010, 09:11 PM   #5
Znurre
Marquis
 
Join Date: Jan 2007
Location: RA
Posts: 1,897
Znurre will become famous soon enoughZnurre will become famous soon enough
Default

Well, NVidia has its own libGL, so whatever Ubuntu did to the OpenGL stack (as Ara pointed out) it should not affect the NVidia drivers.

Code:
[znurre@Znurre ~]$ pacman -Ql nvidia-utils | grep libGL
nvidia-utils /usr/lib/libGL.so
nvidia-utils /usr/lib/libGL.so.1
nvidia-utils /usr/lib/libGL.so.195.36.15
nvidia-utils /usr/lib/libGLcore.so.1
nvidia-utils /usr/lib/libGLcore.so.195.36.15
Code:
[znurre@Znurre ~]$ pacman -Q nvidia
nvidia 195.36.15
I am using the latest NVidia drivers on ArchLinux, which is very bleeding edge, and have no problems whatsoever.
The problem does not lie in NGD or the latest NVidia drivers.
__________________
Winning a fight is not what makes you a good player, it's how you do it.
http://home.znur.re/screenshot%20201...2011_39_37.jpg
Znurre no ha iniciado sesión   Reply With Quote
Old 04-01-2010, 09:16 PM   #6
Ertial
Master
 
Ertial's Avatar
 
Join Date: May 2007
Location: Friesland, the Netherlands
Posts: 298
Ertial is on a distinguished road
Default

We've changed the way the OpenGL implementation was named, where it was located and how it was linked a few times when the package layout for the closed drivers was changed.

It could have gone wrong there.

Code:
dpkg --listfiles nvidia-current
/.
/etc
/etc/modprobe.d
/etc/OpenCL
/etc/OpenCL/vendors
/etc/OpenCL/vendors/nvidia.icd
/etc/xdg
/etc/xdg/autostart
/usr
/usr/lib
/usr/lib/nvidia-current
/usr/lib/nvidia-current/tls
/usr/lib/nvidia-current/tls/libnvidia-tls.so.195.36.15
/usr/lib/nvidia-current/bin
/usr/lib/nvidia-current/bin/nvidia-bug-report.sh
/usr/lib/nvidia-current/bin/nvidia-xconfig
/usr/lib/nvidia-current/bin/nvidia-smi
/usr/lib/nvidia-current/xorg
/usr/lib/nvidia-current/xorg/nvidia_drv.so
/usr/lib/nvidia-current/xorg/libglx.so.195.36.15
/usr/lib/nvidia-current/libGL.so.195.36.15
/usr/lib/nvidia-current/libGLcore.so.195.36.15
/usr/lib/nvidia-current/libnvidia-cfg.so.195.36.15
/usr/lib/nvidia-current/libnvidia-compiler.so.195.36.15
/usr/lib/nvidia-current/libnvidia-tls.so.195.36.15
/usr/lib/nvidia-current/libcuda.so.195.36.15
/usr/lib/nvidia-current/libOpenCL.so.1.0.0
/usr/lib/nvidia-current/vdpau
/usr/lib/nvidia-current/vdpau/libvdpau_nvidia.so.195.36.15
/usr/lib/nvidia-current/libXvMCNVIDIA.so.195.36.15
/usr/lib/nvidia-current/ld.so.conf
/usr/lib/nvidia-current/modprobe.conf
/usr/lib/nvidia-current/XvMCConfig
/usr/lib/xorg
/usr/lib/xorg/modules
/usr/lib/xorg/modules/drivers
/usr/lib/xorg/modules/extensions
/usr/lib/vdpau
/usr/bin
/usr/include
/usr/include/GL
/usr/include/CL
/usr/include/cuda
/usr/lib32
/usr/lib32/nvidia-current
/usr/lib32/nvidia-current/vdpau
/usr/lib32/nvidia-current/vdpau/libvdpau_nvidia.so.195.36.15
/usr/lib32/nvidia-current/tls
/usr/lib32/nvidia-current/tls/libnvidia-tls.so.195.36.15
/usr/lib32/nvidia-current/libGL.so.195.36.15
/usr/lib32/nvidia-current/libGLcore.so.195.36.15
/usr/lib32/nvidia-current/libnvidia-cfg.so.195.36.15
/usr/lib32/nvidia-current/libnvidia-compiler.so.195.36.15
/usr/lib32/nvidia-current/libnvidia-tls.so.195.36.15
/usr/lib32/nvidia-current/libcuda.so.195.36.15
/usr/lib32/nvidia-current/libXvMCNVIDIA.so.195.36.15
/usr/lib32/nvidia-current/libOpenCL.so.1.0.0
/usr/lib32/vdpau
/usr/share
/usr/share/nvidia-current
/usr/share/nvidia-current/ubuntu-nvidia-settings.desktop
/usr/share/nvidia-current/nvidia-autostart.desktop
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/alt-nvidia-current-xconfig.1.gz
/usr/share/man/man1/alt-nvidia-current-settings.1.gz
/usr/share/man/man1/alt-nvidia-current-smi.1.gz
/usr/share/pixmaps
/usr/share/pixmaps/nvidia-current-settings.png
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/nvidia-current.override
/usr/share/doc
/usr/share/doc/nvidia-current
/usr/share/doc/nvidia-current/README.txt.gz
/usr/share/doc/nvidia-current/README.Debian
/usr/share/doc/nvidia-current/copyright
/usr/share/doc/nvidia-current/examples
/usr/share/doc/nvidia-current/examples/XF86Config.sample.gz
/usr/share/doc/nvidia-current/NVIDIA_Changelog.gz
/usr/share/doc/nvidia-current/changelog.Debian.gz
/usr/src
/usr/src/nvidia-current-195.36.15
/usr/src/nvidia-current-195.36.15/patches
/usr/src/nvidia-current-195.36.15/patches/drm_agp_memory-2.6.31.patch
/usr/src/nvidia-current-195.36.15/patches/fall_back_on_mtrr_if_no_pat.patch
/usr/src/nvidia-current-195.36.15/patches/nvidia-rt-compat.patch
/usr/src/nvidia-current-195.36.15/patches/rt_preempt_31.patch
/usr/src/nvidia-current-195.36.15/dkms.conf
/usr/src/nvidia-current-195.36.15/conftest.sh
/usr/src/nvidia-current-195.36.15/cpuopsys.h
/usr/src/nvidia-current-195.36.15/gcc-version-check.c
/usr/src/nvidia-current-195.36.15/Makefile
/usr/src/nvidia-current-195.36.15/makefile
/usr/src/nvidia-current-195.36.15/Makefile.kbuild
/usr/src/nvidia-current-195.36.15/Makefile.nvidia
/usr/src/nvidia-current-195.36.15/nv-i2c.c
/usr/src/nvidia-current-195.36.15/nv-kernel.o
/usr/src/nvidia-current-195.36.15/nv-linux.h
/usr/src/nvidia-current-195.36.15/nv-memdbg.h
/usr/src/nvidia-current-195.36.15/nv-misc.h
/usr/src/nvidia-current-195.36.15/nv-reg.h
/usr/src/nvidia-current-195.36.15/nv-vm.c
/usr/src/nvidia-current-195.36.15/nv-vm.h
/usr/src/nvidia-current-195.36.15/nv-xen.h
/usr/src/nvidia-current-195.36.15/nv.c
/usr/src/nvidia-current-195.36.15/nv.h
/usr/src/nvidia-current-195.36.15/nv_gvi.c
/usr/src/nvidia-current-195.36.15/nvacpi.c
/usr/src/nvidia-current-195.36.15/nvacpitypes.h
/usr/src/nvidia-current-195.36.15/nvreadme.h
/usr/src/nvidia-current-195.36.15/nvtypes.h
/usr/src/nvidia-current-195.36.15/os-agp.c
/usr/src/nvidia-current-195.36.15/os-agp.h
/usr/src/nvidia-current-195.36.15/os-interface.c
/usr/src/nvidia-current-195.36.15/os-interface.h
/usr/src/nvidia-current-195.36.15/os-registry.c
/usr/src/nvidia-current-195.36.15/README
/usr/src/nvidia-current-195.36.15/rmil.h
/usr/src/nvidia-current-195.36.15/rmretval.h
/usr/src/nvidia-current-195.36.15/xapi-sdk.h
/usr/lib/nvidia-current/xorg/libglx.so
/usr/lib/nvidia-current/vdpau/libvdpau_nvidia.so
/usr/lib/nvidia-current/vdpau/libvdpau_nvidia.so.1
/usr/lib/nvidia-current/libnvidia-compiler.so
/usr/lib/nvidia-current/libnvidia-compiler.so.1
/usr/lib/nvidia-current/libOpenCL.so
/usr/lib/nvidia-current/libOpenCL.so.1
/usr/lib/nvidia-current/libOpenCL.so.1.0
/usr/lib/nvidia-current/libnvidia-tls.so.1
/usr/lib/nvidia-current/libcuda.so.1
/usr/lib/nvidia-current/libcuda.so
/usr/lib/nvidia-current/libXvMCNVIDIA_dynamic.so.1
/usr/lib/nvidia-current/libXvMCNVIDIA.so.1
/usr/lib/nvidia-current/libXvMCNVIDIA.so
/usr/lib/nvidia-current/libnvidia-cfg.so
/usr/lib/nvidia-current/libnvidia-cfg.so.1
/usr/lib/nvidia-current/libGLcore.so.1
/usr/lib/nvidia-current/libGL.so
/usr/lib/nvidia-current/libGL.so.1
/usr/lib/libOpenCL.so
/usr/lib32/nvidia-current/libnvidia-compiler.so
/usr/lib32/nvidia-current/libnvidia-compiler.so.1
/usr/lib32/nvidia-current/libOpenCL.so
/usr/lib32/nvidia-current/libOpenCL.so.1
/usr/lib32/nvidia-current/libOpenCL.so.1.0
/usr/lib32/nvidia-current/libnvidia-tls.so.1
/usr/lib32/nvidia-current/vdpau/libvdpau_nvidia.so
/usr/lib32/nvidia-current/vdpau/libvdpau_nvidia.so.1
/usr/lib32/nvidia-current/libcuda.so.1
/usr/lib32/nvidia-current/libcuda.so
/usr/lib32/nvidia-current/libXvMCNVIDIA_dynamic.so.1
/usr/lib32/nvidia-current/libXvMCNVIDIA.so.1
/usr/lib32/nvidia-current/libXvMCNVIDIA.so
/usr/lib32/nvidia-current/libnvidia-cfg.so
/usr/lib32/nvidia-current/libnvidia-cfg.so.1
/usr/lib32/nvidia-current/libGLcore.so.1
/usr/lib32/nvidia-current/libGL.so
/usr/lib32/nvidia-current/libGL.so.1
/usr/lib32/libOpenCL.so
__________________
Ertial no ha iniciado sesión   Reply With Quote
Old 04-02-2010, 12:10 PM   #7
Ertial
Master
 
Ertial's Avatar
 
Join Date: May 2007
Location: Friesland, the Netherlands
Posts: 298
Ertial is on a distinguished road
Default

The game seems to work now, I don't know what made it work again, but it does.
__________________
Ertial no ha iniciado sesión   Reply With Quote
Old 04-02-2010, 04:09 PM   #8
Raideniza
Apprentice
 
Raideniza's Avatar
 
Join Date: Dec 2009
Location: Алсиус
Posts: 85
Raideniza is on a distinguished road
Default

Quote:
Originally Posted by Ertial View Post
The game seems to work now, I don't know what made it work again, but it does.
Maybe you've changed the way the OpenGL implementation was named, again.
Raideniza no ha iniciado sesión   Reply With Quote
Old 04-02-2010, 04:18 PM   #9
Ertial
Master
 
Ertial's Avatar
 
Join Date: May 2007
Location: Friesland, the Netherlands
Posts: 298
Ertial is on a distinguished road
Default

Quote:
Originally Posted by Raideniza View Post
Maybe you've changed the way the OpenGL implementation was named, again.
No, there was no update for the 'nvidia-current' package.
__________________
Ertial no ha iniciado sesión   Reply With Quote
Old 04-03-2010, 09:26 AM   #10
Arafails
Baron
 
Arafails's Avatar
 
Join Date: Nov 2007
Location: Not where it looks like, to either of us.
Posts: 706
Arafails will become famous soon enough
Default

I find it incredibly hard to believe the idea that changing the location of some libraries would cause a crash in those libraries.
In libraries referencing them, maybe, if they were not in the search path properly, but libGLcore.so is pretty danged low-level.
__________________
If you can't detect sarcasm yourself, please pay attention when it's pointed out to you.
Arathael :: Wyrd Sceote :: Gwn M'gerSoul Taker, Imperial Guard of Ignis
Arafails no ha iniciado sesión   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:36 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
NGD Studios 2002-2024 © All rights reserved