Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
glxChooseVisual failed (Steam -Error) [SOLVED...YEAY]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1171

PostPosted: Tue Aug 25, 2020 8:27 am    Post subject: glxChooseVisual failed (Steam -Error) [SOLVED...YEAY] Reply with quote

Does anyone know what this is about? I am using the nvidia drivers and never had a problem before now with launching Steam. Could this be because of a missing package or use flag change that I missed pertaining to opengl?

Any help is much appreciated to get my gaming box back up and running soon (next few days would be nice).


Last edited by LIsLinuxIsSogood on Thu Aug 27, 2020 8:35 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 16018

PostPosted: Tue Aug 25, 2020 4:34 pm    Post subject: Reply with quote

Is this error printed directly when launching the Steam client, or when you play some particular game(s) through Steam? If the former, do any games work? Do glxinfo and glxgears work normally? What is the output of emerge --verbose --info list-of-relevant-packages. Relevant probably covers at least the X server, mesa, the nVidia drivers, and any Steam packages.
Back to top
View user's profile Send private message
molletts
Tux's lil' helper
Tux's lil' helper


Joined: 16 Feb 2013
Posts: 76

PostPosted: Tue Aug 25, 2020 4:50 pm    Post subject: Reply with quote

Are you using the 390.x drivers? If so, this thread and this one may be relevant. I just got bitten by this myself and the solution in this post got it working for me (note that if the nvidia-drivers ebuild complains about CONFIG_DRM and CONFIG_DRM_KMS_HELPER when you install it, you really do need them turned on now whereas it used to work fine without them).
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1171

PostPosted: Tue Aug 25, 2020 7:52 pm    Post subject: Reply with quote

I am using the latest nvidia-driver, which I wonder if I should try downgrading those drivers first. From the relevant posts provided by mollets, which thank you for that...I can see others were working with 340 and 390 drivers.
By the way, should I unmerge this package:
[IP-] [M ] app-eselect/eselect-opencl-1.1.0-r4:0

I don't know if that will make any difference, or I can try the XORG configuration changes with the drivers I have installed.

Code:

playboy ~ $ emerge --info nvidia-drivers
Portage 3.0.2 (python 3.6.11-final-0, default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.31-r6, 5.8.3-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.8.3-gentoo-x86_64-Intel-R-_Pentium-R-_CPU_G2120_@_3.10GHz-with-gentoo-2.7
KiB Mem:     8079352 total,   4850000 free
KiB Swap:     524284 total,    524284 free
Timestamp of repository gentoo: Tue, 25 Aug 2020 05:00:01 +0000
Head commit of repository gentoo: 3640989a46bf867e72536677cda035cdaf1842f6
Head commit of repository brother-overlay: 9ccba5d7c9fde9fdcb08e17695d25c3737089b71

Head commit of repository steam-overlay: 9b344386364381390a2418299779ba7fea9225c3

sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
ccache version 3.7.11 [disabled]
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18-r1::gentoo, 3.6.11-r2::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo, 3.9.0_rc1::gentoo
dev-util/ccache:          3.7.11::gentoo
dev-util/cmake:           3.17.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2::gentoo
sys-devel/binutils:       2.34-r2::gentoo
sys-devel/gcc:            7.3.0-r6::gentoo, 9.3.0-r1::gentoo, 10.2.0::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: --log-file=/var/log/portage/sync.log
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: no

brother-overlay
    location: /usr/local/overlay/brother-overlay
    sync-type: git
    sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo

localrepo
    location: /usr/local/overlay/localrepo
    masters: gentoo

crossdev
    location: /usr/local/overlay/portage-crossdev
    masters: gentoo
    priority: 10

steam-overlay
    location: /usr/local/overlay/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ADA_TARGET="gnat_2018"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ARCH="amd64"
AUTOCLEAN="yes"
BINPKG_COMPRESS="bzip2"
BOOTSTRAP_USE="unicode internal-glib pkg-config split-usr python_targets_python3_7 python_targets_python2_7 multilib"
BROOT=""
CALLIGRA_FEATURES="karbon sheets words"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=generic -O2 -pipe"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules/*"
COLORTERM="truecolor"
CONFIG_PROTECT="/etc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CPU_FLAGS_X86="mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
CXXFLAGS="-mtune=generic -O2 -pipe"
DCC_EMAILLOG_WHOM_TO_BLAME=""
DEFAULT_ABI="amd64"
DISPLAY=":1"
DISTCC_ENABLE_DISCREPANCY_EMAIL=""
DISTCC_FALLBACK="1"
DISTCC_SAVE_TEMPS="0"
DISTCC_SSH=""
DISTCC_TCP_CORK=""
DISTCC_VERBOSE="0"
DISTDIR="/usr/portage/distfiles/"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--ask --verbose"
EMERGE_WARNING_DELAY="10"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
EPREFIX=""
EROOT="/"
ESYSROOT="/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; eval \"declare -a ssh_opts=(\${3})\" ; exec sftp \${port:+-P \${port}} \"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FFLAGS="-O2 -pipe"
FLTK_DOCDIR="/usr/share/doc/fltk-1.3.5-r4/html"
GCC_SPECS=""
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx"
GRUB_PLATFORMS="efi-64"
GSETTINGS_BACKEND="dconf"
GTK_MODULES="/usr/lib64/gtk-2.0/modules/"
HOME="/home/jonathanr"
HUSHLOGIN="FALSE"
I3SOCK="/run/user/1000/i3/ipc-socket.16189"
INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/9.3.0/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.34/info:/usr/share/info"
INPUT_DEVICES="evdev"
IUSE_IMPLICIT="abi_x86_64 prefix prefix-guest prefix-stack"
KERNEL="linux"
LANG="en_US.utf8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_MESSAGES="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe %s"
LIBDIR_amd64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib"
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
LOGNAME="jonathanr"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33
;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw
=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj
=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=
01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:
*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst
=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;
31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:
*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.
cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.
jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*
.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.
tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.
mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.
webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.
qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=
01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35
:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.
cfg=00;32:*.conf=00;32:*.diff=00;32:*.doc=00;32:*.ini=00;32:*.log=00;32:*.
patch=00;32:*.pdf=00;32:*.ps=00;32:*.tex=00;32:*.txt=00;32:*.aac=00;36:*.au
=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=
00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;
36:*.spx=00;36:*.xspf=00;36:"
MAIL="/var/mail/jonathanr"
MAKEOPTS="-j3 -l2"
MANPAGER="manpager"
MANPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/9.3.0/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.34/man:/usr/local/share/man:/usr/share/man:/usr/lib/llvm/10/share/man"
MOTD_SHOWN="pam"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)"
OFFICE_IMPLEMENTATION="libreoffice"
OPENCL_PROFILE="nvidia"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/10/bin"
PHP_TARGETS="php7-2 php7-3"
PKGDIR="/mnt/MoreHD/Gentoo/binpkgs"
PORTAGE_ARCHLIST="alpha amd64 amd64-linux arm arm-linux arm64 arm64-linux hppa ia64 m68k m68k-mint mips ppc ppc-aix ppc-macos ppc64 ppc64-linux riscv s390 sparc sparc-solaris sparc64-solaris x64-cygwin x64-macos x64-solaris x64-winnt x86 x86-cygwin x86-linux x86-macos x86-solaris x86-winnt"
PORTAGE_BINHOST="rsync://jonathanr@192.168.2.205:9002/portage"
PORTAGE_BIN_PATH="/usr/lib/portage/python3.6"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn error info log"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_INTERNAL_CALLER="1"
PORTAGE_LOGDIR="/var/log/portage"
PORTAGE_LOGDIR_CLEAN="find "${PORTAGE_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib64/python3.6/site-packages"
PORTAGE_PYTHONPATH="/usr/lib64/python3.6/site-packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTAGE_XATTR_EXCLUDE="btrfs.* security.evm security.ima    security.selinux system.nfs4_acl user.apache_handler    user.Beagle.* user.dublincore.* user.mime_encoding user.xdg.*"
POSTGRES_TARGETS="postgres10 postgres11"
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND"
PWD="/home/jonathanr"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_7"
PYTHON_TARGETS="python2_7 python3_5 python3_6 python3_7"
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
ROOT="/"
ROOTPATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/10/bin"
RPMDIR="/var/cache/rpm"
RUBY_TARGETS="ruby25 ruby27"
SHELL="/bin/bash"
SHLVL="3"
SYMLINK_LIB="no"
SYSROOT="/"
TERM="xterm-256color"
TERMINATOR_DBUS_NAME="net.tenshu.Terminator23558193cd9818af7fe4d2c2f5bd9d00f"
TERMINATOR_DBUS_PATH="/net/tenshu/Terminator2"
TERMINATOR_UUID="urn:uuid:e0a92dbc-b8f2-4e0e-82bc-59b157089133"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
UNCACHED_ERR_FD=""
UNINSTALL_IGNORE="/lib/modules/* /var/run /var/lock"
USE="X a52 aac acl acpi alsa amd64 audiofile berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvd dvdr elogind emboss encode exif flac fontconfig fortran gdbm gif gpm gtk iconv icu idm imlib infinality ipv6 jpeg lcms ldap libglvnd libnotify libtirpc lua mad mmx mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds readline sdl seccomp spell split-usr sse sse2 ssl startup-notification svg tcpd tiff tk truetype udev udisks unicode upower urandom usb vorbis wxwidgets x264 xattr xcb xdg xft xml xv xvfb xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_5 python3_6 python3_7" RUBY_TARGETS="ruby25 ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USER="jonathanr"
USERLAND="GNU"
USE_EXPAND="ABI_MIPS ABI_PPC ABI_RISCV ABI_S390 ABI_X86 ADA_TARGET ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_PPC CPU_FLAGS_X86 CURL_SSL ELIBC ENLIGHTENMENT_MODULES FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LIRC_DEVICES LLVM_TARGETS MONKEYD_PLUGINS NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS ROS_MESSAGES RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="ABI_MIPS ABI_PPC ABI_RISCV ABI_S390 CPU_FLAGS_ARM CPU_FLAGS_PPC ELIBC KERNEL USERLAND"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm64 hppa ia64 m68k m68k-mint mips ppc ppc64 ppc64-linux ppc-aix ppc-macos riscv s390 sparc sparc64-solaris sparc-solaris x64-cygwin x64-macos x64-solaris x64-winnt x86 x86-cygwin x86-fbsd x86-linux x86-macos x86-solaris x86-winnt"
USE_EXPAND_VALUES_ELIBC="AIX bionic Cygwin Darwin DragonFly FreeBSD glibc HPUX Interix mingw mintlib musl NetBSD OpenBSD SunOS uclibc Winnt"
USE_EXPAND_VALUES_KERNEL="AIX Darwin FreeBSD freemint HPUX linux NetBSD OpenBSD SunOS Winnt"
USE_EXPAND_VALUES_USERLAND="BSD GNU"
USE_ORDER="env:pkg:conf:defaults:pkginternal:features:repo:env.d"
VIDEO_CARDS="nvidia"
VTE_VERSION="5803"
WINDOWPATH="2"
WWW_HOME="www.google.com"
XAUTHORITY="/home/jonathanr/.Xauthority"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XDG_RUNTIME_DIR="/run/user/1000"
XDG_SEAT="seat0"
XDG_SESSION_CLASS="user"
XDG_SESSION_ID="2"
XDG_SESSION_TYPE="tty"
XDG_VTNR="2"
XSESSION="i3"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"

=================================================================
                        Package Settings
=================================================================

x11-drivers/nvidia-drivers-450.66::gentoo was built with the following:
USE="X driver gtk3 kms (libglvnd) multilib tools -compat -static-libs -uvm -wayland" ABI_X86="(64) -32 (-x32)"


Wrapped a long line to make the forum layout behave.Chiitoo
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1171

PostPosted: Tue Aug 25, 2020 8:01 pm    Post subject: Reply with quote

playboy /etc/X11/xorg.conf.d # equery h libglvnd
* Searching for USE flag libglvnd ...
[IP-] [ ] media-libs/mesa-20.2.0_rc2:0
[IP-] [ ] x11-base/xorg-server-1.20.8-r1:0/1.20.8
[IP-] [ ] x11-drivers/nvidia-drivers-450.66:0/450


I wonder if this could also be responsible for the problem. I am going to remove the use flag now and reinstall these three packages. Hopefully that is enough to get this problem solved.

Code:

=================================================================
                        Package Settings
=================================================================

x11-base/xorg-server-1.20.8-r1::gentoo was built with the following:
USE="elogind ipv6 (libglvnd) udev xorg xvfb -debug -dmx -doc -kdrive -libressl -minimal (-selinux) -static-libs -suid -systemd -unwind -wayland -xcsecurity -xephyr -xnest" ABI_X86="(64)"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,lazy"


media-libs/mesa-20.2.0_rc2::gentoo was built with the following:
USE="X classic dri3 egl gallium gbm gles2 (libglvnd) llvm zstd -d3d9 -debug -gles1 -lm-sensors -opencl -osmesa (-selinux) -test -unwind -vaapi -valgrind -vdpau -vulkan -vulkan-overlay -wayland -xa -xvmc -zink" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="(-freedreno) -i915 -i965 -intel -iris (-lima) -nouveau (-panfrost) -r100 -r200 -r300 -r600 -radeon -radeonsi (-v3d) (-vc4) -virgl (-vivante) -vmware"
FEATURES="unmerge-logs fixlafiles sfperms unmerge-orphans config-protect-if-modified ipc-sandbox pid-sandbox news qa-unresolved-soname-deps buildpkg binpkg-dostrip usersandbox strict protect-owned unknown-features-warn xattr network-sandbox ebuild-locks assume-digests preserve-libs parallel-fetch merge-sync sandbox binpkg-logs userfetch userpriv usersync multilib-strict binpkg-docompress distlocks"


x11-drivers/nvidia-drivers-450.66::gentoo was built with the following:
USE="X driver gtk3 kms (libglvnd) multilib tools -compat -static-libs -uvm -wayland" ABI_X86="(64) -32 (-x32)"


games-util/steam-launcher-1.0.0.64::steam-overlay was built with the following:
USE="steamruntime" ABI_X86="(64)"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"

Back to top
View user's profile Send private message
molletts
Tux's lil' helper
Tux's lil' helper


Joined: 16 Feb 2013
Posts: 76

PostPosted: Wed Aug 26, 2020 5:01 am    Post subject: Reply with quote

LIsLinuxIsSogood wrote:
I am going to remove the use flag now and reinstall these three packages. Hopefully that is enough to get this problem solved.


The libglvnd flag is forced on because it's not going to be an optional feature in future. I'd be surprised if it doesn't work properly in 450.x, though. It's causing problems for those of us who have to use the older drivers because it's not supported at all in 340.x and it's only minimally supported in 390.x.

Have a look at the output of 'glxinfo | grep -i opengl' and 'glxinfo | grep -i render' (glxinfo is in x11-apps/mesa-progs). They should both reference your GPU. When I had the problem, they were both listing the Mesa software renderer meaning that everything was being done on the CPU.
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1171

PostPosted: Wed Aug 26, 2020 6:53 am    Post subject: Reply with quote

molletts, first of all thanks for responding I see the complication in this situation is caught up in the different nvidia drivers and the mesa and xorg configuration too. I am still getting the Steam error that exists, but I just updated the entire system including those packages (I believe) and I am not seeing any improvements. I ran the commands and here is the output...

Does this mean that mesa is doing the rendering and if so how should I turn that off?

Code:

playboy ~ $ glxinfo | grep -i opengl
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 660/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 450.66
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 450.66
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 450.66
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
playboy ~ $ glxinfo | grep -i render
direct rendering: Yes
OpenGL renderer string: GeForce GTX 660/PCIe/SSE2
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
    GL_NVX_conditional_render, GL_NVX_gpu_memory_info, GL_NVX_nvenc_interop,
    GL_NV_compute_program5, GL_NV_conditional_render,
    GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite,
    GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted,
    GL_NVX_conditional_render, GL_NVX_gpu_memory_info, GL_NVX_nvenc_interop,
    GL_NV_compute_program5, GL_NV_conditional_render,
    GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite,
    GL_EXT_multisample_compatibility, GL_EXT_multisampled_render_to_texture,
    GL_EXT_multisampled_render_to_texture2,
    GL_EXT_primitive_bounding_box, GL_EXT_render_snorm, GL_EXT_robustness,
    GL_NV_conditional_render, GL_NV_copy_buffer, GL_NV_copy_image,
    GL_NV_packed_float_linear, GL_NV_path_rendering,
    GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,
    GL_OVR_multiview_multisampled_render_to_texture



EDIT:

I wonder if a good approach might be to fresh reinstall steam-launcher? Or also to redo the abix86_32 use flags for the package?

Here is the output I have when launching the application...
Code:

playboy ~ $ steam
Running Steam on gentoo 1.0.0.64 64-bit
STEAM_RUNTIME is enabled by the user
Pins up-to-date!
Steam client's requirements are satisfied
/home/jonathanr/.local/share/Steam/ubuntu12_32/steam
[2020-08-26 00:42:23] Startup - updater built Aug 26 2020 03:15:03
[2020-08-26 00:42:23] Opted in to client beta 'publicbeta' via beta file
You are in the 'publicbeta' client beta.
Installing breakpad exception handler for appid(steam)/version(1598413813)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2020-08-26 00:42:23] Loading cached metrics from disk (/home/jonathanr/.local/share/Steam/package/steam_client_metrics.bin)
Installing breakpad exception handler for appid(steam)/version(1598413813)
[2020-08-26 00:42:23] Checking for update on startup
[2020-08-26 00:42:23] Checking for available updates...
[2020-08-26 00:42:23] Downloading manifest: client-download.steampowered.com/client/steam_client_publicbeta_ubuntu12
Installing breakpad exception handler for appid(steam)/version(1598413813)
[2020-08-26 00:42:23] Download skipped by HTTP 304 Not Modified
[2020-08-26 00:42:23] Nothing to do
[2020-08-26 00:42:23] Verifying installation...
[2020-08-26 00:42:23] Performing checksum verification of executable files
[2020-08-26 00:42:24] Verification complete
Loaded SDL version 2.0.13-5919606
Gtk-Message: 00:42:25.458: Failed to load module "/usr/lib64/gtk-2.0/modules/"
STEAM_RUNTIME_HEAVY: ./steam-runtime-heavy
Installing breakpad exception handler for appid(steam)/version(1598413813)
glXChooseVisual failed
glXChooseVisual failed/data/src/steamUI/Main.cpp (338) : Assertion Failed: Fatal Error: glXChooseVisual failed
/data/src/steamUI/Main.cpp (338) : Assertion Failed: Fatal Error: glXChooseVisual failed
Installing breakpad exception handler for appid(steam)/version(1598413813)
crash_20200826004225_6.dmp[3251]: Uploading dump (out-of-process)
/tmp/dumps/crash_20200826004225_6.dmp
[0826/004225.940454:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: browser
[0826/004225.974311:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[0826/004225.974424:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1598411723
[0826/004225.974436:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[0826/004225.974447:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
[0826/004226.042167:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[0826/004226.042286:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1598411723
[0826/004226.042298:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[0826/004226.042322:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
[0826/004226.044354:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: gpu-process
crash_20200826004225_6.dmp[3251]: Finished uploading minidump (out-of-process): success = yes
crash_20200826004225_6.dmp[3251]: response: CrashID=bp-f00277e9-c876-4e44-8d85-369c12200826
crash_20200826004225_6.dmp[3251]: file ''/tmp/dumps/crash_20200826004225_6.dmp'', upload yes: ''CrashID=bp-f00277e9-c876-4e44-8d85-369c12200826''
[0826/004226.225719:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[0826/004226.225844:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1598411723
[0826/004226.225856:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[0826/004226.225871:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
[0826/004226.227929:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: utility
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1171

PostPosted: Wed Aug 26, 2020 8:01 am    Post subject: Reply with quote

My hunch is that 32-bit libraries are missing since I know Steam has a 32-bit runtime. Can someone please comment on the use flags to rebuild the packages with the right use flag...
The "culprits" appear to be those already mentioned or else steam-launcher itself perhaps? IDK.
Back to top
View user's profile Send private message
Ionen
Veteran
Veteran


Joined: 06 Dec 2018
Posts: 1275

PostPosted: Wed Aug 26, 2020 8:11 am    Post subject: Reply with quote

I don't use steam nor checked the thread much to know what's going on here, but for a long time 32-bit libraries were installed by nvidia-drivers regardless of USE=abi_x86_32 if supported due to a bug, then got fixed under a month ago making libraries vanish if unset next rebuild (no revbump, but new version since). And I think it got forgotten that the USE should be made a dependency when something does need it, so portage might not know.

If you use steam/wine/games/etc... you more than likely need to set this on nvidia-drivers plus anything portage complain about when you do -- unless you only play very modern games that are (finally) going away from 32bit even on Windows.

Edit: if in doubt, setting it global with ABI_X86="64 32" (either in make.conf or "*/* ABI_X86: 32" in package.use) then a world update with -U also works, but it'll mean a lot of rebuilds and extended build time on many packages providing libraries. Can be simpler if you need almost them all though (often due to wine+gstreamer+ffmpeg using a bit of everything.. but steam does bundle of lot of libraries for games/proton rather than rely on the system's, so you may not need to go that far).
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1171

PostPosted: Thu Aug 27, 2020 8:35 am    Post subject: Reply with quote

I've managed to get this done shortly after my last post with minimal use flag changes to the nvidia-drivers package and I believe vdpau to include the 32-bit libraries.
I imagine that Steam's 32-bit dependencies are not going away immediately so that is why I need them. Thanks to all for the timely help, which can always be relied on with Gentoo linux!
Back to top
View user's profile Send private message
KPF
n00b
n00b


Joined: 27 Oct 2019
Posts: 6

PostPosted: Sat Aug 29, 2020 9:59 pm    Post subject: Reply with quote

EDIT: I solved my problem, now latest nvidia drivers (450), Steam client works and all games run OK.

changed make.conf
Code:
ABI_X86="64"

(removed "x32", don't know why it was here)
then added to package.use
Code:
x11-drivers/nvidia-drivers compat abi_x86_32

and recompiled with
Code:
emerge --changed-use
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum