Jump to content

[Plugin] Realtek R8125 R8126 R8168 and R8152\6\7 drivers


Recommended Posts

2 minutes ago, ich777 said:

Can be a bit more specific? What did auto uninstall the driver? Are you sure that you don't have a new tab in the Plugins tab that is named "Plugins Error"?

 

Did you wait until your server sent you a notification that it is safe to reboot when doing the upgrade?

 

If you don't have any issues with the built in driver then the answer is: no.

during the upgrade to 6.12.10, unraid shows it failed to install new version of this plugin(which I am sure it was already the lastest version), then it shows the uninstallation of this plugin somehow?

 

Then I wait for the notice about upgrade finishing, reboot, the driver is gone, and everything still working.

Link to comment
8 minutes ago, xyzeratul said:

during the upgrade to 6.12.10, unraid shows it failed to install new version of this plugin(which I am sure it was already the lastest version), then it shows the uninstallation of this plugin somehow?

Through a notification in the top right corner correct?

Are you sure that you don't have a "Plugins Error" tab in the Plugins section from Unraid?

 

9 minutes ago, xyzeratul said:

Then I wait for the notice about upgrade finishing, reboot, the driver is gone, and everything still working.

If everything is working then leave it as it is, if you got issues then I would recommend installing this plugin again.

Link to comment
1 minute ago, ich777 said:

Through a notification in the top right corner correct?

Are you sure that you don't have a "Plugins Error" tab in the Plugins section from Unraid?

 

If everything is working then leave it as it is, if you got issues then I would recommend installing this plugin again.

 

Yes I am sure, I don't have  "Plugins Error", only notifications.

 

OK I will test the new version for a few days see how it goes, Thank you

Link to comment
  • 1 month later...
Posted (edited)
On 6/8/2024 at 8:59 PM, jacobbraeutigam said:

Is it possible to add the Realtek 8126 drivers to this driver plugin? The source is available on the realtek page.

Yes, it should be able to be supported, looks like a good 5G NIC. Hopefully the r8157 USB NIC will come out soon so it can be paired. The r8157 driver code is already there in r8152 plugin.

@ich777  I have updated the source code for r8126, can you please add it to the build. Thank you.

Edited by jinlife
Link to comment
1 minute ago, jinlife said:

@ich777  I have updated the source code for r8126, can you please add it to the build. Thank you.

This will take me probably one or two days since I'm not at home but I will do it ASAP and let you know! :)
(Maybe I can free up some time later today)

Link to comment
1 minute ago, ich777 said:

This will take me probably one or two days since I'm not at home but I will do it ASAP and let you know! :)
(Maybe I can free up some time later today)

Oh, no rush. Please enjoy your personal time.

Link to comment

@ich777

I apologize for the additional request, but when you are performing the build, could you please trigger the compilation for version Unraid 6.12.10 with both r8126 and r8152. I have updated the r8152 version to 2.18.1 while integrating the r8126 code, which supports the r8157 5G network card. This update will enable support for both 5G PCI and USB network cards in the 6.12.10 release.

Link to comment
  • jinlife changed the title to [Plugin] Realtek R8125 R8126 R8168 and R8152\6\7 drivers

Thank's a lot!
 

My first impressions after one day of usage:

  • it runs stable
  • package C-states can be reached
  • power draw of the NIC approx. 0.6W above RTL8125 (as expected)
  • for the most part the speed is as expected
  • when transmitting many small packets, the RTL8126 is slower than an RTL8125 (without any noticeable impact of the MTU)
  • Like 2
Link to comment

Hi, it there currently an issue with r8125 and 6.12.10?
If I install it I'm only seeing half the speed of an GbE connection even if I'm connected to an 2.5GbE connection.
It doen't matter if I turn ASPM on or leave it off.

When I uninstall the driver it defaults back to the r8169 and I get my 2.5GbE connections speeds just fine, but then I can't enable ASPM.
I can see the last version for r8125 is from the 4th of April 2024, is there a potential newer version?

Currently I can decide between 2 option:

  • No Plugin: C3 but 2.5GbE speeds
  • With Plugin: C8 but around 300-450Mb/s

Both aren't great.

I also tried to disable EEE, but that didn't change anything.

Edited by Szene
Added information
Link to comment
6 minutes ago, Szene said:

I can see the last version for r8125 is from the 4th of April 2024, is there a potential newer version?

Please note that the plugin version does not reflect the driver version!

 

The drivers for Unraid 6.12.10 (Kernel version 6.1.79) are actually from 2024-06-13:

grafik.png.9ccda71ab579b0ab0170125b2fa73db6.png

 

6 minutes ago, Szene said:

With Plugin: C8 but around 300-450Mb/s

I think you mean 300-450Mbit/s...?

 

300MB/s would be about 2.5Gbit/s

Link to comment
19 minutes ago, ich777 said:

Please note that the plugin version does not reflect the driver version!

 

The drivers for Unraid 6.12.10 (Kernel version 6.1.79) are actually from 2024-06-13:

grafik.png.9ccda71ab579b0ab0170125b2fa73db6.png


Sorry, I didn't knew that. Thanks for the clarification.

Sadly my issue still persist.
Any idea what could cause the significant speed drop when the drivers are installed?
My goal would be for the speed not to drop and to keep the higher C-states.

Or is this just not possible?

 

  

19 minutes ago, ich777 said:

I think you mean 300-450Mbit/s...?

 

300MB/s would be about 2.5Gbit/s


Yeah, Mbit/s
 

  • With (C8)

[  4]   0.00-1.00   sec  45.6 MBytes   383 Mbits/sec
[  4]   1.00-2.00   sec  46.5 MBytes   390 Mbits/sec
[  4]   2.00-3.00   sec  45.9 MBytes   385 Mbits/sec
[  4]   3.00-4.00   sec  47.8 MBytes   401 Mbits/sec
[  4]   4.00-5.00   sec  49.8 MBytes   417 Mbits/sec
[  4]   5.00-6.00   sec  46.4 MBytes   389 Mbits/sec
[  4]   6.00-7.00   sec  47.4 MBytes   397 Mbits/sec
[  4]   7.00-8.00   sec  47.2 MBytes   396 Mbits/sec
[  4]   8.00-9.00   sec  45.5 MBytes   382 Mbits/sec
[  4]   9.00-10.00  sec  47.8 MBytes   401 Mbits/sec

 

  • Without (C3)

[  4]   0.00-1.00   sec   269 MBytes  2.26 Gbits/sec
[  4]   1.00-2.00   sec   278 MBytes  2.33 Gbits/sec
[  4]   2.00-3.00   sec   281 MBytes  2.36 Gbits/sec
[  4]   3.00-4.00   sec   280 MBytes  2.35 Gbits/sec
[  4]   4.00-5.00   sec   282 MBytes  2.36 Gbits/sec
[  4]   5.00-6.00   sec   282 MBytes  2.37 Gbits/sec
[  4]   6.00-7.00   sec   281 MBytes  2.36 Gbits/sec
[  4]   7.00-7.71   sec   199 MBytes  2.37 Gbits/sec

Same connection, just with and without drivers.


Edit:
I just saw that 6.12.10 reverted the kernel back to v6.1.79 and the newest release from this plugin was compiled for version v6.8.12. Could that be the issue?

Edited by Szene
Link to comment
Posted (edited)
On 6/20/2024 at 1:56 AM, Szene said:


Sorry, I didn't knew that. Thanks for the clarification.

Sadly my issue still persist.
Any idea what could cause the significant speed drop when the drivers are installed?
My goal would be for the speed not to drop and to keep the higher C-states.

Or is this just not possible?

 

  


Yeah, Mbit/s
 

  • With (C8)

[  4]   0.00-1.00   sec  45.6 MBytes   383 Mbits/sec
[  4]   1.00-2.00   sec  46.5 MBytes   390 Mbits/sec
[  4]   2.00-3.00   sec  45.9 MBytes   385 Mbits/sec
[  4]   3.00-4.00   sec  47.8 MBytes   401 Mbits/sec
[  4]   4.00-5.00   sec  49.8 MBytes   417 Mbits/sec
[  4]   5.00-6.00   sec  46.4 MBytes   389 Mbits/sec
[  4]   6.00-7.00   sec  47.4 MBytes   397 Mbits/sec
[  4]   7.00-8.00   sec  47.2 MBytes   396 Mbits/sec
[  4]   8.00-9.00   sec  45.5 MBytes   382 Mbits/sec
[  4]   9.00-10.00  sec  47.8 MBytes   401 Mbits/sec

 

  • Without (C3)

[  4]   0.00-1.00   sec   269 MBytes  2.26 Gbits/sec
[  4]   1.00-2.00   sec   278 MBytes  2.33 Gbits/sec
[  4]   2.00-3.00   sec   281 MBytes  2.36 Gbits/sec
[  4]   3.00-4.00   sec   280 MBytes  2.35 Gbits/sec
[  4]   4.00-5.00   sec   282 MBytes  2.36 Gbits/sec
[  4]   5.00-6.00   sec   282 MBytes  2.37 Gbits/sec
[  4]   6.00-7.00   sec   281 MBytes  2.36 Gbits/sec
[  4]   7.00-7.71   sec   199 MBytes  2.37 Gbits/sec

Same connection, just with and without drivers.


Edit:
I just saw that 6.12.10 reverted the kernel back to v6.1.79 and the newest release from this plugin was compiled for version v6.8.12. Could that be the issue?

This is the latest driver from realtek, we just compiled it for unraid. I may not know the reason for the performance problem, maybe it is related to the CPU or ASPM, maybe it is related to the hardware. It is recommended to use the r8169 driver directly, at least the speed is full.

Edited by jinlife
  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...