Closed LOSEARDES77 closed 3 months ago
https://github.com/hyprwm/Hyprland/blob/main/CMakeLists.txt#L95-L95
try compiling hyprland with -no-pie -fno-pic
https://github.com/hyprwm/Hyprland/blob/main/CMakeLists.txt#L95-L95
try compiling hyprland with
-no-pie -fno-pic
I get the exact same logs
ugh, I have to find a better way to patch relative addressing
I thought this had to be with my pc. So is a bug with the hook system?
yah
Still can't see why it works for other people then but i believe in you to fix it <3
Do i need to refresh the Hyprland session?
refresh? it's a patch, recompile it with it
I mean after compiling installing exit hyprland and re enter or only the Headers is what matters?
yea re enter its a code patch
[LOG] [functionhook] assembler returned:
[LOG] [functionhook] assembler returned:
/tmp/hypr/.hookcode.asm: Assembler messages:
/tmp/hypr/.hookcode.asm:7: Error: no such instruction: `movz -0x7f6d71c27235(%rip),%eax'
[ERR] [functionhook] failed, unsupported asm / failed assembling:
push %r12
push %rbp
mov %rsi, %rbp
push %rbx
mov %rdi, %rbx
sub $0x60, %rsp
movzx 0x29230b(%rip), %eax
[ERR] [PluginSystem] Plugin /home/loseardes77/Repos/hyprland-plugins/hyprexpo/hyprexpo.so (Handle 21f84e0) crashed in init. Unloading.
[LOG] [PluginSystem] Plugin unloaded.
I recompiled the plugin too with new headers just in case
right that won't work... hm.
What shoudl i answer here when patching?
oops I did a dumb and molten 2 patches together. Gimme sec
the patch is only for the HookSystem.cpp and hpp right?
Ok now works fine. Thanks you!
well wait for me to commit it lol
done, enjoy
I still seem to be getting the same problem
when i try to load the plugin with hyprpm it says everything was ok but when doing
hyprctl plugin list
says no plugins loadedLogs i found usefull:
I'm on latest git version of hyprland
i have tryed to compile separated and load with hyprctl but i get the same logs and this error message on hyprctl: