Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Texture replacement improvements for 1.15 (meta issue) #17092

Closed
14 of 16 tasks
hrydgard opened this issue Mar 11, 2023 · 9 comments
Closed
14 of 16 tasks

Texture replacement improvements for 1.15 (meta issue) #17092

hrydgard opened this issue Mar 11, 2023 · 9 comments

Comments

@hrydgard
Copy link
Owner

hrydgard commented Mar 11, 2023

Plans for 1.15

Future plans

  • Also support direct ETC/ASTC/BC through KTX (maybe)
  • In Vulkan, offload image creation and the final upload to the thread, too! This is possible but will be a bit tricky with synchronization of the VRAM allocation.
@ghost
Copy link

ghost commented Mar 14, 2023

Texture replacement in zip file format doesn't work using the recently build 8e5825b

@hrydgard
Copy link
Owner Author

Thanks, I'll check it out.

@hrydgard
Copy link
Owner Author

Should be fixed now.

@ghost
Copy link

ghost commented Mar 15, 2023

Replace texures disable/enable while in-game crashes the emulator.

F DEBUG   : Softversion: PD1930CF_EX_A_6.8.55
03-15 07:59:11.764 17235 17235 F DEBUG   : Time: 2023-03-15 07:59:11
03-15 07:59:11.764 17235 17235 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-15 07:59:11.764 17235 17235 F DEBUG   : Build fingerprint: 'vivo/1906/1906:11/RP1A.200720.012/compiler0316164337:user/release-keys'
03-15 07:59:11.764 17235 17235 F DEBUG   : Revision: '0'
03-15 07:59:11.764 17235 17235 F DEBUG   : ABI: 'arm64'
03-15 07:59:11.764 17235 17235 F DEBUG   : Timestamp: 2023-03-15 07:59:11+0800
03-15 07:59:11.764 17235 17235 F DEBUG   : pid: 16967, tid: 17041, name: EmuThread  >>> org.ppsspp.ppsspp <<<
03-15 07:59:11.764 17235 17235 F DEBUG   : uid: 10235
03-15 07:59:11.765 17235 17235 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x48
03-15 07:59:11.765 17235 17235 F DEBUG   : Cause: null pointer dereference
03-15 07:59:11.765 17235 17235 F DEBUG   :     x0  0000007dda08c900  x1  0000000000000000  x2  0000007df04056c0  x3  0000007d6dbbc700
03-15 07:59:11.765 17235 17235 F DEBUG   :     x4  0000000000000000  x5  0000007d6d76f108  x6  0000007e776a0000  x7  00000000011c4284
03-15 07:59:11.765 17235 17235 F DEBUG   :     x8  0000000000000000  x9  0000000064110a14  x10 0000007d80c11000  x11 000000000009dca9
03-15 07:59:11.765 17235 17235 F DEBUG   :     x12 0000000000000018  x13 00000003e8000000  x14 0025f1d2e6e3f5ce  x15 00009422911462a1
03-15 07:59:11.765 17235 17235 F DEBUG   :     x16 0000007d80f455e0  x17 0000007d80385c80  x18 0000007d80c4b384  x19 0000007dda08c900
03-15 07:59:11.765 17235 17235 F DEBUG   :     x20 0000007d69a88e40  x21 0000007d80f8c2c0  x22 0000007d6d772000  x23 0000007d80f5f318
03-15 07:59:11.765 17235 17235 F DEBUG   :     x24 0000007d80f5f318  x25 0000007d80f92278  x26 0000007d6d771ff8  x27 0000007dcf819c90
03-15 07:59:11.765 17235 17235 F DEBUG   :     x28 0000007d6d679000  x29 0000007d6d7717d0
03-15 07:59:11.765 17235 17235 F DEBUG   :     lr  0000007d8037f0d8  sp  0000007d6d7717a0  pc  0000007d80385cbc  pst 0000000080000000
03-15 07:59:11.776 17235 17235 F DEBUG   : backtrace:
03-15 07:59:11.776 17235 17235 F DEBUG   :       #00 pc 00000000006a9cbc  /data/app/~~d6O6PVI-qZIm1IRvDKpOJA==/org.ppsspp.ppsspp-AqTmhxQzhCZDpuH2iHAngg==/lib/arm64/libppsspp_jni.so (ReplacedTexture::PurgeIfOlder(double)+60) (BuildId: 5aea30fd6ff76f7bb1ef29906dd829be47abcc3f)
03-15 07:59:11.776 17235 17235 F DEBUG   :       #01 pc 00000000006a30d4  /data/app/~~d6O6PVI-qZIm1IRvDKpOJA==/org.ppsspp.ppsspp-AqTmhxQzhCZDpuH2iHAngg==/lib/arm64/libppsspp_jni.so (TextureReplacer::Decimate(ReplacerDecimateMode)+196) (BuildId: 5aea30fd6ff76f7bb1ef29906dd829be47abcc3f)
03-15 07:59:11.776 17235 17235 F DEBUG   :       #02 pc 00000000006a2e50  /data/app/~~d6O6PVI-qZIm1IRvDKpOJA==/org.ppsspp.ppsspp-AqTmhxQzhCZDpuH2iHAngg==/lib/arm64/libppsspp_jni.so (TextureReplacer::NotifyConfigChanged()+248) (BuildId: 5aea30fd6ff76f7bb1ef29906dd829be47abcc3f)
03-15 07:59:11.777 17235 17235 F DEBUG   :       #03 pc 00000000006bb66c  /data/app/~~d6O6PVI-qZIm1IRvDKpOJA==/org.ppsspp.ppsspp-AqTmhxQzhCZDpuH2iHAngg==/lib/arm64/libppsspp_jni.so (GPUCommon::CheckConfigChanged()+128) (BuildId: 5aea30fd6ff76f7bb1ef29906dd829be47abcc3f)
03-15 07:59:11.777 17235 17235 F DEBUG   :       #04 pc 00000000007d3b04  /data/app/~~d6O6PVI-qZIm1IRvDKpOJA==/org.ppsspp.ppsspp-AqTmhxQzhCZDpuH2iHAngg==/lib/arm64/libppsspp_jni.so (DrawGameBackground(UIContext&, Path const&, float, float, float, bool, bool)+132) (BuildId: 5aea30fd6ff76f7bb1ef29906dd829be47abcc3f)
03-15 07:59:11.777 17235 17235 F DEBUG   :       #05 pc 00000000007d47a0  /data/app/~~d6O6PVI-qZIm1IRvDKpOJA==/org.ppsspp.ppsspp-AqTmhxQzhCZDpuH2iHAngg==/lib/arm64/libppsspp_jni.so (UIDialogScreenWithGameBackground::DrawBackground(UIContext&)+176) (BuildId: 5aea30fd6ff76f7bb1ef29906dd829be47abcc3f)
03-15 07:59:11.777 17235 17235 F DEBUG   :       #06 pc 0000000000caf2ac  /data/app/~~d6O6PVI-qZIm1IRvDKpOJA==/org.ppsspp.ppsspp-AqTmhxQzhCZDpuH2iHAngg==/lib/arm64/libppsspp_jni.so (UIScreen::render()+164) (BuildId: 5aea30fd6ff76f7bb1ef29906dd829be47abcc3f)
03-15 07:59:11.777 17235 17235 F DEBUG   :       #07 pc 0000000000cae044  /data/app/~~d6O6PVI-qZIm1IRvDKpOJA==/org.ppsspp.ppsspp-AqTmhxQzhCZDpuH2iHAngg==/lib/arm64/libppsspp_jni.so (ScreenManager::render()+212) (BuildId: 5aea30fd6ff76f7bb1ef29906dd829be47abcc3f)
03-15 07:59:11.777 17235 17235 F DEBUG   :       #08 pc 00000000007b1374  /data/app/~~d6O6PVI-qZIm1IRvDKpOJA==/org.ppsspp.ppsspp-AqTmhxQzhCZDpuH2iHAngg==/lib/arm64/libppsspp_jni.so (NativeRender(GraphicsContext*)+468) (BuildId: 5aea30fd6ff76f7bb1ef29906dd829be47abcc3f)
03-15 07:59:11.777 17235 17235 F DEBUG   :       #09 pc 00000000007a77f8  /data/app/~~d6O6PVI-qZIm1IRvDKpOJA==/org.ppsspp.ppsspp-AqTmhxQzhCZDpuH2iHAngg==/lib/arm64/libppsspp_jni.so (UpdateRunLoopAndroid(_JNIEnv*)+40) (BuildId: 5aea30fd6ff76f7bb1ef29906dd829be47abcc3f)
03-15 07:59:11.777 17235 17235 F DEBUG   :       #10 pc 00000000007a99a8  /data/app/~~d6O6PVI-qZIm1IRvDKpOJA==/org.ppsspp.ppsspp-AqTmhxQzhCZDpuH2iHAngg==/lib/arm64/libppsspp_jni.so (BuildId: 5aea30fd6ff76f7bb1ef29906dd829be47abcc3f)
03-15 07:59:11.777 17235 17235 F DEBUG   :       #11 pc 000000000045ed1c  /data/app/~~d6O6PVI-qZIm1IRvDKpOJA==/org.ppsspp.ppsspp-AqTmhxQzhCZDpuH2iHAngg==/lib/arm64/libppsspp_jni.so (void* std::__ndk1::__thread_proxy<std::__ndk1::tuple<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct> >, void (*)()> >(void*)+44) (BuildId: 5aea30fd6ff76f7bb1ef29906dd829be47abcc3f)
03-15 07:59:11.777 17235 17235 F DEBUG   :       #12 pc 00000000000f4510  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: b1d7ec252d7b460a539cf3a520c06bb8)
03-15 07:59:11.777 17235 17235 F DEBUG   :       #13 pc 000000000008ef34  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: b1d7ec252d7b460a539cf3a520c06bb8)

@hrydgard
Copy link
Owner Author

Pushed a fix for that, I think.

@ghost
Copy link

ghost commented Mar 15, 2023

Still do experience crash if I enable/disable texture replacement.

XiaoYing_Video_1678887811815.mp4

I'm using recently build bcd6f4a

@hrydgard
Copy link
Owner Author

hrydgard commented Mar 15, 2023

Alright, yeah. Toggling it uncovers several additional little issues I need to fix.

@ghost
Copy link

ghost commented Mar 17, 2023

Alright, yeah. Toggling it uncovers several additional little issues I need to fix.

Fixes in build ae8c804

@hrydgard
Copy link
Owner Author

Alright, all the initial goals are done now. Closing this, might get back to the "future" ones later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant