LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-16-2018, 08:22 PM   #31
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,535

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899

Slackbuild for 14.2 says it's only supported for x86_64? Anything intensive, I'm using a 64-bit WINEPREFIX, anyway.

So: 1.) install vulkan-sdk: https://slackbuilds.org/repository/1...ics/vulkansdk/. 2.) Install the windows vulkan sdk via winetricks.

Profit? (Heard that the 390 series of nvidia drivers isn't the best, so might drag my feet a bit. I don't absolutely need Vulkan, but it would be fun to play around with.)
 
1 members found this post helpful.
Old 04-19-2018, 03:07 AM   #32
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Why would you need the Windows Vulkan sdk?
 
Old 04-19-2018, 09:05 AM   #33
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,222

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by RadicalDreamer View Post
Why would you need the Windows Vulkan sdk?
What I read on Reddit is that from WINE 3.5 on, you don't.
 
1 members found this post helpful.
Old 04-19-2018, 12:21 PM   #34
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,535

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Originally Posted by dugan View Post
What I read on Reddit is that from WINE 3.5 on, you don't.
Good to know, thanks.
 
1 members found this post helpful.
Old 04-22-2018, 01:56 PM   #35
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
FYI: I upgraded to the NVIDIA driver 396.18.02 while also doing a fresh install of Slackware (due to the mass rebuild), and wine suddenly refused to run any games, and it gave me different errors for different games. It was driving me nuts, because I thought a rebuild of wine would do the trick. It didn't. After some thought, I regressed to the previous version, 396.18, and all the problems disappeared.

Stick with 396.18 for now. The xxx.xx.02 version is not ready for prime time yet.
 
Old 04-22-2018, 02:24 PM   #36
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,222

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
I'm sticking with 390.48 thanks
 
Old 04-23-2018, 02:08 PM   #37
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 dugan View Post
I'm sticking with 390.48 thanks
Maybe I should have clarified: I recommend sticking with 396.18 for those of us running the 4.16.x series of kernels. The kernels Slackware ships would, of course, work just fine with 390.48.
 
2 members found this post helpful.
Old 04-24-2018, 01:54 AM   #38
white falcon
LQ Newbie
 
Registered: Jul 2016
Posts: 5

Rep: Reputation: Disabled
Hi Dugan
My GF just butchered your SlackBuild to get wine-staging+PBA built. Here is a link to it on her Google Drive, please feel free to beautify it and post it up somewhere for better access.
It works for us both and while I don't see any degradation in performance, everyone's mileage may of course vary.
 
Old 04-24-2018, 01:54 AM   #39
white falcon
LQ Newbie
 
Registered: Jul 2016
Posts: 5

Rep: Reputation: Disabled
Hi Dugan
My GF just butchered your SlackBuild to get wine-staging+PBA built. Here is a link to it on her Google Drive, please feel free to beautify it and post it up somewhere for better access.
It works for us both and while I don't see any degradation in performance, everyone's mileage may of course vary.\
https://drive.google.com/open?id=1AZ...ZPPdXgz-iVrr1J
 
Old 04-24-2018, 10:05 AM   #40
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,222

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Looks good to me:

Code:
#!/bin/env bash

# Builds Wine with the wine-staging patches. This is meant for a multilib system, and will build a WOW64-enabled WINE (one "wine"
# executable for both 32-bit and 64-bit apps).
#
# This is based on the SBo SlackBuild.

set -e

# Change this as needed.
VERSION=3.6

BUILD=${BUILD:-1}
TAG=${TAG:-dc}
TMP=${TMP:-/tmp}
PKG=$TMP/package-wine
BRANCH=3.x

if [[ -z $ARCH ]]; then
  case $( uname -m ) in
    i?86) ARCH=i486 ;;
    arm*) ARCH=arm ;;
    *) ARCH=$( uname -m ) ;;
  esac
fi

case $ARCH in
  "i486")
    SLKCFLAGS="-O2 -march=i486 -mtune=i686"
    ;;
  "i686")
    SLKCFLAGS="-O2 -march=i686 -mtune=i686"
    ;;
  "x86_64")
    SLKCFLAGS="-O2 -fPIC"
    ;;
  *)
    SLKCFLAGS="-O2"
    ;;
esac

rm -rf "$PKG" "$TMP/wine_src"
cd "$TMP"

### Get wine src
mkdir wine_src
cd wine_src
wget -c "https://dl.winehq.org/wine/source/$BRANCH/wine-$VERSION.tar.xz"
wget https://raw.githubusercontent.com/Ponce/slackbuilds/master/system/wine/slack-desc

tar xvf wine-${VERSION}.tar.xz

### Get wine-staging patches
wget -c --content-disposition "https://github.com/wine-staging/wine-staging/archive/v$VERSION.tar.gz"
tar xvf wine-staging-${VERSION}.tar.gz

### Apply patches
cd wine-staging-$VERSION/patches
./patchinstall.sh --all DESTDIR="$TMP/wine_src/wine-$VERSION"

### Get PBA patches
cd "$TMP/wine_src"
wget -c "https://github.com/acomminos/wine-pba/archive/master.zip"

### Apply PBA patches
unzip -o master.zip
cd "$TMP/wine_src/wine-$VERSION"
for PBA_PATCH in /tmp/wine_src/wine-pba-master/patches/*
do
  patch -p1 < "$PBA_PATCH"
done

### Back to the original SlackBuild
cd "$TMP/wine_src/wine-$VERSION"

chown -R root:root .
find -L . \
 \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
  -o -perm 511 \) -exec chmod 755 {} \; -o \
 \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
  -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;

autoreconf -i

mkdir "$TMP/wine_src/win64-build"
cd "$TMP/wine_src/win64-build"
CFLAGS="$SLKCFLAGS" \
  CXXFLAGS="$SLKCFLAGS" \
  "$TMP/wine_src/wine-$VERSION/configure" \
  --enable-win64 \
  --prefix=/usr \
  --mandir=/usr/man \
  --docdir=/usr/doc/wine-"$VERSION" \
  --disable-tests \
  --build="$ARCH"-slackware-linux
make

mkdir -p "$TMP/wine_src/win32-build"
cd "$TMP/wine_src/win32-build"
CFLAGS="$SLKCFLAGS" \
  CXXFLAGS="$SLKCFLAGS" \
  "$TMP/wine_src/wine-$VERSION/configure" \
  --with-wine64=../win64-build \
  --prefix=/usr \
  --mandir=/usr/man \
  --docdir=/usr/doc/wine-"$VERSION" \
  --disable-tests \
  --build="$ARCH"-slackware-linux

make

make install DESTDIR="$PKG"
cd ../win64-build
make install DESTDIR="$PKG"

find "$PKG" -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
  | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

find "$PKG"/usr/man -type f -exec gzip -9 {} \;
for i in $( find "$PKG/usr/man" -type l ) ; do ln -s "$( readlink "$i" ).gz" "$i.gz" ; rm $i ; done

mkdir -p "$PKG/usr/doc/wine-$VERSION"
cp -a "$TMP"/wine_src/wine-"$VERSION"/[[:upper:]][[:upper:]]* "$PKG/usr/doc/wine-$VERSION"

mkdir -p "$PKG/install"
cat "$TMP/wine_src/slack-desc" > "$PKG/install/slack-desc"

cd "$PKG"
/sbin/makepkg -l y -c n "$TMP/wine-pba-staging-${VERSION}-${ARCH}-$BUILD$TAG.txz"
 
1 members found this post helpful.
Old 04-24-2018, 08:26 PM   #41
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,682

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Just out of curiosity are the wine d3d9 patches still needed for anything important, I know Alien Bob's slackbuild still includes them?
https://github.com/sarnex/wine-d3d9-patches
 
Old 04-24-2018, 11:20 PM   #42
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Yes, they're used for gallium nine with wine which is clearly faster than the default opengl in wine since the conversion from d3d9 to opengl is a lot more expensive than just using d3d9 with meta's gallium nine. However this is only available for mesa users with amd or nvidia (nouveau) cards.
 
2 members found this post helpful.
Old 06-03-2018, 08:48 PM   #43
slacktroll
Member
 
Registered: May 2011
Distribution: Slackware64/current
Posts: 175

Rep: Reputation: 44
Quote:
Originally Posted by garpu View Post
Cool! And no "make -j," I see.

Is there a tutorial for using Dxvk and WINE? Seems like every version of WINE is different with respect to dxvk. (One needs to be using the beta Nvidia drivers, or is it driver-independent now?)
See:
https://haagch.frickel.club/files/dxvk/latest

Using old slackware64-current [ + multilib] (don't know dates sorry)

now eso works for me without glitches!

Thank you dugan! CHEERS!

Last edited by slacktroll; 06-03-2018 at 08:50 PM. Reason: slackware-current -> slackware64-current
 
Old 06-04-2018, 09:01 AM   #44
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,535

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
So for those using wine-pba, is it worth it? That is, if I have an older CPU, would it help? (I seem to be bottlenecked by it, not my GPU, which is a 1050ti.)

Last edited by garpu; 06-04-2018 at 09:06 AM.
 
Old 06-04-2018, 02:29 PM   #45
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Original Poster
Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
Quote:
Originally Posted by white falcon View Post
Hi Dugan
My GF just butchered your SlackBuild to get wine-staging+PBA built. Here is a link to it on her Google Drive, please feel free to beautify it and post it up somewhere for better access.
It works for us both and while I don't see any degradation in performance, everyone's mileage may of course vary.\
https://drive.google.com/open?id=1AZ...ZPPdXgz-iVrr1J
Your GF modified a Linux script? OMG does she have a sister?
 
1 members found this post helpful.
  


Reply

Tags
slackbuilds, slackware, updates, wine, wine-staging



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
LXer: How to Install Wine Staging on Ubuntu Linux LXer Syndicated Linux News 0 05-09-2017 02:42 PM
LXer: Wine Staging Has a Brand-New Repository, Here's How to Migrate to It Right Now LXer Syndicated Linux News 0 03-29-2017 11:36 PM
LXer: There's a fork of Wine-Staging that allows you to play Overwatch on Linux, still needs work LXer Syndicated Linux News 0 03-08-2017 05:25 PM
[SOLVED] Wine Staging 1.7.46 builds but won't install. FC22 bmarley83 Fedora 5 07-14-2015 06:13 AM

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

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