sharp-drm-driver icon indicating copy to clipboard operation
sharp-drm-driver copied to clipboard

Update to work with 6.8+ and 6.11 kernels

Open Kiboneu opened this issue 7 months ago • 5 comments

The drm calling convention has changed a bit.

fbdev_generic has been renamed to fbdev_ttm since 6.11-rc1: https://github.com/torvalds/linux/commit/aae4682e5d66c1e1dc181fa341652e037237f144

And a format conversion state needs to be passed to drm_fb_xrgb8888_to_gray8 since 6.8-rc1: https://github.com/torvalds/linux/commit/4cd24d4b1a9548f42cdb7f449edc6f869a8ae730

works for now, barely tested so far. I'm not 100% sure if I'm using drm_format_conv_state correctly / efficiently.

Should fix https://github.com/ardangelo/sharp-drm-driver/issues/14.

Kiboneu avatar Apr 22 '25 06:04 Kiboneu

Thanks for your work, I am testing it out now.

ardangelo avatar May 02 '25 00:05 ardangelo

for anyone looking: sudo apt install linux-headers-rpi-v8 as for newer kernels raspberrypi-kernel-headers is no more (and in case you're running x64)

fominok avatar May 25 '25 04:05 fominok

Thanks for your work, I am testing it out now.

can you merge and accept, please? sqfmi beepy modules are broken currently

scruss avatar Jul 27 '25 21:07 scruss

can you merge and accept, please? sqfmi beepy modules are broken currently

This would be a nice quality of life upgrade. I would like this to be merged as well.

michaelriedl avatar Sep 30 '25 23:09 michaelriedl

Update your driver to version 6.12.25. The tests I did were feasible, but I couldn't do more testing because my Beepy burned out due to a faulty battery and I haven't repaired it yet. But if Andrew wants to try it and update the repository, here's the link: https://github.com/ZoltXs/sharp-drm-driver2. I tested it on Trixie.

ZoltXs avatar Nov 04 '25 14:11 ZoltXs