Public bug reported:

Hi!

I am working on project mono.xna, which ports microsoft .NET game framework to 
Mono.
We are using Tao framework for C# bindings of OpenGL, SDL and others.

Mono.Xna games are working PROPERLY on Ubuntu 9.04 AND Nvidia graphics
cards. But problems are ATI Radeon cards.

I have Radeon 9600m (RV350) on my laptop.


I still don't know where is the bug. It has to do something with:
- Ubuntu 9.10
- ATI Radeon driver (opensource)
- SDL (tao framework)
- DevIl library (tao framework)


This is log what I get if have "libtaoframework-devil1.6-cil" installed (on 
NVidia it is not requred to work)
It looks like it has problem with native SDL:

        mono --debug FERI-bomberman.exe

        ** (FERI-bomberman.exe:3014): WARNING **: Symbol file
/home/gasper/Projects/FERi Bomberman 1.3.2 (MonoXNA)/FERI-
bomberman/bin/x86/Debug/Microsoft.Xna.Framework.Game.dll.mdb doesn't
match image /home/gasper/Projects/FERi Bomberman 1.3.2 (MonoXNA)/FERI-
bomberman/bin/x86/Debug/Microsoft.Xna.Framework.Game.dll

        ** (FERI-bomberman.exe:3014): WARNING **: Symbol file
/home/gasper/Projects/FERi Bomberman 1.3.2 (MonoXNA)/FERI-
bomberman/bin/x86/Debug/Microsoft.Xna.Framework.dll.mdb doesn't match
image /home/gasper/Projects/FERi Bomberman 1.3.2 (MonoXNA)/FERI-
bomberman/bin/x86/Debug/Microsoft.Xna.Framework.dll

        Stacktrace:


        Native stacktrace:

                mono [0x80c8824]
                mono [0x80f4693]
                [0xa5c410]
                [0x87af1]
                [0xfc37fee8]

        Debug info from gdb:

        Cannot access memory at address 0x53e58959
        [Thread debugging using libthread_db enabled]
        [New Thread 0x1a4fb70 (LWP 21537)]
        [New Thread 0x763b70 (LWP 21536)]
        [New Thread 0x798b70 (LWP 21535)]
        0x00a5c422 in __kernel_vsyscall ()
          4 Thread 0x798b70 (LWP 21535)  0x00a5c422 in __kernel_vsyscall ()
          3 Thread 0x763b70 (LWP 21536)  0x00a5c422 in __kernel_vsyscall ()
          2 Thread 0x1a4fb70 (LWP 21537)  0x00a5c422 in __kernel_vsyscall ()
        * 1 Thread 0x6466f0 (LWP 21532)  0x00a5c422 in __kernel_vsyscall ()

        Thread 4 (Thread 0x798b70 (LWP 21535)):
        #0  0x00a5c422 in __kernel_vsyscall ()
        #1  0x00b0f466 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
        #2  0x081a3658 in ?? ()
        #3  0x00b0780e in start_thread () from 
/lib/tls/i686/cmov/libpthread.so.0
        #4  0x005997ee in clone () from /lib/tls/i686/cmov/libc.so.6

        Thread 3 (Thread 0x763b70 (LWP 21536)):
        #0  0x00a5c422 in __kernel_vsyscall ()
        #1  0x00b0df75 in sem_wait@@GLIBC_2.1 ()
           from /lib/tls/i686/cmov/libpthread.so.0
        #2  0x0812bb29 in ?? ()
        #3  0x0814f96c in ?? ()
        #4  0x081bf9f2 in ?? ()
        #5  0x081de055 in ?? ()
        #6  0x00b0780e in start_thread () from 
/lib/tls/i686/cmov/libpthread.so.0
        #7  0x005997ee in clone () from /lib/tls/i686/cmov/libc.so.6

        Thread 2 (Thread 0x1a4fb70 (LWP 21537)):
        #0  0x00a5c422 in __kernel_vsyscall ()
        #1  0x00b0f466 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
        #2  0x009bdf47 in SDL_Delay () from /usr/lib/libSDL-1.2.so.0
        #3  0x009bdf94 in ?? () from /usr/lib/libSDL-1.2.so.0
        #4  0x00970a6e in ?? () from /usr/lib/libSDL-1.2.so.0
        #5  0x009bad2d in ?? () from /usr/lib/libSDL-1.2.so.0
        #6  0x00b0780e in start_thread () from 
/lib/tls/i686/cmov/libpthread.so.0
        #7  0x005997ee in clone () from /lib/tls/i686/cmov/libc.so.6

        Thread 1 (Thread 0x6466f0 (LWP 21532)):
        #0  0x00a5c422 in __kernel_vsyscall ()
        #1  0x00b0ec8b in read () from /lib/tls/i686/cmov/libpthread.so.0
        #2  0x080c89be in ?? ()
        #3  0x080f4693 in ?? ()
        #4  <signal handler called>
        #5  0x00087af1 in ?? ()
        #6  0xfc37fee8 in ?? ()

        =================================================================
        Got a SIGSEGV while executing native code. This usually indicates
        a fatal error in the mono runtime or one of the native libraries 
        used by your application.
        =================================================================

        Aborted (core dumped)


I think problematic is:
#2  0x009bdf47 in SDL_Delay () from /usr/lib/libSDL-1.2.so.0


If I disenable "libtaoframework-devil1.6-cil" I get error:

        mono FERI-bomberman.exe

        ** (FERI-bomberman.exe:11746): WARNING **: The following assembly 
referenced from /home/gasper/Projects/FERi Bomberman 1.3.2 
(MonoXNA)/FERI-bomberman/bin/x86/Debug/Microsoft.Xna.Framework.Game.dll could 
not be loaded:
             Assembly:   Tao.DevIl    (assemblyref_index=4)
             Version:    1.6.8.3
             Public Key: 7ec4053013524957
        The assembly was not found in the Global Assembly Cache, a path listed 
in the MONO_PATH environment variable, or in the location of the executing 
assembly (/home/gasper/Projects/FERi Bomberman 1.3.2 
(MonoXNA)/FERI-bomberman/bin/x86/Debug/).


        ** (FERI-bomberman.exe:11746): WARNING **: Could not load file or 
assembly 'Tao.DevIl, Version=1.6.8.3, Culture=neutral, 
PublicKeyToken=7ec4053013524957' or one of its dependencies.

        ** (FERI-bomberman.exe:11746): WARNING **: Missing method ilInit
in assembly /home/gasper/Projects/FERi Bomberman 1.3.2 (MonoXNA)/FERI-
bomberman/bin/x86/Debug/Microsoft.Xna.Framework.Game.dll, type
Tao.DevIl.Il

        Unhandled Exception: System.IO.FileNotFoundException: Could not load 
file or assembly 'Tao.DevIl, Version=1.6.8.3, Culture=neutral, 
PublicKeyToken=7ec4053013524957' or one of its dependencies.
        File name: 'Tao.DevIl, Version=1.6.8.3, Culture=neutral, 
PublicKeyToken=7ec4053013524957'
          at Microsoft.Xna.Framework.Game..ctor () [0x00000] 
          at FERI_bomberman.Igra1..ctor () [0x00000] 
          at FERI_bomberman.Program.Main (System.String[] args) [0x00000] 


        I think the problem is this one:
        System.IO.FileNotFoundException: Could not load file or assembly 
'Tao.DevIl, Version=1.6.8.3, Culture=neutral, PublicKeyToken=7ec4053013524957' 
or one of its dependencies.


I made some tests with computers. I used VirtualBox too. I if the sistem is run 
on VB I will call it "VB"
I will call my laptop with ATI radeon "ATI", my workstation with Ge-Force 
8600GT "GF". 

machine OS              Virtualbox Option                       Status:
GF:     Ubuntu 9.04:                                            woks fine (se 
the link)
GF:     Ubuntu 9.04:    VB ubuntu 9.10, 3D supported:           Got the error 
above
GF:     Ubuntu 9.04:    VB ubuntu 9.10, 3D NOT supported:       Got the error 
above
GF:     Ubuntu 9.10:                                            Haven't tested.
ATI:    Ubuntu 9.04:                                            Graphics is 
very broken. See the link below.
ATI:    Ubuntu 9.10:                                            Got the error 
above.
ATI:    Ubuntu 9.10:    VB Ubuntu 9.04. 3D supported:           Graphics is 
very broken. (like in the link below)
ATI:    Ubuntu 9.10:    VB Ubuntu 9.04. 3D NOT supported:       Game IS working 
BUT SLOW!

So if I conclude: on 9.04 it has problems with ati driver showing
incorrect, but in 9.10 isnt working at all.

Btw: on ATI and Ubuntu 9.10 other SDL games are working OK!!!
I would like to tell that 3D games are rally working better on 9.10 with radeon 
(thanks to Mesa 7.6)


                        TESTING GAME

I am includeing my game and nedded .dll-s

How to test game. You need to have installed:
- libdevil1c2
- libdevil-dev
- libtaoframework-devil1.6-cil
- libtaoframework-opengl2.1-cil
- libtaoframework-sdl1.2-cil

included files that are needed:
-Tao.DevIL
-Tao.openGL
-Tao.SDL

you just run
mono FERI-bomberman.exe
on 9.04 should be working ok (tested on few computers)

ProblemType: Bug
Architecture: i386
Date: Tue Oct 13 12:49:59 2009
DistroRelease: Ubuntu 9.10
Lsusb:
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 002: ID 0458:003a KYE Systems Corp. (Mouse Systems) 
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Hewlett-Packard hp Compaq nc6000 (DE646AV)
Package: xorg 1:7.4+3ubuntu5
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-11-generic 
root=UUID=08e897f4-a699-400b-b854-2085f9bd9a8c ro quiet splash
ProcEnviron:
 LANG=sl_SI.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.38-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu5
 libgl1-mesa-glx 7.6.0-1ubuntu2
 libdrm2 2.4.14-1ubuntu1
 xserver-xorg-video-intel 2:2.9.0-1ubuntu1
 xserver-xorg-video-ati 1:6.12.99+git20090825.fc74e119-0ubuntu3
SourcePackage: xorg
Uname: Linux 2.6.31-11-generic i686
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
dmi.bios.date: 08/30/2006
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68BDD Ver. F.15
dmi.board.name: 0890
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 8051 Version 1A.19
dmi.chassis.asset.tag: gSedej
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: 
dmi:bvnHewlett-Packard:bvr68BDDVer.F.15:bd08/30/2006:svnHewlett-Packard:pnhpCompaqnc6000(DE646AV):pvrF.15:rvnHewlett-Packard:rn0890:rvr8051Version1A.19:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: hp Compaq nc6000 (DE646AV)
dmi.product.version: F.15
dmi.sys.vendor: Hewlett-Packard
fglrx: Not loaded
system:
 distro:             Ubuntu
 architecture:       i686kernel:             2.6.31-11-generic

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
Problmens connected with Ubuntu 9.10, mono, Tao, SDL, OpenGL, Radeon
https://bugs.launchpad.net/bugs/450263
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to