LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-12-2021, 01:44 PM   #1
Liemaeu
LQ Newbie
 
Registered: May 2019
Posts: 3

Rep: Reputation: Disabled
Question setcap works with Wine but not with Proton (Proton "ignores" it)


I want to get the ping working (for Battlefield 4). I use Kubuntu, Proton 5.13-5 and wine-devel from WineHQ systemwide.

When I run:

wine cmd.exe

with my systemwide wine-devel, and in the CMD e.g.:

ping google.com

I get a timeout error. When I now run:

sudo setcap cap_net_raw+epi /opt/wine-devel/bin/wine-preloader

sudo setcap cap_net_raw+epi /opt/wine-devel/bin/wine64-preloader

sudo setcap cap_net_raw+epi /opt/wine-devel/bin/wineserver

and after this:

wine cmd.exe

and in this again e.g.:

ping google.com

Ping now works fine as it should.

When I run ping with Proton 5.13:

STEAM_COMPAT_DATA_PATH=/home/richard/.proton/ /home/richard/.steam/steam/steamapps/common/Proton\ 5.13/proton run cmd.exe

and in it e.g.:

ping google.com

I get a timeout error (as expected). When I now apply the setcap commands for Proton 5.13:

sudo setcap cap_net_raw+epi /home/richard/.steam/steam/steamapps/common/Proton\ 5.13/dist/bin/wine-preloader

sudo setcap cap_net_raw+epi /home/richard/.steam/steam/steamapps/common/Proton\ 5.13/dist/bin/wine64-preloader

sudo setcap cap_net_raw+epi /home/richard/.steam/steam/steamapps/common/Proton\ 5.13/dist/bin/wineserver

And after this:

STEAM_COMPAT_DATA_PATH=/home/richard/.proton/ /home/richard/.steam/steam/steamapps/common/Proton\ 5.13/proton run cmd.exe

And in it e.g.:

ping google.com

I get a timeout error again. It doesn't seam to work with Proton.

When I now check the caps:

wine cmd.exe

getpcaps <PID of CMD.exe with wine-devel>

I get the output:

<PID of CMD.exe with wine-devel>: = cap_net_raw+epi

But when I do the same for Proton:

STEAM_COMPAT_DATA_PATH=/home/richard/.proton/ /home/richard/.steam/steam/steamapps/common/Proton\ 5.13/proton run cmd.exe

getpcaps <PID of CMD.exe with Proton 5.13>

I get the output:

<PID of CMD.exe with Proton 5.13>: =

The caps don't seam to work with Proton.
 
Old 03-24-2021, 06:30 AM   #2
Gad
Member
 
Registered: May 2013
Distribution: FreeBSD
Posts: 566

Rep: Reputation: 114Reputation: 114
I don't game much at all but I am failing to understand why not just run a ping from your normal Kubuntu terminal?
 
Old 03-24-2021, 08:18 AM   #3
Liemaeu
LQ Newbie
 
Registered: May 2019
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Gad View Post
I don't game much at all but I am failing to understand why not just run a ping from your normal Kubuntu terminal?
It's because ping servers auto-kick you, if the ping doesn't work ingame.
 
  


Reply

Tags
network, ping, steam, wine



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: Steam Play Proton 4.11-9 is out with a few fixes, plus a new release of Proton GE LXer Syndicated Linux News 0 11-28-2019 06:12 PM
LXer: Want a more up to date Proton for Steam Play on Linux? Proton GE has a big new release out LXer Syndicated Linux News 0 09-04-2019 11:51 PM
[SOLVED] File type error when setcap Daniel6 Linux - Newbie 0 08-22-2019 04:47 PM
setcap (file capabilties ) at run time for java in Linux gaurav_s Linux - Software 0 08-07-2015 07:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:06 PM.

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