flathub / net.pcsx2.PCSX2

https://flathub.org/apps/details/net.pcsx2.PCSX2
12 stars 11 forks source link

Add `pcsx2-qt` #46

Closed j8r closed 2 years ago

j8r commented 2 years ago

The new Qt frontend aims to replace the old wxWidgets one in the future.

It is still WIP and not expected to fully work, that's why it is not the default command.

flathubbot commented 2 years ago

Started test build 80460

flathubbot commented 2 years ago

Build 80460 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/78350/net.pcsx2.PCSX2.flatpakref
j8r commented 2 years ago

The Qt frontend is not supported and not functional. The PR will be ready when it will be.

dillbyrne commented 2 years ago

It looks like they have started shipping a QT version for the linux nightlies as of v1.7.3050

flathubbot commented 2 years ago

Started test build 99253

flathubbot commented 2 years ago

Started test build 99254

flathubbot commented 2 years ago

Started test build 99259

flathubbot commented 2 years ago

Build 99254 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/96982/net.pcsx2.PCSX2.flatpakref
flathubbot commented 2 years ago

Build 99259 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/96987/net.pcsx2.PCSX2.flatpakref
flathubbot commented 2 years ago

Build 99253 failed

flathubbot commented 2 years ago

Started test build 99649

flathubbot commented 2 years ago

Build 99649 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/97378/net.pcsx2.PCSX2.flatpakref
j8r commented 2 years ago

Anyone wants to test? Looks good to me.

dillbyrne commented 2 years ago

Sure, I'm testing it out here. I'll update here if I see anything. Thanks for your work on this :+1:

dillbyrne commented 2 years ago

Ok so the interface loads fine I can configure controllers bios etc,

The games list shows up without the game title but that could be due to the way I have the iso files names eg SLUS-XXXXX.iso

When I try to start the bios or game it quits. Trying to figure out how to get some logs so I can dig deeper.

Also I have the normal flatpak installed along side it, not sure if that makes any difference

dillbyrne commented 2 years ago

The pcsx2 logs didn't have any information. So Im trying to run it via cli to see whats displayed when it crashes

Any idea how I can launch this from the cli ?

I'm trying flatpak run --branch=test net.pcsx2.PCSX2 but it just keeps launching the wxwidgets version. I uninstalled all other versions of pcsx2 so now I only have the test one

j8r commented 2 years ago

Thanks! You can add the option --command=pcsx2-qt after flatpak. Looks good for an initial support. Bugs like this will likely have to be reported upstream, but last time I did they were not accepting any Qt issues related to Linux - I hope it has changed.

dillbyrne commented 2 years ago

Hi thanks for the help, It seems to be failing to load the fonts on my end.

flatpak  --command=pcsx2-qt run net.pcsx2.PCSX2 
QStandardPaths: wrong permissions on runtime directory /run/user/1000, 0755 instead of 0700
Qt: Session management error: Could not open network socket
Program Path: /app/bin/pcsx2-qt
AppRoot Directory: /app/bin
DataRoot Directory: /home/dill/.var/app/net.pcsx2.PCSX2/config/PCSX2
Resources Directory: /app/bin/resources
Loading config from /home/dill/.var/app/net.pcsx2.PCSX2/config/PCSX2/inis/PCSX2.ini.
BIOS Directory: /home/dill/.var/app/net.pcsx2.PCSX2/config/PCSX2/bios
Snapshots Directory: /home/dill/.var/app/net.pcsx2.PCSX2/config/PCSX2/snaps
Savestates Directory: /home/dill/.var/app/net.pcsx2.PCSX2/config/PCSX2/sstates
MemoryCards Directory: /home/dill/.var/app/net.pcsx2.PCSX2/config/PCSX2/memcards
Logs Directory: /home/dill/.var/app/net.pcsx2.PCSX2/config/PCSX2/logs
Cheats Directory: /home/dill/.var/app/net.pcsx2.PCSX2/config/PCSX2/cheats
CheatsWS Directory: /home/dill/.var/app/net.pcsx2.PCSX2/config/PCSX2/cheats_ws
CheatsNI Directory: /home/dill/.var/app/net.pcsx2.PCSX2/config/PCSX2/cheats_ni
Covers Directory: /home/dill/.var/app/net.pcsx2.PCSX2/config/PCSX2/covers
Game Settings Directory: /home/dill/.var/app/net.pcsx2.PCSX2/config/PCSX2/gamesettings
Cache Directory: /home/dill/.var/app/net.pcsx2.PCSX2/config/PCSX2/cache
Textures Directory: /home/dill/.var/app/net.pcsx2.PCSX2/config/PCSX2/textures
Input Profile Directory: /home/dill/.var/app/net.pcsx2.PCSX2/config/PCSX2/inputprofiles
[    1.0142] PCSX2 Nightly - v1.7.3042 Compiled on Jul  8 2022
[    1.0143] Savestate version: 0x9a2d0000
[    1.0143] 
[    1.0143] Host Machine Init:
[    1.0144]    Operating System =  Linux
[    1.0144]    Physical RAM     =  15890 MB
[    1.0165]    CPU name         =  Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
[    1.0165]    Vendor/Model     =  GenuineIntel (stepping 0A)
[    1.0165]    CPU speed        =  1.992 ghz (8 logical threads)
[    1.0165]    x86PType         =  Standard OEM
[    1.0165]    x86Flags         =  bfebfbff 7ffafbbf
[    1.0165]    x86EFlags        =  2c100800
[    1.0165] 
[    1.0165] x86 Features Detected:
[    1.0166]    SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 FMA
[    1.0166] 
[    1.0169] Main Memory Manager              @ 0x0000564680000000 -> 0x00005646A8000000 [640mb]
[    1.0174] Reserving memory for recompilers...
[    1.0179]    Micro VU0 Recompiler Cache       @ 0x000056469C000000 -> 0x00005646A0000000 [64mb]
[    1.0184]    Micro VU1 Recompiler Cache       @ 0x00005646A0000000 -> 0x00005646A4000000 [64mb]                                                                                                                  
[    1.0191]    R5900-32 Recompiler Cache        @ 0x0000564690000000 -> 0x0000564694000000 [64mb]                                                                                                                  
[    1.0194]    R3000A Recompiler Cache          @ 0x0000564694000000 -> 0x0000564696000000 [32mb]                                                                                                                  
[    1.0195]    VIF0 Unpack Recompiler Cache     @ 0x0000564696000000 -> 0x0000564696800000 [8mb]                                                                                                                   
[    1.0196]    VIF1 Unpack Recompiler Cache     @ 0x0000564698000000 -> 0x0000564698800000 [8mb]                                                                                                                   
[    1.0196] Installing POSIX SIGSEGV handler...
[    1.0196] Mapping host memory for virtual systems...
[    1.0199]    EE Main Memory                   @ 0x0000564680000000 -> 0x0000564682884000 [40mb]
[    1.0200]    IOP Main Memory (2mb)            @ 0x0000564684000000 -> 0x0000564684211000 [2mb]                                                                                                                   
[    1.0200]    VU0/1 on-chip memory             @ 0x0000564688000000 -> 0x000056468800A000 [40kb]                                                                                                                  
[    1.0201] Failed to read resource file 'game_controller_db.txt'
[    1.0201] Controller database resource is missing.
[    1.2191] Scanning /home/dill/Games/ROMS/PS2 (recursively)
[   15.5206] Allocating memory map...
[   15.5207] Allocating host memory for virtual systems...
[   15.5208] Opening CDVD...
[   15.5210] isoFile open ok: /home/dill/Games/ROMS/PS2/SCUS-97198 (1.00).iso
[   15.5210]    Image type  = DVD
[   15.5210]    blocks      = 1368320
[   15.5210]    offset      = 0
[   15.5210]    blocksize   = 2048
[   15.5211]    blockoffset = 24
[   15.5211]  * CDVD Disk Open: DVD, Single layer or unknown:
[   15.5211]  * * Track 1: Data (Mode 1) (1368320 sectors)
[   15.5211] (IsoFS) Block 0x10: Primary partition info.
[   15.5212] (IsoFS) Filesystem is ISO9660
[   15.5212] Opening GS...
[   15.5354] createDisplay(0, 1)
[   15.5828] Vsync is OFF
[   15.5991] Enabling extension: VK_KHR_surface
[   15.5992] Enabling extension: VK_KHR_xlib_surface
[   15.6077] GPU 0: Intel(R) UHD Graphics 620 (KBL GT2)
[   15.6077] 1 vulkan queue families
[   15.6087] Enabling extension: VK_KHR_swapchain
[   15.6087] Enabling extension: VK_EXT_provoking_vertex
[   15.6087] Enabling extension: VK_EXT_memory_budget
[   15.6087] Enabling extension: VK_KHR_driver_properties
[   15.6106] GPU timing is supported (TS=1 TS valid bits=36, TS period=83.333336)
[   15.6106] VK_EXT_provoking_vertex is supported
[   15.6106] VK_ARM_rasterization_order_attachment_access is NOT supported
[   15.6109] (SwapChain) Preferred present mode: VK_PRESENT_MODE_IMMEDIATE_KHR, selected: VK_PRESENT_MODE_IMMEDIATE_KHR
[   15.6120] Read 148 entries from '/home/dill/.var/app/net.pcsx2.PCSX2/config/PCSX2/cache/vulkan_shaders.idx'
[   15.6127] Failed to read resource file 'fonts/Roboto-Regular.ttf'
/run/build/pcsx2-qt/pcsx2/Frontend/ImGuiManager.cpp:89: assertion failed in function bool ImGuiManager::Initialize(): Failed to load font data

Aborting application.
flathubbot commented 2 years ago

Started test build 101488

flathubbot commented 2 years ago

Build 101488 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/99210/net.pcsx2.PCSX2.flatpakref
j8r commented 2 years ago

Fixed, I launched a game and it worked. I've also created a comment about this issue, I've added a temporary fix by using a symlink.

dillbyrne commented 2 years ago

Working now. Thanks for sorting this @j8r :clap: :+1: