Jump to content
XPEnology Community

i915.ko backported driver for intel 10th gen (DS918+ ver 7.0.1 up3)


Recommended Posts

On 5/20/2022 at 11:37 AM, IG-88 said:

Xe? i dont think that this design was in intels driver in end 2017 (syno's i915 driver has a date of 20171222)

thats the reason i asked about the changes

 

So for i5-11600k, driver partially works. /dev/dri is ok, but HW transcoding not working, even the Intel VT-D disabled. Here's the error : 

image.thumb.png.4bb4b5d40fc09d9d27de608a46ec107f.png

Link to comment
Share on other sites

22 hours ago, RedwinX said:

i5-11600k

and that "only" a UHD750, not even Xe

 

22 hours ago, RedwinX said:

but HW transcoding not working, even the Intel VT-D disabled. Here's the error : 

you would need to ask the one doing the drivers for you about errors from the code he used, without code or patches no one here will know whats going on in that modded driver

Link to comment
Share on other sites

10 hours ago, IG-88 said:

and that "only" a UHD750, not even Xe

 

you would need to ask the one doing the drivers for you about errors from the code he used, without code or patches no one here will know whats going on in that modded driver

As I understand, he takes a firmware source v5.15, modify the Makefile to get the 4.4.180+ version, disable preempt & modversions, build the driver module

Link to comment
Share on other sites

15 hours ago, IG-88 said:

and that "only" a UHD750, not even Xe

 

you would need to ask the one doing the drivers for you about errors from the code he used, without code or patches no one here will know whats going on in that modded driver

Tried to compile as same of my friend, but got a lot of missing Unknown symbol...

Can confirm that the build from 5.17 source build the rocket lake igpu driver but...

image.thumb.png.8fe6a15331235ff50596add5fd70f8a7.png

image.thumb.png.c7c62c24328eba82fbcc83118809a04c.pngimage.thumb.png.2bfb8c13f299c707426d002e9b9c5a2b.png

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...
13 hours ago, xuchuan said:

CPU: 10700
I used the 9BC8 file and found a little problem.
jellyfin can decode, but emby prompts me:No compatible streams are currently available. Please try again later or contact your system administrator for details.

Sorry, I am a little confused. Did you use the modules that I have created, or some other ones ? 
 

additionally, I have not used emby before so I am not sure what that error means. Maybe you could check on their forums about hw transcoding issues.

 

Edited by blackmanga
Added emby
Link to comment
Share on other sites

 

On 4/9/2022 at 11:22 PM, blackmanga said:

918+ 7.1 42661 CPU: 10700
I use the module you created.
I enter the emby dashboard to view, and I can see the decoding information
But after watching for 10 seconds, it will freeze and stop. For example, pictures 1, 2
But picture 3, we can see that it has been decoded, but emby is not working. hint

 

1.png

2.png

3.png

Link to comment
Share on other sites

12 hours ago, xuchuan said:

 

 

1.png

2.png

3.png

 

From what i understand, emby uses a custom ffmpeg version to transcoding. It might be possible that it has compatibility issues.

 

Additionally, with plex, tonemapping only worked in a docker container. are you running emby directly or via a docker instance.

 

Link to comment
Share on other sites

52 minutes ago, blackmanga said:

 

From what i understand, emby uses a custom ffmpeg version to transcoding. It might be possible that it has compatibility issues.

 

Additionally, with plex, tonemapping only worked in a docker container. are you running emby directly or via a docker instance.

 

I am running it directly in DSM 918+7.1. No docker container is used.

I also considered it to be a compatibility issue.
Because my CPU is 10700,
Nuclear ID: 9BC5


My friend's CPU is 10900T, DSM 918+7.1, using your module,
Works perfectly.

Link to comment
Share on other sites

1 hour ago, blackmanga said:

 

From what i understand, emby uses a custom ffmpeg version to transcoding. It might be possible that it has compatibility issues.

 

Additionally, with plex, tonemapping only worked in a docker container. are you running emby directly or via a docker instance.

 

Emby can work with nuclear display.
In the picture, the nuclear display has been called for transcoding
I don't know the specific reason for this.
Because you can see that the decoding is successful in the emby dashboard, but it will be stuck.

 

At the same time, I also encountered the same problem as others.
If I use 920+ 7.1 ,
It will display the standby interface of the monitoring system

emby.png

1.jpg

Link to comment
Share on other sites

6 hours ago, xuchuan said:

Emby can work with nuclear display.
In the picture, the nuclear display has been called for transcoding
I don't know the specific reason for this.
Because you can see that the decoding is successful in the emby dashboard, but it will be stuck.

 

At the same time, I also encountered the same problem as others.
If I use 920+ 7.1 ,
It will display the standby interface of the monitoring system

emby.png

1.jpg


device id 9BC5 is included in the drivers, so that is not the issue.
 

I am not an emby expert, so I am at a loss here to explain why it’s not working. You mentioned that it works with jellyfin, so the drivers are probably not the problem. It could be some setting issues or just the ffmpeg issue. You can try checking the emby forums. 
 

re the screensaver in 920+, it’s not really a problem. It’s just a screensaver. All these units are supposed to be headless, so the video screen is not used for anything except some initial boot messages. 
 

Link to comment
Share on other sites

6 minutes ago, blackmanga said:


device id 9BC5 is included in the drivers, so that is not the issue.
 

I am not an emby expert, so I am at a loss here to explain why it’s not working. You mentioned that it works with jellyfin, so the drivers are probably not the problem. It could be some setting issues or just the ffmpeg issue. You can try checking the emby forums. 


https://emby.media/community/index.php?/topic/96870-ds920-transcoding-freezes/

 

https://emby.media/community/index.php?/topic/103718-ds920-constant-freezingcrashing-on-all-devices-when-streaming-hevc4k/

6 minutes ago, blackmanga said:

 

re the screensaver in 920+, it’s not really a problem. It’s just a screensaver. All these units are supposed to be headless, so the video screen is not used for anything except some initial boot messages. 
 

 

Link to comment
Share on other sites

11 hours ago, blackmanga said:

 

Hi!
Thank you very much for your answer.
After I searched for the reasons in many aspects. Your module is not any problem
It is the reason of Google Chrome. (It is estimated that it is a version problem)
When I switch to Firefox. It works perfectly.

Link to comment
Share on other sites

13 hours ago, xuchuan said:

Hi!
Thank you very much for your answer.
After I searched for the reasons in many aspects. Your module is not any problem
It is the reason of Google Chrome. (It is estimated that it is a version problem)
When I switch to Firefox. It works perfectly.


 

super! Glad to hear it is working :-) 

Link to comment
Share on other sites

I'm very new to this so sorry if this is a dumb question but , where is the linux.4.4.x folder of the GPL source. I have the ko files copied to volume1/homes/user and put all the .bin files in the firmware folder. I have the rm_ modules and in_modules in the same folder as the .ko files . I just don't know what to do with the patch file?  

Link to comment
Share on other sites

On 5/31/2022 at 8:43 PM, javikobcn said:

This should work on J5040 processor? i know is a 9th gen but i need this modules...

 

if you look up the pci id of that iGPU its 0x3184

https://www.intel.com/content/www/us/en/products/sku/197304/intel-pentium-silver-j5040-processor-4m-cache-up-to-3-20-ghz/specifications.html

and if you look into the list i made for synology's driver (its still the same version for 7.0./7.1, no newer backport) then you will find that its already supported, i made a lost of the pci id's in the driver here ("iGPU device ID's supported by synology's i915 driver"):

https://xpenology.com/forum/topic/28321-driver-extension-jun-103b104b-for-dsm623-for-918-3615xs-3617xs/

 

On 5/31/2022 at 8:43 PM, javikobcn said:

But i don't know how to add it, im running a dsm 7.1-42661 ds 920+

 

the i915.ko driver (and other *.ko files belonging to it, aka dependencies) is part of dsm itself, no need to add anything and as long as the firmware file are available it will support all the hardware that the driver is capable of

if there is nothing in /dev/dri then check the log for the missing firmware files and place them in /usr/lib/firmware/i915/ where the default files from sysnology should already be present

 

Edited by IG-88
Link to comment
Share on other sites

any idea what im doing wrong im trying to run the patch file and im getting

"/usr/local/bin/patch: illegal option -- 0
Incorrect option specified in command line"

 

Im been trying to set this up for about 2 days. Im running DSM 7.1-42261 with an i5 10600k 

Link to comment
Share on other sites

On 6/26/2022 at 1:56 PM, Bmac said:

I'm very new to this so sorry if this is a dumb question but , where is the linux.4.4.x folder of the GPL source. I have the ko files copied to volume1/homes/user and put all the .bin files in the firmware folder. I have the rm_ modules and in_modules in the same folder as the .ko files . I just don't know what to do with the patch file?  

You don’t need the patch file. That is only required if you are making the modules from scratch. 
 

I have created the modules for 920+ and 918+ systems ( links are on page 1) and you can use them for your purposes. 
 

follow the process as below 

——————

 

You will need to test if they work for your system. What i have provided are the modules (.ko files). you will also need the firmware files for your iGPU

 

1) You can put the new modules in a temporary location first to test (e.g. /tmp or your user directory like /volume1/homes/user   - replace user with your username).  

 

2) By default, the firmware files are not copied by the redpill loaders. So you can download them from

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915    and place them in /usr/lib/firmware/i915

 

I have copied the following, but the important ones are kbl_dmc_ver1_04.bin, kbl_guc_ver9_39.bin, kbl_huc_ver02_00_1810.bin  (for the 10th gen). To be safe you can get them all.

bxt_dmc_ver1_07.bin
bxt_guc_ver9_29.bin
bxt_huc_ver01_07_1398.bin
cnl_dmc_ver1_06.bin
glk_dmc_ver1_04.bin
kbl_dmc_ver1_01.bin
kbl_dmc_ver1_04.bin
kbl_guc_ver9_39.bin
kbl_huc_ver02_00_1810.bin
skl_dmc_ver1_26.bin
skl_dmc_ver1_27.bin
skl_guc_ver9_33.bin
skl_huc_ver01_07_1398.bin

 

3) Copy in_modules.sh and rm_modules.sh in the same directory as where you copied the .ko files. and run the the following

sudo rm_modules.sh

sudo in_modules.sh

 

if successful, you should have /dev/dri

 

4) Once you are satisfied that your system is stable and HW transcoding is working properly, you can copy the .ko files into /usr/lib/modules

Link to comment
Share on other sites

I'm trying to install i918+ drivers on intel 10100t and asrock h410m-hvs. Now I have /dev/dri but it doesn't work

[   34.646813] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   34.653531] [drm] Driver supports precise vblank timestamp query.
[   34.660108] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   34.671918] [drm] Initialized i915 1.6.0 20171222 for 0000:00:02.0 on minor 0
[   34.680155] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[   34.686277] [drm:csr_load_work_fn [i915]] *ERROR* DMC firmware has wrong CSS header length (1097158924 bytes)
[   34.686279] i915 0000:00:02.0: Failed to load DMC firmware i915/kbl_dmc_ver1_04.bin. Disabling runtime power management.
[   34.686279] i915 0000:00:02.0: DMC firmware homepage: https://01.org/linuxgraphics/downloads/firmware
[   34.718251] acpi device:0f: registered as cooling_device8
[   34.723826] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input3
[   34.742925] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device

 

Edited by FalseMetal
edit
Link to comment
Share on other sites

8 hours ago, FalseMetal said:

I'm trying to install i918+ drivers on intel 10100t and asrock h410m-hvs. Now I have /dev/dri but it doesn't work

[   34.646813] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   34.653531] [drm] Driver supports precise vblank timestamp query.
[   34.660108] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   34.671918] [drm] Initialized i915 1.6.0 20171222 for 0000:00:02.0 on minor 0
[   34.680155] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[   34.686277] [drm:csr_load_work_fn [i915]] *ERROR* DMC firmware has wrong CSS header length (1097158924 bytes)
[   34.686279] i915 0000:00:02.0: Failed to load DMC firmware i915/kbl_dmc_ver1_04.bin. Disabling runtime power management.
[   34.686279] i915 0000:00:02.0: DMC firmware homepage: https://01.org/linuxgraphics/downloads/firmware
[   34.718251] acpi device:0f: registered as cooling_device8
[   34.723826] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input3
[   34.742925] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device

 

Looks like there is some issue with the firmware file kbl_dmc_ver1_04.bin. 

 

can you download again from the link provided above and try. 

Could you please give me the output of the following directory. 
 

ls -al /usr/lib/firmware/i915/

Edited by blackmanga
ls
Link to comment
Share on other sites

4 часа назад, blackmanga сказал:

Looks like there is some issue with the firmware file kbl_dmc_ver1_04.bin. 

 

can you download again from the link provided above and try. 

Could you please give me the output of the following directory. 
 

ls -al /usr/lib/firmware/i915/

Reinstalled kbl_dmc_ver1_04.bin, but still error

error.png

i915.png

Link to comment
Share on other sites

Those files look like they havent been downloaded correctly. the file should be around 8840 bytes only.

image.png.11772e1d9bb69cde6dda116ff07f5d17.png

 

The files need to be download from "plain" link.

 

wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/i915/kbl_dmc_ver1_04.bin

wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/i915/kbl_guc_ver9_39.bin

wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/i915/kbl_huc_ver02_00_1810.bin

 

Also the permissions dont look correct. once you download the files correctly, can you run the following in the firmware directory.

chmod 655 *

 

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...