The officially official Devuan Forum!

You are not logged in.

#1 2022-11-04 02:27:16

cretsiah
Member
Registered: 2019-01-28
Posts: 18  

dxvk from unstable / testing branch

not sure if this where i should put this post.

trying to run games with OpenGL hasnt been great for me.....

i am using a downstream version of Devuan called PeppermintOS.

i know under debian DXVK is not accepted into stable due to not passing some arch tests
https://tracker.debian.org/pkg/dxvk

but i have an x86-64 machine and was wondering if

a) how can i backport DXVK to chimera / peppermint os for use on my system?
- i know @head_on_a_Stick suggests
- https://www.debian.org/doc/manuals/debmake-doc/ and
- https://wiki.debian.org/CreatePackageFromPPA I also found
- https://wiki.debian.org/SimpleBackportCreation

b) not sure that im cluey / brainy enough to follow those instructions or how to re-interpret them for devuan testing/unstable ( im only a gui base + gamer type user )

c) if this could happen, then maybe it could be turned into a small auto install script for other simple users that have x86_64 machines?

if it is possible to backport for x86 and x86_64 machines i would probably want to rename it something like Gamers_x86_x86-64 only

Last edited by cretsiah (2022-11-04 02:53:40)

Offline

#2 2022-11-04 06:49:26

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: dxvk from unstable / testing branch

cretsiah wrote:

- i know @head_on_a_Stick suggests

There is another way :-)

Open an account over at https://build.opensuse.org/ (it's free) then create a new subproject for Devuan with the dxvk package. Grab the original source tarball, the debian tarball and the .dsc file and add them to the dxvk subproject package page — that should be enough to build the package for Debian stable, and hence Devuan chimaera.

stevepusser has an excellent guide to the OBS over at forums.debian.net, you should search it out. The SUSE documentation is pretty good too, but very prolix.

Once the repository is working you can share a link here so everybody can use it.

Post back if you can't figure it out and I'll see if I can manage it. I'm trying to slim down on my OBS repositories because they recently complained I was using too much of their servers.


Brianna Ghey — Rest In Power

Offline

#3 2022-11-04 07:20:24

cretsiah
Member
Registered: 2019-01-28
Posts: 18  

Re: dxvk from unstable / testing branch

AAARRGG im not a coder PMSL

ok i will try following your instructions as best i can .......

cant be any worse than the grub-pc package in LMDE 5 turning my /home driver into FAT 16 with EXT4 content ....... that is part of the reason i ended up on Peppermint OS lol .... but peppermint OS didnt do the same thing when it upgraded to grub-pc so i have no idea what the deal was......

this is as close to a script i have written because i dont know whow to write functions and if statements or anything PMSL
# original at Peppermint Forums

for gamers sanity like my self could this be turned into a script?
this is just meant to get system ready for gaming does not include game launchers
ie
- steam
- heroic
- etc

Gamers x86 and x86_64 only

# add to Peppermint Extras option= x86 and x86_64-bit gamers 
#purpose of script to make core system ready for gaming 
# to install DXVK for gaming for gamers sanity

#phase 1 
#check graphics card type AMD or Nvidea (maybe intel dont know what the drivers are like for #this)
#check hardware Arch type
#check signed or unsigned system
#presume graphics card drivers would be installed during initial installation process

#check signed or unsigned such as uefi system just incase this causes issues
# example Ross Palmer Thread :
# https://sourceforge.net/p/peppermintos/pepos/hardware/thread/8743721895/?limit=25#79f6

check hardware is x86 or x86_64 or both

IF answer=no then print message 
“ Sorry this is not available for your system at this time, please check back later after debian / devuan stable updates “ 
#if NO then terminate script with no changes to system and kill message display after 10-20-30 seconds - time limit depends on what would be considered adequate time to read message.
- Remove script and message

#phase 2
# user may have already attempted manual install of some packages so check and verify
- if user pre-installed some packages check and verify
- if good/ clean = yes
then proceed phase 4
- if good/ clean = no
then
- purge and re-install packages
-proceed phase 3 

#phase 3
#requires user password
if x86  yes install (aka 32-bit )
- libfaudio
- vulkan
- opengl
- libc6:i386 ( just incase assumption this doesnt already install automatically on 32-bit )
- goverlay

if x86_64 = yes (aka 64-bit )
then install
- architecture i386
- libc6:i386

# phase 4
#Temporary Add unstable / testing branch
- add to sources list unstable testing repo debian/devuan
#download DXVK and configure to debian / devuan current system bullseye
- download DXVK and configure to debian / devuan bullseye
# remove unstable / testing repo from sources list after installation we dont want to mess up our stable system.

#Phase 5
# potential system update hooks
# part 1 maybe not needed ( I dont know how it works exactly )
- if dxvk installed = yes
- then check main repo = yes
- then remove special hook for updating

#part 2
- if dxvk in main repo = no
- then check unstable /testing repo
- if unstable /testing repo = yes
- then
- temp add unstable /testing repo to sources list
- then
- if unstable / testing repo = yes
- then
- check if DXVK has been updated
- if = yes
- then update package
- if = no
then
- do nothing and/or  close script.

# by cretsiah older school gamer but not quite retro

Offline

#4 2022-11-04 07:24:59

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: dxvk from unstable / testing branch

I do not think an "auto-install" script is a good way forward here. Just provide a repository with instructions. The OBS even provides the instructions for you on their package download page. Creating an OBS repository doesn't need any scripting skills.


Brianna Ghey — Rest In Power

Offline

#5 2022-11-04 08:02:43

cretsiah
Member
Registered: 2019-01-28
Posts: 18  

Re: dxvk from unstable / testing branch

got an unresolvable error

- libwine-development-dev i586
- libwine-development-dev x86_64

so probably need to add wine-development to the package as well

hope i added the first 3 correctly as the zip files they were

for sanity sake i should probably add these to the package

- libfaudio
- libvkd3d1

Last edited by cretsiah (2022-11-04 08:35:59)

Offline

#6 2022-11-04 09:42:45

cretsiah
Member
Registered: 2019-01-28
Posts: 18  

Re: dxvk from unstable / testing branch

pretty sure ive made a mess of it as some packages are not  source files

but here is a link to overview if it works https://build.opensuse.org/package/show … uan_debian

Offline

#7 2022-11-04 17:35:22

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: dxvk from unstable / testing branch

You have to package up the dependencies in the same way as dxvk.

I should probably have mentioned that the .orig.tar.gz, .debian.tar.xz & .dsc files are all available from the right-hand side bar on the relevant packages.debian.org page; search function here: https://www.debian.org/distrib/packages#search_packages.

Anyway I managed to get dxvk built for Debian bullseye/Devuan chimeara/PeppermintOS:

https://software.opensuse.org//download … ckage=dxvk

It has several dependencies so it's best to follow the "Add repository and install manually" instructions, that should pull them all in.

The only change I had to make was to wine-development_7.11~repack-2.dsc, in which I had to specify libjpeg-dev as a dependency to solve a dilemma between that and libjpeg42-turbo-dev.

Here's the full repository so you can copy or fork it:

https://build.opensuse.org/project/show … ppermintOS

I won't be updating this but bump the thread if you need help updating it yourself. Probably best to share a link to the repositories over at the PeppermintOS forums so they can take advantage as well.

EDIT: but post a big warning about the package breaking and killing all the kittens in the neighbourhood; backup before trying!

Last edited by Head_on_a_Stick (2022-11-04 17:38:36)


Brianna Ghey — Rest In Power

Offline

#8 2022-11-05 00:58:00

cretsiah
Member
Registered: 2019-01-28
Posts: 18  

Re: dxvk from unstable / testing branch

@Head_on_a_Stick

the 2 dxvk packages already exist in Debian in the unstable branch
- dxvk and dxvk-wine64-developement

and can be installed using synaptic package manager. just by adding unstable branch temporarily in to Peppermint OS Debian Base Repo settings

using peppermint OS Debian Base i was able to install it....

i dont appear to have that option to even check in Devuan Base ( or at least not the down stream version )

so how do we get those packages into Devuan Base or access unstable devuan??

Last edited by cretsiah (2022-11-05 00:58:35)

Offline

#9 2022-11-05 08:38:16

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: dxvk from unstable / testing branch

cretsiah wrote:

the 2 dxvk packages already exist in Debian in the unstable branch
- dxvk and dxvk-wine64-developement

and can be installed using synaptic package manager. just by adding unstable branch temporarily in to Peppermint OS Debian Base Repo settings

using peppermint OS Debian Base i was able to install it....

Do not do that, it will break your system.

Please read https://wiki.debian.org/DontBreakDebian.


Brianna Ghey — Rest In Power

Offline

#10 2022-11-05 16:22:55

thierrybo
Member
Registered: 2017-11-11
Posts: 107  

Re: dxvk from unstable / testing branch

Or think about upgrading to Testing, this solves this kind of problems. I just discovered a week ago that there was a Peppermint Devuan spin. The fun fact in their source.list is that there is no peppermint repository, only Devuan and mutimedia.

I  just installed it as VM yesterday and upgraded to testing. Just had  to edit /etc/default/grub  and /etc/calamares/settings.conf to set peppermint branding, and add some missing python3 packages needed by their tools :
sudo pip install tendo ttkbootstrap
Sudo apt install python3.git python3-crontab python3-pil python3-pil.imagetk

cretsiah wrote:

@Head_on_a_Stick

the 2 dxvk packages already exist in Debian in the unstable branch
- dxvk and dxvk-wine64-developement

and can be installed using synaptic package manager. just by adding unstable branch temporarily in to Peppermint OS Debian Base Repo settings

using peppermint OS Debian Base i was able to install it....

i dont appear to have that option to even check in Devuan Base ( or at least not the down stream version )

so how do we get those packages into Devuan Base or access unstable devuan??

Offline

#11 2022-11-07 01:52:46

cretsiah
Member
Registered: 2019-01-28
Posts: 18  

Re: dxvk from unstable / testing branch

Head_on_a_Stick wrote:

You have to package up the dependencies in the same way as dxvk.

I should probably have mentioned that the .orig.tar.gz, .debian.tar.xz & .dsc files are all available from the right-hand side bar on the relevant packages.debian.org page; search function here: https://www.debian.org/distrib/packages#search_packages.

Anyway I managed to get dxvk built for Debian bullseye/Devuan chimeara/PeppermintOS:

https://software.opensuse.org//download … ckage=dxvk

It has several dependencies so it's best to follow the "Add repository and install manually" instructions, that should pull them all in.

The only change I had to make was to wine-development_7.11~repack-2.dsc, in which I had to specify libjpeg-dev as a dependency to solve a dilemma between that and libjpeg42-turbo-dev.

Here's the full repository so you can copy or fork it:

https://build.opensuse.org/project/show … ppermintOS

I won't be updating this but bump the thread if you need help updating it yourself. Probably best to share a link to the repositories over at the PeppermintOS forums so they can take advantage as well.

EDIT: but post a big warning about the package breaking and killing all the kittens in the neighbourhood; backup before trying!

PMSL - kiiling all the kittens in the neighbourhood

i will give them a heads up and see what they make of it thanks

Offline

#12 2022-11-07 01:56:39

cretsiah
Member
Registered: 2019-01-28
Posts: 18  

Re: dxvk from unstable / testing branch

Head_on_a_Stick wrote:
cretsiah wrote:

the 2 dxvk packages already exist in Debian in the unstable branch
- dxvk and dxvk-wine64-developement

and can be installed using synaptic package manager. just by adding unstable branch temporarily in to Peppermint OS Debian Base Repo settings

using peppermint OS Debian Base i was able to install it....

Do not do that, it will break your system.

Please read https://wiki.debian.org/DontBreakDebian.

when i added it, i then removed it straight after downloading those 2 specific packages ....

so frankenstein it might have been ..... probably the only thing i might have noticed was in updating  ( although that semed to go ok )

had more trouble with flatpak causing issues as referenced here https://sourceforge.net/p/peppermintos/ … 094e80eb7/

Offline

Board footer