Black background bug with global menu
Tofloor
poster avatar
t***[email protected]
deepin
2018-08-22 09:26
Author
There is a bug with customized background. When I set it, I got black background in global menu instead of blured. Not a critical bug, but looks ugly.

Reply Favorite View the author
All Replies
danygee
deepin
2018-08-22 10:24
#1
Edited by danygee at 2018-8-21 19:25

Same here.Additionaly, custom background also doesn't work in login screen (black/white background instead).
Reply View the author
s***[email protected]
deepin
2018-08-22 16:06
#2
After Upgrading New Update. You Face Such Type Of Issue. If yes then Please Reinstall Fresh Deepin Os 15.7.or Wait For next Update.  Due to some Environmental Problem Some User Facing This Problem. //Nepal  
Reply View the author
t***[email protected]
deepin
2018-08-23 00:17
#3
I have made clean install (with formatting system partion). It is a bug of final 15.7 version, I have tested 15.7beta - everything was ok there
Reply View the author
Comments
danygee
2018-08-23 08:16
I can confirm. Also did a fresh install.
arkli
deepin
2018-08-24 22:46
#4
Same problem here.Appeard after fresh installing  15.7 final.Now I can only make the blur background manually.
Reply View the author
antech
deepin
2018-08-28 05:22
#5
Are all you guys using none-free nvidia drivers by any chance?
Reply View the author
Comments
danygee
2018-08-28 09:59
Inmy case, yes. Non free drivers enabled. Is there a workaround at least?
antech
deepin
2018-08-28 10:33
#6
Edited by antech at 2018-8-27 18:39
https://bbs.deepin.org/post/167524
Are all you guys using none-free nvidia drivers by any chance?

Hi Dany, yes I have the fix,

I use archlinux with the deepin desktop environment and I was getting the same problem. After doing some research I came across the fix,

Apparently for the blur effect to work, your gfx card drivers have to be DRM enabled, turns out the nvidia non free drivers are not enabled by default.

Like I say I am on archlinux and I have it working, I made a video for arch users: https://youtu.be/5qqs_daBoA0

Not sure what the procedure is for debian, should be easy enough though. Below is the procedure for archlinux.

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

    Goto etc/mkinitcpio.conf add this line under MODULES

MODULES="nvidia nvidia_modeset nvidia_uvm nvidia_drm"

    In a terminal do

sudo mkinitcpio -P

    Open your grub file found in /etc/default/grub and add this to it

nvidia-drm.modeset=1

eg
GRUB_CMDLINE_LINUX_DEFAULT=“quiet nvidia-drm.modeset=1

    Update grub
    sudo update-grub

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

Reply View the author
Comments
danygee
2018-08-28 14:05
THX for the hint with deletion of cached blanks!
t***[email protected]
deepin
2018-08-28 12:37
#7
Edited by tribunal at 2018-8-28 04:55

For deepin (not arch) it is enough to make grub file like this:
GRUB_BACKGROUND="/boot/grub/themes/deepin/background.png"
GRUB_CMDLINE_LINUX=""
GRUB_CMDLINE_LINUX_DEFAULT="splash quiet nvidia-drm.modeset=1"
GRUB_DEFAULT="0"
GRUB_DISTRIBUTOR="`/usr/bin/lsb_release -d -s 2>/dev/null || echo Deepin`"
GRUB_GFXMODE="1920x1080"
GRUB_GFXPAYLOAD_LINUX="keep"
GRUB_THEME="/boot/grub/themes/deepin/theme.txt"
GRUB_TIMEOUT="5"
GRUB_VIDEO_BACKEND="vbe"

And update grub using "sudo update-grub"

Reply View the author
danygee
deepin
2018-08-28 14:04
#8
https://bbs.deepin.org/post/167524
For deepin (not arch) it is enough to make grub file like this:
GRUB_BACKGROUND="/boot/grub/themes/d ...

THX! That did the trick, although I still had to delete the cached blanks from /var/cache/image-blur.

After that, got blurred BG again
Reply View the author
Comments
tribunal
2018-08-28 22:52
Sorry, I have forgotten about pre-cached broken images in /var/cache