LinuxQuestions.org
Visit Jeremy's Blog.
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 07-14-2017, 07:14 AM   #1
Fluffy
LQ Newbie
 
Registered: Nov 2007
Distribution: Slackware64-current
Posts: 16

Rep: Reputation: 0
DiRT Rally texture issues with Slackware64-current multilib and RX 480


Specifically trying to get DiRT Rally to look like it's supposed to, but there are a handful of other games that don't look like they should.
Details of DiRT Rally however is that textures are all sort of blue or the colors are inverted.

http://i.imgur.com/7phSrOl.png

As you can see the textures are just kind of not right, not really inverted but things that are red are blue, I didn't get a screenshot of it but the RPM indicator on the HUD is blue instead of red, but the gear number will properly turn red to indicate to shift gears.
It's a similar issue in Mad Max where are all the reds are blue.

http://i.imgur.com/0UEll1X.png

Currently running a custom compiled mesa using configure flags from ubuntu padoka ppa build, but it's the same under stock slackware64 mesa.
Under Ubuntu 16.04 with the padoka ppa running the same versions afaik of libdrm, mesa, llvm, etc. the texture issues aren't present.

I'm kind of at a loss for what to look for so any and all help is appreciated.

Last edited by Fluffy; 07-14-2017 at 06:18 PM. Reason: fixed link
 
Old 07-14-2017, 03:25 PM   #2
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Rep: Reputation: 201Reputation: 201Reputation: 201
The first link is linked to the second link. http://i.imgur.com/7phSrOl.png
Many texture problems with slackware multilib with mesa drivers comes down to missing S3TC support.
Do you have libtxc_dxtn installed for both 64-bit and 32bit compat package?
https://slackbuilds.org/repository/1...s/libtxc_dxtn/

Code:
Build S3TC 64-bit and 32-bit compat package:
  You need to be root to execute the libtxc_dxtn.SlackBuild and build a package. 
  wget https://slackbuilds.org/slackbuilds/14.2/libraries/libtxc_dxtn.tar.gz
  tar xvf libtxc_dxtn.tar.gz
  cd libtxc_dxtn
  wget https://people.freedesktop.org/~cbrill/libtxc_dxtn/libtxc_dxtn-1.0.1.tar.bz2
  ./libtxc_dxtn.SlackBuild
  installpkg /tmp/libtxc_dxtn-1.0.1-x86_64-1_SBo.tgz
  . /etc/profile.d/32dev.sh
  ARCH=i586 ./libtxc_dxtn.SlackBuild
  /usr/sbin/convertpkg-compat32 -i /tmp/libtxc_dxtn-1.0.1-i586-1_SBo.tgz
  installpkg /tmp/libtxc_dxtn-compat32-1.0.1-x86_64-1_SBocompat32.txz

Last edited by Nille_kungen; 07-14-2017 at 03:46 PM.
 
1 members found this post helpful.
Old 07-14-2017, 04:15 PM   #3
Fluffy
LQ Newbie
 
Registered: Nov 2007
Distribution: Slackware64-current
Posts: 16

Original Poster
Rep: Reputation: 0
DiRT Rally texture issues with Slackware64-current multilib and RX 480

hm, not sure how I ended up doing that, but still same effect is happening. I'll check for the libtxc_dxtn package when I get home from work. Thank you for the response :3

EDIT//
libtxc_dxtn 64bit package was the issue, I had built the compat32 package before, but never did the 64bit.
Though I've only tested Mad Max, I'm sure DiRT Rally is fixed too since the issue was the same.

Last edited by Fluffy; 07-14-2017 at 05:01 PM.
 
Old 07-14-2017, 05:45 PM   #4
slackerDude
Member
 
Registered: Jan 2016
Posts: 157

Rep: Reputation: Disabled
What did you all have to do to a stock Slackware 14.2 build to get Dirt Rally to work? I have it on my windows gaming PC, but I rarely have time to actually sit down and play it..
 
Old 07-14-2017, 05:55 PM   #5
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Rep: Reputation: 201Reputation: 201Reputation: 201
Is that stock slackware or slackware64 and what graphics driver do you use?
Slackware64 needs you to setup multilib.
Then you need to install steam.
Mesa open source drivers needs libtxc_dxtn but it's not needed if you use nvidia proprietary driver.
Other then that install the game in steam and enjoy.
EDIT: I checked the linux requirements and it needs mesa 13.0.3 or later so if you use mesa then the one in 14.2 is to old (11.2.2).
Also bassmadrigal has a script that might install amdgpu-pro if you got amd hardware that's supported by that driver and don't want to upgrade mesa.
I haven't tried that SlackBuild myself but there is a long thread that states that it works with 14.2
https://github.com/bassmadrigal/slac...gpu-pro-driver

Last edited by Nille_kungen; 07-14-2017 at 06:21 PM.
 
Old 07-14-2017, 06:25 PM   #6
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Rep: Reputation: 201Reputation: 201Reputation: 201
Quote:
Originally Posted by Fluffy View Post
libtxc_dxtn 64bit package was the issue, I had built the compat32 package before, but never did the 64bit.
Though I've only tested Mad Max, I'm sure DiRT Rally is fixed too since the issue was the same.
I only made an 64-bit package at first and had a lot of texture problems in games steam and wine before i figured out what was wrong with my setup.
 
Old 07-14-2017, 07:07 PM   #7
slackerDude
Member
 
Registered: Jan 2016
Posts: 157

Rep: Reputation: Disabled
Quote:
Originally Posted by Nille_kungen View Post
Is that stock slackware or slackware64 and what graphics driver do you use?
Thanks! I have stock slackware64, but have built multilib in the past - just haven't needed it so far with 14.2. And didn't think my cpu/gpu combo was going to be worthwhile (q9550/GTX 950). About to upgrade to Ryzen 1700.

Will continue to run nvidia binary blob (it just works). Will also need to set up resolution switching - am currently running a Seiki 4k @ 30Hz - probably not the best resolution for gaming :-)
 
Old 07-14-2017, 07:11 PM   #8
Fluffy
LQ Newbie
 
Registered: Nov 2007
Distribution: Slackware64-current
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Nille_kungen View Post
I only made an 64-bit package at first and had a lot of texture problems in games steam and wine before i figured out what was wrong with my setup.
Ha, glad I'm not the only one xD
 
  


Reply



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
[SOLVED] slackware64 multilib + current +RX 480 steam don't launch altor31 Slackware 9 05-14-2017 04:41 PM
LXer: Start your engines as DiRT Rally is now on Linux, port report & review LXer Syndicated Linux News 0 03-02-2017 02:30 PM
Skype on Slackware64 current, without Multilib? LuckyCyborg Slackware 15 02-29-2016 07:03 AM
[SOLVED] Skype segfaults in Slackware64 current multilib Gumboherpy Slackware 4 07-07-2015 05:21 PM
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 09:04 AM

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

All times are GMT -5. The time now is 06:02 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