Gマイナー志向

とくに意味はありません

PLAYSTATION 3でSecond Lifeを動かす大作戦 その1

まず結論:まだ動いてません。

実はここ最近、GPLソースコードが公開されたSecond Life Viewer(slviewer)PLAYSTATION 3(+Gentoo Linux)で動かそうと、試行錯誤してました。

現時点のステータス
コンパイルは通った。が、Direct Renderingが有効でないためか、解像度480iだからか、動いてくれない。

起動しようとした時点でエラーとなる。800x600x32でウィンドウを作ろうとして失敗するようだ。色々試したが解決できず。ここらへん疎いもんで。

実行時のログは以下の通り。


# secondlife
2007-02-19T11:38:46Z INFO: GTK LLFilePicker::reset()
2007-02-19T11:38:47Z INFO: QUEUED THREAD STARTING
2007-02-19T11:38:47Z INFO: QUEUED THREAD STARTING
2007-02-19T11:38:47Z INFO: QUEUED THREAD STARTING
2007-02-19T11:38:47Z INFO: QUEUED THREAD STARTING
2007-02-19T11:38:47Z INFO: Saving settings to file:
/root/.secondlife/user_settings/settings_default.xml
2007-02-19T11:38:47Z INFO: Checking marker file for lock...
2007-02-19T11:38:47Z INFO: Marker file isn't locked.
2007-02-19T11:38:47Z INFO: Checking marker file for lock...
2007-02-19T11:38:47Z INFO: Marker file created.
2007-02-19T11:38:47Z INFO: Removing message.log
2007-02-19T11:38:47Z INFO: Exiting init_marker_file().
2007-02-19T11:38:47Z INFO: Opening debug file
/root/.secondlife/logs/debug_info.log
2007-02-19T11:38:47Z INFO: Second Life version 1.13.3
2007-02-19T11:38:47Z INFO: Local time: 2007-02-19T20:38:47 JST
2007-02-19T11:38:47Z INFO: CPU info:
2007-02-19T11:38:47Z processor : 0 cpu : Cell Broadband Engine, altivec
supported clock : 3192.000000MHz revision : 5.1 (pvr 0070 0501)
processor : 1 cpu : Cell Broadband Engine, altivec supported clock :
3192.000000MHz revision : 5.1 (pvr 0070 0501) timebase : 79800000
machine : PS3PF 2007-02-19T11:38:47Z INFO: Memory info:
2007-02-19T11:38:47Z MemTotal: 201360 kB MemFree: 90156 kB Buffers:
6604 kB Cached: 69488 kB SwapCached: 0 kB Active: 60932 kB Inactive:
31616 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 201360 kB LowFree:
90156 kB SwapTotal: 1694712 kB SwapFree: 1694712 kB Dirty: 212 kB
Writeback: 0 kB Mapped: 37256 kB Slab: 15924 kB CommitLimit: 1795392 kB
Committed_AS: 60876 kB PageTables: 1064 kB VmallocTotal: 8589934592 kB
VmallocUsed: 1096 kB VmallocChunk: 8589933152 kB 2007-02-19T11:38:47Z
INFO: OS info: Linux 2.6.16-ps3 #1 SMP Mon Jan 1 16:04:25 UTC 2007
ppc64
2007-02-19T11:38:47Z INFO: Loading feature tables.
2007-02-19T11:38:47Z INFO: Applying Feature Mask: RAM256MB
2007-02-19T11:38:47Z INFO: Feature mask RAM256MB Feature
RenderObjectBump Mask: 0 Now: 0
2007-02-19T11:38:47Z INFO: Applying Feature Mask: CPUSlow
2007-02-19T11:38:47Z INFO: Feature mask CPUSlow Feature
RenderParticleCount Mask: 1024 Now: 1024
2007-02-19T11:38:47Z INFO: Loading configuration file
/root/.secondlife/user_settings/settings.xml
2007-02-19T11:38:47Z WARNING: Couldn't open file
/root/.secondlife/user_settings/settings.xml
2007-02-19T11:38:47Z WARNING: LLXmlTree parse failed. Line 1: Couldn't
open file /root/.secondlife/user_settings/settings.xml
2007-02-19T11:38:47Z WARNING: Unable to open control file
/root/.secondlife/user_settings/settings.xml
2007-02-19T11:38:47Z INFO: Failed to load settings from
/root/.secondlife/user_settings/settings.xml
2007-02-19T11:38:47Z INFO: Loading legacy settings from
/root/.secondlife/user_settings/settings.ini
2007-02-19T11:38:47Z INFO: LLControlGroup::loadFromFile unable to open.
2007-02-19T11:38:47Z WARNING: Couldn't open file
/root/.secondlife/user_settings/crash_settings.xml
2007-02-19T11:38:47Z WARNING: LLXmlTree parse failed. Line 1: Couldn't
open file /root/.secondlife/user_settings/crash_settings.xml
2007-02-19T11:38:47Z WARNING: Unable to open control file
/root/.secondlife/user_settings/crash_settings.xml
2007-02-19T11:38:47Z INFO: Loading art table from
/usr/share/games/secondlife/app_settings/viewerart.xml
2007-02-19T11:38:47Z INFO: Loading art table from
/usr/share/games/secondlife/skins/textures/textures.xml
2007-02-19T11:38:47Z INFO: Loading base colors from
/usr/share/games/secondlife/app_settings/colors_base.xml
2007-02-19T11:38:47Z INFO: Loading user colors from
/usr/share/games/secondlife/app_settings/colors.xml
2007-02-19T11:38:47Z INFO: Failed to load user colors from
/usr/share/games/secondlife/app_settings/colors.xml
2007-02-19T11:38:47Z INFO: Loading legacy colors from
/usr/share/games/secondlife/app_settings/colors.ini
2007-02-19T11:38:47Z INFO: Purging Texture Cache...
2007-02-19T11:38:47Z WARNING: ll_apr_file_remove failed on file:
/root/.secondlife/cache/texture.cache
2007-02-19T11:38:47Z WARNING: ll_apr_file_remove failed on file:
/root/.secondlife/cache/textures/texture.entries
2007-02-19T11:38:47Z INFO: Purging Cache...
2007-02-19T11:38:47Z INFO: TEXTURE CACHE: Headers: 139810 Textures
size: 320 MB
2007-02-19T11:38:47Z INFO: VFS CACHE SIZE: 100 MB
2007-02-19T11:38:47Z WARNING: Bad or missing vfx index file
/root/.secondlife/cache/index.db2.x.1
2007-02-19T11:38:47Z WARNING: Removing old vfs data file
/root/.secondlife/cache/data.db2.x.1
2007-02-19T11:38:47Z INFO: Removing old vfs and re-sizing
2007-02-19T11:38:47Z INFO: Pre-sized VFS data file to 104857600 bytes
2007-02-19T11:38:47Z INFO: VFS: Using index file
/root/.secondlife/cache/index.db2.x.1 and data file
/root/.secondlife/cache/data.db2.x.1
2007-02-19T11:38:47Z INFO: VFS: Using index file
/usr/share/games/secondlife/app_settings/static_index.db2 and data file
/usr/share/games/secondlife/app_settings/static_data.db2
2007-02-19T11:38:47Z INFO: Initializing window...
2007-02-19T11:38:47Z INFO: createContext, fullscreen=0 size=800x600
2007-02-19T11:38:47Z INFO: Compiled against SDL 1.2.11
2007-02-19T11:38:47Z INFO: Running against SDL 1.2.11
2007-02-19T11:38:47Z INFO: createContext: creating window 800x600x32
2007-02-19T11:38:47Z WARNING: createContext: window creation failure.
SDL: Couldn't find matching GLX visual
2007-02-19T11:38:47Z INFO: destroyContext begins
2007-02-19T11:38:47Z INFO: shutdownGL begins
2007-02-19T11:38:47Z INFO: SDL_QuitSS/VID begins
2007-02-19T11:38:47Z INFO: GTK Initialized.
2007-02-19T11:38:47Z INFO: - Compiled against GTK version 2.10.6
2007-02-19T11:38:47Z INFO: - Running against GTK version 2.10.6
(:6049): Gtk-WARNING **: gtk_disable_setlocale() must be
called before gtk_init()
2007-02-19T11:38:47Z INFO: Creating a dialog because we're in windowed
mode and GTK is happy.
2007-02-19T11:38:49Z INFO: Skipping quitCursors: mWindow already gone.
2007-02-19T11:38:49Z INFO: destroyContext begins
2007-02-19T11:38:49Z INFO: shutdownGL begins
2007-02-19T11:38:49Z INFO: SDL_QuitSS/VID begins
2007-02-19T11:38:49Z WARNING: LLWindowManager::create() : Error
creating window.
2007-02-19T11:38:49Z WARNING: Unable to create window, be sure screen
is set at 32-bit color and your graphics driver is configured
correctly. See README-linux.txt for further information.
2007-02-19T11:38:49Z INFO: remove_marker_file()
*********************************************************
This is an ALPHA release of the Second Life linux client.
Thank you for testing!
You can visit the Linux Client Alpha Testers forum at:
http://forums.secondlife.com/forumdisplay.php?forumid=263
Please see README-linux.txt before reporting problems.

#Gentoo-ppc64で聞いたところ、OSMesaでいけるんでない?との情報が。うーむ、でもこれソース書き換えないとダメなんじゃない?それは辛いよ。


動作させるためのebuildはこちらにおいてあります