Bug 282655 - emulators/pcsx2: pcsx2-1.7.5698 fails to detect SSE4.1 properly with error "Error in cpuinfo: failed to detect topology"
Summary: emulators/pcsx2: pcsx2-1.7.5698 fails to detect SSE4.1 properly with error "E...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Ganael LAPLANCHE
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-09 20:56 UTC by celcion
Modified: 2024-11-16 08:59 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (martymac)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description celcion 2024-11-09 20:56:18 UTC
Got an error "Error in cpuinfo: failed to detect topology" on AMD Ryzen 7 3700X with subsequent message that I need an SSE4.1 support that Ryzen 7 surely does support.
Looks like a bug in 3rdparty library cpuinfo that was supposedly fixed in https://github.com/pytorch/cpuinfo/issues/248
So either need to update PCSX2 to more recent version (that has this fix integrated) or update this specific library.
OS: FreeBSD 14.1 amd64
Comment 1 Ganael LAPLANCHE freebsd_committer freebsd_triage 2024-11-12 15:03:27 UTC
Hello,

Thanks for your report!

I'll update the port ASAP, stay tuned.

Best regards,

Ganael.
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-11-15 16:03:08 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=59bc324ecf7641895b20c7825d78ddf37ceae854

commit 59bc324ecf7641895b20c7825d78ddf37ceae854
Author:     Ganael LAPLANCHE <martymac@FreeBSD.org>
AuthorDate: 2024-11-15 15:58:41 +0000
Commit:     Ganael LAPLANCHE <martymac@FreeBSD.org>
CommitDate: 2024-11-15 15:58:41 +0000

    emulators/pcsx2: Update to 2.3.9

    Also:
    - Remove tuples-handling code (every dependency is now in-tree)
    - Disable Vulkan support as it needs a modified version
    - Remove local cpuinfo patch (integrated + updated upstream,
      this should fix PR 282655)

    PR: 282655
    Reported by:    celcion@gmail.com

 emulators/pcsx2/Makefile                           |  24 +-
 emulators/pcsx2/Makefile.tuples (gone)             |   9 -
 emulators/pcsx2/distinfo                           |  20 +-
 emulators/pcsx2/files/gen_gh_tuple.sh (gone)       |  29 -
 .../pcsx2/files/patch-3rdparty-cpuinfo.txt (gone)  | 609 ---------------------
 ...h-pcsx2-GS-Renderers-Vulkan-GSDeviceVK.h (gone) |  10 -
 .../patch-pcsx2-qt-AutoUpdaterDialog.cpp (gone)    |  11 -
 emulators/pcsx2/pkg-plist                          |   7 +
 8 files changed, 17 insertions(+), 702 deletions(-)
Comment 3 Ganael LAPLANCHE freebsd_committer freebsd_triage 2024-11-15 16:04:20 UTC
Hello,

Can you check this update fixes the problem please ?

Best regards,

Ganael.
Comment 4 celcion 2024-11-15 20:25:09 UTC
(In reply to Ganael LAPLANCHE from comment #3)

I checked and it works perfectly fine! Thank you very much!

Here's my config (in case it matters):

Operating System: FreeBSD 14.1
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.116.0
Qt Version: 5.15.15
Kernel Version: 14.1-RELEASE-p5 (64-bit)
Graphics Platform: X11
Memory: 63,9 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2
Comment 5 Ganael LAPLANCHE freebsd_committer freebsd_triage 2024-11-16 08:59:15 UTC
(In reply to celcion from comment #4)

Perfect! Thanks for your feedback :)

Cheers,

Ganael.