Forums » Linux

Black Screen when started.

Jan 07, 2018 scowal link
Ok im new to linux. so im limited on how to provide data as to what is happening on my computer. I installed VO went to bin started there. all was fine. Game updated. When i push play is where things go wrong. I have dual monitors. All the icons on my screen enlarge swap to the secondary monitor. My main monitor turn to a black screen. I hear this is your first run tutorial and the other sounds. Computer becomes unresponsive. I am forced then to push ctrl-alt-f1. Login and kill the process. I tried this in Ubuntu. So i decided to try in a different distro. Debian Same thing happen. So i decided to try another, Linuxmint. The exact same thing happened on 3 different distros.

So now i am on Linuxmint. Im not sure what to do at this point. Please help me to fix this. I really dont want to go back to Window.
Here is my system data:

System: Host: scott-desktop Kernel: 4.10.0-42-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) dm: lightdm Distro: Linux Mint 18.3 Sylvia
Machine: Mobo: ASRock model: H81M-HDS Bios: American Megatrends v: P2.20 date: 03/09/2016
CPU: Quad core Intel Core i7-4770K (-HT-MCP-) cache: 8192 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 27990
clock speeds: min/max: 800/3900 MHz 1: 884 MHz 2: 846 MHz 3: 3268 MHz 4: 1310 MHz 5: 805 MHz
6: 982 MHz 7: 820 MHz 8: 927 MHz
Graphics: Card: NVIDIA GK104 [GeForce GTX 770] bus-ID: 01:00.0 chip-ID: 10de:1184
Display Server: X.Org 1.18.4 drivers: nvidia (unloaded: fbdev,vesa,nouveau)
Resolution: 1680x1050@59.88hz, 1920x1080@60.00hz
GLX Renderer: GeForce GTX 770/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 384.90 Direct Rendering: Yes
Audio: Card-1 Intel 8 Series/C220 Series High Definition Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0 chip-ID: 8086:8c20
Card-2 NVIDIA GK104 HDMI Audio Controller
driver: snd_hda_intel bus-ID: 01:00.1 chip-ID: 10de:0e0a
Sound: Advanced Linux Sound Architecture v: k4.10.0-42-generic
Network: Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8168
IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 1120.2GB (1.6% used)
ID-1: /dev/sda model: ADATA_SSD_S510_1 size: 120.0GB serial: 7D2820009497
ID-2: /dev/sdb model: WDC_WD10EZEX size: 1000.2GB serial: WD-WCC1S5913797
Partition: ID-1: / size: 90G used: 13G (15%) fs: btrfs dev: /dev/sdb2
ID-2: /home size: 90G used: 13G (15%) fs: btrfs dev: /dev/sdb2
ID-3: swap-1 size: 4.25GB used: 0.00GB (0%) fs: swap dev: /dev/sdb3
RAID: System: supported: N/A
No RAID devices: /proc/mdstat, md_mod kernel module present
Unused Devices: none
Sensors: System Temperatures: cpu: 31.0C mobo: N/A gpu: 0.0:41C
Fan Speeds (in rpm): cpu: N/A
Repos: Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http: //packages.linuxmint.com sylvia main upstream import backport
deb http: //archive.linux.duke.edu/ubuntu xenial main restricted universe multiverse
deb http: //archive.linux.duke.edu/ubuntu xenial-updates main restricted universe multiverse
deb http: //archive.linux.duke.edu/ubuntu xenial-backports main restricted universe multiverse
deb http: //security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http: //archive.canonical.com/ubuntu/ xenial partner
Active apt sources in file: /etc/apt/sources.list.d/opera-stable.list
deb https: //deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
Info: Processes: 265 Uptime: 41 min Memory: 1033.3/15981.6MB
Init: systemd v: 229 runlevel: 5 default: 2 Gcc sys: 5.4.0
Client: Unknown python2.7 client inxi: 2.2.35
Jan 09, 2018 Pizzasgood link
In my experience, VO doesn't really handle dual-screen very well in fullscreen mode, at least on Linux. I've never played it on other platforms, so I can't speak for those. You might be able to get the game running if you temporarily disable your second screen. You should have a GUI option for doing this, but I'm not familiar with those distros so you'll have to figure that out yourself. Personally, I just use the xrandr command when I need to do this. In my case, the command to temporarily disable my second screen looks like this:

xrandr --output DP-5 --off

And I bring it back up later with this (or just reboot):

xrandr --output DP-5 --auto
xrandr --output DP-5 --right-of DVI-D-0

Your screens will probably have different names than DP-5 and DVI-D-0, however. You can find them by running xrandr without any parameters. It'll output a few entries that look like "DVI-D-0 connected" or "DP-0 connected", etc. The stuff before the word "connected" is the screen name, and it will usually reflect the type of connection your monitor uses.

Anyway, you probably don't want to keep disabling and enabling your screens to play VO. Once you get the game running, my recommendation is to go into the options and switch it to windowed mode. Then you can leave both screens active and just play with the game in a large window on whichever screen you prefer.

Depending on which window manager you use, you should be able to go a step further and disable the titlebar and borders of VO's window, letting you use a pseudo-fullscreen mode. If you don't know how to do this, try right-clicking the titlebar and seeing if there's a "Fullscreen" or "Hide Decorations" option listed. With IceWM (and possibly XFWM) you can also just use Alt-F11. I don't know how much of a standard that keybinding is; it wasn't present in Openbox when I switched to that recently, but I was able to bind it by adding the appropriate "ToggleFullscreen" action in ~/.config/openbox/rc.xml. You might have to consult a manual or wiki to figure out how to do this with whatever WM your distro uses, but it seems like it's a common feature even if it isn't always easily accessible by default.
Jan 09, 2018 scowal link
Thank you Pizzasgood. This almost worked. I guess what is not really supported well with VO is HDMI led monitor. I have both types of monitors. On the serial connection Vo will run but it but it definitely does not like my system. When it runs it will not run on anything but the lowest setting resolution. I dont know why but it turns my hdmi monitor off. Switches to serial monitor and reduces my resolution to the lowest possible. Everything on the monitor is so big. very pixelated too.

I wonder if i switch to the new wayland server over the x-org server if that would have an effect. Will have to give that a try. At least now i know where the problem is. maybe i can tweak it to run properly.

Thanks