• Deepin wallpaper Blur Fix


    According to the developer of the blur-effect you need a DRM enabled gfx driver, nvidia (non-free) drivers are disabled by default.

    How to enable DRM in non-free nvidia drivers

    1. Goto etc/mkinitcpio.conf add this line under MODULES
    MODULES="nvidia nvidia_modeset nvidia_uvm nvidia_drm"
    
    1. In a terminal do
    sudo mkinitcpio -P
    
    1. Open your grub file found in /etc/grub and add this to it
    nvidia-drm.modeset=1
    

    eg

    GRUB_CMDLINE_LINUX_DEFAULT=“quiet nvidia-drm.modeset=1
    
    1. Update grub
    sudo grub-mkconfig -o /boot/grub/grub.cfg
    
    1. Reboot

    Make sure you remove the ‘blank image’ from /var/cache/image-blur

    You now have a DRM enabled nvidia gfx driver and blur-effect will work ;)

    Enjoy !!

  • @antechdesigns
    Did a sample script, didn’t really test it much, so use it on your own risk! Be warned!

    And didn’t quite understand what you meant by the comment after Reboot… I have no such file.

    Heres the script:

    #!/bin/bash
    
    IsThisOK()
    {
        local file="$1"
        local tmp="$2"
        local answer
    
        echo ""
        echo "Changes to file $file:"
    
        diff $file $tmp
    
        printf "\nPress Y to accept changes, or just ENTER to discard: "
        read answer
        case "$answer" in
            y|Y)
                mv -f $file $file.bak    # make a backup
                mv -f $tmp $file
                ;;
        esac
    }
    
    Deepin_blur_fix()
    {
        local file1=/etc/mkinitcpio.conf
        local file3=/etc/default/grub
        local file
        local tmp=/tmp/tmp.tmp
        local tmp1=$tmp.1
        local tmp3=$tmp.3
    
        ### Step 1.
        file=$file1
        tmp=$tmp1
        if [ "$(grep "^MODULES=(" $file)" != "" ] ; then
            cat $file | sed 's|^MODULES=(\([^)]*\))$|MODULES=(\1 nvidia nvidia_modeset nvidia_uvm nvidia_drm)|' > $tmp
        elif [ "$(grep '^MODULES="' $file)" != "" ] ; then
            cat $file | sed 's|^MODULES="\([^"]*\)"$|MODULES=(\1 nvidia nvidia_modeset nvidia_uvm nvidia_drm)|' > $tmp
        fi
        IsThisOK $file $tmp
    
    
        ### Step 2.
        mkinitcpio -P
    
        ### Step 3.
        file=$file3
        tmp=$tmp3
        cat $file | sed 's|^GRUB_CMDLINE_LINUX_DEFAULT="\([^"]*\)"|GRUB_CMDLINE_LINUX_DEFAULT="\1 nvidia-drm.modeset=1"|' > $tmp
        IsThisOK $file $tmp
    
        ### Step 4.
        grub-mkconfig -o /boot/grub/grub.cfg
    
        ### Step 5.
        echo "Please reboot now!"
    }
    
    Deepin_blur_fix "[email protected]"
    
deepin61 wallpaper21 blur1 Posts 2Views 363
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.