You are not logged in.

#1 2024-04-29 22:32:15

Ride Garcher
Member
Registered: 2023-09-30
Posts: 40

Crash when game starts (GLib-GObject-CRITICAL)

(process:3742): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

I start Shadow warrior, and the game starts, the menu even, but when I try to actually start a game it takes forever to load and crashes before I enter the game.

 steam.sh[2894]: Running Steam on arch rolling 64-bit
steam.sh[2894]: STEAM_RUNTIME is enabled automatically
setup.sh[2968]: Steam runtime environment up-to-date!
steam.sh[2894]: Steam client's requirements are satisfied
tid(3019) burning pthread_key_t == 0 so we never use it
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
[2024-04-30 00:20:56] Startup - updater built Mar  6 2024 20:27:25
[2024-04-30 00:20:56] Startup - Steam Client launched with: '/home/richard/.local/share/Steam/ubuntu12_32/steam'
minidumps folder is set to /tmp/dumps
04/30 00:20:56 Init: Installing breakpad exception handler for appid(steam)/version(1709846872)/tid(3019)
[2024-04-30 00:20:56] Loading cached metrics from disk (/home/richard/.local/share/Steam/package/steam_client_metrics.bin)
[2024-04-30 00:20:56] Using the following download hosts for Public, Realm steamglobal
[2024-04-30 00:20:56] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2024-04-30 00:20:56] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2024-04-30 00:20:56] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-04-30 00:20:56] Verifying installation...
[2024-04-30 00:20:56] Verification complete
UpdateUI: skip show logo
Steam logging initialized: directory: /home/richard/.local/share/Steam/logs

XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xe8017370
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xe8015cc0
/usr/share/themes/Breeze-Dark/gtk-2.0/widgets/entry:70: error: unexpected identifier `direction', expected character `}'
/usr/share/themes/Breeze-Dark/gtk-2.0/widgets/styles:36: error: invalid string constant "combobox_entry", expected valid string constant
Fontconfig warning: line 5: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "description"
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
Fontconfig warning: "/etc/fonts/conf.d/10-sub-pixel-rgb.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-yes-antialias.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/48-spacing.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 4: unknown element "description"
steamwebhelper.sh[3077]: === Tue Apr 30 00:20:57 CEST 2024 ===
steamwebhelper.sh[3077]: Starting steamwebhelper under bootstrap sniper steam runtime at /home/richard/.local/share/Steam/ubuntu12_64/steam-runtime-sniper
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 3163
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
CAppInfoCacheReadFromDiskThread took 310 milliseconds to initialize
DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
vkEnumeratePhysicalDevices failed, unable to init and enumerate GPUs with Vulkan.
BInit - Unable to initialize Vulkan!
steamwebhelper.sh[3351]: === Tue Apr 30 00:21:07 CEST 2024 ===
steamwebhelper.sh[3351]: Starting steamwebhelper under bootstrap sniper steam runtime at /home/richard/.local/share/Steam/ubuntu12_64/steam-runtime-sniper
BRefreshApplicationsInLibrary 1: 2ms
BuildCompleteAppOverviewChange: 974 apps
RegisterForAppOverview 1: 25ms
RegisterForAppOverview 2: 25ms
[2024-04-30 00:22:58] Background update loop checking for update. . .
[2024-04-30 00:22:58] Checking for available updates...
[2024-04-30 00:22:58] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12?t=1829040514
[2024-04-30 00:22:58] Manifest download: send request
[2024-04-30 00:22:58] Manifest download: waiting for download to finish
[2024-04-30 00:22:59] Manifest download: finished
[2024-04-30 00:22:59] Download skipped: /steam_client_ubuntu12?t=1829040514 version 1709846872, installed version 1709846872, existing pending version 0
[2024-04-30 00:22:59] Nothing to do
/bin/sh\0-c\0/home/richard/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=233130 -- /home/richard/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/richard/.local/share/Steam/steamapps/common/Shadow Warrior/ShadowWarrior.bin.x86'\0
chdir "/home/richard/.local/share/Steam/steamapps/common/Shadow Warrior"
ERROR: ld.so: object '/home/richard/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/richard/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/richard/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/richard/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Initializing Packs System...
JobSystem starting with 5 threads
Setting breakpad minidump AppID = 233130
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198064302711 [API loaded no]
GameOverlay: started '/home/richard/.local/share/Steam/ubuntu12_32/gameoverlayui' (pid 3742) for game process 3711
tid(3742) burning pthread_key_t == 0 so we never use it
minidumps folder is set to /tmp/dumps
04/30 00:24:24 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(20240306202747)/tid(3742)
04/30 00:24:24 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)/tid(3742)
Fontconfig warning: line 5: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "description"
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
Fontconfig warning: "/etc/fonts/conf.d/10-sub-pixel-rgb.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-yes-antialias.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/48-spacing.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 4: unknown element "description"
ERROR: ld.so: object '/home/richard/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Game 233130 created interface STEAMAPPLIST_INTERFACE_VERSION001 / AppList
Game 233130 created interface STEAMAPPS_INTERFACE_VERSION006 / Apps
Game 233130 created interface STEAMCONTROLLER_INTERFACE_VERSION / Controller
Game 233130 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_002 / HTMLSurface
Game 233130 created interface STEAMHTTP_INTERFACE_VERSION002 / HTTP
Game 233130 created interface STEAMMUSICREMOTE_INTERFACE_VERSION001 / MusicRemote
Game 233130 created interface STEAMMUSIC_INTERFACE_VERSION001 / Music
Game 233130 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION012 / RemoteStorage
Game 233130 created interface STEAMSCREENSHOTS_INTERFACE_VERSION002 / Screenshots
Game 233130 created interface STEAMUGC_INTERFACE_VERSION003 / UGC
Game 233130 created interface STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 / UnifiedMessages
Game 233130 created interface STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
Game 233130 created interface SteamFriends014 / Friends
Game 233130 created interface SteamMatchMaking009 / Matchmaking
Game 233130 created interface SteamMatchMakingServers002 / MatchmakingServers
Game 233130 created interface SteamNetworking005 / Networking
Game 233130 created interface SteamUser017 / User
Game 233130 created interface SteamUtils007 / Utils
Game 233130 method call count for IClientUserStats::FindLeaderboard : 5
Game 233130 method call count for IClientUserStats::GetAchievement : 92
Game 233130 method call count for IClientUserStats::GetStat : 6
Game 233130 method call count for IClientUserStats::GetStat : 56
Game 233130 method call count for IClientUserStats::RequestCurrentStats : 2
Game 233130 method call count for IClientAppManager::GetCurrentLanguage : 1
Game 233130 method call count for IClientUtils::RecordSteamInterfaceCreation : 19
Game 233130 method call count for IClientUtils::SetOverlayNotificationPosition : 1
Game 233130 method call count for IClientUtils::GetAPICallResult : 5
Game 233130 method call count for IClientUtils::GetAppID : 22
Game 233130 method call count for IClientUser::IsUserSubscribedAppInTicket : 5
Game 233130 method call count for IClientUser::CancelAuthTicket : 5
Game 233130 method call count for IClientUser::EndAuthSession : 5
Game 233130 method call count for IClientUser::BeginAuthSession : 5
Game 233130 method call count for IClientUser::GetAuthSessionTicket : 5
Game 233130 method call count for IClientUser::GetSteamID : 6
Game 233130 method call count for IClientUser::BLoggedOn : 8
Uploaded AppInterfaceStats to Steam

This is the log before the GLib-GObject-CRITICAL.
Have any of you had a similar problem?

EDIT:
Re-reading I thought...I don't like this....

BInit - Unable to initialize Vulkan!

Last edited by Ride Garcher (2024-04-30 13:01:26)


Jr. Web developer

Offline

#2 2024-05-02 09:16:24

xerxes_
Member
Registered: 2018-04-29
Posts: 690

Re: Crash when game starts (GLib-GObject-CRITICAL)

Post output of commands:

pacman -Qs nvidia
pacman -Qs vulkan

Offline

#3 2024-05-02 21:32:51

Ride Garcher
Member
Registered: 2023-09-30
Posts: 40

Re: Crash when game starts (GLib-GObject-CRITICAL)

[richard@Richard ~]$ pacman -Qs nvidia
local/egl-wayland 2:1.1.13-1
    EGLStream-based Wayland external platform
local/lib32-vulkan-nouveau 1:24.0.6-2
    Open-source Vulkan driver for Nvidia GPUs - 32-bit
local/libvdpau 1.5-2
    Nvidia VDPAU library
local/libxnvctrl 550.67-1
    NVIDIA NV-CONTROL X extension
local/nvidia-open-dkms 550.76-2
    NVIDIA open kernel modules
local/nvidia-utils 550.76-3
    NVIDIA drivers utilities
local/vulkan-nouveau 1:24.0.6-2
    Open-source Vulkan driver for Nvidia GPUs
local/xf86-video-nouveau 1.0.17-3 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards
[richard@Richard ~]$ pacman -Qs vulkan
local/lib32-vulkan-icd-loader 1.3.279-1
    Vulkan Installable Client Driver (ICD) Loader (32-bit)
local/lib32-vulkan-nouveau 1:24.0.6-2
    Open-source Vulkan driver for Nvidia GPUs - 32-bit
local/nvidia-utils 550.76-3
    NVIDIA drivers utilities
local/qt6-shadertools 6.7.0-1 (qt6)
    Provides functionality for the shader pipeline that allows Qt Quick to operate on
    Vulkan, Metal, and Direct3D, in addition to OpenGL
local/spirv-tools 2023.6-1 (vulkan-devel)
    API and commands for processing SPIR-V modules
local/vulkan-headers 1:1.3.279-1 (vulkan-devel)
    Vulkan header files
local/vulkan-icd-loader 1.3.279-1
    Vulkan Installable Client Driver (ICD) Loader
local/vulkan-nouveau 1:24.0.6-2
    Open-source Vulkan driver for Nvidia GPUs
local/vulkan-tools 1.3.269-1 (vulkan-devel)
    Vulkan Utilities and Tools
[richard@Richard ~]$ 

Jr. Web developer

Offline

#4 2024-05-02 21:42:28

seth
Member
Registered: 2012-09-03
Posts: 52,299

Re: Crash when game starts (GLib-GObject-CRITICAL)

Get rid of every package that has "nouveau" in its name and install lib32-nvidia-utils
In doubt force the driver, https://wiki.archlinux.org/title/Vulkan … initialize

Offline

#5 2024-05-02 22:43:01

Ride Garcher
Member
Registered: 2023-09-30
Posts: 40

Re: Crash when game starts (GLib-GObject-CRITICAL)

removing nouveau packages will not remove the driver itself? potentially causing problems?

Also, do you mean every single package in the system or just the ones that appeared in the output I posted above?

Last edited by Ride Garcher (2024-05-02 22:43:56)


Jr. Web developer

Offline

#6 2024-05-03 06:10:49

seth
Member
Registered: 2012-09-03
Posts: 52,299

Re: Crash when game starts (GLib-GObject-CRITICAL)

You've nvidia-utils installed so the nouveau kernel module is blacklisted and you're not running on it (but the nvidid module, "lsmod | grep -E '(nouv|nvid)'") and the nouveau specific userspace drivers and libraries just get in the way.

pacman -Qs nouveau

Offline

#7 2024-05-03 08:01:51

Ride Garcher
Member
Registered: 2023-09-30
Posts: 40

Re: Crash when game starts (GLib-GObject-CRITICAL)

My goal, however, is to use opensource drivers. I don't want to use Nvidia's proprietary ones.
I don't know if I misunderstood but are you telling me to set everything to use the proprietary drivers? If I'm not mistaken nvidia utils is part of nvidia proprietary driver package

Last edited by Ride Garcher (2024-05-03 09:14:05)


Jr. Web developer

Offline

#8 2024-05-03 11:46:54

seth
Member
Registered: 2012-09-03
Posts: 52,299

Re: Crash when game starts (GLib-GObject-CRITICAL)

The why do you have the nvidia drivers installed?

nvidia-open replaces the nvidia kernel module but you'll still use GL and vulkan from nvidia-utils and not nouveau.

Offline

#9 2024-05-03 12:23:09

Ride Garcher
Member
Registered: 2023-09-30
Posts: 40

Re: Crash when game starts (GLib-GObject-CRITICAL)

Because I was trying the proprietary ones initially. I thought I had them removed

[richard@Richard ~]$ pacman -Qs nouveau
local/lib32-vulkan-nouveau 1:24.0.6-2
    Open-source Vulkan driver for Nvidia GPUs - 32-bit
local/vulkan-nouveau 1:24.0.6-2
    Open-source Vulkan driver for Nvidia GPUs
local/xf86-video-nouveau 1.0.17-3 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards
[richard@Richard ~]$ 

I've removed all nouveau packages and installed lib32-nvidia-utils. I had to reinstall steam because of the dependencies. I just reinstall it but now it doesn't works anymore

[richard@Richard arch steam]$ steam
steam.sh[11691]: Running Steam on arch rolling 64-bit
steam.sh[11691]: STEAM_RUNTIME is enabled automatically
setup.sh[11764]: Steam runtime environment up-to-date!
/home/richard/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh: line 85: steam-runtime-identify-library-abi: command not found
run.sh[11777]: steam-runtime-identify-library-abi --ldconfig-paths failed, falling back to ldconfig
steam.sh[11691]: Can't find 'steam-runtime-check-requirements', continuing anyway
tid(11808) burning pthread_key_t == 0 so we never use it
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
[2024-05-03 16:28:38] Startup - updater built Jan 13 2024 00:51:43
[2024-05-03 16:28:38] Startup - Steam Client launched with: '/home/richard/.local/share/Steam/ubuntu12_32/steam'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
05/03 16:28:38 Init: Installing breakpad exception handler for appid(steam)/version(0)/tid(11808)
crash_20240503162838_2.dmp[11811]: Uploading dump (out-of-process)
/tmp/dumps/crash_20240503162838_2.dmp
/home/richard/.local/share/Steam/steam.sh: line 798: 11808 Segmentation fault      (core dumped) "$STEAMROOT/$STEAMEXEPATH" "$@"
[richard@Richard arch steam]$ crash_20240503162838_2.dmp[11811]: Finished uploading minidump (out-of-process): success = yes
crash_20240503162838_2.dmp[11811]: response: CrashID=bp-d68122c6-47ea-426b-af21-0668f2240503
crash_20240503162838_2.dmp[11811]: file ''/tmp/dumps/crash_20240503162838_2.dmp'', upload yes: ''CrashID=bp-d68122c6-47ea-426b-af21-0668f2240503''

just for test i installed supertux kart. seems to work. A sign that maybe this time I correctly installed everything needed to get the drivers working properly.

Edit. When I had installed steam I was asked which library I wanted to install, but thinking about it this time it didn't ask me. Maybe because one of the possible libraries was just nvidia util 32lib

Last edited by Ride Garcher (2024-05-04 12:56:04)


Jr. Web developer

Offline

Board footer

Powered by FluxBB