Open KarolisRam opened 5 years ago
Hmmm, I've never experienced this. Sometimes when you close Minecraft or some process that is using your GPU on Ubuntu your screen does flash black, but I think this issue might be out of our hands.
It also happens when I simply close Minecraft after launching it with MineRL. Both screens flash black, but one stays black. I found a way to get the screen back by "changing" the resolution of that monitor.
Find the output name by running xrandr
:
Screen 0: minimum 8 x 8, current 3840 x 1200, maximum 32767 x 32767
DVI-D-0 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 490mm x 310mm
1920x1200 59.94 + 59.88*
HDMI-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 531mm x 299mm
1920x1080 60.00*+ 59.94 50.00 60.05 60.00 50.04
Set the resolution to what it already is:
xrandr --output "DVI-D-0" --mode 1920x1200
It's not ideal, but it works for now. I'll keep the issue open in case someone finds a more permanent fix.
My main monitor sometimes turns off when running the environment. It only happens sometimes when running
env.reset()
. It happens every time when I runenv.close()
. 2nd monitor and the OS keep working as if nothing happened. It never happened doing anything else before. Only way I found to get it back on is a hard reboot. I tried searching for generic monitor turning off problems with no success.Minimal code to reproduce:
Device information: OS: Ubuntu 18.04 GPU: GTX 1070 Ti GPU Driver Version: 384.130 CPU: AMD FX(tm)-8350 Python: 3.6.7 Java: 1.8.0_212 MineRL: 0.2.2
Logs for gym.make():
Logs for env.close():
Any help highly appreciated!