Fixes for kernel 6.19 and 7.1 - #17
Conversation
|
@MichelBoucey great work, the kernel module builds fine. However, facing issues with kitty 0.46.2, with frozen window and rainbow border. I think we should also look into porting debian's patches for 340xx, that should fix a lot of issues. For example, for |
|
@coolDudeRude Thank you for your feedback and useful informations. I didn't know that "in_hardirq() was added in v5.11-rc1 (2020-12-15) to replace in_irq()". Quite a long time in IT world indeed. As terminal, I'm using I'm not a c developper, so I'm quite limited, but, perhaps, it would be a (small) enhancement to implement the very simple function wrapper |
|
@coolDudeRude I've implemented this enhancement on this branch. And I am currently running this version on my machine. You can try. But I don't think it will fix your kitty issue, but who knows... |
|
@MichelBoucey great! I'll check it out. I do agree, that this won't solve the kitty issue. However there are 2 issues with kitty, one is segfault, and one I'm currently experiencing. The segfault is caused because of This should resolve most of the segfault related issues. But can't seem to figure out the frozen window issue... I'll test 340xx with debian's patches, let's see if the issue can be resolved. 🤞 |
|
I have modified the commit bound to this PR to add the enhancement. |
|
@isjerryxiao There is now two patches to fix this driver, currently, up to |
|
@MichelBoucey how to install on kernel 7.0? |
6.19.6-arch1-1,nvidia-340xx 340.108-39doesn't build no more. A function,in_irqis no more declared (at least explicitly) :I found that some others have replaced this function by this one,
in_hardirq(https://pastebin.com/Rhdy9KHe) and it works.So, this PR:
0020-kernel-6.19.patch, to make this replacement.0021-kernel-7.0.patch(thanks R3n4n)..SRCINFOandPKGBUILDaccordingly.pkgrelto41(nvidia-340xx 340.108-41)N.B. :Since, I have made more than 12 kernel updates, up to
7.1.2-arch3-1, without issue.