PCSX2 for Fedora
so I should report it to fedora? any suggested fixes?
Reply

Sponsored links

Hum potentially this wx code is compiled through the PCSX2 build. How did you compile PCSX2 ?

Before the compilation, you must choose which CPU can run the code. It seems someone select AVX CPU as a minimum CPU for either wxWidget build or PCSX2 build
Reply
dnf install PCSX2. Just tried dnf remove and installed it again. Same thing.
Reply
Then you should report the issue to Fedora. Either PCSX2 or wxWidget is built with AVX optimization. PCSX2 should be built with
```
-DDISABLE_ADVANCE_SIMD=TRUE
```
To disable modern instructions.
Reply
(04-17-2018, 10:51 AM)gregory Wrote: Then you should report the issue to Fedora. Either PCSX2 or wxWidget is built with AVX optimization. PCSX2 should be built with
```
-DDISABLE_ADVANCE_SIMD=TRUE
```
To disable modern instructions.


Code:
#0  wxWindowBase::GetWindowSizeForVirtualSize (this=0x58709690, size=...) at /usr/include/wx-2.8/wx/window.h:1370
#1  0xf7d1790f in wxWindowBase::DoGetBestSize (this=0x58709690) at ./src/common/wincmn.cpp:534
#2  0xf7d14643 in wxWindowBase::GetBestSize (this=0x58709690) at ./include/wx/window.h:342
#3  wxWindowBase::Fit (this=0x58709690) at ./src/common/wincmn.cpp:474
#4  0x567c4266 in Panels::PluginSelectorPanel::StatusPanel::StatusPanel (this=<optimized out>, parent=<optimized out>)
    at /usr/src/debug/pcsx2-1.4-6.fc27.i386/pcsx2/gui/Panels/PluginSelectorPanel.cpp:322
#5  0x567c98de in Panels::PluginSelectorPanel::PluginSelectorPanel (this=0x587a9e70, parent=0x586ba720)
    at /usr/src/debug/pcsx2-1.4-6.fc27.i386/pcsx2/gui/Panels/PluginSelectorPanel.cpp:417
#6  0x5673ced1 in FirstTimeWizard::FirstTimeWizard (this=<optimized out>, parent=<optimized out>)
    at /usr/src/debug/pcsx2-1.4-6.fc27.i386/pcsx2/gui/Dialogs/FirstTimeWizard.cpp:122
#7  0x566fef82 in DoFirstTimeWizard () at /usr/src/debug/pcsx2-1.4-6.fc27.i386/pcsx2/gui/AppUserMode.cpp:223
#8  0x566ff38d in Pcsx2App::EstablishAppUserMode (this=<optimized out>)
    at /usr/src/debug/pcsx2-1.4-6.fc27.i386/pcsx2/gui/AppUserMode.cpp:306
#9  0x567013b6 in Pcsx2App::DetectCpuAndUserMode (this=0x5859c460)
    at /usr/src/debug/pcsx2-1.4-6.fc27.i386/pcsx2/gui/AppInit.cpp:54
#10 0x56706613 in Pcsx2App::OnInit (this=<optimized out>) at /usr/src/debug/pcsx2-1.4-6.fc27.i386/pcsx2/gui/AppInit.cpp:464
#11 0xf7eac062 in wxEntry (argc=@0xf7f7b104: 1, argv=0x5858bb70) at ./src/common/init.cpp:432
#12 0xf7eac116 in wxEntry (argc=@0xffffc940: 1, argv=0xffffc9d4) at ./src/common/init.cpp:460
#13 0x567083c6 in main (argc=<optimized out>, argv=0xffffc9d4)
    at /usr/src/debug/pcsx2-1.4-6.fc27.i386/pcsx2/gui/AppMain.cpp:54


should I try build with gtk3 ? and or with wxGTK3 ?

I mean the problem is in start FirstTimeWizard , hardly is one AVX optimization , ... I'm searching about AVX and I will try disable AVX in boot
Reply
Used wx3.0.2-gtk2 instead wx2.8
Added BR xz-devel to dectect LibLZMA
Added DISABLE_ADVANCE_SIMD=TRUE, recomended by you
and added OpenGL_GL_PREFERENCE=GLVND to not use legacy OpenGL

and with pcsx2-1.4-8.fc27 this coredump is fixed , I'm waiting for someone to confirm my results.

Thanks
Reply
So i'm attempting to build 1.5.0 on fedora, can some one give a quick run down of what packages / options are needed?
Reply
Hey there, weirdbeardgame. I use the following dnf command to install the dependencies when I compile PCSX2.

Code:
#sudo dnf install alsa-lib-devel.i686 bzip2-libs.i686 libjpeg-turbo-devel.i686 libGLEW.i686 glew-devel.i686 portaudio-devel.i686 SDL-devel.i686 libao-devel.i686 wxGTK3-devel.i686 soundtouch-devel.i686 sparsehash-devel.i686 libCg.i686 xz-devel.i686 zlib-devel.i686 libpng.i686 mesa-libGL-devel.i686 libaio-devel.i686 glib2-devel.i686 libX11-devel.i686 glibc-devel.i686 gtk3-devel.i686 libpng-devel.i686 systemd-devel.i686 freetype-devel.i686 SDL2-devel.i686 gcc-c++

If interested I compiled up a fresh rpm of PCSX2. It's current as of 05-30-2018 (build 1.5.0 2395). This time everything I tested seems to be working properly. No crash when opening the OnePad config with a gamepad connected. No segfault at startup. Emulation speed is pretty good.

If you wanna try it the rpm is on my Google Drive.

PCSX2 1.5.0 2395 RPM @ Google Drive

and if interested here is the SPEC file I used to make the rpm

PCSX2 RPM SPEC file @ Google Drive
Reply
I'm stuck with

-- Skip build of common libraries: miss some dependencies:check these libraries -> wxWidgets (>=3.0), aio
-- Skip build of pcsx2 core: miss some dependencies:check these libraries -> wxWidgets (>=3.0), gtk2, zlib (>=1.2.4), pcsx2 common libs
-- Skip build of onepad: miss some dependencies:check these libraries -> sdl2, X11, gtk2
-- Skip build of onepad_legacy: miss some dependencies:check these libraries -> sdl2, X11, gtk2
-- Skip build of spu2-x: miss some dependencies:check these libraries -> soundtouch (>=1.5), alsa, portaudio (>=1.9), sdl (>=1.2) pcsx2 common libs
Reply
(05-30-2018, 08:16 PM)weirdbeardgame Wrote: I'm stuck with

-- Skip build of common libraries: miss some dependencies:check these libraries -> wxWidgets (>=3.0), aio
-- Skip build of pcsx2 core: miss some dependencies:check these libraries -> wxWidgets (>=3.0), gtk2, zlib (>=1.2.4), pcsx2 common libs
-- Skip build of onepad: miss some dependencies:check these libraries -> sdl2, X11, gtk2
-- Skip build of onepad_legacy: miss some dependencies:check these libraries -> sdl2, X11, gtk2
-- Skip build of spu2-x: miss some dependencies:check these libraries -> soundtouch (>=1.5), alsa, portaudio (>=1.9), sdl (>=1.2) pcsx2 common libs

hrm... try this.
Code:
mkdir Build

cd Build

cmake -DCMAKE_BUILD_TYPE=Release -DXDG_STD=TRUE -DCMAKE_BUILD_PO=FALSE -DSDL2_API=TRUE -DGTK3_API=TRUE -DCMAKE_TOOLCHAIN_FILE=cmake/linux-compiler-i386-multilib.cmake -DCMAKE_INSTALL_PREFIX=/usr -DPACKAGE_MODE=TRUE ..

cmake will do some magical spewing of text in your terminal. After it finishes and you seem to be error free you can compile PCSX2. do the below to compile.

Code:
make -j12

sudo make install

Each line is a different command. The above cmake line is what I use to make my rpm. You can edit it how you see fit.

Good luck. Let me knwo how it works out.
Reply




Users browsing this thread: 2 Guest(s)