Problmens connected with Ubuntu 9.10, mono, Tao, SDL, OpenGL, Radeon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
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 "libtaoframewor
It looks like it has problem with native SDL:
mono --debug FERI-bomberman.exe
** (FERI-bomberman
** (FERI-bomberman
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/
#2 0x081a3658 in ?? ()
#3 0x00b0780e in start_thread () from /lib/tls/
#4 0x005997ee in clone () from /lib/tls/
Thread 3 (Thread 0x763b70 (LWP 21536)):
#0 0x00a5c422 in __kernel_vsyscall ()
#1 0x00b0df75 in sem_wait@@GLIBC_2.1 ()
from /lib/tls/
#2 0x0812bb29 in ?? ()
#3 0x0814f96c in ?? ()
#4 0x081bf9f2 in ?? ()
#5 0x081de055 in ?? ()
#6 0x00b0780e in start_thread () from /lib/tls/
#7 0x005997ee in clone () from /lib/tls/
Thread 2 (Thread 0x1a4fb70 (LWP 21537)):
#0 0x00a5c422 in __kernel_vsyscall ()
#1 0x00b0f466 in nanosleep () from /lib/tls/
#2 0x009bdf47 in SDL_Delay () from /usr/lib/
#3 0x009bdf94 in ?? () from /usr/lib/
#4 0x00970a6e in ?? () from /usr/lib/
#5 0x009bad2d in ?? () from /usr/lib/
#6 0x00b0780e in start_thread () from /lib/tls/
#7 0x005997ee in clone () from /lib/tls/
Thread 1 (Thread 0x6466f0 (LWP 21532)):
#0 0x00a5c422 in __kernel_vsyscall ()
#1 0x00b0ec8b in read () from /lib/tls/
#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/
If I disenable "libtaoframewor
mono FERI-bomberman.exe
** (FERI-bomberman
Assembly: Tao.DevIl (assemblyref_
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/
** (FERI-bomberman
** (FERI-bomberman
Unhandled Exception: System.
File name: 'Tao.DevIl, Version=1.6.8.3, Culture=neutral, PublicKeyToken=
at Microsoft.
at FERI_bomberman.
at FERI_bomberman.
I think the problem is this one:
System.
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
- libtaoframework
- libtaoframework
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=
ProcEnviron:
LANG=sl_SI.UTF-8
SHELL=/bin/bash
ProcVersionSign
RelatedPackageV
xserver-xorg 1:7.4+3ubuntu5
libgl1-mesa-glx 7.6.0-1ubuntu2
libdrm2 2.4.14-1ubuntu1
xserver-
xserver-
SourcePackage: xorg
Uname: Linux 2.6.31-11-generic i686
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/
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.
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-
dmi.product.name: hp Compaq nc6000 (DE646AV)
dmi.product.
dmi.sys.vendor: Hewlett-Packard
fglrx: Not loaded
system:
distro: Ubuntu
architecture: i686kernel: 2.6.31-11-generic
I have forgotten to paste likns of working game (NVIDIA): www.youtube. com/watch? v=KoP1hzcEATA
http://
And the "broken" graphics on 9.04 (ATI) www.youtube. com/watch? v=T4sfrA1lVDg
http://