Steam for Linux > Discussões gerais > Detalhes do tópico
[Linux]zack_blade 3 de fev às 4:34
Black sdl2 screen on many games. [Solved]
Hi
I have some problems with a lot of games on linux, they only start a black sdl2 /mono-game screen and nothing else happens.

I have a fresh install of ubuntu 12.04. I have the nvidia-331 drivers installed.
I let steam install mesa-drivers.

My rig is:
Intel i5 2500k (3.3Ghz)
16 GB RAM
Gigabyte Nvidia Geforce 780ti 3GB

Games that work: Toki tori2, Trine 2, Steam dig World and some more

Some of the games that don't work:
Cargo commander
Cities in motion 2
Dust: an elysian...
Fez (worked before my reinstall of OS)
Rochard
Pixel piracy
Saturday morning RPG

Any tips on what to look fore or how to diagnose?
Última edição por [Linux]zack_blade; 9 de fev às 13:04
Exibindo comentários 112 de 12
< >
LOLCAT 3 de fev às 5:05 
Terminal output?
123456789 3 de fev às 9:38 
Did you get nvidia-331 from Xorg edgers? Try installing nvidia-319 from the official repositories (remove xorg edgers first) and see if you still get the same error.

Or, you could try LOLCAT's suggestion and display terminal output for one or two of the games to see if there is something similar.
[Linux]zack_blade 3 de fev às 13:07 
I'm using the nvidia-331 from the main ubuntu repo.

The output for Rochard;
Game update: AppID 107800 "Rochard", ProcID 3456, IP 0.0.0.0:0
ERROR: ld.so: object '/home/khazrak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
CGameStreamThread: Added instance ID 3456 for appid 107800
CGameStreamThread: Set render instance ID 3456 for appid 107800
ERROR: ld.so: object '/home/khazrak/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
Found path: /home/khazrak/.local/share/Steam/SteamApps/common/Rochard/Rochard
Mono path[0] = '/home/khazrak/.local/share/Steam/SteamApps/common/Rochard/Rochard_Data/Managed'
Mono path[1] = '/home/khazrak/.local/share/Steam/SteamApps/common/Rochard/Rochard_Data/Mono'
Mono config path = '/home/khazrak/.local/share/Steam/SteamApps/common/Rochard/Rochard_Data/Mono/etc'

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
CGameStreamThread: Added instance ID 3457 for appid 107800
CGameStreamThread: Added instance ID 3458 for appid 107800
Focused window is now 0, 0
CGameStreamThread: Added instance ID 3468 for appid 107800
OnFocusWindowChanged to window type: k_EWindowTypeNonSteamDesktop, 0
CGameStreamThread: Added instance ID 3470 for appid 107800
CGameStreamThread: Added instance ID 3471 for appid 107800

Saturday morning RPG:
Game update: AppID 263320 "Saturday Morning RPG", ProcID 3000, IP 0.0.0.0:0
CGameStreamThread: Added instance ID 3000 for appid 263320
CGameStreamThread: Set render instance ID 3000 for appid 263320
ERROR: ld.so: object '/home/khazrak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
ERROR: ld.so: object '/home/khazrak/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
CGameStreamThread: Added instance ID 3001 for appid 263320
CGameStreamThread: Added instance ID 3002 for appid 263320
Found path: /home/khazrak/.local/share/Steam/SteamApps/common/SaturdayMorningRPG/SMRPG_Linux.x86
Mono path[0] = '/home/khazrak/.local/share/Steam/SteamApps/common/SaturdayMorningRPG/SMRPG_Linux_Data/Managed'
Mono path[1] = '/home/khazrak/.local/share/Steam/SteamApps/common/SaturdayMorningRPG/SMRPG_Linux_Data/Mono'
Mono config path = '/home/khazrak/.local/share/Steam/SteamApps/common/SaturdayMorningRPG/SMRPG_Linux_Data/Mono/etc'

[Linux]zack_blade 3 de fev às 13:14 
FTL gives me this output, and FTL actually works:

Game update: AppID 212680 "FTL: Faster Than Light", ProcID 14460, IP 0.0.0.0:0
ERROR: ld.so: object '/home/khazrak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
CGameStreamThread: Added instance ID 14460 for appid 212680
CGameStreamThread: Set render instance ID 14460 for appid 212680
ERROR: ld.so: object '/home/khazrak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
/home/khazrak/.local/share/Steam/SteamApps/common/FTL Faster Than Light/FTL: line 4: cd: ./data: No such file or directory
ERROR: ld.so: object '/home/khazrak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.

(steam:2398): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
ERROR: ld.so: object '/home/khazrak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
CGameStreamThread: Added instance ID 14461 for appid 212680
ERROR: ld.so: object '/home/khazrak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/home/khazrak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/home/khazrak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
CGameStreamThread: Added instance ID 14462 for appid 212680
ERROR: ld.so: object '/home/khazrak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
Loading Arch = amd64
ERROR: ld.so: object '/home/khazrak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
CGameStreamThread: Added instance ID 14463 for appid 212680
CGameStreamThread: Added instance ID 14467 for appid 212680
CGameStreamThread: Added instance ID 14466 for appid 212680
CGameStreamThread: Added instance ID 14465 for appid 212680
CGameStreamThread: Added instance ID 14469 for appid 212680
CGameStreamThread: Added instance ID 14470 for appid 212680
Installing breakpad exception handler for appid(gameoverlayui)/version(20140125134503_client)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
CGameStreamThread: Set render instance ID 14463 for appid 212680
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
[0203/221325:WARNING:proxy_service.cc(958)] PAC support disabled because there is no system implementation
Focused window is now 0, 0
OnFocusWindowChanged to window type: k_EWindowTypeNonSteamDesktop, 0
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client)
Focused window is now 3, 212680
OnFocusWindowChanged to window type: k_EWindowTypeGame, 212680
123456789 3 de fev às 14:17 
I didn't know Nvidia-331 drivers were in the official repositories :-o I thought it was for 14.04. Anyway, have you tried downgrading to nvidia-319? Does the issue still occur then?
DIRT 4 de fev às 13:49 
Usually on those terminal outputs it would be erroring that it is missing a dependency somewhere. Atleast that has always been the case when I had a black screen. The other weird thing that I had happen was in opensuse the nvidia drivers had no "direct rendering". Check that in nvidia settings.
[Linux]zack_blade 9 de fev às 13:04 
I checked and it is Direct rendering.

So I tried to install diffrent packages and nothing did it. So I tried installing Ubuntu 13.10 instead of 12.04. That was a nightmare, Internet trouble, freezing, cinnamon freezing the system if I pressed the menu, trouble doing usb-creator.

The solution came to be to install Linux Mint 16 with Cinnamon. Now everything works from the start (after nvidia installation).

Thanks for the help though :)
123456789 9 de fev às 19:01 
You installed cinnamon on Ubuntu?
DIRT 9 de fev às 19:08 
Escrito originalmente por Linuxzack_blade:
I checked and it is Direct rendering.

So I tried to install diffrent packages and nothing did it. So I tried installing Ubuntu 13.10 instead of 12.04. That was a nightmare, Internet trouble, freezing, cinnamon freezing the system if I pressed the menu, trouble doing usb-creator.

The solution came to be to install Linux Mint 16 with Cinnamon. Now everything works from the start (after nvidia installation).

Thanks for the help though :)
Was direct rendering the problem? Sometimes you have to add yourself to the video group.
[Linux]zack_blade 9 de fev às 23:56 
Yes I installed Cinnamon in ubuntu (tried steam using unity first, then installed cinnamon)

Direct rendering was on from the start (when it didn't work).
So I actually don't know why it works so good in Mint.
Maybe some library?
123456789 10 de fev às 6:45 
Escrito originalmente por Linuxzack_blade:
Yes I installed Cinnamon in ubuntu (tried steam using unity first, then installed cinnamon)

Direct rendering was on from the start (when it didn't work).
So I actually don't know why it works so good in Mint.
Maybe some library?

I'd strongly advise against using Cinnamon because that DE uses the GPU inconsiderately; even Unity can do better than that. When I used Cinnamon I came across problems simply because Cinnamon was eating and sh1!itting everywhere. XFCE is even better, come on. -.-
DIRT 24 de fev às 7:55 
Idk something is missing. Installing a different DE shouldn't magically make the screen not go black unless there is an issue with the window manager's compositing, or it pulled in a dependency that was needed for the game.
Exibindo comentários 112 de 12
< >
Por página: 15 30 50