shkhln / linuxulator-steam-utils

Steam launcher for FreeBSD
MIT License
126 stars 12 forks source link

Black screen from steam built in web browser #60

Closed lukasjab closed 2 years ago

lukasjab commented 2 years ago

Because ( for some god-forsaken reason ) steam runs the entire library and store page in a web browser, this web browser is only displaying as a black screen whilst everything not using this browser (e.g. steam settings, view setting, friend settings) works fine, however I cannot load any games without the library page loading.

lukasjab commented 2 years ago

exec /usr/home/steamgamer/.steam/steam/ubuntu12_64/steam-runtime-heavy.sh --unpack-dir=/usr/home/steamgamer/.steam/steam/ubuntu12_64 --runtime=steam-runtime-heavy -- ./steamwebhelper -lang=en_US -cachedir=/usr/home/steamgamer/.steam/steam/config/htmlcache -steampid=10575 -buildid=1631572918 -steamid=76561198207687429 -cachedir=/usr/home/steamgamer/.steam/steam/config/htmlcache -steamuniverse=Public -realm=Global -clientui=/usr/home/steamgamer/.steam/steam/clientui --enable-blink-features=ResizeObserver,Worklet,AudioWorklet --enable-media-stream --enable-smooth-scrolling --password-store=basic --log-file=/usr/home/steamgamer/.steam/steam/logs/cef_log.txt --disable-quick-menu --no-sandbox --in-process-gpu ---- this is also displaying to the terminal that runs steam, and it keeps repeating it every 3 seconds or so.

shkhln commented 2 years ago

Steam restart doesn't help?

bdsm commented 2 years ago

Steam restart doesn't help?

I am getting this with the same output as well and restarting does not seem to fix things.

bdsm commented 2 years ago

Prior to the aforementioned output, I do appear to be getting some libgl errors, however it seems everything works save for the store, library, profile, etc pages which are contained in browser enviroments. That being said, these functions are somewhat vital.

Spoiler: Long output ```ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded: ignored. Installing breakpad exception handler for appid(steam)/version(1631912732) libGL error: pci id for fd 9: 1002:731f, driver (null) libGL error: No driver found libGL error: failed to load driver: (null) libGL error: pci id for fd 9: 1002:731f, driver (null) pci id for fd 10: 1002:731f, driver (null) libGL error: failed to create dri screen libGL error: failed to load driver: radeonsi Installing breakpad exception handler for appid(steam)/version(1631912732) process 14696: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/etc/machine-id": See the manual page for dbus-uuidgen to correct this issue. Loaded SDL version 2.0.17-6744061 sh: lspci: command not found libGL error: pci id for fd 21: 1002:731f, driver (null) libGL error: No driver found libGL error: failed to load driver: (null) libGL error: pci id for fd 21: 1002:731f, driver (null) pci id for fd 22: 1002:731f, driver (null) libGL error: failed to create dri screen libGL error: failed to load driver: radeonsi libGL error: pci id for fd 22: 1002:731f, driver (null) libGL error: No driver found libGL error: failed to load driver: (null) libGL error: pci id for fd 22: 1002:731f, driver (null) pci id for fd 23: 1002:731f, driver (null) libGL error: failed to create dri screen libGL error: failed to load driver: radeonsi [[ '/usr/home/ash/.steam/steam/ubuntu12_64/steamwebhelper.sh' '-lang=en_US' '-cachedir=/usr/home/ash/.steam/steam/config/html rse=Public' '-realm=Global' '-clientui=/usr/home/ash/.steam/steam/clientui' --enable-blink-features=ResizeObserver,Worklet,Au f_log.txt' --disable-quick-menu --no-sandbox --in-process-gpu]] Installing breakpad exception handler for appid(steam)/version(1631912732) + exec /usr/home/ash/.steam/steam/ubuntu12_64/steam-runtime-heavy.sh --unpack-dir=/usr/home/ash/.steam/steam/ubuntu12_64 --ru -buildid=1631912732 -steamid=0 -cachedir=/usr/home/ash/.steam/steam/config/htmlcache -steamuniverse=Public -realm=Global -cli able-smooth-scrolling --password-store=basic --log-file=/usr/home/ash/.steam/steam/logs/cef_log.txt --disable-quick-menu --no libGL error: pci id for fd 21: 1002:731f, driver (null) libGL error: No driver found libGL error: failed to load driver: (null) libGL error: pci id for fd 21: 1002:731f, driver (null) pci id for fd 22: 1002:731f, driver (null) libGL error: failed to create dri screen libGL error: failed to load driver: radeonsi Installing breakpad exception handler for appid(steam)/version(1631912732) Installing breakpad exception handler for appid(steam)/version(1631912732) Installing breakpad exception handler for appid(steam)/version(1631912732) Installing breakpad exception handler for appid(steam)/version(1631912732) migrating temporary roaming config store BRefreshApplicationsInLibrary 1: 15ms ^CInstalling breakpad exception handler for appid(steam)/version(1631912732) Failed to init SteamVR because it isn't installed sh: lspci: command not found libGL error: pci id for fd 78: 1002:731f, driver (null) libGL error: No driver found libGL error: failed to load driver: (null) libGL error: pci id for fd 78: 1002:731f, driver (null) pci id for fd 79: 1002:731f, driver (null) libGL error: failed to create dri screen libGL error: failed to load driver: radeonsi libGL error: pci id for fd 79: 1002:731f, driver (null) libGL error: No driver found libGL error: failed to load driver: (null) libGL error: pci id for fd 79: 1002:731f, driver (null) pci id for fd 80: 1002:731f, driver (null) libGL error: failed to create dri screen libGL error: failed to load driver: radeonsi libGL error: pci id for fd 79: 1002:731f, driver (null) libGL error: No driver found libGL error: failed to load driver: (null) libGL error: pci id for fd 79: 1002:731f, driver (null) pci id for fd 80: 1002:731f, driver (null) libGL error: failed to create dri screen libGL error: failed to load driver: radeonsi ExecCommandLine: "'/usr/home/ash/.steam/steam/ubuntu12_32/steam'" System startup time: 1.91 seconds ``` And then you get the aforementioned repeating output.

amdgpu is loaded and seems to be working fine outside of this. what graphics solution are you using @lukasjab? Just for context, I'm on a 5700XT.

lukasjab commented 2 years ago

I am using an NVIDIA GTX 1060 6GB, and I found a solution that worked for me. The solution was uninstalling the binary package from the FreeBSD repos and wiping the the /opt/steam-utils directory, then cloning this github repo and building it from source has fixed the issue

bdsm commented 2 years ago

I am using an NVIDIA GTX 1060 6GB, and I found a solution that worked for me. The solution was uninstalling the binary package from the FreeBSD repos and wiping the the /opt/steam-utils directory, then cloning this github repo and building it from source has fixed the issue

Weird. I never tried the version in the repos or ports and I'm getting this.

I should have all the dependencies as well. Bizarre.

bdsm commented 2 years ago

It seems the versions in the repos and in ports yield the same issues.

lukasjab commented 2 years ago

Have you ensured that you have the freetype2 package installed, because that is also a possible cause of the issue, and if you don't have it installed, wipe /opt/steam-utils again and rebuild when you have freetype2 installed

bdsm commented 2 years ago

Have you ensured that you have the freetype2 package installed, because that is also a possible cause of the issue, and if you don't have it installed, wipe /opt/steam-utils again and rebuild when you have freetype2 installed

It seems I've had that installed throughout my testing. I also took a look at #59 as the title seemed to allude to similar behavior, and unlike that user, installing and getting wine-proton set up properly in Steam did not address the issue either.

shkhln commented 2 years ago

amdgpu is loaded and seems to be working fine outside of this. what graphics solution are you using @lukasjab? Just for context, I'm on a 5700XT.

AMD / Intel GPUs have an additional complication of relying on the CentOS 7 Mesa package (linux-c7-dri-18.3.4_4), which simply might be too old for some of those GPUs. There is no plan to update it at the moment.

Note that if you wanted to play around with Proton integration, you can still do this by running Steam itself with software rendering (LIBGL_ALWAYS_SOFTWARE=1) and disabling it for individual games in the launch options.

I am using an NVIDIA GTX 1060 6GB, and I found a solution that worked for me.

Why this issue is still open then?

jarmuszz commented 2 years ago

Thinkpad t430s, i5-3320m, integrated gpu, FreeBSD 13

I'm also experiencing issues with the browser. Easy workaround for this is the big-picture mode as it's not using the browser for it's ui - library, shop etc. works as intended (didn't test that much tho).

steambsd commented 2 years ago

amdgpu is loaded and seems to be working fine outside of this. what graphics solution are you using @lukasjab? Just for context, I'm on a 5700XT.

AMD / Intel GPUs have an additional complication of relying on the CentOS 7 Mesa package (linux-c7-dri-18.3.4_4), which simply might be too old for some of those GPUs. There is no plan to update it at the moment.

Note that if you wanted to play around with Proton integration, you can still do this by running Steam itself with software rendering (LIBGL_ALWAYS_SOFTWARE=1) and disabling it for individual games in the launch options.

I am using an NVIDIA GTX 1060 6GB, and I found a solution that worked for me.

Why this issue is still open then?

I dont know, but on ryzen 2200g CSGO work very good, some proton games work very good

steambsd commented 2 years ago

I don’t know what affects commit - i have black screen (after update linux-steam-utils code). I want to note that everything works fine before commit see https://www.youtube.com/watch?v=HoO37SkofAE, but some games do not load. Although I tried it on the second amdgpu machine, the difference is loaded there. Either it depends on the network adapter, or i dont know.

[Updated] All work! You need reinstall steam: update linux-steam-utils code, .i386-wine-pkg and install Proton 6.3 + SLRS. Magic! Note that without Proton6.3 on nvidia we see black screen and game not download, as minimum you need install Proton 6.3 (you may not enable Settings -> Steam Play -> emulators/wine-proton)