[SOLVED] Game issues - framerate oddity, CPU overload, GPU driver questions.
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
As orbea stated, go to your favorite mirror. They will have most Slackware releases, including -current. Then you go into the source/x/ directories and grab the mesa folder and the libdrm folder (there's several ways to copy a remote directory, but the easiest might be to use an ftp mirror and paste the address into dolphin. Then you can navigate the folder structure like normal and click and drag those folders to your computer. Once you have everything from those directories, just go into libdrm first and run the SlackBuild and use upgradepkg on the resulting package. Once that is done, do the same thing for mesa.
ok. so through finangling with my -current mirror of choice through gftp, I've downloaded libdrm, and mesa. libdrm built with no problems, but mesa needs libllvm, so it's building as we speak. after llvm is built I will upgrade those, build mesa and report on how things are going.
A newer kernel could be important too, but otherwise you seem to have it covered.
Building a kernel is really easy and the only daunting part is the sheer number of configure options, but Slackware current has a config file you could start with. https://docs.slackware.com/howtos:sl...kernelbuilding
I have a question for you. As you may recall, I bought a pair of GTX 970s a couple of years ago, and am looking to upgrade. You said in another post that you like to play games that are not necessarily eye-candy, which is why you held on to your GTX 670 for a few years.
What has changed, that you found it necessary to upgrade to the latest generation? Personally, I will probably upgrade to the same model as you for the purposes of playing around with some ideas I have for a game, and going to use Unreal Engine 4 Editor. I'd like to have as much GPU horsepower as practicable for the processor I have (FX-8370).
Thanks for the consideration!
No problem, Friend The main thing that changed was upgrading from a 22" monitor to a 32" monitor with substantially higher resolution. The 760 (not a 670) did surprisingly well even at bigger size and higher resolution on some older games I still love like World of Warcraft but did have a less than satisfactory framerate for Deus EX: Mankind Divided which I took as harbinger of things to come. Also now that some TV shows complete seasons are on YouTube in HD I can watch those full screen "smooth as butta" So it looks like the writing was indeed "on the wall" and my choice was a good one. At the very least, I am extremely pleased with my GTX 1070 Ti which is a bit new for me since I usually wait a year or two until prices drop but figured 90% of PC use is graphic (to humans) and a substantial percentage to perceived computing power. So I leaped and landed well.
No problem, Friend The main thing that changed was upgrading from a 22" monitor to a 32" monitor with substantially higher resolution. The 760 (not a 670) did surprisingly well even at bigger size and higher resolution on some older games I still love like World of Warcraft but did have a less than satisfactory framerate for Deus EX: Mankind Divided which I took as harbinger of things to come. Also now that some TV shows complete seasons are on YouTube in HD I can watch those full screen "smooth as butta" So it looks like the writing was indeed "on the wall" and my choice was a good one. At the very least, I am extremely pleased with my GTX 1070 Ti which is a bit new for me since I usually wait a year or two until prices drop but figured 90% of PC use is graphic (to humans) and a substantial percentage to perceived computing power. So I leaped and landed well.
First: Sorry about the dyslexia. I couldn't remember for the life of me whether it was a 670 or 760. Nobody's perfect.
Writing a game (and learning all the things necessary to get started) will take up the majority of my time, so I won't have anything out Real Soon(TM), but I thought that since this game will make substantial use of graphics, that a relatively recent graphics chipset with lots of VRAM should be more than sufficient for some years.
Having said that, since I didn't play games a whole lot, the pair of GTX 970s were sufficient for me for awhile. But I've been getting into some newer games, and found that my graphics cards were struggling a bit. Since I have a bit of financial windfall coming my way due to graduation, I thought a graphics upgrade would be in order.
Thanks for taking the time to explain your reasoning. You've definitely given me much to think about.
Take care!
Last edited by 1337_powerslacker; 12-14-2017 at 08:42 AM.
Reason: correct for grammar
I'm back! so after building a few packages and running straight into dependency hell, I decided to just to install slackware-current, as it did work with the live-usb. Glxgears reports a smooth as butter framerate, multilib-current has been sucessfully installed, and I have none of the CPU problems that I had with liveslak.
But there's a problem.
I followed the last step in this thread because that's what got steam working last time... except it didn't work this time. I removepkg'd the install, removed the built package from /tmp, rebuilt it from a fresh wget -r -np of alienbob's slackbuild, installed the resulting pkg, this is what I got.
Code:
Running Steam on slackware 14.2 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0)
/home/doc/.local/share/Steam/ubuntu12_32/steam: symbol lookup error: /usr/lib/libxcb-dri3.so.0: undefined symbol: xcb_send_request_with_fds
/home/doc/.local/share/Steam/steam.sh: line 444: no match: ssfn*
bash-4.4$ strings /home/doc/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libxcb-dri3.so.0
strings: '/home/doc/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libxcb-dri3.so.0': No such file
bash-4.4$ steam
Repairing installation, linking /home/doc/.steam/steam to /home/doc/.local/share/Steam
Slackware 32-bit: Check the 'deps/<slackwareversion>' directory where you downloaded this package and install/upgrade the packages you find there.
Slackware 64-bit multilib: Install/upgrade the packages in the 'deps/<slackwareversion>/multilib' subdirectory instead.
Running Steam on slackware 14.2 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0)
/home/doc/.local/share/Steam/ubuntu12_32/steam: symbol lookup error: /usr/lib/libxcb-dri3.so.0: undefined symbol: xcb_send_request_with_fds
/home/doc/.local/share/Steam/steam.sh: line 444: no match: ssfn*
bash-4.4$ LIBGL_DEBUG=verbose /usr/bin/steam
Repairing installation, linking /home/doc/.steam/steam to /home/doc/.local/share/Steam
Slackware 32-bit: Check the 'deps/<slackwareversion>' directory where you downloaded this package and install/upgrade the packages you find there.
Slackware 64-bit multilib: Install/upgrade the packages in the 'deps/<slackwareversion>/multilib' subdirectory instead.
Running Steam on slackware 14.2 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0)
libGL: Can't open configuration file /home/doc/.drirc: No such file or directory.
libGL: pci id for fd 7: 1002:67df, driver radeonsi
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/radeonsi_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/radeonsi_dri.so
libGL: Can't open configuration file /home/doc/.drirc: No such file or directory.
/usr/share/libdrm/amdgpu.ids version: 1.0.0
libGL: Can't open configuration file /home/doc/.drirc: No such file or directory.
libGL: Using DRI3 for screen 0
/home/doc/.local/share/Steam/ubuntu12_32/steam: symbol lookup error: /usr/lib/libxcb-dri3.so.0: undefined symbol: xcb_send_request_with_fds
/home/doc/.local/share/Steam/steam.sh: line 444: no match: ssfn*
this was the only thing I could find of relevance in /var/log/Xorg.0.log
Code:
[ 133.363] (II) LoadModule: "fbdev"
[ 133.365] (WW) Warning, couldn't open module fbdev
[ 133.365] (II) UnloadModule: "fbdev"
[ 133.365] (II) Unloading fbdev
[ 133.365] (EE) Failed to load module "fbdev" (module does not exist, 0)
Last edited by lawnm0wer; 12-15-2017 at 05:50 PM.
Reason: missed a startup entry
That is a steam bug, you could report it to their github issue tracker, but they are unlikely to care. Alternatively use something that is not skinnerbox malware like gog or one of the various free gaming platforms like liberetro/RetroArch.
The radeon_dri.so driver is provided by the mesa package. Do you have both the 64bit and the "compat32" versions installed?
If you do have those installed, it could be due to steam trying to use its internal libraries rather than the system's which can conflict with what's installed on the system. There's a few suggestions on how to solve this:
Code:
STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 steam
STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 steam
LD_PRELOAD='/usr/lib/libstdc++.so.6 /usr/lib/libgcc_s.so.1 /usr/lib/libxcb.so.1 /usr/lib/libgpg-error.so' steam
--or deleting the package's files hopefully causing it to revert to the system binaries--
find ~/.local/share/Steam/ (-name libstdc++* -o -name libgcc_s.so* ) -print -delete
The radeon_dri.so driver is provided by the mesa package. Do you have both the 64bit and the "compat32" versions installed?
If you do have those installed, it could be due to steam trying to use its internal libraries rather than the system's which can conflict with what's installed on the system. There's a few suggestions on how to solve this:
Code:
STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 steam
STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 steam
LD_PRELOAD='/usr/lib/libstdc++.so.6 /usr/lib/libgcc_s.so.1 /usr/lib/libxcb.so.1 /usr/lib/libgpg-error.so' steam
--or deleting the package's files hopefully causing it to revert to the system binaries--
find ~/.local/share/Steam/ (-name libstdc++* -o -name libgcc_s.so* ) -print -delete
tried those, this is what happened.
Code:
bash-4.4$ STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 steam
Repairing installation, linking /home/doc/.steam/steam to /home/doc/.local/share/Steam
Slackware 32-bit: Check the 'deps/<slackwareversion>' directory where you downloaded this package and install/upgrade the packages you find there.
Slackware 64-bit multilib: Install/upgrade the packages in the 'deps/<slackwareversion>/multilib' subdirectory instead.
Running Steam on slackware 14.2 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0)
/home/doc/.local/share/Steam/ubuntu12_32/steam: symbol lookup error: /usr/lib/libxcb-dri3.so.0: undefined symbol: xcb_send_request_with_fds
/home/doc/.local/share/Steam/steam.sh: line 444: no match: ssfn*
bash-4.4$ STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 steam
Repairing installation, linking /home/doc/.steam/steam to /home/doc/.local/share/Steam
Slackware 32-bit: Check the 'deps/<slackwareversion>' directory where you downloaded this package and install/upgrade the packages you find there.
Slackware 64-bit multilib: Install/upgrade the packages in the 'deps/<slackwareversion>/multilib' subdirectory instead.
Running Steam on slackware 14.2 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0)
/home/doc/.local/share/Steam/ubuntu12_32/steam: symbol lookup error: /usr/lib/libxcb-dri3.so.0: undefined symbol: xcb_send_request_with_fds
/home/doc/.local/share/Steam/steam.sh: line 444: no match: ssfn*
bash-4.4$
bash-4.4$ LD_PRELOAD='/usr/lib/libstdc++.so.6 /usr/lib/libgcc_s.so.1 /usr/lib/libxcb.so.1 /usr/lib/libgpg-error.so' steam
ERROR: ld.so: object '/usr/lib/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib/libgcc_s.so.1' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib/libxcb.so.1' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib/libgpg-error.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib/libgcc_s.so.1' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib/libxcb.so.1' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib/libgpg-error.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Repairing installation, linking /home/doc/.steam/steam to /home/doc/.local/share/Steam
Slackware 32-bit: Check the 'deps/<slackwareversion>' directory where you downloaded this package and install/upgrade the packages you find there.
Slackware 64-bit multilib: Install/upgrade the packages in the 'deps/<slackwareversion>/multilib' subdirectory instead.
Running Steam on slackware 14.2 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0)
/home/doc/.local/share/Steam/ubuntu12_32/steam: symbol lookup error: /usr/lib/libxcb-dri3.so.0: undefined symbol: xcb_send_request_with_fds
/home/doc/.local/share/Steam/steam.sh: line 444: no match: ssfn*
bash-4.4$ find ~/.local/share/Steam/ (-name libstdc++* -o -name libgcc_s.so* ) -print -delete
bash: syntax error near unexpected token `('
searching yielded this:
Quote:
Originally Posted by https://wiki.archlinux.org/index.php/Steam/Troubleshooting
Steam outputs this error and exits.
symbol lookup error: /usr/lib/libxcb-dri3.so.0: undefined symbol: xcb_send_request_with_fds
For steam to work, disable dri3 in xorg config file or as a workaround run steam with LIBGL_DRI3_DISABLE=1
LIBGL_DRI3_DISABLE=1 steam
so far, running the workaround command makes it work, I just need to know which conf should I add this to.
will report back once I get things up and running
Last edited by lawnm0wer; 12-15-2017 at 07:15 PM.
Reason: found some stuff in arch
Eric has steam set up to use a ~/.steam4slackware file where you can add any required workarounds. So, just create that file and then add your LIBGL_DRI3_DISABLE=1 to it. From there, you should be able to start steam without adding that to the line.
Eric has steam set up to use a ~/.steam4slackware file where you can add any required workarounds. So, just create that file and then add your LIBGL_DRI3_DISABLE=1 to it. From there, you should be able to start steam without adding that to the line.
there we go!
everything's A-OK now, framerates, start-up, marking this one as solved! thank you for all the effort and time spent helping me!
No problem! Sorry the driver didn't work out, but you should be seeing better performance using -current than the driver likely would've provided. Happy gaming!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.