Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
black screen on Arch, but no error message
#1
Hi,
Thanks for this excellent emulator.
I'm on Arch x64, latest mesa-git and pcsx2-git.
Most of the time, pcsx2 works (very) well. But, as I updated my system, something must have broken: I now just get a black screen, with 99% EE (fans are spinning fast).
I tried to go back to pcsx2-1.4, but it's the same black screen. I recompiled the git version: same.
I tried software mode: same.
I tried to change a few options, then switched back to a known good config: same.
Maybe someone can point me to a good direction (or simply give me a good idea).
The only bothering error message I see is this:

Code:
Failed to init the freetype face

but it doesn't appear on the 1.4 version.
What else ? I updated my old jack version.
I tried a few other iso: same black screen. Strange...
Thanks for your time.

Code:
PCSX2 1.5.0-20170115201134 - compiled on Jan 16 2017
Savestate version: 0x9a0c0000

Host Machine Init:
    Operating System =  Linux 4.8.13-1-ARCH x86_64
    Physical RAM     =  15990 MB
    CPU name         =  Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
    Vendor/Model     =  GenuineIntel (stepping 03)
    CPU speed        =  3.496 ghz (8 logical threads)
    x86PType         =  Standard OEM
    x86Flags         =  bfebfbff 7fdafbbf
    x86EFlags        =  2c100000

x86 Features Detected:
    SSE2.. SSE3.. SSSE3.. SSE4.1.. SSE4.2.. AVX.. AVX2.. FMA

Installing POSIX SIGSEGV handler...
Reserving memory for recompilers...

Loading plugins...
    Binding   GS: /usr/lib32/pcsx2/libGSdx.so
    Binding  PAD: /usr/lib32/pcsx2/libonepad-1.3.0.so
    Binding SPU2: /usr/lib32/pcsx2/libspu2x-2.0.0.so
    Binding CDVD: /usr/lib32/pcsx2/libCDVDnull.so
    Binding  USB: /usr/lib32/pcsx2/libUSBnull-0.7.0.so
    Binding   FW: /usr/lib32/pcsx2/libFWnull-0.7.0.so
    Binding DEV9: /usr/lib32/pcsx2/libdev9null-0.5.0.so
Plugins loaded successfully.

(GameDB) 9709 games on record (loaded in 117ms)
HLE Notice: ELF does not have a path.


Initializing plugins...
    Init GS
    Init PAD
OnePad: set new pad mode=DIGITAL
OnePad: set new pad mode=DIGITAL
OnePad: set new pad mode=DIGITAL
OnePad: set new pad mode=DIGITAL
OnePad: set new pad mode=DIGITAL
OnePad: set new pad mode=DIGITAL
OnePad: set new pad mode=DIGITAL
OnePad: set new pad mode=DIGITAL
    Init SPU2
    Init CDVD
    Init USB
    Init FW
    Init DEV9
Plugins initialized successfully.

Patches: No CRC found, using 00000000 instead.
Opening plugins...
    Opening GS
Failed to init the freetype face
Current Renderer: OpenGL (Hardware mode)
glX-Version 1.4 with Direct Rendering
OpenGL information. GPU: Gallium 0.4 on AMD FIJI (DRM 3.3.0 / 4.8.13-1-ARCH, LLVM 5.0.0). Vendor: X.Org. Driver: (Core Profile) Mesa 17.0.0-devel (git-3698d71124)
INFO: GL_EXT_texture_filter_anisotropic is available
INFO: GL_ARB_gpu_shader5 is available
INFO: GL_ARB_draw_buffers_blend is available
INFO: GL_ARB_viewport_array is available
INFO: GL_ARB_shader_image_load_store is available
INFO: GL_ARB_clear_texture is available
INFO: GL_ARB_get_texture_sub_image is available

Available VRAM/RAM:3840MB for textures
GSdx Lookup CRC:0
    Opening PAD
    Opening SPU2
    Opening CDVD
OK: Gzip quick access index read from disk: '/serveur/commun/Jeux/Emulateurs_PCSX2/PCSX2-Roms/Hokuto_No_Ken[Japan].iso.gz.pindex.tmp'
isoFile open ok: /serveur/commun/Jeux/Emulateurs_PCSX2/PCSX2-Roms/Hokuto_No_Ken[Japan].iso.gz
    Image type  = DVD
* CDVD Disk Open: DVD, Single layer or unknown:
* * Track 1: Data (Mode 1) (2251360 sectors)
Reply

Sponsored links

#2
There is an OSD on the new version which is based on freetype. Maybe it misses a 32 bits dependency.

Did you update your driver recently ? Could you try the SW renderer first.

Edit:
If 1.4 is broken too, it isn't the OSD. So my guess is the driver. It could be glsl compilation error.
Check the Debug config tab, there are two options to enable GL and GLSL logging. Enable them, and post back the emulog.
Reply
#3
Hi Gregory and thanks for your answer.
To investigate, I deleted my .config/PCSX2 folder to restart with something fresh.

1st pb: the fonts: I went to the .config/PCSX2/inis/GSdx.ini and I changed this line:
osd_fontname = /usr/share/fonts/TTF/FreeSerif.ttf

2nd pb: black screen:
in .config/PCSX2/inis/GSdx.ini, I modified these 2 lines:
debug_glsl_shader = 1
debug_opengl = 1

Here's the emulog:
Code:
PCSX2 1.5.0-20170115201134 - compiled on Jan 16 2017
Savestate version: 0x9a0c0000

Host Machine Init:
    Operating System =  Linux 4.8.13-1-ARCH x86_64
    Physical RAM     =  15990 MB
    CPU name         =  Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
    Vendor/Model     =  GenuineIntel (stepping 03)
    CPU speed        =  3.496 ghz (8 logical threads)
    x86PType         =  Standard OEM
    x86Flags         =  bfebfbff 7fdafbbf
    x86EFlags        =  2c100000

x86 Features Detected:
    SSE2.. SSE3.. SSSE3.. SSE4.1.. SSE4.2.. AVX.. AVX2.. FMA

Installing POSIX SIGSEGV handler...
Reserving memory for recompilers...

Loading plugins...
    Binding   GS: /usr/lib32/pcsx2/libGSdx.so
    Binding  PAD: /usr/lib32/pcsx2/libonepad-1.3.0.so
    Binding SPU2: /usr/lib32/pcsx2/libspu2x-2.0.0.so
    Binding CDVD: /usr/lib32/pcsx2/libcdvdGigaherz.so
    Binding  USB: /usr/lib32/pcsx2/libUSBnull-0.7.0.so
    Binding   FW: /usr/lib32/pcsx2/libFWnull-0.7.0.so
    Binding DEV9: /usr/lib32/pcsx2/libdev9null-0.5.0.so
Plugins loaded successfully.

(GameDB) 9709 games on record (loaded in 118ms)
HLE Notice: ELF does not have a path.


Initializing plugins...
    Init GS
    Init PAD
OnePad: set new pad mode=DIGITAL
OnePad: set new pad mode=DIGITAL
OnePad: set new pad mode=DIGITAL
OnePad: set new pad mode=DIGITAL
OnePad: set new pad mode=DIGITAL
OnePad: set new pad mode=DIGITAL
OnePad: set new pad mode=DIGITAL
OnePad: set new pad mode=DIGITAL
    Init SPU2
    Init CDVD
    Init USB
    Init FW
    Init DEV9
Plugins initialized successfully.

Patches: No CRC found, using 00000000 instead.
Opening plugins...
    Opening GS
Current Renderer: OpenGL (Software mode)
glX-Version 1.4 with Direct Rendering
OpenGL information. GPU: Gallium 0.4 on AMD FIJI (DRM 3.3.0 / 4.8.13-1-ARCH, LLVM 5.0.0). Vendor: X.Org. Driver: (Core Profile) Mesa 17.0.0-devel (git-9fe9db8031)
INFO: GL_EXT_texture_filter_anisotropic is available
INFO: GL_ARB_gpu_shader5 is available
INFO: GL_ARB_draw_buffers_blend is available
INFO: GL_ARB_viewport_array is available
INFO: GL_ARB_shader_image_load_store is available
INFO: GL_ARB_clear_texture is available
INFO: GL_ARB_texture_barrier is available
INFO: GL_ARB_get_texture_sub_image is available

Available VRAM/RAM:3840MB for textures
GSdx Lookup CRC:0
    Opening PAD
    Opening SPU2
Request SDL audio driver: pulseaudio
Opened SDL audio driver:     Opening CDVD
pulseaudio
OK: Gzip quick access index read from disk: '/serveur/commun/Jeux/Emulateurs_PCSX2/PCSX2-Roms/Hokuto_No_Ken[Japan].iso.gz.pindex.tmp'
isoFile open ok: /serveur/commun/Jeux/Emulateurs_PCSX2/PCSX2-Roms/Hokuto_No_Ken[Japan].iso.gz
    Image type  = DVD
* CDVD Disk Open: DVD, Single layer or unknown:
* * Track 1: Data (Mode 1) (2251360 sectors)

Can't see any error. I tried re-updating my drivers. No luck. I had to upgrade my system, but it was about 150pkgs, so it seems very difficult to track the pb down.
To quit PCSX2, I have to go back to my console and CTRL+C (I can't quit from the gui).
Reply
#4
Check a dbg or dev build
Reply
#5
So, I installed the aur package, edited the pkgbuild by replacing the "Release" with "Debug".
I can imagine that my pcsx2-git is a debug build.
Any hint to go further ?
Reply
#6
Did you compile it ? It must print the gl info now
Reply
#7
Yes, but I don't see anything more in the PCSX2 Program Log.
I've just posted a message in the Arch Forum to see if I'm alone in this case.
I tried to downgrade a few lib32 packages, but no luck so far.
If I choose "no disc" in the cd/dvd, the bios boots just fine.
edit:
I think I'm narrowing the pb: I've just tried with an uncompressed iso and it seems to work fine !
Reply
#8
Oh. In this case could you attach a gdb and generates a backtrace, this way I can find where the program spin.
Reply
#9
(01-19-2017, 07:49 AM)gregory Wrote: Oh. In this case could you attach a gdb and generates a backtrace, this way I can find where the program spin.

Not familiar with this at all, but I'll try:
Code:
gdb PCSX2
GNU gdb (GDB) 7.12
Copyright (C) 2016 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 "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from PCSX2...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/PCSX2
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
07:45:26: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8).

(PCSX2:3786): Gtk-WARNING **: Unable to locate theme engine in module_path: "hcengine",

(PCSX2:3786): Gtk-WARNING **: Unable to locate theme engine in module_path: "hcengine",
Interface is initializing.  Entering Pcsx2App::OnInit!
Applying operating system default language...
Loading language translation databases for 'French' [fr_FR]
Command line parsing...
Command line parsed!
[New Thread 0xf3466b40 (LWP 3831)]
[New Thread 0xf2affb40 (LWP 3832)]
[New Thread 0xf20ffb40 (LWP 3833)]
[New Thread 0xf16ffb40 (LWP 3836)]
[New Thread 0xf0b3eb40 (LWP 3837)]
[Thread 0xf0b3eb40 (LWP 3837) exited]
[New Thread 0xf0b3eb40 (LWP 3842)]
[New Thread 0xeeaffb40 (LWP 3843)]
[New Thread 0xee0ffb40 (LWP 3844)]                                                                
[New Thread 0xed6ffb40 (LWP 3845)]                                                                
[Thread 0xee0ffb40 (LWP 3844) exited]                                                              
[New Thread 0xee0ffb40 (LWP 3846)]                                                                
[New Thread 0xeccffb40 (LWP 3847)]                                                                
[New Thread 0xec2ffb40 (LWP 3848)]                                                                
[New Thread 0xeb8ffb40 (LWP 3849)]                                                                
[New Thread 0xeaeffb40 (LWP 3850)]                                                                
[New Thread 0xea4ffb40 (LWP 3851)]                                                                
[New Thread 0xe9affb40 (LWP 3852)]
[New Thread 0xe90ffb40 (LWP 3853)]
[Thread 0xea4ffb40 (LWP 3851) exited]
[Thread 0xec2ffb40 (LWP 3848) exited]
[Thread 0xeccffb40 (LWP 3847) exited]
[Thread 0xeaeffb40 (LWP 3850) exited]
[Thread 0xe9affb40 (LWP 3852) exited]
[Thread 0xeeaffb40 (LWP 3843) exited]
[Thread 0xed6ffb40 (LWP 3845) exited]
[Thread 0xe90ffb40 (LWP 3853) exited]
[Thread 0xeb8ffb40 (LWP 3849) exited]
[New Thread 0xeb8ffb40 (LWP 3855)]
[New Thread 0xe90ffb40 (LWP 3856)]
[New Thread 0xed6ffb40 (LWP 3857)]
[New Thread 0xeeaffb40 (LWP 3858)]
[New Thread 0xea4ffb40 (LWP 3859)]
[New Thread 0xe9affb40 (LWP 3860)]
[New Thread 0xe2df1b40 (LWP 3861)]
[New Thread 0xd942db40 (LWP 3862)]
[Thread 0xd942db40 (LWP 3862) exited]
[New Thread 0xd942db40 (LWP 3863)]
[Thread 0xd942db40 (LWP 3863) exited]
[New Thread 0xd942db40 (LWP 3864)]
[Thread 0xd942db40 (LWP 3864) exited]
[New Thread 0xd942db40 (LWP 3865)]
[Thread 0xd942db40 (LWP 3865) exited]
[New Thread 0xd942db40 (LWP 3866)]
[Thread 0xd942db40 (LWP 3866) exited]
[New Thread 0xd942db40 (LWP 3868)]
[New Thread 0xd4c2bb40 (LWP 3869)]
[Thread 0xee0ffb40 (LWP 3846) exited]
^C
Thread 1 "PCSX2" received signal SIGINT, Interrupt.
0xf7fd8c99 in __kernel_vsyscall ()
(gdb) bt
#0  0xf7fd8c99 in __kernel_vsyscall ()
#1  0xf6c844ef in poll () from /usr/lib32/libc.so.6
#2  0xf68e5f50 in g_poll () from /usr/lib32/libglib-2.0.so.0
#3  0xf68d64ec in ?? () from /usr/lib32/libglib-2.0.so.0
#4  0xf68d6909 in g_main_loop_run () from /usr/lib32/libglib-2.0.so.0
#5  0xf70b18b5 in gtk_main () from /usr/lib32/libgtk-x11-2.0.so.0
#6  0xf78b7095 in wxGUIEventLoop::DoRun() () from /usr/lib32/libwx_gtk2u_core-3.0.so.0
#7  0xf7d76829 in wxEventLoopBase::Run() () from /usr/lib32/libwx_baseu-3.0.so.0
#8  0xf7d382bf in wxAppConsoleBase::MainLoop() () from /usr/lib32/libwx_baseu-3.0.so.0
#9  0xf7d30a00 in wxAppConsoleBase::OnRun() () from /usr/lib32/libwx_baseu-3.0.so.0
#10 0xf79952df in wxAppBase::OnRun() () from /usr/lib32/libwx_gtk2u_core-3.0.so.0
#11 0xf7dcc4c8 in wxEntry(int&, wchar_t**) () from /usr/lib32/libwx_baseu-3.0.so.0
#12 0xf7dcc593 in wxEntry(int&, char**) () from /usr/lib32/libwx_baseu-3.0.so.0
#13 0x0806865f in ?? ()
#14 0xf6bbd196 in __libc_start_main () from /usr/lib32/libc.so.6
#15 0x0806cdd2 in ?? ()
Reply
#10
Use "thread apply all by" instead to get info of all thread.
Reply




Users browsing this thread: 1 Guest(s)