CHBMB

Community Developer
  • Posts

    10620
  • Joined

  • Days Won

    51

Posts posted by CHBMB

  1. 7 hours ago, Schwiing said:

    Is there a way to download the latest build manually? I keep getting upstream timeout errors.

    #!/bin/bash
    
    #Set your Unraid version here in the form 6-7-3
    UNRAID_VERSION="6-8-2"
    
    # Set the type of build you want here - nvidia or stock
    BUILD_TYPE="nvidia"
    
    #Set the download location here
    DOWNLOAD_LOCATION="/mnt/cache/downloads/nvidia"
    
    echo Downloading v$UNRAID_VERSION of the $BUILD_TYPE build to the $DOWNLOAD_LOCATION folder
    
    #Make target directory
    [[ ! -d ${DOWNLOAD_LOCATION} ]] && \
    mkdir -p ${DOWNLOAD_LOCATION}
    
    #download files
    wget https://lsio.ams3.digitaloceanspaces.com/unraid-nvidia/${UNRAID_VERSION}/${BUILD_TYPE}/bzimage -O ${DOWNLOAD_LOCATION}/bzimage
    wget https://lsio.ams3.digitaloceanspaces.com/unraid-nvidia/${UNRAID_VERSION}/${BUILD_TYPE}/bzroot -O ${DOWNLOAD_LOCATION}/bzroot
    wget https://lsio.ams3.digitaloceanspaces.com/unraid-nvidia/${UNRAID_VERSION}/${BUILD_TYPE}/bzroot-gui -O ${DOWNLOAD_LOCATION}/bzroot-gui
    wget https://lsio.ams3.digitaloceanspaces.com/unraid-nvidia/${UNRAID_VERSION}/${BUILD_TYPE}/bzfirmware -O ${DOWNLOAD_LOCATION}/bzfirmware
    wget https://lsio.ams3.digitaloceanspaces.com/unraid-nvidia/${UNRAID_VERSION}/${BUILD_TYPE}/bzmodules -O ${DOWNLOAD_LOCATION}/bzmodules
    
    #download sha356 files
    wget https://lsio.ams3.digitaloceanspaces.com/unraid-nvidia/${UNRAID_VERSION}/${BUILD_TYPE}/bzimage.sha256 -O ${DOWNLOAD_LOCATION}/bzimage.sha256
    wget https://lsio.ams3.digitaloceanspaces.com/unraid-nvidia/${UNRAID_VERSION}/${BUILD_TYPE}/bzroot.sha256 -O ${DOWNLOAD_LOCATION}/bzroot.sha256
    wget https://lsio.ams3.digitaloceanspaces.com/unraid-nvidia/${UNRAID_VERSION}/${BUILD_TYPE}/bzroot-gui.sha256 -O ${DOWNLOAD_LOCATION}/bzroot-gui.sha256
    wget https://lsio.ams3.digitaloceanspaces.com/unraid-nvidia/${UNRAID_VERSION}/${BUILD_TYPE}/bzfirmware.sha256 -O ${DOWNLOAD_LOCATION}/bzfirmware.sha256
    wget https://lsio.ams3.digitaloceanspaces.com/unraid-nvidia/${UNRAID_VERSION}/${BUILD_TYPE}/bzmodules.sha256 -O ${DOWNLOAD_LOCATION}/bzmodules.sha256
    
    #check sha256 files
    BZIMAGESHA256=$(cat ${DOWNLOAD_LOCATION}/bzimage.sha256 | cut -c1-64)
    BZROOTSHA256=$(cat ${DOWNLOAD_LOCATION}/bzroot.sha256 | cut -c1-64)
    BZROOTGUISHA256=$(cat ${DOWNLOAD_LOCATION}/bzroot-gui.sha256 | cut -c1-64)
    BZFIRMWARESHA256=$(cat ${DOWNLOAD_LOCATION}/bzfirmware.sha256 | cut -c1-64)
    BZMODULESSHA256=$(cat ${DOWNLOAD_LOCATION}/bzmodules.sha256 | cut -c1-64)
    
    #calculate sha256 on downloaded files
    BZIMAGE=$(sha256sum $DOWNLOAD_LOCATION/bzimage | cut -c1-64)
    BZROOT=$(sha256sum $DOWNLOAD_LOCATION/bzroot | cut -c1-64)
    BZROOTGUI=$(sha256sum $DOWNLOAD_LOCATION/bzroot-gui | cut -c1-64)
    BZFIRMWARE=$(sha256sum $DOWNLOAD_LOCATION/bzfirmware | cut -c1-64)
    BZMODULES=$(sha256sum $DOWNLOAD_LOCATION/bzmodules | cut -c1-64)
    
    #Compare expected with actual downloaded files
    [[ $BZIMAGESHA256 == $BZIMAGE ]]; echo "bzimage passed sha256 verification"
    [[ $BZROOTSHA256 == $BZROOT ]]; echo "bzroot passed sha256 verification"
    [[ $BZROOTGUISHA256 == $BZROOTGUI ]]; echo "bzroot-gui passed sha256 verification"
    [[ $BZFIRMWARESHA256 == $BZFIRMWARE ]]; echo "bzfirmware passed sha256 verification"
    [[ $BZMODULESSHA256 == $BZMODULES ]]; echo "bzmodules passed sha256 verification"

    That script will do it.  Need to change the 3 parameters to suit.

     

    chmod +x it to make it executable, if all the SHA256 sums match copy it across to your flash disk.

    • Like 3
    • Thanks 2
  2. On 2/5/2020 at 12:32 AM, 08deanr said:

    Here is the diagnostics from the running system. I would rather not mess with it now but if needed i can later i just alot going on now

    media-diagnostics-20200204-1929.zip 213.45 kB · 1 download

    Just took a look at this and I'm confused, on v6.8.2 those modules are present as far as I can tell.

     

    On 2/5/2020 at 2:13 AM, 08deanr said:

    Correct i have the on board Realtek and the PCI Broadcom and NEITHER were working.  Both are now working with the Stock Unraid

     

     

     

    I'm a bit confused as both of these are present in the v6.8.2 Nvidia build....  they may have been missing on v6.8.1 (I can't remember)

    root@server:/# ls -la /lib/modules/4.19.98-Unraid/kernel/drivers/net/ethernet/realtek | grep r8169
    -rw-r--r--  1 root root 33728 Feb  2 20:52 r8169.ko.xz
    root@server:/# ls -la /lib/modules/4.19.98-Unraid/kernel/drivers/net/ethernet/broadcom | grep tg3
    -rw-rw-rw-  1 root root 66572 Feb  2 20:51 tg3.ko.xz

     

  3. 1 hour ago, J-J said:

    Hi all,

     

    Pretty new to Unraid and I'm still figuring out a lot of things.

    So I had a second Dell XPS 9560 lying around with a broken LCD screen. As my old Synology was getting slow, I installed Unraid on my XPS.

    I got most of it to work, but now I can't get the Nvidia GTX 1050 to show up in the Nvidia Unraid Build v6.8.2.

    I got this error: "440.44 No devices were found"

    2118589340_2020-02-0914_35_03-UnraidXPSServer_Unraid-Nvidia.png.21abe04ff65fbe964d58e2635aca24a8.png

     

    It does show up when trying to create a VM:

    1419246690_2020-02-0914_42_41-UnraidXPSServer_AddVM_GraphicsCard.png.0f948ad602aef9d89ee13224a719a001.png

     

    But for example I can't use it to run Plex with HW transcoding. (only HW transcoding with the Intel 630 works)

     

    Does anyone know how to solve this issue?

     

    >> Diagnostics file: unraidxpsserver-diagnostics-20200209-1436.zip

     

     

    Thanks a lot!

     

    J-J

    Try running this command and post the output.

     

    nvidia-smi --query-gpu=gpu_name,gpu_bus_id,gpu_uuid --format=csv,noheader | sed -e s/00000000://g | sed 's/\,\ /\n/g'

     

  4. 44 minutes ago, 08deanr said:

    Here is the diagnostics from the running system. I would rather not mess with it now but if needed i can later i just alot going on now

    media-diagnostics-20200204-1929.zip 213.45 kB · 0 downloads

    05:00.0 Ethernet controller [0200]: Broadcom Inc. and subsidiaries NetXtreme BCM5720 2-port Gigabit Ethernet PCIe [14e4:165f]
    	Subsystem: Broadcom Inc. and subsidiaries NetXtreme BCM5720 Gigabit Ethernet PCIe [14e4:2003]
    	Kernel driver in use: tg3
    	Kernel modules: tg3
    05:00.1 Ethernet controller [0200]: Broadcom Inc. and subsidiaries NetXtreme BCM5720 2-port Gigabit Ethernet PCIe [14e4:165f]
    	Subsystem: Broadcom Inc. and subsidiaries NetXtreme BCM5720 Gigabit Ethernet PCIe [14e4:2003]
    	Kernel driver in use: tg3
    	Kernel modules: tg3
    06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
    	Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1043:8677]
    	Kernel driver in use: r8169
    	Kernel modules: r8169

    You have two different NICs, which one isn't working?  I'm assuming these logs were from a stock Unraid?

  5. Both will work - Space invaders video was for the Emby docker not the linuxserver one and he used the Nvidia stuff
    Anyway I will experiment and see how things work out 
    Fair enough. I might have been thinking about the Intel stuff or something else, I can't really remember, could have been Jellyfin as well. Dunno.....
  6. v6.8.2 uploaded.

     

    Delayed for a few reasons, had problems (and still do) with the nvidia container runtime, worked around it in the end, but not a long term solution looking forward, I'm working like a dog at the moment as my current real life job finishes in 2 days and I'm having to put a ton of extra hours in, wife a bit ungainly at the moment as very heavily pregnant so I'm having to do a bit more for our existing beast, and to add to that bass_rock has been away for work, so kind of a perfect storm of not having much time to sit down with this, although I have been trying to get it working every chance I've had.

     

    Anyways, I've tested this version, think everything is working, and I believe all the out of tree drivers are squared away.  Last version (v6.8.1) might have been missing the Intel 1gb driver as I hadn't realised that it was different to the 10gb driver.

    • Like 6
    • Thanks 10
    • Haha 1
  7. 7 hours ago, casperse said:

    I used the Space invader guide to install and setup the docker long time ago, but now I keep getting 

     

    image.png.52a98207cef163f869f63a1f8d9c0a0c.png

     

    And I have to setup things from scratch again..... every time I add the --runtime=nvidia I get this (Worked 100% before so maybee a update?)

    I have my media for meta data on a unassigned drive maybee this is now a problem?

     

    So I was wondering is more people on Unraid using the Linuxserver docker for Emby?

    Is it more stable?

    I'm not sure the Emby official container will work with the Nvidia stuff, we made our container specifically with the Unraid Nvidia stuff in mind.

  8. 1 hour ago, Haudy1 said:

    Tested it. Even with Minisatip the TV-Card isnt working fully.

     

    Some Services doesnt work and im getting continuity counter error.

     

    Is there a Tutorial or Documentation, how to modify the stock kernel?

    https://github.com/linuxserver/Unraid-DVB/blob/master/build_scripts/kernel-compile-module.sh

     

    https://github.com/linuxserver/Unraid-DVB/blob/master/build_scripts/libreelec-module.sh

     

    Pull requests welcome.

  9. 12 minutes ago, Marshalleq said:

    Yes mummy.

    He's right, we don't need to be told, the rate limiting step isn't when we notice a new Unraid build, it's when I get a chance to build it, trust me, I'm an Unraid user, I get the same notifications as everyone else, I know when there's a new release.

    • Like 8
  10. 7 hours ago, Marshalleq said:

    @chbmb I hadn't really thought about it before, but it occurs to me that you're really running a whole different kernel albeit a matching one.  We may find ourselves in the future with another need for something in the kernel and forced to choose between this or something else.  Have you ever thought about creating this for more than just nvidia?  I.e. making a whole community custom kernel as it were?  The unraid guys are pretty good at getting stuff in there, so maybe its a bit pointless, just thinking out loud I guess.

    I have zero desire in creating any more custom Unraid builds.  Currently the Nvidia one technically isn't a custom kernel as I change nothing there, it's more about adding extra packages and  custom  container runtime.

     

    DVB adds DVB drivers and some extra firmware (LibreELEC version)  TBS and Digital Devices are completely different branches on the media_tree.

     

    I did help with the HP RMRR version as well, but I don't maintain it, and iirc there's currently no kernel patch for the kernel version we're using anyway.

     

    I had a play around with some docker swarm kernel parameters a while ago but that's about it.

     

    I don't enable anything else custom and don't want to. 

    • Like 1
  11. @CHBMB Thanks for the explanation. I guess same as the most users I already have the mail, calender, photos app etc. already enabled and if I wanna use the new talk and office stuff I only have to install it from the store. Sounds easy. I hope it will work that easy
    I briefly tried the office stuff which didn't work for me, but I already have collabora so I reverted to that.

    I'm sure any niggles will get ironed out with time and patience.

    Sent from my Mi A1 using Tapatalk

    • Like 1
  12. Wait, so I can't update NC 17 to 18 with the internal update routine?
    You can, but they stagger the OTA updates, so you can only do it when it's offered to you. Using the terminal you can update whenever you want.

    Whatever method you're using the "hub" features will not automatically be enabled with an upgrade, you still need to enable the relevant plugins, whereas a fresh install they will be enabled out of the box.

    Sent from my Mi A1 using Tapatalk

    • Like 1
  13. Did someone already got the update to NC 18 now called "Nextcloud Hub" with a lot of new features. Most interesting are the preconfigured and already implemented office features. No more extra containers like collabora needed.
    A new install will have the features by default, an existing install will not, and you will need to manually add the relevant apps/plugins via the Nextcloud webui.

    I have upgraded manually to check everything is working, but not really had time to check it all out yet as spent last night working on something else, which reminds me, I need to upload that.

    Sent from my Mi A1 using Tapatalk

  14. v6.8.1 LibreELEC, TBS-OS, Digital Devices done.

     

    On 1/15/2020 at 1:40 PM, BRiT said:

    If I followed properly ... From the other thread about Nvidia, there are many extremely time consuming tasks still required to be sorted, like the OOT WireGuard drivers.

     

    Not to take anything away from the amazing efforts of CHMB and LSIO, but to appease those who need to be on latest and greatest ... 

     

    I will once again suggest those who can to go ahead and replace your DVB hardware with ethernet based tuners or use your USB based Tuners on a RasPi device and expose them that way. This way you will be able to use mainline unRaid.

    @BRiT I wholeheartedly agree with you, DVB on Linux is a mess, always has been, probably always will be.  Network tuners are by far and away the best solution, and I migrated from DVB myself to a network tuner, no regrets.....

    • Like 1
    • Thanks 1