Hi,

I tried the gallium branch on my ps3. Unfortunately, all opengl programs 
segfault. I'm not sure, but I remember that SDK 3.0 (on fc8) was not supported 
- is this still the case?

Here is some strace output I got running glxinfo:

...
spu_create(0xffea437c, 0, 0x1c0, 0, 0x8000) = 4
openat(4, "mem", O_RDWR)                = 5
mmap(NULL, 262144, PROT_READ|PROT_WRITE, MAP_SHARED, 5, 0) = 0xf7cc4000
close(5)                                = 0
openat(4, "object-id", O_RDWR)          = 5
write(5, "0xff3be00\0", 10)             = 10
close(5)                                = 0
mmap(NULL, 8388608, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xf74c4000
mprotect(0xf74c4000, 4096, PROT_NONE)   = 0
clone(Process 6092 attached
child_stack=0xf7cc3030, 
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
 parent_tidptr=0xf7cc34f8, tls=0xf7cca930, child_tidptr=0xf7cc34f8) = 6092
[pid  6091] spu_create(0xffea437c, 0, 0x1c0, 0, 0x8000 <unfinished ...>
[pid  6092] get_robust_list(0xf7cc3500, 0xc, 0xf7cc34f8) = 0
[pid  6092] openat(4, "regs", O_RDWR)   = 5
[pid  6092] write(5, 
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\377\360\0\0\0\0\0\0\0\0\0\0\0\0"..., 
2048) = 2048
[pid  6092] close(5)                    = 0
[pid  6091] <... spu_create resumed> )  = 5
[pid  6092] spu_run(0x4, 0xf7cc2d18, 0xf7cc2d1c, 0, 0xffffffc0 <unfinished ...>
[pid  6091] openat(5, "mem", O_RDWR <unfinished ...>
[pid  6092] <... spu_run resumed> )     = ? ERESTARTSYS (To be restarted)
[pid  6091] <... openat resumed> )      = 6
[pid  6092] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 6092 detached
mmap(NULL, 262144, PROT_READ|PROT_WRITE, MAP_SHARED, 6, 0) = 0xf7484000
+++ killed by SIGSEGV +++

sometimes, it creates some more threads, but crashes later in a random fashion:

[pid  6693] get_robust_list(0xf7cc3500, 0xc, 0xf7cc34f8) = 0
[pid  6693] openat(4, "regs", O_RDWR <unfinished ...>
[pid  6692] spu_create(0xffedd37c, 0, 0x1c0, 0, 0x8000) = 6
[pid  6692] openat(6, "mem", O_RDWR)    = 7
[pid  6692] mmap(NULL, 262144, PROT_READ|PROT_WRITE, MAP_SHARED, 7, 0) = 
0xf7484000
[pid  6692] close(7)                    = 0
[pid  6693] <... openat resumed> )      = 5
[pid  6693] write(5, 
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\3\377\360\0\0\0\0\0\0\0\0\0\0\0\0"..., 
2048) = 2048
[pid  6693] close(5)                    = 0
[pid  6693] spu_run(0x4, 0xf7cc2d18, 0xf7cc2d1c, 0, 0xffffffc0 <unfinished ...>
[pid  6692] openat(6, "object-id", O_RDWR) = 5
[pid  6692] write(5, "0xff3be00\0", 10) = 10
[pid  6692] close(5)                    = 0
[pid  6692] mmap(NULL, 8388608, PROT_READ|PROT_WRITE|PROT_EXEC, 
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6c84000
[pid  6692] mprotect(0xf6c84000, 4096, PROT_NONE <unfinished ...>
[pid  6693] <... spu_run resumed> )     = ? ERESTARTSYS (To be restarted)
[pid  6692] <... mprotect resumed> )    = 0
[pid  6692] clone(Process 6694 attached
child_stack=0xf7483030, 
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
 parent_tidptr=0xf74834f8, tls=0xf748a930, child_tidptr=0xf74834f8) = 6694
[pid  6692] spu_create(0xffedd37c, 0, 0x1c0, 0, 0x8000 <unfinished ...>
[pid  6693] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 6693 detached
[pid  6692] <... spu_create resumed> )  = 5
[pid  6694] +++ killed by SIGSEGV +++
+++ killed by SIGSEGV +++

Is there something I can do about it?

Marvin

P.S. the examples from the SDK run ok.

-- 
Marc Dietrich                                          [EMAIL PROTECTED]

Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games! 
http://games.entertainment.web.de/de/entertainment/games/free

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to