JacKeTUs / universal-pidff

GNU General Public License v2.0
78 stars 4 forks source link

Moza R5 No FFB #29

Closed OPNightMarine closed 2 months ago

OPNightMarine commented 2 months ago

Tried both, DKMS and manual install, no FFB on either. Using Boxflat.

System -

OS: Pop!_OS jammy 22.04 x86_64 Kernel: Linux 6.9.3-76060903-generic

I don't know what other info would help, would love to be able to race on linux. Much appreciated.

cjhelloletsgo commented 2 months ago

Did you follow the steps in the signing section? I had a similar problem and that fixed it for me. https://github.com/JacKeTUs/universal-pidff/blob/main/docs/SIGNING.md#signing

Lawstorant commented 2 months ago

Any errors related to loading unsigned module? Are you running your OS with Secure Boot enabled?

OPNightMarine commented 2 months ago

Did you follow the steps in the signing section? I had a similar problem and that fixed it for me. https://github.com/JacKeTUs/universal-pidff/blob/main/docs/SIGNING.md#signing

I missed this part in the docs, hopefully this is the reason.

OPNightMarine commented 2 months ago

Any errors related to loading unsigned module? Are you running your OS with Secure Boot enabled?

I don't have secure boot enabled, from what i can tell i get no errors, just no FFB.

cjhelloletsgo commented 2 months ago

Any errors related to loading unsigned module? Are you running your OS with Secure Boot enabled?

I don't have secure boot enabled, from what i can tell i get no errors, just no FFB.

Secureboot is enabled by default on Ubuntu. Did you explicitly disable it? If you are sure that it is not enabled then ignore this.

I would install mokutil

sudo apt install mokutil -y

Then run

sudo mokutil --sb-state

To confirm secureboot status.

OPNightMarine commented 2 months ago

Yup I made sure it's disabled, while going through the signing docs i noticed it's for secure boot so i assume I skip that part. While looking around, I found the location for DKMS folder that holds the files and found out this in the make log.

make[1]: Entering directory '/usr/src/linux-headers-6.9.3-76060903-generic' warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0

I have no experience on how to use the kernel I have to compile.

Edit I have no idea why its lining it out, hopefully its still readable enough.

Lawstorant commented 2 months ago

So the issue is multifaceted but not caused by universal-pidff at all.

  1. There's a compiler mismatch. You should update your kernel of you can. Run apt update and then full-upgrade.
  2. Pop OS is another broken piece of... software from System 76. They're still using ubuntu 22.04 ad the base. Heah, it's more than 2 hears old at this point and we already have a new LTS with 24.04.

Nothing we can do about it. You should do yourself a favor and switch to vanilla ubuntu, or beyter yet, to something like fedora. Gaming-focused distros don't make any sense. Arch might not be for you yet, but Cachy OS seems to be an easy way in.

TL;DR old packages bad, Pop OS bad, System76 bad.

OPNightMarine commented 2 months ago

So the issue is multifaceted but not caused by universal-pidff at all.

  1. There's a compiler mismatch. You should update your kernel of you can. Run apt update and then full-upgrade.
  2. Pop OS is another broken piece of... software from System 76. They're still using ubuntu 22.04 ad the base. Heah, it's more than 2 hears old at this point and we already have a new LTS with 24.04.

Nothing we can do about it. You should do yourself a favor and switch to vanilla ubuntu, or beyter yet, to something like fedora. Gaming-focused distros don't make any sense. Arch might not be for you yet, but Cachy OS seems to be an easy way in.

TL;DR old packages bad, Pop OS bad, System76 bad.

Kernel is already latest, Issue is just the compiling, which i don't have much experience in. I've looked around to see how i can compile using the same, haven't been able too find it yet. The only difference I can see is the main kernel used x86_64 to compile while it wasn't used for the compiling of universal-pidff. You have your own option about pop os. It's the one that works very well and stable on my system and there's nothing wrong with 22.04 compared to 24.04 especially considering xwayland problems. The "nothing you can do" part i say is not true, this is linux.

Edit - I've gone through all DKMS make logs and all say the exact same. warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu122.04) 12.3.0 You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu122.04) 12.3.0

From this the universal-pidff should work considering the other DKMS installs work as they are.

OPNightMarine commented 2 months ago

Well I don't know what changed, the FFB is now working, even with the compiler warning. I'll close the issue. Now It's time to go racing.

Much appreciated everyone.

Edit - Can't close the issue, whoever can your free too.