kisak-mesa ppa breaks Steam (and vica versa)

Anything related to gaming on Linux Mint including game discussion or questions concerning Steam or Wine.
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
kodos
Level 1
Level 1
Posts: 17
Joined: Thu Sep 24, 2015 1:36 pm

kisak-mesa ppa breaks Steam (and vica versa)

Post by kodos »

I upgraded from 19.3 to 21.1 2 days ago (I always keep the distros till end of live) and run into the problem with mesa and Steam with 32bit libraries

after installation, installing kisak ppa works but won't allow to install Steam (cannot install the requested libraries and if you do it manually the system breaks)
after installation, installing Steam works but won't allow to install the ppa (it is there but not used, forcing it breaks the system)

tried for 2 days now and searched for other were the only result found were similar issues but no real solution (like not using the ppa after a fresh install or using Fedora instead of Mint)

problem for me is, I have a game that only works with wine-staging 6.3, and that wine version crashes if I use default driver (don't know why, I cannot even install something using it, it worked with 19.3 and kisak ppa, worked with 21.1 and kisak ppa), while other games need Steam.

what I haven't done yet was purge the default mesa driver before adding the ppa (because there wasn't time for this yet and it)
any other ideas or solutions what could be done?
Last edited by LockBot on Sat Aug 05, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
MiZoG
Level 8
Level 8
Posts: 2381
Joined: Fri Jan 26, 2018 8:30 pm
Location: Athens, Greece

Re: kisak-mesa ppa breaks Steam (and vica versa)

Post by MiZoG »

Hey, kodos!
We lack important info.
First, post your system specs inxi -Fxxxrz
Then, tell us how did you upgrade your system? Have you kept old files, your home partition or did you opt for a fresh-install?
Why not reveal the game that needs an older wine version but a newer mesa stack :!:
How did you install steam and why are 32libs not working with it? (Fresh install of 21.1 in my case, I downloaded the .deb installer from steam and all golden though I'm on nvidia)
Installing kisak ppa could be justified when you need that bleeding-edge driver to run the latest AAA games not playable with default mesa...
Otherwise it is not advisable. It's not always the case but you can get newer versions of mesa by installing more recent kernels.
Many problems intertwined. You should approach em one by one.
kodos
Level 1
Level 1
Posts: 17
Joined: Thu Sep 24, 2015 1:36 pm

Re: kisak-mesa ppa breaks Steam (and vica versa)

Post by kodos »

inxi -Fxxxrz:

Code: Select all

System:
  Kernel: 5.19.0-28-generic x86_64 bits: 64 compiler: N/A
    Desktop: Cinnamon 5.6.7 tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0
    Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop Mobo: ASUSTeK model: Z170-A v: Rev 1.xx
    serial: <superuser required> UEFI: American Megatrends v: 3802
    date: 03/15/2018
CPU:
  Info: quad core model: Intel Core i5-6600K bits: 64 type: MCP
    smt: <unsupported> arch: Skylake-S rev: 3 cache: L1: 256 KiB L2: 1024 KiB
    L3: 6 MiB
  Speed (MHz): avg: 2825 high: 3500 min/max: 800/4300 cores: 1: 800 2: 3500
    3: 3500 4: 3500 bogomips: 27999
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Graphics:
  Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
    vendor: Micro-Star MSI driver: amdgpu v: kernel pcie: speed: 16 GT/s
    lanes: 16 ports: active: DP-3 empty: DP-1,DP-2,HDMI-A-1 bus-ID: 03:00.0
    chip-ID: 1002:731f class-ID: 0300
  Device-2: Sunplus Innovation MD 88366 Full HD webcam type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-10:5 chip-ID: 1bcf:2283
    class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,radeon,vesa gpu: amdgpu display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.7x15.0")
    s-diag: 777mm (30.6")
  Monitor-1: DisplayPort-2 mapped: DP-3 model: Idek Iiyama PL2760Q
    serial: <filter> res: 2560x1440 dpi: 109 size: 597x336mm (23.5x13.2")
    diag: 685mm (27") modes: max: 2560x1440 min: 640x480
  OpenGL:
    renderer: AMD Radeon RX 5700 (navi10 LLVM 15.0.6 DRM 3.47 5.19.0-28-generic)
    v: 4.6 Mesa 22.2.5 direct render: Yes
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a170
    class-ID: 0403
  Device-2: AMD Navi 10 HDMI Audio driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab38 class-ID: 0403
  Device-3: Sunplus Innovation MD 88366 Full HD webcam type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-10:5 chip-ID: 1bcf:2283
    class-ID: 0102 serial: <filter>
  Device-4: Cambridge Silicon Radio Avantree DG80 type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-3:2 chip-ID: 0a12:1004
    class-ID: 0300
  Sound Server-1: ALSA v: k5.19.0-28-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15b8 class-ID: 0200
  IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 2.73 TiB used: 1.42 TiB (52.1%)
  ID-1: /dev/sda vendor: Samsung model: SSD 850 EVO 250GB size: 232.89 GiB
    speed: 6.0 Gb/s type: SSD serial: <filter> rev: 1B6Q scheme: GPT
  ID-2: /dev/sdb vendor: Samsung model: SSD 860 EVO 250GB size: 232.89 GiB
    speed: 6.0 Gb/s type: SSD serial: <filter> rev: 1B6Q scheme: GPT
  ID-3: /dev/sdc vendor: SanDisk model: SSD PLUS 1000GB size: 931.51 GiB
    speed: 6.0 Gb/s type: SSD serial: <filter> rev: 04RL scheme: GPT
  ID-4: /dev/sdd vendor: Western Digital model: WD10EZEX-00BN5A0
    size: 931.51 GiB speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: 1A01 scheme: GPT
  ID-5: /dev/sde vendor: Western Digital model: WD5000AADS-00S9B0
    size: 465.76 GiB speed: 3.0 Gb/s type: N/A serial: <filter> rev: 0A01
    scheme: GPT
Partition:
  ID-1: / size: 31.32 GiB used: 16.83 GiB (53.7%) fs: ext4 dev: /dev/sda3
  ID-2: /boot size: 678.5 MiB used: 281.1 MiB (41.4%) fs: ext4
    dev: /dev/sda1
  ID-3: /boot/efi size: 187.8 MiB used: 6 MiB (3.2%) fs: vfat
    dev: /dev/sda2
  ID-4: /home size: 196.68 GiB used: 29.36 GiB (14.9%) fs: ext4
    dev: /dev/sda4
Swap:
  ID-1: swap-1 type: partition size: 3.73 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sdd3
Sensors:
  System Temperatures: cpu: 29.0 C mobo: N/A gpu: amdgpu temp: 42.0 C
    mem: 40.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 0
Repos:
  Packages: apt: 2594
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
  No active apt repos in: /etc/apt/sources.list.d/kisak-kisak-mesa-jammy.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https://mirror.init7.net/linuxmint vera main upstream import backport
    2: deb http://ubuntu.lagis.at/ubuntu jammy main restricted universe multiverse
    3: deb http://ubuntu.lagis.at/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://ubuntu.lagis.at/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/skype-stable.list
    1: deb [arch=amd64] https://repo.skype.com/deb stable main
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http://repository.spotify.com stable non-free
  Active apt repos in: /etc/apt/sources.list.d/steam.list
    1: deb [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam
    2: deb-src [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam
  Active apt repos in: /etc/apt/sources.list.d/winehq-jammy.sources
    1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu jammy main
Info:
  Processes: 332 Uptime: 1h 43m wakeups: 0 Memory: 15.57 GiB
  used: 4.2 GiB (27.0%) Init: systemd v: 249 runlevel: 5 Compilers:
  gcc: 11.3.0 alt: 11 Shell: Bash v: 5.1.16 running-in: gnome-terminal
  inxi: 3.3.13
Last edited by kodos on Mon Feb 06, 2023 3:16 pm, edited 1 time in total.
kodos
Level 1
Level 1
Posts: 17
Joined: Thu Sep 24, 2015 1:36 pm

Re: kisak-mesa ppa breaks Steam (and vica versa)

Post by kodos »

coming from 19.3 with kisak-mesa ppa
what I have done:

version a) fresh install from live USB (kept home, but on a different drive)
update system, add 32 bit architecture, restart, add kisak-mesa ppa, update&upgrade, restart (everything working so far)
install steam from latest .deb, on startup get the message that 32 bit libraries are missing, follow the steps in terminal, error that those cannot be added
apt upgrade shows those libraries being hold back, installing them one by one breaks the system (black screen on startup)

version b) again a fresh install from live USB
update system, add 32 bit architecture, restart, install steam from .deb (everything working so far)
add kisak-mesa ppa, update&upgrade, restart, but it is not applied (driver is still mesa 22.2.5), install it via terminal, steam does not work any more (error with 32 bit libraries in startup)

this is one part of the problem, found also similar issues here and on reddit were the solution was either to make a fresh install without the kisak ppa or use a different distro

the other problem is Path of Exile
with 19.3 played with wine-staging 6.3 is all other version have CPU lag spikes related to (older) Intel CPU going on idle during low use (solution on windows is either changing bios to prevent the core from going idle or adding a custom power plan for the specific games that disables idle during gameplay)
I don't why 6.3 staging worked around this and I guess it was not intentional and I haven't bothered (and I don't really want to) changing bios nor found a way to apply a custom power plan while running a wine game like people suggest on windows (and because it worked with that wine version I did not needed until now)

on version a), after adding kisak ppa, Path of Exile runs with wine-staging 6.3
on version b) wine crashes on start with the error:
0054:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\nsiproxy": c0000135
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"nsiproxy" failed to start: 126
(google that error usually results in using a different version of wine)
tried a fresh install from a clean system, wine crashes with the same error
I can install the game with other wine version, and also run them but cannot play because of the mentioned lag spikes (it is the only non-native game I play at the moment and the only one with problems on the fresh install so far)

so by now I am looking for a solution to the cpu lag problem (as I need to solve it sooner or later anyway) and in addition what causes the problems with steam kisak (I guess there is one library in a different version in 64 and 32 bit and this causes the dependencies to fail)
User avatar
MiZoG
Level 8
Level 8
Posts: 2381
Joined: Fri Jan 26, 2018 8:30 pm
Location: Athens, Greece

Re: kisak-mesa ppa breaks Steam (and vica versa)

Post by MiZoG »

Hmm... radeon rx5600/5700 and LM19.x. all that time?

According to ProtonDB reports, linux users have a decent rate of success with Path of Exile on Steam.
No idea about how easy it is to transfer your account to steam. I bet you don't have the game in your steam library.
...cpu lag problem...
There is Feral's gamemode for that. It adjusts cpu state on the fly for gaming. You stop playing, cpu returns to normal. It seems exactly what you're looking for and it is installed by default on latest Ubuntu/Mint. You preload it in the command line gamemoderun nameofyourgame, you can add it as a launch-argument on steam gamemoderun %command%, edit the game menu entry and so on. Game managers like Lutris use it by default these days <-- Have you tried the Lutris installer script(s) btw?

Alternative to gamemode is low-latency kernels like Liquorix, xanmod etc. Too radical a solution...

MMOs receive a lot of updates so Path of Exile might be prone to frequent breaking of compatibility with wine/proton but I would start with a clean stable system = default mesa drivers and work on a solution.

(And try broader linux gamers' scene: gamingonlinux, lutris, HeroicGames Launcher's discord channels. You'll have more chances to get expert help over there)
kodos
Level 1
Level 1
Posts: 17
Joined: Thu Sep 24, 2015 1:36 pm

Re: kisak-mesa ppa breaks Steam (and vica versa)

Post by kodos »

17.x and 19.x with an RX570 and RX5700
Playing PoE since Beta (2013) and there were different kind of problems over time (though since ~4 years it works very well) and I never change a running system (keep wine versions and workarounds unless things are broken)

Hence for MMOs I found Lutris scripts to be problematic as the game changes faster than the scripts are updated (and in the past Lutris had no real advantage if you did not use the scripts but needed patched wine versions not in Lutris or other workarounds, at least for me)

Thought after searching yesterday there seems to be a general problem with Ubuntu 22.04 and older wine versions and it is just my rare case that changing to a newer wine version breaks the game

The typical Linux gaming sites recommend changing the distro or use bleeding edge

Did not know that gamemode is now there by default, will try this one first and next is moving to Steam (thought it would not solve the original problem why Steam and kisak or why wine6.3 does not work at all)
kodos
Level 1
Level 1
Posts: 17
Joined: Thu Sep 24, 2015 1:36 pm

Re: kisak-mesa ppa breaks Steam (and vica versa)

Post by kodos »

for the record,
gamemode helps but CPU lag is still there in big enough to make it unplayable (decreased spikes from 3 sec to 1 sec) but PoE works well with Steam (i get the same performance in Steam is I had before with 6.3 staging)
bbbrox
Level 1
Level 1
Posts: 2
Joined: Wed Mar 08, 2023 12:25 pm

Re: kisak-mesa ppa breaks Steam (and vica versa)

Post by bbbrox »

I think I ran into the same problem with kisak PPA/Steam conflict while trying to get my 7900 XT working, but finally came up with a solution. Starting with a freshly (re)installed Mint 21.1, Mint updates applied, linux-oem-22.04c installed:

1. Add apt repo as per the kisak PPA instructions.

2. Edit /etc/apt/sources.list.d/kisak-kisak-mesa-jammy.list: change "deb [arch=amd64 signed-by=..." to "deb [arch=amd64,i386 signed-by=..."

3. Then apt update, apt upgrade

4. Now that apt has a source for compatible i386 mesa files to go with the upgraded amd64 mesa files, Steam installs without a problem.
User avatar
Donzi
Level 1
Level 1
Posts: 2
Joined: Tue Dec 06, 2022 5:42 am

Re: kisak-mesa ppa breaks Steam (and vica versa)

Post by Donzi »

bbbrox wrote: Wed Mar 08, 2023 12:41 pm I think I ran into the same problem with kisak PPA/Steam conflict while trying to get my 7900 XT working, but finally came up with a solution.
.
.
.

4. Now that apt has a source for compatible i386 mesa files to go with the upgraded amd64 mesa files, Steam installs without a problem.
YES! Thats it!

Im fresh in Linux-Desktop (Server since 2005), have a machine with a 6700xt as a "steambox" and there is mesa 23 installed.
Its my testsystem only steam installed and it worked, but i cant recognized, what i have done... got notes, but mmmhh

Now, i want install on my default machine the same, but each time mesa and steam breaks up. 2 Weeks of '&%$§, add i386 libs, 32 architecture, ppa from kisak, ernstp or oibaf
And now, YES, the Sources-List switch did it!!

- add i386 to the list
Locked

Return to “Gaming”