(04-08-2011, 08:29 PM)gregory Wrote: [ -> ]Hum, actually SDL is inside the GS plugins. Normally we have the same. Actually could you check you have no local modification.
svn status -u 3rdparty/SDL-1.3.0-5387
Anyway I attach my gsdx version no guarantee. Could you re do the trace but with step instead of next at the end to enter the SDL_VideoInit function. ctrx-A to see where you are. Then you can do some next. It is a crazy story, it seems SDL_VideoInit is not executed. Maybe the one in our rpm package try to remove them.
Edit: it you did not understand lots of things, it is normal. Sometimes it could seem easy but actually it is very complex
thanks for the reply.
here the svn status:
Code:
[ai@Mandriva_2010_Spring pcsx2-svn]$ svn status -u 3rdparty/SDL-1.3.0-5387
? 3rdparty/SDL-1.3.0-5387/cmake_install.cmake
? 3rdparty/SDL-1.3.0-5387/CMakeFiles
? 3rdparty/SDL-1.3.0-5387/Makefile
Status against revision: 4557
[ai@Mandriva_2010_Spring pcsx2-svn]$
Btw, do i need to update my pcsx2-svn to the latest and recompile?
right now i'am still using r5404 , not update it since the first time i asked you about this problem in
here
thanks for the attachment, but i cannot use it, different libstdc++, perhaps mine to old
Code:
[ai@Mandriva_2010_Spring plugins]$ ldd libGSdx.so
./libGSdx.so: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by ./libGSdx.so)
linux-gate.so.1 => (0xffffe000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb700a000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb6ff0000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb6ebe000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb6eac000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6dba000)
libm.so.6 => /lib/i686/libm.so.6 (0xb6d94000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6d76000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0xb6d5e000)
libc.so.6 => /lib/i686/libc.so.6 (0xb6c0c000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb6bec000)
libdl.so.2 => /lib/libdl.so.2 (0xb6be8000)
/lib/ld-linux.so.2 (0xb7754000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb6be4000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6bdd000)
My Libstdc
Code:
[ai@Mandriva_2010_Spring bin]$ rpm -qa | grep libstdc++
libstdc++-devel-4.4.3-2mnb2
libstdc++5-3.3.6-4mdv2009.0
libstdc++6-4.4.3-2mnb2
Btw, which deb package that have libstdc++.so.6 version 3.4.14 ?
try googling it, but i got nothing... >.<
Okey I will re trace it,
i don't realy understand, but i will do my best to try again.
and here the result:
setup gdb:
Code:
[ai@Mandriva_2010_Spring bin]$ gdb pcsx2-dbg
GNU gdb (GDB) 7.1-1mdv2010.1 (Mandriva Linux release 2010.1)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-mandriva-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/ai/Game/pcsx2-svn/bin/pcsx2-dbg...done.
(gdb) run
Starting program: /home/ai/Game/pcsx2-svn/bin/pcsx2-dbg
[Thread debugging using libthread_db enabled]
Interface is initializing. Entering Pcsx2App::OnInit!
Applying operating system default language...
Detaching after fork from child process 11628.
Detaching after fork from child process 11629.
Detaching after fork from child process 11630.
Command line parsing...
Command line parsed!
[New Thread 0xb6077b70 (LWP 11631)]
Detaching after fork from child process 11632.
[New Thread 0xb5622b70 (LWP 11633)]
[Thread 0xb5622b70 (LWP 11633) exited]
^C
Program received signal SIGINT, Interrupt.
0xffffe424 in __kernel_vsyscall ()
Missing debug package(s), you should install: SDL12-debug-1.2.14-3mdv2010.2.i586 aalib-debug-1.4.0-0.rc5.19mdv2010.1.i586 atk1.0-debug-1.30.0-1mdv2010.1.i586 cairo-debug-1.9.14-0.2mdv2010.1.i586 directfb-debug-1.4.3-2mdv2010.1.i586 fontconfig-debug-2.8.0-2mdv2010.1.i586 freetype2-debug-2.3.12-1.5mdv2010.1.i586 gcc-debug-4.4.3-2mnb2.i586 glib2.0-debug-2.24.1-1mdv2010.1.i586 glibc-debug-2.11.1-8.2mnb2.i586 gtk+2.0-debug-2.20.1-1mdv2010.1.i586 ia_ora-gnome-debug-1.0.24-1mdv2010.1.i586 jbigkit-debug-2.0-4mdv2010.1.i586 libart_lgpl-debug-2.3.21-1mdv2010.1.i586 libcanberra-debug-0.24-2mdv2010.1.i586 libggi-debug-2.2.2-14mdv2010.1.i586 libgii-debug-1.0.2-13mdv2010.1.i586 libgnomecanvas-debug-2.30.1-1mdv2010.1.i586 libgnomeprint-debug-2.18.7-1mdv2010.1.i586 libgnomeprintui-debug-2.18.5-1mdv2010.1.i586 libice-debug-1.0.6-2mdv2010.1.i586 libjpeg-debug-8a-1mdv2010.1.i586 libogg-debug-1.2.0-1mdv2010.1.i586 libpng-debug-1.2.43-1.1mdv2010.1.i586 libsm-debug-1.1.1-2mdv2010.1.i586 libtiff-debug-3.9.2-2.2mdv2010.1.i586 libtool-debug-2.2.6b-2mdv2010.1.i586 libvorbis-debug-1.3.1-1mdv2010.1.i586 libx11-debug-1.3.3-1mdv2010.1.i586 libxau-debug-1.0.5-2mdv2010.1.i586 libxcb-debug-1.6-1mdv2010.1.i586 libxcomposite-debug-0.4.1-1mdv2010.1.i586 libxcursor-debug-1.1.10-2mdv2010.1.i586 libxdamage-debug-1.1.2-1mdv2010.1.i586 libxdmcp-debug-1.0.3-2mdv2010.1.i586 libxext-debug-1.1.1-2mdv2010.1.i586 libxfixes-debug-4.0.4-1mdv2010.1.i586 libxi-debug-1.3-1mdv2010.1.i586 libxinerama-debug-1.1-1mdv2010.1.i586 libxml2-debug-2.7.7-1.1mdv2010.1.i586 libxrandr-debug-1.3.0-3mdv2010.1.i586 libxrender-debug-0.9.5-2mdv2010.1.i586 libxxf86dga-debug-1.1.1-1mdv2010.1.i586 libxxf86vm-debug-1.1.0-1mdv2010.1.i586 ncurses-debug-5.7-4.20091227.1mdv2010.1.i586 pango-debug-1.28.0-1mdv2010.1.i586 pcre-debug-8.02-1mdv2010.1.i586 pixman-debug-0.18.2-1mdv2010.1.i586 slang-debug-2.2.2-1mdv2010.1.i586 tdb-debug-1.2.1-1mdv2010.1.i586 zlib-debug-1.2.3-15mdv2010.1.i586
(gdb) break SDL_video.c:1112
Breakpoint 1 at 0xb4733e66: file /home/ai/Game/pcsx2-svn/3rdparty/SDL-1.3.0-5387/src/video/SDL_video.c, line 1112.
(gdb) break SDL_VideoInit
Breakpoint 2 at 0xb473280a: file /home/ai/Game/pcsx2-svn/3rdparty/SDL-1.3.0-5387/src/video/SDL_video.c, line 419.
(gdb)
Then run it again, then boot the cd, i got:
Code:
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /home/ai/Game/pcsx2-svn/bin/pcsx2-dbg
[Thread debugging using libthread_db enabled]
Interface is initializing. Entering Pcsx2App::OnInit!
Applying operating system default language...
Detaching after fork from child process 14495.
Detaching after fork from child process 14496.
Detaching after fork from child process 14497.
Command line parsing...
Command line parsed!
[New Thread 0xb6077b70 (LWP 14498)]
Detaching after fork from child process 14499.
[New Thread 0xb5622b70 (LWP 14500)]
[Thread 0xb5622b70 (LWP 14500) exited]
[New Thread 0xb5622b70 (LWP 14506)]
[New Thread 0xaa02bb70 (LWP 14507)]
[Switching to Thread 0xaa02bb70 (LWP 14507)]
Breakpoint 1, SDL_CreateWindow (title=0xa91ded4 "PCSX2", x=100, y=100, w=640, h=480, flags=38)
at /home/ai/Game/pcsx2-svn/3rdparty/SDL-1.3.0-5387/src/video/SDL_video.c:1112
1112 if (!_this) {
Missing debug package(s), you should install: dbus-debug-1.2.24-1mdv2010.1.i586 expat-debug-2.0.1-12mdv2010.1.i586 gvfs-debug-1.6.1-2mdv2010.1.i586 udev-debug-153-5mnb2.i586
(gdb)
Then type command
step
i got:
Code:
(gdb) step
1114 if (SDL_VideoInit(NULL) < 0) {
Press Ctrl-x + A, i got:
Source code /home/ai/Game/pcsx2-svn/3rdparty/SDL-1.3.0-5387/src/video/SDL_video.c
and it point to line 1114 if (SDL_VideoInit(NULL) < 0) {
Then Type command
next, somehow,
File Pull down menu is showup in
Pcsx2,
And after that it's make my KDE3 Desktop Freeze, only can move mouse cursor, then i
Ctrl+Alt+F1 , login in there, then ps ax | grep pcsx2, then kill pcsx2-dbg
now i have control to my desktop.
Here what i got:
Source: /home/ai/Game/pcsx2-svn/3rdparty/SDL-1.3.0-5387/src/video/SDL_video.c
and it point to line 1123 if (flags & SDL_WINDOW_OPENGL) {
Because i have killed the pcsx2-dbg, i quit gdb from here.
(04-09-2011, 04:56 AM)pcsx2fan Wrote: [ -> ]Has anyone ever noticed the Revision Number is always r0 in the linux build of pcsx2 0.9.7?
At r4557, It's "PCSX2 0.9.7.0 (svn) Apr 9 2011" in emulator window title, and "PCSX2 0.9.7.r0 - compiled on Apr 9 2011" printed in console window(Misc -> Show Console).
This problem is also exisiting in official beta r3881.
My Linux is Ubuntu 10.10 x86.
hey you right, i never notice that.