warpme / minimyth2

Distro to make disk-less MythTV appliance
https://github.com/warpme/minimyth2/wiki
69 stars 20 forks source link

nvidia-340.108 with linux 6.1 and linux 6.6 #45

Closed pv4 closed 1 year ago

pv4 commented 1 year ago

Hi!

I migrated to linux 6.1 from 5.19 a couple of days ago and found the newer kernel requires nvidia-340.108 to be patched more to be successfully built. The patch I use is attached, worked for me fine for a couple of days. But the changes are so that there is a probability some issues can happen (or not, I only have one machine to test) on setups other than my one. Could you please consider reviewing, testing and committing the patch?

Related kernel changes I based the patch on:

0013-fix-compile-on-6.1.patch.gz

warpme commented 1 year ago

Sorry for late replay and many thx for your contribution. I already integrated it into mm2 6.1 kernel - but not tested yet. (key issue for me is that going with nvidia property driver needs downgrade xorg-server :-(( )

pv4 commented 1 year ago

That's sad :(

What xorg-server version started to break the nvidia driver? What error does it generate?

warpme commented 1 year ago

IIRC last working (with compatible ABI) was: 1.20.x

warpme commented 1 year ago

I switched mm2 to in-kernel nouveau. By this nvidia proprietary drivers are unsupported now. By this I'm closing this ticket. Thx for your help!

pv4 commented 4 months ago

New nvidia-340 + linux-6.6 patch (xorg-server-1.20), Succesfully tested for couple of weeks with kernels 6.6.8 and 6.6.17 . The patch is not intended to be used with linux-6.5 or older.

I do NOT ask you to merge it to the project or to integrate it with the project in some other way. I send it here so anyone can find it somewehere. It's absolutely okay for it to only be found in this issue.

Sorry for any inconvenience.

This project has been the source of nvidia340 patches for newest kernels for a long time so I'd like to share the patches I wrote so everyone who used the previous patches from this project can find it.

I use slackware64-15.0 (stable) with kernels from slackware64-current so I currently hove xorg-server-1.20 and linux-6.6 and this patch actually matters for me. Probably there are other people who will find this patch useful.

1001-fix-compile-on-6.6.patch.gz