pcsx2 64 bit - audio works but screen stays black
#21
(10-23-2012, 09:59 PM)gregory Wrote: Ok. I got it wrong there is another parameter to check the texture size.

Could you test the trunk, it might work better.

I reinstalled everything and tried it again, but the screen still stayed black, if that is what you meant by test the trunk.

Otherwise, just tell me what to do. Laugh
Reply

Sponsored links

#22
What I mean is to checkout the trunk (or update your svn repository), compile then run it. Unfortunately I don't have time to test it on my side.
Reply
#23
(10-25-2012, 08:41 AM)gregory Wrote: What I mean is to checkout the trunk (or update your svn repository), compile then run it. Unfortunately I don't have time to test it on my side.

Probably doing it wrong, but when I try to compile it I get...

Code:
>sh build.sh all
----------------------------------------
Building Graphics Synthesizer plugins...
----------------------------------------
----------------------
Building ZeroGS OpenGL
----------------------
build.sh: 14: build.sh: aclocal: not found
build.sh: 15: build.sh: automake: not found
build.sh: 16: build.sh: autoconf: not found
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc... gcc
checking whether we are using the GNU C++ compiler... no
checking whether gcc accepts -g... no
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking dependency style of gcc... gcc3
checking debug build... no
checking for _aligned_malloc... no
checking for _aligned_free... no
checking for development build...... no
checking check for sse2...... yes
checking for a x86-64 CPU... yes
checking gtk2+... checking for pkg-config... pkg-config
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
checking OpenGL... checking for GL/gl.h... no
checking for GL/glu.h... no
checking for GL/glext.h... no
checking for main in -lGL... no
checking for main in -lGLU... no
checking for main in -lGLEW... no
checking Cg... checking for main in -ljpeg... no
checking for main in -lpthread... yes
checking for main in -lstdc++... no
checking for main in -lz... no
checking for main in -ldl... yes
checking for main in -lXxf86vm... no
configure: creating ./config.status
config.status: error: cannot find input file: Makefile.in
make: *** No rule to make target `clean'.  Stop.
make: *** No rule to make target `install'.  Stop.
Error with building plugins
[/php]
Reply
#24
Yes you're doing it wrong.

You need to use the build script at the root directory not inside plugins. Besides the plugins is zzogl not zerogs Wink
Reply
#25
(10-25-2012, 07:59 PM)gregory Wrote: Yes you're doing it wrong.

Kept on trying, with quite a bit of googling around. Still can't seem to compile it fully. :I
To tell you the truth though, I'm currently way too busy to play anyway because uni's started.

So don't mind waiting for however long to maybe play it in the future. Thanks regardless though.
Reply
#26
I'm running Arch Linux x64 on a System76 panp9 laptop with an Intel HD 4000. I've experienced this very same issue - I'm currently using the arch pkg build script for pcsx2 svn to compile the current code off the trunk. I hope to post the results RSN Smile
Reply
#27
Okay so it compiled, I ran it and it failed while trying to boot the BIOS. This line seems particulary relevant:

ZZogl-PG: Maximum texture size is 8192 for Tex_2d and 4096 for Tex_NV.

In addition to this one:

ZZogl-PG: Failed to create 8192x11 texture.

Here is my full console output:
Quote:ZZogl-PG: Disabling MRT depth writing.
ZZogl-PG: Calling GSinit.
ZZogl-PG: GSinit finished.
ZZogl-PG: Calling GSopen2.
ZZogl-PG: Using ZZ Ogl PG CG (Debug) :0.3.0.
ZZogl-PG: Capturing ZZOgl window.
ZZogl-PG: Got Doublebuffered Visual!
ZZogl-PG: glX-Version 1.4 with Direct Rendering
ZZogl-PG: 163 supported OpenGL Extensions: GL_ARB_ES2_compatibility, GL_ARB_blend_func_extended, GL_ARB_color_buffer_float, GL_ARB_copy_buffer, GL_ARB_debug_output, GL_ARB_depth_buffer_float, GL_ARB_depth_clamp, GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_draw_buffers_blend, GL_ARB_draw_elements_base_vertex, GL_ARB_draw_instanced, GL_ARB_explicit_attrib_location, GL_ARB_fragment_coord_conventions, GL_ARB_fragment_program, GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader, GL_ARB_framebuffer_object, GL_ARB_framebuffer_sRGB, GL_ARB_half_float_pixel, GL_ARB_half_float_vertex, GL_ARB_instanced_arrays, GL_ARB_invalidate_subdata, GL_ARB_map_buffer_range, GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query2, GL_ARB_occlusion_query, GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_provoking_vertex, GL_ARB_robustness, GL_ARB_sampler_objects, GL_ARB_seamless_cube_map, GL_ARB_shader_bit_encoding, GL_ARB_shader_objects, GL_ARB_shader_texture_lod, GL_ARB_shading_language_100, GL_ARB_shadow, GL_ARB_sync, GL_ARB_texture_border_clamp, GL_ARB_texture_compression, GL_ARB_texture_compression_rgtc, GL_ARB_texture_cube_map, GL_ARB_texture_env_add, GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3, GL_ARB_texture_float, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle, GL_ARB_texture_rgb10_a2ui, GL_ARB_texture_rg, GL_ARB_texture_storage, GL_ARB_texture_swizzle, GL_ARB_transpose_matrix, GL_ARB_uniform_buffer_object, GL_ARB_vertex_array_bgra, GL_ARB_vertex_array_object, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array, GL_EXT_copy_texture, GL_EXT_draw_buffers2, GL_EXT_draw_instanced, GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample, GL_EXT_framebuffer_object, GL_EXT_framebuffer_sRGB, GL_EXT_gpu_program_parameters, GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil, GL_EXT_packed_float, GL_EXT_packed_pixels, GL_EXT_pixel_buffer_object, GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_provoking_vertex, GL_EXT_rescale_normal, GL_EXT_secondary_color, GL_EXT_separate_shader_objects, GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture, GL_EXT_texture3D, GL_EXT_texture_array, GL_EXT_texture_compression_dxt1, GL_EXT_texture_compression_rgtc, GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic, GL_EXT_texture_integer, GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture, GL_EXT_texture_rectangle, GL_EXT_texture_shared_exponent, GL_EXT_texture_snorm, GL_EXT_texture_sRGB, GL_EXT_texture_sRGB_decode, GL_EXT_texture_swizzle, GL_EXT_timer_query, GL_EXT_transform_feedback, GL_EXT_vertex_array_bgra, GL_EXT_vertex_array, GL_OES_EGL_image, GL_OES_read_format, GL_3DFX_texture_compression_FXT1, GL_AMD_draw_buffers_blend, GL_APPLE_object_purgeable, GL_APPLE_packed_pixels, GL_APPLE_vertex_array_object, GL_ATI_blend_equation_separate, GL_ATI_draw_buffers, GL_ATI_envmap_bumpmap, GL_ATI_separate_stencil, GL_ATI_texture_env_combine3, GL_ATI_texture_float, GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_texture_array, GL_MESA_texture_signed_rgba, GL_MESA_window_pos, GL_MESA_ycbcr_texture, GL_NV_blend_square, GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_light_max_exponent, GL_NV_packed_depth_stencil, GL_NV_primitive_restart, GL_NV_texgen_reflection, GL_NV_texture_env_combine4, GL_NV_texture_rectangle, GL_NV_vertex_program1_1, GL_NV_vertex_program, GL_S3_s3tc, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays

ZZogl-PG: Using multitexturing.
ZZogl-PG: Maximum texture size is 8192 for Tex_2d and 4096 for Tex_NV.
ZZogl-PG: Disabling MRT depth writing.
ZZogl-PG: Use GL_RGBA32F for blockdata.
ZZogl-PG: Fill bilinear blocks OK.!
ZZogl-PG: Creating effects.
ZZogl-PG: Creating extra effects.
ZZogl-PG: using full shaders

ZZogl-PG: Initialization successful.
ZZogl-PG: GSopen2 finished.
ZZogl-PG: Disabling MRT depth writing.
ALSA lib pcm.c:2217Sadsnd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217Sadsnd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217Sadsnd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:957Sadsnd_pcm_dmix_open) The dmix plugin supports only playback stream
* SPU2-X: Enumerating PortAudio devices:
*** Device 0: 'HDA Intel PCH: VT1802 Analog (hw:0,0)' (ALSA)
*** Device 1: 'HDA Intel PCH: VT1802 HP (hw:0,2)' (ALSA)
*** Device 2: 'HDA Intel PCH: HDMI 0 (hw:0,3)' (ALSA)
*** Device 3: 'sysdefault' (ALSA)
*** Device 4: 'front' (ALSA)
*** Device 5: 'surround40' (ALSA)
*** Device 6: 'surround51' (ALSA)
*** Device 7: 'surround71' (ALSA)
*** Device 8: 'hdmi' (ALSA)
*** Device 9: 'pulse' (ALSA)
*** Device 10: 'dmix' (ALSA)
*** Device 11: 'default' (ALSA) (selected)
Zogl-PG: Dummy transfer.
^[[?62;9Zogl-PG: Disabling MRT depth writing.
ZZogl-PG: Dummy transfer.
Zogl-PG: Dummy transfer.
Zogl-PG: Frame fbw:0x280 fbh:0xe0 psm:0x0 fbp:0x8c0
ZZogl-PG: Frame fbw:0x280 fbh:0xe0 psm:0x30 fbp:0x1180
ZZogl-PG: Frame fbw:0x280 fbh:0xe0 psm:0x0 fbp:0x0
ZZogl-PG: Targets(0x28008c0) fbw:0x280 fbh:0xe0 psm:0x0 fbp:0x8c0
ZZogl-PG: Frame fbw:0x280 fbh:0xe0 psm:0x0 fbp:0x2300
ZZogl-PG: Targets(0x2800000) fbw:0x280 fbh:0xe0 psm:0x0 fbp:0x0
ZZogl-PG: Targets(0x28008c0) fbw:0x280 fbh:0xe0 psm:0x0 fbp:0x8c0
ZZogl-PG: Frame fbw:0x280 fbh:0xe0 psm:0x0 fbp:0x1a40
ZZogl-PG: Targets(0x2800000) fbw:0x280 fbh:0xe0 psm:0x0 fbp:0x0
ZZogl-PG: Targets(0x28008c0) fbw:0x280 fbh:0xe0 psm:0x0 fbp:0x8c0
ZZogl-PG: Targets(0x2802300) fbw:0x280 fbh:0xe0 psm:0x0 fbp:0x2300
ZZogl-PG: Failed to create 8192x11 texture.
pcsx2: /home/jay/Downloads/AUR/pcsx2-svn/src/pcsx2-build/plugins/zzogl-pg-cg/opengl/ZZoglFlush.cpp:2160: void SetTexVariablesInt(int, int, const tex0Info&, bool, FRAGMENTSHADER*, int): Assertion `pmemtarg != __null && pfragment != __null && pmemtarg->ptex != __null' failed.
0mAborted
Reply
#28
Goofed around a bit and came up with the following patch as a quick hack:
Quote:*** ./plugins/zzogl-pg-cg/opengl/ZZoglCreate.cpp.old 2012-10-25 22:27:08.634165391 -0400
--- ./plugins/zzogl-pg-cg/opengl/ZZoglCreate.cpp 2012-10-25 22:23:58.103244749 -0400
***************
*** 495,501 ****
CreateOtherCheck();

// check the max texture width and height
! glGetIntegerv(GL_MAX_TEXTURE_SIZE, &g_MaxTexWidth);
// Limit the texture size supported to 8192. We do not need bigger texture.
// Besides the following assertion is false when texture are too big.
// ZZoglFlush.cpp:2349: assert(fblockstride >= 1.0f)
--- 495,502 ----
CreateOtherCheck();

// check the max texture width and height
! //glGetIntegerv(GL_MAX_TEXTURE_SIZE, &g_MaxTexWidth);
! glGetIntegerv(GL_MAX_RECTANGLE_TEXTURE_SIZE_NV, &g_MaxTexWidth);
// Limit the texture size supported to 8192. We do not need bigger texture.
// Besides the following assertion is false when texture are too big.
// ZZoglFlush.cpp:2349: assert(fblockstride >= 1.0f)
This got me back to where I was before, without the error messages. I still get a black screen when attempting to boot into the PS2 Bios or kick off FFX.
Reply
#29
Hmmmm....it appears this build script was set to pull a specific revision out of SVN rather than the current one. I've updated it to pull 5439 - building now.
Reply
#30
Nah it was pulling the right version. The issue here seems to be that I'm using ZZ Ogl PG CG 0.3.0 version of the plugin rather than the new 0.4.0 version as I checked out the diff for your patch and it's modifying different files in a different directory than the ones that show up in my stack traces. The 0.4.0 plugin fails miserably on my system. The window pops and stays white. It does nothing. Only the 0.3.0 seems to move things along far enough to the point where I can hear sound being emulated.
Reply




Users browsing this thread: 1 Guest(s)