|
|
|||||||
| Home | Register | Downloads | FAQ | Members List | Calendar | Arcade | Mark Forums Read |
» Less advertising throughout
» Post and participate in discussions
» Network with other forum members
» Free private messaging
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
i bite the dead you
Join Date: Sep 2007
Location: Wisconsin
Posts: 12
|
Vista 64-bit user trying out 64-bit Gentoo Linux
I just downloaded and installed Gentoo on a 30GB HDD last night. Finished X and KDE overnight... I downloaded 0.9.3 to see if I could get any better performance on the linux side... however, I get the following error when I run the ISO: EE Recompiler data reset Bios Version 2.0 ************** rom2 NOT FOUND ************** ************** erom NOT FOUND ************** GIF reset NTSC _openfile /home/jay/pcsx2/games/FINAL_FANTASY_X.iso 0 detected blocksize = 2048 is pen: /home/jay/pcsx2/games/FINAL_FANTASY_X.iso okoffset = 0 blockofs = 24 blocksize = 2048 blocks = 2245200 type = 2 ZeroGS: creating ZeroGS: Only Singlebuffered Visual! ZeroGS: glX-Version 1.2 Segmentation fault I ripped the ISO in Vista, copied it to the Gentoo drive, and ran it from the Gentoo drive. I'm using Linuzappz Iso CDVD 0.6.0 to run the Iso... My friend told me this is a memory error of some flavor, so I was wondering if anyone out there could help? My specs are the same as in my signature, only I'm running the most recent version of Gentoo that is out on the mirrors. I'm using all the default plugins, with default options, except the controller and cd plugins... I have emerged the nvidia-cg-toolkit... I'm using the most current nvidia drivers out in ebuild... If you need anymore info, just ask!
__________________
BIOSTAR TForce4SLI -- AMD Athlon 64 X2 3800+ Manchester Socket 939 -- EVGA GeForce 7600GT 256MB -- COOLMAX CR-550B 550W "140mm Fan" PSU -- WD Caviar SE 250GB 7200RPM SATA System Drive/WD Caviar SE 120GB 7200RPM IDE Data Drive -- Vantec NXP-301 Fan Controller -- Windows Vista Home Premium 64-bit -- 1.5GB PC3200 DDR400 crappy, unpaired memory lol
Last edited by Kaije; September 21st, 2007 at 22:40.. Reason: added more info |
|
|
|
| Advertisement | [Remove Advertisement] | ||
|
|
|
#2 |
|
Mr. Technological
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Aug 2005
Location: Auburn, New York
Posts: 4,428
|
I wish I could help you, however I'm not too familiar with using PCSX2 on Linux although I use Linux sometimes myself. I can only ask if you have all the required libraries/dependencies installed for PCSX2 already? Also you might want to try searching the forums to see if someone else has had the same problem and got it solved. I'm not sure, but I think someone else may of had this problem as well some time ago. |
|
|
|
|
|
#3 |
|
Registered User
Join Date: Sep 2007
Location: US
Posts: 35
|
It segfaults on me too. I had it working on a previous install once, but I can't reproduce that.
|
|
|
|
|
|
#4 |
|
Knowledge is the solution
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2002
Location: Pittsburgh, US. Previously in Mexico City
Posts: 7,160
|
Can you run the BIOS without any trouble? Have you tried running another ISO? Have you tried running from the CD? Have you tried another ISO plugin? Are you running your own compiled PCSX2? The version that is distributed on the page often segfaults on non-fedora distro's In any case, you have better luck running the svn version. There are instructions on how to download it here for Ubuntu, but it should be fairly similar for Gentoo
__________________
|
|
|
|
|
|
#5 |
|
Registered User
![]() ![]() ![]() Join Date: Nov 2006
Location: Canada
Posts: 325
|
the precompiled binaries often segfault. If you havent installed your video drivers and ensured that they work, you might get issues from that as well.
__________________
Core 2 Duo E6750 @ 2.66 -=- Asus P5B -=- 2048 Corsair Platinum @800 4-4-4-15 -=- GeForce 8800 gts 640mb -=- OCZ GameXtreme 850W -=- Soundblaster X-Fi Extreme Gamer -=- Logitech Z-5300 5.1 THX Sound -=- Antec P180 -=- Duel ViewSonic VX924 19" -=- Logitech G5 Gaming Mouse -=- Windows Vista x86, Gentoo Linux 2007 (2.6.22-r5) -=- Saitek P880, Logitech Duel Action Gamepad |
|
|
|
|
|
#6 |
|
Registered User
Join Date: Apr 2007
Location: WNY
Posts: 46
|
One thing that might help diagnosing it (disclaimer: I am not involved in pcsx2 dev, just an experienced Linux user): go to the directory where pcsx2 binary is in the shell. Run gdb ./pcsx2 Type "run" at gdb> prompt. Type "bt" when it crashes... |
|
|
|
|
|
#7 |
|
Registered User
Join Date: Oct 2007
Location: Rome
Posts: 31
|
this is my crash using gdb: Program received signal SIGSEGV, Segmentation fault. [Switching to LWP 15473] 0x00002adb6fc65aa0 in glGenFramebuffersEXT () from //usr/lib64/opengl/nvidia/lib/libGL.so.1 (gdb) bt #0 0x00002adb6fc65aa0 in glGenFramebuffersEXT () from //usr/lib64/opengl/nvidia/lib/libGL.so.1 #1 0x00002aaab51d9d13 in ZeroGS::Create () from plugins/libZeroGSoglr.so.0.96.2 #2 0x00002aaab51a62c4 in GSopen () from plugins/libZeroGSoglr.so.0.96.2 #3 0x000000000042f87c in GSThreadProc () #4 0x000000360e806489 in ?? () from /lib/libpthread.so.0 #5 0x000000360e0d00bd in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () i have nvidia-driver version 100.14.19 that are in testing, and before i tried with a stable version and i get the same message Last edited by Alakhai; October 24th, 2007 at 01:42.. Reason: added version |
|
|
|
|
|
#8 |
|
Registered User
![]() ![]() ![]() Join Date: Nov 2006
Location: Canada
Posts: 325
|
make sure you have added your user to the video group Code:
gpasswd -a <your user> video Code:
emerge nvidia-drivers nvidia-settings nvidia-cg-toolkit modprobe nvidia update-modules ##change driver in xorg.xonf to nvidia and comment out dri eselect opengl set nvidia emerge mesa-progs #this is for glxinfo #ctrl-alt-backspace to restart x-server at this point #verify your direct rendering is working properly glxinfo | grep direct #if it sais "direct rendering: yes" you are successful .My segfaults were almost always from improperly installed drivers in linux.
__________________
Core 2 Duo E6750 @ 2.66 -=- Asus P5B -=- 2048 Corsair Platinum @800 4-4-4-15 -=- GeForce 8800 gts 640mb -=- OCZ GameXtreme 850W -=- Soundblaster X-Fi Extreme Gamer -=- Logitech Z-5300 5.1 THX Sound -=- Antec P180 -=- Duel ViewSonic VX924 19" -=- Logitech G5 Gaming Mouse -=- Windows Vista x86, Gentoo Linux 2007 (2.6.22-r5) -=- Saitek P880, Logitech Duel Action Gamepad |
|
|
|
|
|
#9 |
|
Registered User
Join Date: Sep 2007
Location: US
Posts: 35
|
I've verified that my nvidia driver is properly installed, that I have direct rendering, and that my user is a member of the video group. I've tried both starting FFX and starting my bios with the null cd plugin. Either way after I select "File->Run CD" or "Run->Execute", a black-filled window flashes so briefly you'd miss it if you blink and the window with the menubar vanishes with it. The same bios works fine with 0.9.2 on Windows. Console output: Code:
ZeroGS: creating ZeroGS: Got Doublebuffered Visual! ZeroGS: glX-Version 1.3 ZeroGS: Depth 24 ZeroGS: you have Direct Rendering! Segmentation fault Gentoo 2007.0 ~amd64 Code:
# emerge -p nvidia-drivers nvidia-settings nvidia-cg-toolkit These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-gfx/nvidia-cg-toolkit-1.5.0 [ebuild R ] x11-drivers/nvidia-drivers-100.14.19 [ebuild R ] media-video/nvidia-settings-1.0.20070621 Backtrace: Code:
#0 0x00002b068baefaa0 in glGenFramebuffersEXT () from /usr/lib64/opengl/nvidia/lib/libGL.so.1 #1 0x00002aaaaf546aa3 in ZeroGS::Create () from plugins/libZeroGSoglr.so.0.96.2 #2 0x00002aaaaf5131c4 in GSopen () from plugins/libZeroGSoglr.so.0.96.2 #3 0x0000000000440713 in ?? () #4 0x0000000000418b10 in ?? () #5 0x00002b0687745a09 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #6 0x00002b0687755801 in ?? () from /usr/lib/libgobject-2.0.so.0 #7 0x00002b0687756ab5 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #8 0x00002b0687756c93 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #9 0x00002b0686d0dcfa in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0 #10 0x00002b0686c13920 in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0 #11 0x00002b0686c152e6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #12 0x00002b0686c0767d in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #13 0x00002b0687745a09 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #14 0x00002b068775599f in ?? () from /usr/lib/libgobject-2.0.so.0 #15 0x00002b068775687e in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #16 0x00002b0687756c93 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #17 0x00002b0686d09aae in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #18 0x00002b0686c00a0f in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0 #19 0x00002b0686c01a47 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0 #20 0x00002b06870b08dc in ?? () from /usr/lib/libgdk-x11-2.0.so.0 #21 0x00002b0687db6d72 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #22 0x00002b0687dba06d in ?? () from /usr/lib/libglib-2.0.so.0 #23 0x00002b0687dba356 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #24 0x00002b0686c01d82 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #25 0x0000000000419a6a in ?? () #26 0x00002b06886a8b74 in __libc_start_main () from /lib/libc.so.6 #27 0x0000000000406689 in ?? () #28 0x00007fff242010e8 in ?? () #29 0x0000000000000000 in ?? () Last edited by StringCheesian; October 25th, 2007 at 09:30.. Reason: added emerge output and backtrace |
|
|
|
|
|
#10 |
|
Registered User
![]() ![]() ![]() Join Date: Nov 2006
Location: Canada
Posts: 325
|
I will edit this later when i get home. But just as a test, run Code:
sudo nvidia-settings ). Make sure that you back it up if you made any changes other than to the nvidia stuff.i guess this isnt ubuntu eh? Code:
su #password:************* nvidia-settings
__________________
Core 2 Duo E6750 @ 2.66 -=- Asus P5B -=- 2048 Corsair Platinum @800 4-4-4-15 -=- GeForce 8800 gts 640mb -=- OCZ GameXtreme 850W -=- Soundblaster X-Fi Extreme Gamer -=- Logitech Z-5300 5.1 THX Sound -=- Antec P180 -=- Duel ViewSonic VX924 19" -=- Logitech G5 Gaming Mouse -=- Windows Vista x86, Gentoo Linux 2007 (2.6.22-r5) -=- Saitek P880, Logitech Duel Action Gamepad Last edited by shockertwin; October 25th, 2007 at 19:27.. |
|
|
|
|
|
#11 |
|
Registered User
Join Date: Sep 2007
Location: US
Posts: 35
|
|
|
|
|
|
|
#12 |
|
Registered User
Join Date: Dec 2006
Location: ire
Posts: 48
|
Try the svn, not the ebuild. Code:
emerge subversion cd ~ svn co https://pcsx2.svn.sourceforge.net/svnroot/pcsx2 pcsx2 cd pcsx2 sh build.sh all |
|
|
|
|
|
#13 |
|
Registered User
Join Date: Sep 2007
Location: US
Posts: 35
|
Svn segfaults the same. Compiled with --enable-debug --enable-devbuild, so at least there aren't as many ??'s in the backtrace: Code:
#0 0x00002aafcaf1baa0 in glGenFramebuffersEXT () from /usr/lib64/opengl/nvidia/lib/libGL.so.1 #1 0x00002aaab4c0ed13 in ZeroGS::Create () from plugins/libZeroGSoglr.so.0.96.2 #2 0x00002aaab4bdb2b4 in GSopen () from plugins/libZeroGSoglr.so.0.96.2 #3 0x0000000000458df1 in OpenPlugins (pTitleFilename=0x0) at Plugins.c:559 #4 0x0000000000414d9c in RunExecute (run=1) at GtkGui.c:176 #5 0x0000000000414e9a in OnFile_RunCD (menuitem=0x98eda0, user_data=0x0) at GtkGui.c:209 #6 0x00002aafc724ca09 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #7 0x00002aafc725c801 in ?? () from /usr/lib/libgobject-2.0.so.0 #8 0x00002aafc725dab5 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #9 0x00002aafc725dc93 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #10 0x00002aafc623ecfa in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0 #11 0x00002aafc6144920 in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0 #12 0x00002aafc61462e6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #13 0x00002aafc613867d in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #14 0x00002aafc724ca09 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #15 0x00002aafc725c99f in ?? () from /usr/lib/libgobject-2.0.so.0 #16 0x00002aafc725d87e in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #17 0x00002aafc725dc93 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #18 0x00002aafc623aaae in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #19 0x00002aafc6131a0f in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0 #20 0x00002aafc6132a47 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0 #21 0x00002aafc65e18dc in ?? () from /usr/lib/libgdk-x11-2.0.so.0 #22 0x00002aafc7ccbd72 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #23 0x00002aafc7ccf06d in ?? () from /usr/lib/libglib-2.0.so.0 #24 0x00002aafc7ccf356 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #25 0x00002aafc6132d82 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #26 0x0000000000414c0c in StartGui () at GtkGui.c:123 #27 0x000000000041cbcf in main (argc=1, argv=0x7fffe4cd0b78) at LnxMain.c:264 My card is a 7600GT, btw. Last edited by StringCheesian; October 27th, 2007 at 06:57.. |
|
|
|
|
|
#14 |
|
Registered User
Join Date: Oct 2007
Location: Vancouver, BC, Canada
Posts: 3
|
The error appears to be in how wglGetProcAddress() is getting the address of the EXT functions on machines like StringCheesian's (and mine). I went ahead and tried switching the proc address gathering to GLEW which consisted of: 1) removing the includes to glprocs.h 2) adding in the #include to GL/glew.h to the top of GS.h (and reordering some #includes in other ancillary files - glew has to come before gl and glu) 4) #defining GL_LOADFN(name) to do nothing at all (in zerogs.cpp) 5) calling glewInit() where the GL_LOADFNs are 6) linking in -lGLEW and what do you know? Success! I did the whole process rather haphazardly - I knew nothing about glew an hour ago and have made blind and daring assumptions about the gs plugin code....but they don't pay me good $$ at my day job for nothing. ![]() For reference, my machine: uname -a Code:
Linux deluge 2.6.22-gentoo-r8 #10 SMP Tue Oct 16 16:12:13 PDT 2007 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GenuineIntel GNU/Linux Code:
---------------------------
GLEW Extension Info
---------------------------
GLEW version 1.3.5
Reporting capabilities of display :0.0, visual 0x2b
Running on a GeForce 8800 GTS/PCI/SSE2 from NVIDIA Corporation
OpenGL version 2.1.1 NVIDIA 100.14.09 is supported
Code:
These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-drivers/nvidia-drivers-100.14.09 USE="gtk (-multilib)" 0 kB [ebuild R ] media-gfx/nvidia-cg-toolkit-1.5.0 0 kB [ebuild R ] media-video/nvidia-settings-1.0.20070302 0 kB [ebuild R ] media-libs/glew-1.3.5 0 kB Total: 4 packages (4 reinstalls), Size of downloads: 0 kB -scott Last edited by scaught; October 27th, 2007 at 09:37.. Reason: Updated machine info |
|
|
|
|
|
#15 |
|
Registered User
Join Date: Sep 2007
Location: US
Posts: 35
|
|
|
|
|
|
|
#16 |
|
Registered User
Join Date: Oct 2007
Location: Vancouver, BC, Canada
Posts: 3
|
Ok - but remember, haphazard. ![]() Un7zip this into plugins/gs/zerogs/opengl/ and run Code:
patch <glew.patch -scott |
|
|
|
|
|
#17 |
|
Registered User
Join Date: Oct 2007
Location: Rome
Posts: 31
|
Tnx for your help! ![]() could u tell us what version did u use for patching it? i tryied with last svn and doesn't work Last edited by Alakhai; November 5th, 2007 at 22:44.. |
|
|
|
|
|
#18 |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2006
Location: my mind
Posts: 374
|
sounds good, i'll test it out when i get the time and make the appropriate changes to sourceforge
|
|
|
|
|
|
#19 |
|
Registered User
Join Date: Oct 2007
Location: Vancouver, BC, Canada
Posts: 3
|
I was at revision 183 of the affected files when I made the patch... Let me know if I can be of further assistance... |
|
|
|
|
|
#20 |
|
Registered User
Join Date: Oct 2007
Location: Rome
Posts: 31
|
ok now i have last pcsx2 from svn and i have a new bug Code:
ZeroGS: creating ZeroGS: Got Doublebuffered Visual! ZeroGS: glX-Version 1.3 ZeroGS: Depth 24 ZeroGS: you have Direct Rendering! ZeroGS: ********* ZeroGS: OGL WARNING: Need GL_EXT_blend_equation_separate ZeroGS: ********* ZeroGS: ********* ZeroGS: OGL WARNING: Need GL_EXT_blend_func_separate ZeroGS: ********* ZeroGS: Disabling MRT depth writing ZeroGS: Creating effects ZeroGS: Creating extra effects ZeroGS: using accurate shaders ZeroGS: initialization successful ZeroGS: Disabling MRT depth writing Program received signal SIGSEGV, Segmentation fault. Execute_CheckCycles () at aR3000A.S:57 57 mov %r8d, [REG_BLOCK+4] Current language: auto; currently asm
__________________
Linux c2dnv7950 2.6.24-gentoo-r8 #1 SMP PREEMPT Wed May 21 21:30:25 CEST 2008 x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz GenuineIntel GNU/Linux |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|