ublue-os / bazzite

Bazzite is a cloud native image built upon Fedora Atomic Desktops that brings the best of Linux gaming to all of your devices - including your favorite handheld.
https://bazzite.gg
Apache License 2.0
4.04k stars 244 forks source link

Unable to open a connection to X - Steam Big Picture mode #223

Closed rodnheli closed 1 year ago

rodnheli commented 1 year ago

HI, was looking forward to try Steam Big Picture mode - did a fresh install:

NAME="Fedora Linux"
VERSION="38.20230829.0 (Kinoite)"
VERSION_ID=38
PLATFORM_ID="platform:f38"
VARIANT="Kinoite"
VARIANT_ID=kinoite
OSTREE_VERSION='38.20230829.0'

Setup in Bazzite Portal worked -> checked "... Big Picture Mode" -> this time no error in konsole. But after reboot:

Unable to open a connection to X

Check your DISPLAY environment variable and make sure that you have enabled X.
If you are running remotely, make sure that you have a remote connection which will allow an X connection.
For more information visit https://support.steampowered.com/kb_article.php?ref=4050-WOJB-0608

Than did setup again (Big Picture Mode) - konsole output:

 rm: cannot remove '/home/steammachine/.config/autostart/bazzite-arch-steam.desktop': No such file or directory
 Installation Complete!

hmm... there's only one file there:

bazzite-arch-steam-bigpicture.desktop

renamed it to

bazzite-arch-steam.desktop

did setup (Big Picture Mode) -> Success but after reboot again: Unable to open a connection to X

[steammachine@GamingPC steammachine]$ glxinfo | grep render
direct rendering: Yes
    GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer, GLX_MESA_swap_control,
    GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_OML_swap_method,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: AMD Radeon RX 6800 XT (navi21, LLVM 16.0.6, DRM 3.52, 6.4.12-200.fc38.x86_64)
    GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted,
    GL_IBM_multimode_draw_arrays, GL_INTEL_blackhole_render,
    GL_NV_conditional_render, GL_NV_copy_image, GL_NV_depth_clamp,
    GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted,
    GL_INTEL_blackhole_render, GL_KHR_blend_equation_advanced,
    GL_NV_conditional_render, GL_NV_copy_depth_to_color, GL_NV_copy_image,
    GL_EXT_render_snorm, GL_EXT_robustness, GL_EXT_sRGB_write_control,
    GL_INTEL_blackhole_render, GL_KHR_blend_equation_advanced,
    GL_NV_conditional_render, GL_NV_draw_buffers, GL_NV_fbo_color_attachments,
    GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,
[steammachine@GamingPC steammachine]$ echo $DISPLAY
:0
KyleGospo commented 1 year ago

Upstream bug, this should be fixed for new installations. In the meantime just remove Steam from your autostart folder