Jump to content
XPEnology Community

Will Chen

Rookie
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Will Chen

  1. On 2/28/2022 at 1:33 AM, IG-88 said:

    this is a test driver for intel gpu's up to 12th gen - at least when it comes to using the pci id of it

    the driver is still the one that comes with synology's kernel and as used in 918+/920+

    instead of patching one or two id's this is a driver build from source containing all of them (taken from kernel 5.17 rc4)

    syno's driver only contains code up to canon lake

    i treated all comet lake gpu's as coffee lake and anything above that as canon lake

    as i have no newer cpu i can't test this, in theory its should at least bring what was working with the patched driver in 6.2.3 back to life in 7.0

    as its only the i915.ko file (and the firmware files)  and not extension for the rp-loader its only meant for people who can freely test, screw up there system and recover or delete and reinstall new

    if the driver is copied to /lib/modules and replaces the original driver, fimrware has its own folder in /lib/ (structure in the zip as guidance)

    it can happen that the system does not boot anymore (worst case scenario), you would need to delete the file manually and if dsm does not start anymore you would need to mount the system partition(s) of all disks as raid1 to remove the file again

    so its meant to be used as testing with a fresh usb and a fresh disk and its meant to be thrown away after testing it

     

    !!! its in the developer section on purpose !!! if you screw up your system and can't recover by yourself then i'm not going to help in any way

    delete the partitions on you test disk or recover system with this https://xpenology.com/forum/topic/7004-tutorial-how-to-access-dsms-data-system-partitions/

    if it works (not worst case) then the system comes up again after a reboot and there should be devices in /dev/dri/, if not it did not work, you should check /var/log/dmesg in that case and check that you replaced the i915.ko properly in /lib/modules/ and also added the firmware in /lib/firmware/i915/

     

     

    the way it might be used later would be as a extension in rp-loader so if its added and fails is can be removed again by removing the extension from the loader

    (but i have not talked to @pocopico if thats a way to use it in tinycore)

    atm its just to play around and to get some feedback about newer gpu's like 10th/11th/12th, newer means more likely not to work but we dont know if we dont  try

     

    i915_universal_918p_DSM7.zip
    https://usersdrive.com/jbm5bdrnzzi8.html

     

    the attached file is the patch used for synology's kernel source include, so if anyone wants to make its own driver or experiment with changing id's ...

    the code has plenty of comment about the pci id's and the cpu type (as long as you understand intels shorts for the gen's like CNL, EHL, JSL TGL, ...)

     

    i915_pciids.h.patch 6.02 kB · 12 downloads

     

     

     

    [  125.001683] [drm] The driver support for your hardware in this kernel version is alpha quality
                   See CONFIG_DRM_I915_ALPHA_SUPPORT or i915.alpha_support module parameter
                   to enable support in this kernel version, or check for kernel updates.

     

    the system can't boot if add i915.alpha_support=1 to grub command line

     

    test platform: DS918+_7.0.1-42218 and DS920+_7.0.1-42218

     

    host cpu: N5095

     

×
×
  • Create New...