Closed bmentink closed 7 years ago
cc @oberon2007 :wink: :stuck_out_tongue_closed_eyes: :smile_cat:
This sounds very much like it is not an issue of Deepin but with your NVIDIA driver!
So true @oberon2007 :wink: @bmentink which driver do you use ?
Hi, I am using the x86-video-nouveau driver(extra/xf86-video-nouveau 1.0.14-1) . If it is the driver, then why does XFCE work fine ... and Deepin used to work fine as well ..
Attached is lsmod for reference .. lsmod.txt
A further update: I installed the nvidia driver for my card from Arch repo (nvidia-340xx). Rebooted and made sure XFCE ran with new driver. That was fine. Booted up a Deepin Session and initially I had the same black screen as with the nouveau driver.
I did a Ctrl-Alt-F1/F7 cycle and then one of my Opera Browser Windows showed up and I could drag it to the right 1/2 of the screen fine .... inside the window is weird with what looks like multiple versions of itself. Nothing else works, no panel, no wallpaper, no apps ....
So, it does not seem to be the driver, I repeat, both proprietry and open source drivers work with XFCE and lsmod shows the relevant module loaded.
I would suggest that the timing of the issues I am seeing coincide with the change to deepin-mutter and deepin-clutter from the gnome ones .... just my 2c
@jouyouyun @Iceyer I guess this one is not brightness related? XFCE works anyway.
What do you mean brightness related? Has there been an issue with that?
@bmentink You might want to check if your OpenGL stack is working correctly. Try following commands in a TTY:
DISPLAY=:0 glxgears
DISPLAY=:0 glxinfo | grep "direct rendering"
You should see rotating gears window in the desktop and "direct rendering: Yes". Otherwise, you should fix your OpenGL stack first.
glxgears works just fine, and "direct rendering" is enabled ..
OK.. You might try to kill and start the following components in a terminal, and see if they exits with an error:
killall dde-session-initializer; /usr/lib/deepin-daemon/dde-session-initializer -v
killall dde-session-daemon; /usr/lib/deepin-daemon/dde-session-daemon -v
sudo killall dde-system-daemon; sudo /usr/lib/deepin-daemon/dde-system-daemon -v
Hmmm, As I already stated in my OP, I can't get to a TTY, so doing that won't work ..
That's unfortunate. Maybe a symlink to /usr/share/applications/deepin-terminal.desktop
in ~/.config/autostart/
would bring you with a terminal window on startup :)
Ok, will do that when I am back at work.. cheers
EDIT: Note, at least one other has the same issue, see: https://bbs.archlinux.org/viewtopic.php?pid=1700185#p1700185
I believe I am the "other that has the same issue" :p
A few additional details:
As well (on mobile so can't edit):
Will try setting terminal to start up on login.
I tried setting auto-start terminal, did not show ...
Auto terminal worked for me. Was able to start up firefox and type this.
[david@davidsarch ~]$ sudo killall dde-system-daemon; sudo /usr/lib/deepin-daemon/dde-system-daemon -v
[sudo] password for david:
<warning> main.go:32: There already has an dde daemon running.
[david@davidsarch ~]$
glxgears worked fine, and direct rendering is enabled.
None of the other commands had any effect.
Ooh, I might have found my problem.
When I try to start dde-dock
from the terminal, it gives me this error:
[david@davidsarch ~]$ dde-dock
dde-dock: /usr/lib/libQt5Core.so.5: version `Qt_5.8' not found (required by dde-dock)
dde-dock: /usr/lib/libQt5Core.so.5: version `Qt_5.8' not found (required by /usr/lib/libdtkwidget.so.1)
dde-dock: /usr/lib/libQt5Core.so.5: version `Qt_5.8' not found (required by /usr/lib/libdtkbase.so.1)
dde-dock: /usr/lib/libQt5Core.so.5: version `Qt_5.8' not found (required by /usr/lib/libdtkutil.so.1)
dde-dock: /usr/lib/libQt5Core.so.5: version `Qt_5.8' not found (required by /usr/lib/libdtksettingsview.so.1)
dde-dock: /usr/lib/libQt5Core.so.5: version `Qt_5.8' not found (required by /usr/lib/libdtksettings.so.1)
Do I just need to update Qt then?
Latest Arch update has qt5.8, which is what I am running ....
deepin-qt5integration has been updated recently, I wonder if there is a bug ...
Running a pacman -Syu
, let's see if that helps.
edit: yep, that fixed it.
We need some help from developers here to solve this. Mine still does not work.
Is startdde running correctly after session login ? If the anwser is yes, try "qdbus --literal com.deepin.daemon.Display /com/deepin/daemon/Display com.deepin.daemon.Display.Reset" in your TTY, and don't forget to export the DISPLAY environment virable.
I don't know, I have no way of telling as I have stated several times, I cannot get a TTY, I am blind.
Don't you guys read my original post? I said the only way I could get to a console was to break into grub and run up a shell. How is that going to help. I already said that doing a startx (startdde) did the same black screen thing ..
@bmentink Can you login with xfce4? If ok, please paste the output of gsettings get com.deepin.dde.display brightness
If the value was 0, please exec gsettings reset com.deepin.dde.display brightness
, then retry login with startdde, thanks!
Yes, of course I can login with XFCE (again I said as much in my original post) .. sigh! I will do what you ask tomorrow when I can get to my work machine again ..
@bmentink
In between some days ago I had the problem with black wallpapers
I backuped and rmed ~/.config/dde-*
&& ~/.config/Deepin/*
&& ~/.config/deepin/*
&& ~/.cache/dde-*
&& ~/.cache/Deepin/*
&& ~/.cache/dde-*
~/.cache/deepin/*
(I'm kinda crazy :stuck_out_tongue_closed_eyes: but that was the only thing I had in mind at the time :smile_cat:) then rebooted and the problem was gone ...
@jouyouyun output is:
{"DP-1":0.02,"DP-2":0.02}'
@funilrys I had already tried that, but thanks. Did not help for me .. Any other suggestions anyone?
@bmentink exec gsettings reset com.deepin.dde.display brightness
under xfce4 will fix this problem.
It does the trick for me @jouyouyun
I did it from cinnamon :)
Also does the trick for me .... many thanks. :+1:
@bmentink, you can close this issue then 😉
Seems this is fixed then ....
@jouyouyun - Your tip of running gsettings reset com.deepin.dde.display brightness did the job for me. For the benefit of other users who are running Ubuntu + have installed DDE and hit this post, I face this issue when the power cable to the laptop is disconnected and connected back immediately when moving while seated. Any attempts to relogin will not solve the dark screen issue. So I relogin into the Ubuntu desktop environment and then run this command.
gsettings reset com.deepin.dde.display brightness
Apart from this, I did also remove the dde folder under .cache/deepin. I dont think this has much play into the fix but listed here as I did these 2 steps.
Hi,
After updating a few weeks ago, I can no longer use Deepin Desktop on my work PC, as after logging in on the session manager, all I get is a black screen with a cursor. Nothing else works. I cannot get to any TTY also. My only option was to break into grub, boot into a console only, and install XFCE to get my computer back.
Very frustrating, as I prefer Deepin. I have updated deepin every few days to see if there is a fix.
If I start "startdde" by putting "exec startdde" in ~/.xinitrc (instead of via session in lightdm), then the same black screen results.
This black screen issue only seems to be on my work PC which has NVIDIA graphics ... my home laptop with INTEL graphics works fine on the latest updates.