PCSX2 for Fedora
(09-22-2017, 12:13 PM)slavezeo Wrote: Guess what? Chicken Butt. Guess why? Chicken Thigh. 

Here is another git build of PCSX2 for Fedora 26. This time it is build 1.5.0 2205 compiled on Sept 21 2017. You should be able to upgrade from the previous 1.5.0 2120 RPM, but older packages should uninstall and reinstall the package. 

Make sure to decompress the archive before trying to install. The PCSX2 forums will not let me attach RPM files.



As always let me know if anything is wonky with this package.

is it possible you can create one for f27? or show me how you did it?
Reply

Sponsored links

(09-24-2016, 03:46 PM)slavezeo Wrote: There doesn't seem to be a lot of interest in PCSX2 for Fedora but I went ahead and setup a dnf repository in it's honor. This should make getting it easier for anyone who does want to give it a swing. I'll try to keep the rpm inline with the git sources every so often. I can also build one at request if there is a new commit I haven't packaged. I'm subscribed to this thread so I'll get an email if anyone does.

The repository is housed on it's own hosting. I was going to host on COPR but they have some rules against emulators which require a BIOS to function. This clearly rules out PCSX2. 

If you want to enable the repository just issue the following command in a terminal. You'll also need to have the RPMFusion repository (http://rpmfusion.org) enabled as I use a couple of their packages to compile PCSX2. These rpm packages are also GPG signed.

Code:
sudo dnf config-manager --add-repo http://emurpms.net/repo/repodata/emurpms.repo

After the repository is added to dnf enter this command to install it. It should pull in PCSX2 and it's dependencies.

Code:
sudo dnf install pcsx2

Right now I am building Packages for Fedora 24. When Fedora 25 is released in November I will drop support for 24 and move on to 25. I hope this helps other Fedora users get to try and have fun with git builds of PCSX2.

i tried to add your repo but i cant resolve it.
Reply
I asked about a year ago trying to get PCSX2 to work, have some free time again to try.  This time trying to start PCSX2 from Fedora 27 x64 with dnf version, and this is what I get from gdb.  Any help appreciated.  I also tried dnf debuginfo-install but it said nothing to be done.

Missing separate debuginfos, use: dnf debuginfo-install pcsx2-1.4-6.fc27.i686
(gdb) r
Starting program: /usr/bin/PCSX2
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
(PCSX2:27469): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
(PCSX2:27469): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
Interface is initializing.  Entering Pcsx2App::OnInit!
Applying operating system default language...
Detaching after fork from child process 27474.
Detaching after fork from child process 27475.
Detaching after fork from child process 27476.
Command line parsing...
Command line parsed!
[New Thread 0xf434ab40 (LWP 27477)]

Thread 1 "PCSX2" received signal SIGILL, Illegal instruction.
0x5670bd58 in wxWindowBase::GetWindowSizeForVirtualSize(wxSize const&) const ()
(gdb) bt
#0  0x5670bd58 in wxWindowBase::GetWindowSizeForVirtualSize(wxSize const&) const ()
#1  0xf7d4390f in wxWindowBase::DoGetBestSize() const ()
  from /lib/libwx_gtk2u_core-2.8.so.0
#2  0xf7d40643 in wxWindowBase::Fit() () from /lib/libwx_gtk2u_core-2.8.so.0
#3  0x567c4266 in Panels::PluginSelectorPanel::StatusPanel::StatusPanel(wxWindow*) ()
#4  0x567c98de in Panels::PluginSelectorPanel::PluginSelectorPanel(wxWindow*)
   ()
#5  0x5673ced1 in FirstTimeWizard::FirstTimeWizard(wxWindow*) ()
#6  0x566fef82 in DoFirstTimeWizard() ()
#7  0x566ff38d in Pcsx2App::EstablishAppUserMode() ()
#8  0x567013b6 in Pcsx2App::DetectCpuAndUserMode() ()
#9  0x56706613 in Pcsx2App::OnInit() ()
#10 0xf7ed8062 in wxEntry(int&, wchar_t**) () from /lib/libwx_baseu-2.8.so.0
#11 0xf7ed8116 in wxEntry(int&, char**) () from /lib/libwx_baseu-2.8.so.0
#12 0x567083c6 in main ()
Reply
Use "thread apply all bt" in gdb to dump all thread.
Reply
Thread 1 "PCSX2" received signal SIGILL, Illegal instruction.
0x5670bd58 in wxWindowBase::GetWindowSizeForVirtualSize(wxSize const&) const ()
(gdb) thread apply all bt

Thread 2 (Thread 0xf434ab40 (LWP 14942)):
#0  0xf7fd2db9 in __kernel_vsyscall ()
#1  0xf6c62fc6 in do_futex_wait.constprop () from /lib/libpthread.so.0
#2  0xf6c630a7 in __new_sem_wait_slow.constprop.1 () from /lib/libpthread.so.0
#3  0x568ae844 in Threading::Semaphore::WaitWithoutYield() ()
#4  0x56768337 in pxEvtQueue::Idle() ()
#5  0x5676839b in ExecutorThread::ExecuteTaskInThread() ()
#6  0x568b24a7 in Threading::pxThread::_try_virtual_invoke(void (Threading::pxThread::*)()) ()
#7  0x568b35b8 in Threading::pxThread::_internal_execute() ()
#8  0x568b37e4 in Threading::pxThread::_internal_callback(void*) ()
#9  0xf6c59587 in start_thread () from /lib/libpthread.so.0
#10 0xf6b8fee6 in clone () from /lib/libc.so.6

Thread 1 (Thread 0xf61d01c0 (LWP 14935)):
#0  0x5670bd58 in wxWindowBase::GetWindowSizeForVirtualSize(wxSize const&) const ()
#1  0xf7d4390f in wxWindowBase::DoGetBestSize() const ()
  from /lib/libwx_gtk2u_core-2.8.so.0
#2  0xf7d40643 in wxWindowBase::Fit() () from /lib/libwx_gtk2u_core-2.8.so.0
#3  0x567c4266 in Panels::PluginSelectorPanel::StatusPanel::StatusPanel(wxWindow*) ()

#4  0x567c98de in Panels::PluginSelectorPanel::PluginSelectorPanel(wxWindow*) ()
#5  0x5673ced1 in FirstTimeWizard::FirstTimeWizard(wxWindow*) ()
#6  0x566fef82 in DoFirstTimeWizard() ()
#7  0x566ff38d in Pcsx2App::EstablishAppUserMode() ()
#8  0x567013b6 in Pcsx2App::DetectCpuAndUserMode() ()
#9  0x56706613 in Pcsx2App::OnInit() ()
#10 0xf7ed8062 in wxEntry(int&, wchar_t**) () from /lib/libwx_baseu-2.8.so.0
#11 0xf7ed8116 in wxEntry(int&, char**) () from /lib/libwx_baseu-2.8.so.0
#12 0x567083c6 in main ()
Reply
Strange. I'm not sure it is related to PCSX2. Issue seems to be related to wxwidget.
In gdb, if you hit ctrl-x 2, it will show you an asm view (or retry ctrl-x 2). Use mouse to scroll up a little. If you can copy past the illegal error
Reply
Code:
│0x5670bd50 <_ZNK12wxWindowBase27GetWindowSizeForVirtualSizeERK6wxSize>          mov    0xc(%esp),%edx                                                        │
   │0x5670bd54 <_ZNK12wxWindowBase27GetWindowSizeForVirtualSizeERK6wxSize+4>        mov    0x4(%esp),%eax  
> │0x5670bd58 <_ZNK12wxWindowBase27GetWindowSizeForVirtualSizeERK6wxSize+8>        vmovq  (%edx),%xmm0                                                      │
   │0x5670bd5c <_ZNK12wxWindowBase27GetWindowSizeForVirtualSizeERK6wxSize+12>       vmovq  %xmm0,(%eax)                                                     │
   │0x5670bd60 <_ZNK12wxWindowBase27GetWindowSizeForVirtualSizeERK6wxSize+16>       ret    $0x4                                                                         │
   │0x5670bd63                                                                      xchg   %ax,%ax                                                                                                                │
   │0x5670bd65                                                                      xchg   %ax,%ax                                                                                                                │
   │0x5670bd67                                                                      xchg   %ax,%ax                                                                                                                │
   │0x5670bd69                                                                      xchg   %ax,%ax                                                                                                                │
   │0x5670bd6b                                                                      xchg   %ax,%ax                                                                                                                │
   │0x5670bd6d                                                                      xchg   %ax,%ax                                                                                                                │
   │0x5670bd6f                                                                      nop                                                                                                                                   │
   │0x5670bd70 <_ZN8wxWindow8SetLabelERK8wxString>                                  ret                                                                                                        │
   │0x5670bd71                                                                      xchg   %ax,%ax                                                                                                                │
   │0x5670bd73                                                                      xchg   %ax,%ax                                                                                                                │
   │0x5670bd75                                                                      xchg   %ax,%ax                                                                                                                │
   │0x5670bd77                                                                      xchg   %ax,%ax                                                                                                                │
   │0x5670bd79                                                                      xchg   %ax,%ax      


Register group: general────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│eax            0xffffc9c8       -13880                                                                                                                                                                           │
│ecx            0x14     20                                                                                                                                                                                       │
│edx            0xffffc9e4       -13852                                                                                                                                                                           │
│ebx            0x56     86                                                                                                                                                                                       │
│esp            0xffffc98c       0xffffc98c                                                                                                                                                                       │
│ebp            0x5870ee90       0x5870ee90                                                                                                                                                                       │
│esi            0xd8     216                                                                                                                                                                                      │
│edi            0xffffc9e4       -13852                                                                                                                                                                           │
│eip            0x5670bd58       0x5670bd58 <wxWindowBase::GetWindowSizeForVirtualSize(wxSize const&) const+8>                                                                                                    │
│eflags         0x210206 [ PF IF RF ID ]                                                                                                                                                                          │
│cs             0x23     35                                                                                                                                                                                       │
│ss             0x2b     43                                                                                                                                                                                       │
│ds             0x2b     43                                                                                                                                                                                       │
│es             0x2b     43                                                                                                                                                                                       │
│fs             0x0      0                                                                                                                                                                                        │
│gs             0x63     99                   
How do you understand such asm....
Reply
Is it normal that you have AVX instructions in wxWidget ? What is your CPU by the way ?
Reply
My CPU does not support AVX.  It's a Yorkfield.

So a WxWidget bug?
Reply
Not a bug, but it seems it was compiled with avx optimization (so fedora bug).
Reply




Users browsing this thread: 2 Guest(s)