Project 1999

Go Back   Project 1999 > General Community > Technical Discussion

Reply
 
Thread Tools Display Modes
  #21  
Old Yesterday, 08:37 AM
patlefort patlefort is offline
Scrawny Gnoll


Join Date: Apr 2012
Posts: 29
Default

I don't know why your system has a `/etc/apparmor.d/bwrap` file. However, using setcap on bwrap shouldn't be needed as long as apparmor doesn't restrict it from using unprivileged user namespaces and as long as sysctl kernel.apparmor_restrict_unprivileged_userns=0. But glad that it's finally working.

Also don't trust AI too much or you'll end up with broken system with weird issues.
Reply With Quote
  #22  
Old Yesterday, 09:07 AM
patlefort patlefort is offline
Scrawny Gnoll


Join Date: Apr 2012
Posts: 29
Default

Quote:
Originally Posted by veptune [You must be logged in to view images. Log in or Register.]
I can log in, but once I'm in the game, it’s extremely slow. When I try to move, the screen only moves a few millimeters at a time.

During character selection, after logging into the server, I can see that the character—who should be animated—moves very, very slowly.

I got this issue even if I choose to copy the game in RAM, and whatever I choose X11 or Wayland (I use Wayland), and even if I choose a very low resolution (800x600).
Can you try the old version (2025.09.27) again?
Reply With Quote
  #23  
Old Yesterday, 09:09 AM
patlefort patlefort is offline
Scrawny Gnoll


Join Date: Apr 2012
Posts: 29
Default

Also, what hardware, nvidia/amd/intel?
Reply With Quote
  #24  
Old Yesterday, 09:25 AM
veptune veptune is offline
Scrawny Gnoll


Join Date: Oct 2014
Posts: 22
Default

- >Can you try the old version (2025.09.27) again?
Same issue

CPU: 12-core (4-mt/8-st) 13th Gen Intel Core i5-13500H (-MST AMCP-)

16g for memory


Graphics:
Device-1: Intel Raptor Lake-P [Iris Xe Graphics] driver: i915 v: kernel
Device-2: BillionPixels USB2.0 HD UVC WebCam driver: uvcvideo type: USB
Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.6
compositor: gnome-shell v: 46.0 driver: X: loaded: modesetting
unloaded: fbdev,vesa dri: iris gpu: i915 resolution: 1920x1200
API: EGL v: 1.5 drivers: iris,swrast
platforms: gbm,wayland,x11,surfaceless,device
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa
v: 25.0.7-0ubuntu0.24.04.1 renderer: Mesa Intel Iris Xe Graphics (RPL-P)
API: Vulkan v: 1.3.275 drivers: N/A surfaces: xcb,xlib,wayland
Reply With Quote
  #25  
Old Yesterday, 11:31 AM
patlefort patlefort is offline
Scrawny Gnoll


Join Date: Apr 2012
Posts: 29
Default

In the launcher, in the `Gamescope arguments` option, try adding `--backend=wayland` (without the quotes). I just tested in an intel machine and I get lag and insane tearing until I set the backend to wayland. It might however cause some mouse issues on a multi monitor setup.
Reply With Quote
  #26  
Old Yesterday, 11:44 AM
veptune veptune is offline
Scrawny Gnoll


Join Date: Oct 2014
Posts: 22
Default

It says X socket is already in use, I thought it was because of the way it crashed, but I did a reboot, and run again, but I still have it :

--- Running game.
[gamescope] [Info] console: gamescope version 3.16.17 (gcc 15.2.1)
No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
[gamescope] [Info] scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts'
[gamescope] [Info] scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope'
[gamescope] [Info] scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope/common'
[gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/common/inspect.lua' (id: 0)
[gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/common/modegen.lua' (id: 1)
[gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/common/util.lua' (id: 2)
[gamescope] [Info] scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope/displays'
[gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/asus.rogally.lcd.lua' (id: 3)
[gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/deckhd.steamdeck.deckhd-lcd.lua' (id: 4)
[gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/gpd.win4.lcd.lua' (id: 5)
[gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/lenovo.legiongo.lcd.lua' (id: 6)
[gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/lenovo.legiongos.lcd.lua' (id: 7)
[gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/valve.steamdeck.lcd.lua' (id: 8)
[gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/valve.steamdeck.oled.lua' (id: 9)
[gamescope] [Info] scriptmgr: Loading scripts from: '/etc/gamescope/scripts'
[gamescope] [Warn] scriptmgr: Directory '/etc/gamescope/scripts' does not exist
[gamescope] [Info] scriptmgr: Loading scripts from: '/tmp/project1999/xdg_config_home/gamescope/scripts'
[gamescope] [Warn] scriptmgr: Directory '/tmp/project1999/xdg_config_home/gamescope/scripts' does not exist
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
[gamescope] [Info] vulkan: selecting physical device 'Intel(R) Iris(R) Xe Graphics (RPL-P)': queue family 0 (general queue family 0)
[gamescope] [Info] vulkan: physical device supports DRM format modifiers
[gamescope] [Info] wlserver: [backend/headless/backend.c:67] Creating headless backend
[gamescope] [Info] xdg_backend: Seat name: seat0
[gamescope] [Info] vulkan: supported DRM formats for sampling usage:
[gamescope] [Info] vulkan: AR24 (0x34325241)
[gamescope] [Info] vulkan: XR24 (0x34325258)
[gamescope] [Info] vulkan: AB24 (0x34324241)
[gamescope] [Info] vulkan: XB24 (0x34324258)
[gamescope] [Info] vulkan: RG16 (0x36314752)
[gamescope] [Info] vulkan: NV12 (0x3231564E)
[gamescope] [Info] vulkan: AB4H (0x48344241)
[gamescope] [Info] vulkan: XB4H (0x48344258)
[gamescope] [Info] vulkan: AB30 (0x30334241)
[gamescope] [Info] vulkan: AR30 (0x30335241)
[gamescope] [Info] vulkan: XR30 (0x30335258)
[gamescope] [Info] wlserver: Using explicit sync when available
[gamescope] [Info] wlserver: Running compositor on wayland display 'gamescope-0'
[gamescope] [Info] wlserver: [backend/headless/backend.c:17] Starting headless backend
[gamescope] [Info] wlserver: Successfully initialized libei for input emulation!
[gamescope] [Error] wlserver: [xwayland/sockets.c:64] Failed to bind socket @/tmp/.X11-unix/X0: Address already in use
[gamescope] [Error] wlserver: [xwayland/sockets.c:64] Failed to bind socket @/tmp/.X11-unix/X1: Address already in use
[gamescope] [Info] wlserver: [xwayland/server.c:107] Starting Xwayland on :2
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Could not resolve keysym XF86RefreshRateToggle
> Warning: Could not resolve keysym XF86Accessibility
> Warning: Could not resolve keysym XF86DoNotDisturb
Errors from xkbcomp are not fatal to the X server
[gamescope] [Info] pipewire: stream state changed: connecting
[gamescope] [Info] pipewire: stream state changed: paused
[gamescope] [Info] pipewire: stream available on node ID: 59

(gamescope:6418): Gtk-WARNING **: 23:43:19.702: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Adwaita/scalable/status/image-missing.svg: Loader process exited early with status '1'Command:
"bwrap" "--unshare-all" "--die-with-parent" "--chdir" "/" "--ro-bind" "/usr" "/usr" "--dev" "/dev" "--ro-bind-try" "/etc/ld.so.cache" "/etc/ld.so.cache" "--ro-bind-try" "/nix/store" "/nix/store" "--tmpfs" "/tmp-home" "--tmpfs" "/tmp-run" "--clearenv" "--setenv" "HOME" "/tmp-home" "--setenv" "XDG_RUNTIME_DIR" "/tmp-run" "--setenv" "XDG_RUNTIME_DIR" "/tmp/user-runtime" "--symlink" "/usr/lib" "/lib" "--symlink" "/usr/lib" "/lib64" "--ro-bind-try" "/etc/fonts/conf.d" "/etc/fonts/conf.d" "--ro-bind-try" "/etc/fonts/fonts.conf" "/etc/fonts/fonts.conf" "--ro-bind-try" "/tmp/project1999/xdg_cache_home/fontconfig" "/tmp/project1999/xdg_cache_home/fontconfig" "--ro-bind-try" "/var/cache/fontconfig" "/var/cache/fontconfig" "--bind-try" "/tmp/project1999/xdg_cache_home/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "/tmp/project1999/xdg_cache_home/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "--setenv" "XDG_CACHE_HOME" "/tmp/project1999/xdg_cache_home/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "--seccomp" "66" "/usr/lib/glycin-loaders/2+/glycin-svg" "--dbus-fd" "65" (gdk-pixbuf-error-quark, 0)
Bail out! Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Adwaita/scalable/status/image-missing.svg: Loader process exited early with status '1'Command: "bwrap" "--unshare-all" "--die-with-parent" "--chdir" "/" "--ro-bind" "/usr" "/usr" "--dev" "/dev" "--ro-bind-try" "/etc/ld.so.cache" "/etc/ld.so.cache" "--ro-bind-try" "/nix/store" "/nix/store" "--tmpfs" "/tmp-home" "--tmpfs" "/tmp-run" "--clearenv" "--setenv" "HOME" "/tmp-home" "--setenv" "XDG_RUNTIME_DIR" "/tmp-run" "--setenv" "XDG_RUNTIME_DIR" "/tmp/user-runtime" "--symlink" "/usr/lib" "/lib" "--symlink" "/usr/lib" "/lib64" "--ro-bind-try" "/etc/fonts/conf.d" "/etc/fonts/conf.d" "--ro-bind-try" "/etc/fonts/fonts.conf" "/etc/fonts/fonts.conf" "--ro-bind-try" "/tmp/project1999/xdg_cache_home/fontconfig" "/tmp/project1999/xdg_cache_home/fontconfig" "--ro-bind-try" "/var/cache/fontconfig" "/var/cache/fontconfig" "--bind-try" "/tmp/project1999/xdg_cache_home/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "/tmp/project1999/xdg_cache_home/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "--setenv" "XDG_CACHE_HOME" "/tmp/project1999/xdg_cache_home/glycin/usr/lib/glycin-loaders/2+/glycin-svg" "--seccomp" "66" "/usr/lib/glycin-loaders/2+/glycin-svg" "--dbus-fd" "65" (gdk-pixbuf-error-quark, 0)
(EE) failed to read Wayland events: Broken pipe
/run-inner: line 317: 6418 Aborted (core dumped) $CMD_WRAPPER "${cmd[@]}" wine 'eqgame.exe' patchme
Reply With Quote
  #27  
Old Yesterday, 01:06 PM
patlefort patlefort is offline
Scrawny Gnoll


Join Date: Apr 2012
Posts: 29
Default

This should output 1:

Code:
sysctl -n kernel.apparmor_restrict_unprivileged_userns
In your earlier command, `apparmor_parser -r /etc/apparmor.d/bwrap` only work until reboot.

Try to remove `/etc/apparmor.d/bwrap`:
Code:
sudo rm /etc/apparmor.d/bwrap
sudo systemctl reload apparmor.service
Try to run bwrap:

Code:
bwrap --dev-bind / / -- echo hello
If it's still blocked, you'll have to figure out what apparmor profile is blocking it.
Reply With Quote
  #28  
Old Today, 04:26 AM
veptune veptune is offline
Scrawny Gnoll


Join Date: Oct 2014
Posts: 22
Default

nicolas@localhost:~$ sysctl -n kernel.apparmor_restrict_unprivileged_userns
1
nicolas@localhost:~$ sudo rm /etc/apparmor.d/bwrap
[sudo] password for nicolas:
nicolas@localhost:~$ sudo systemctl reload apparmor.service
nicolas@localhost:~$ bwrap --dev-bind / / -- echo hello
hello


But I still get the same errors :

[gamescope] [Error] wlserver: [xwayland/sockets.c:64] Failed to bind socket @/tmp/.X11-unix/X0: Address already in use
[gamescope] [Error] wlserver: [xwayland/sockets.c:64] Failed to bind socket @/tmp/.X11-unix/X1: Address already in use


When I choose X11 as driver, and do not use the --backend=wayland option, I don't have the address already in use errors and the core dump.
Last edited by veptune; Today at 04:28 AM..
Reply With Quote
  #29  
Old Today, 07:58 AM
patlefort patlefort is offline
Scrawny Gnoll


Join Date: Apr 2012
Posts: 29
Default

That's error is normal, it tries different sockets until it find one that work. Does it still crashes with --backend=wayland? I also had some random crashes but I just retry and it work.
Reply With Quote
  #30  
Old Today, 12:43 PM
patlefort patlefort is offline
Scrawny Gnoll


Join Date: Apr 2012
Posts: 29
Default

I believe I have tracked the source of the problem and I have a new release that should fix the issue: https://gitlab.com/patlefort/project...ses/2026.03.31

This release also contain a few more changes as listed in the release page. It is also smaller because I no longer need to include 32 bits libraries.
Reply With Quote
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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:26 PM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.