LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-13-2017, 07:52 PM   #46
lawnm0wer
Member
 
Registered: Nov 2017
Posts: 87

Original Poster
Rep: Reputation: Disabled
status update


Quote:
Originally Posted by bassmadrigal View Post
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.

Last edited by lawnm0wer; 12-13-2017 at 07:56 PM.
 
Old 12-13-2017, 08:41 PM   #47
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
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

Last edited by orbea; 12-13-2017 at 08:42 PM.
 
Old 12-13-2017, 10:24 PM   #48
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,797

Rep: Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436
Quote:
Originally Posted by 1337_powerslacker View Post
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.
 
Old 12-14-2017, 01:43 AM   #49
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by enorbet View Post
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
 
Old 12-15-2017, 05:45 PM   #50
lawnm0wer
Member
 
Registered: Nov 2017
Posts: 87

Original Poster
Rep: Reputation: Disabled
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
 
Old 12-15-2017, 06:08 PM   #51
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
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.
 
Old 12-15-2017, 06:14 PM   #52
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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
 
Old 12-15-2017, 06:28 PM   #53
lawnm0wer
Member
 
Registered: Nov 2017
Posts: 87

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
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
 
Old 12-15-2017, 08:00 PM   #54
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
I'm glad you've got it working!

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.
 
Old 12-16-2017, 12:51 PM   #55
lawnm0wer
Member
 
Registered: Nov 2017
Posts: 87

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
I'm glad you've got it working!

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!
 
Old 12-16-2017, 02:24 PM   #56
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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!
 
  


Reply

Tags
amd, cpu, drivers, games, gpu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cpu overload and Firefox Pedroski Linux - Software 1 09-21-2013 07:31 PM
CPU Overload - Squeeze r00ster Linux - Newbie 1 03-08-2013 03:46 PM
CPU Overload mosthigh Linux - General 2 10-06-2009 01:31 AM
Americas Army (framerate probs and in-game demo) ExoZagNoid Linux - Games 4 06-27-2004 10:59 PM
cpu overload webwolf70 Linux - Hardware 2 03-22-2004 12:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration