snapcrafters / xonotic

A community-maintained package to easily install Xonotic on Linux
GNU General Public License v3.0
3 stars 4 forks source link

[Bug]: Can't start the game on xubuntu 23.04 #15

Closed sbenve closed 1 year ago

sbenve commented 1 year ago

What happened?

Looks like an issue with the amd drm stuff Thats on a IdeaPad 3-15ALC6 Laptop - Type 82KU

What should have happened?

The game should have started.

Output of snap info $snap_name

name:      xonotic
summary:   The Free and Fast Arena Shooter
publisher: Snapcrafters✪
store-url: https://snapcraft.io/xonotic
contact:   https://github.com/snapcrafters/xonotic/issues
license:   unset
description: |
  Xonotic is an addictive, arena-style first-person shooter with crisp movement and a wide array of
  weapons. It combines intuitive mechanics with in-your-face action to elevate your heart rate.
  Xonotic is and will always be free-to-play.

  Xonotic has 9 core weapons and 16 full weapons in its armoury. Each has a primary fire and a
  UT-like secondary fire. They are each useful in particular situations, so weapon choice is
  critical. Frag away!

  Through the support of our diverse community Xonotic has a huge variety of game modes for you to
  play. There are the normal game modes you'd expect from an arena shooter like Deathmatch (FFA),
  Capture The Flag, and Clan Arena, plus more whacky modes like Nexball and Freeze Tag. Multiplayer
  Race is also supported!

  Xonotic ships ready to play with 25 official maps, with dozens of community-made ones just a click
  away. Classic Nexuiz maps are also supported, including those converted from Quake 3! Those
  interested in making maps of their own can use our map editor, which also ships with the game.

  Track your progress with XonStat, the integrated player statistics application. See vital stats
  like your kill:death ratio, weapon damage and accuracy, and recent games. Tracking is completely
  opt-in, and no login is required!

  Tailor the information on your screen to what you’re used to with our easy to use HUD editor.
  Stick with the defaults, add all the whiz-bang widgets, or go minimalist – it is completely up to
  you!

   Xonotic is easy to learn but hard to master! We strive to provide thrilling action for the casual
   player but also e-sport opportunities for those interested in friendly competition. Features such
   as simple items, fully customizable configs and servers, a functioning anticheat system,
   spectator mode, and the opportunity to watch and record games make Xonotic appealing to
   competitive players.

  This snap is maintained by the Snapcrafters community, and is not necessarily endorsed or
  officially maintained by the upstream developers.
commands:
  - xonotic.dedicated
  - xonotic
snap-id:      pnfo400U62Md0JANxQwdy7dXvs8HztbI
tracking:     latest/stable
refresh-date: ayer a las 13:02 -03
channels:
  latest/stable:    0.8.2 2021-02-19 (64) 989MB -
  latest/candidate: ↑                           
  latest/beta:      ↑                           
  latest/edge:      0.8.5 2022-07-03 (84)   1GB -
installed:          0.8.2            (64) 989MB -

Output of snap connections $snap_name

Interfaz                  Enchufe                  Ranura                           Notas
audio-playback            xonotic:audio-playback   :audio-playback                  -
content[gnome-3-34-1804]  xonotic:gnome-3-34-1804  gnome-3-34-1804:gnome-3-34-1804  -
content[gtk-3-themes]     xonotic:gtk-3-themes     gtk-common-themes:gtk-3-themes   -
content[icon-themes]      xonotic:icon-themes      gtk-common-themes:icon-themes    -
content[sound-themes]     xonotic:sound-themes     gtk-common-themes:sound-themes   -
desktop                   xonotic:desktop          :desktop                         -
desktop-legacy            xonotic:desktop-legacy   :desktop-legacy                  -
gsettings                 xonotic:gsettings        :gsettings                       -
joystick                  xonotic:joystick         :joystick                        -
network                   xonotic:network          :network                         -
network-bind              xonotic:network-bind     :network-bind                    -
opengl                    xonotic:opengl           :opengl                          -
optical-drive             xonotic:optical-drive    :optical-drive                   -
wayland                   xonotic:wayland          :wayland                         -
x11                       xonotic:x11              :x11                             -

Output of snap version

snap    2.59.5
snapd   2.59.5
series  16
ubuntu  23.04
kernel  6.2.0-26-generic

Relevant log output

# dmesg  | grep -i xonotic
[ 2765.134947] audit: type=1326 audit(1691530039.072:167): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.xonotic.xonotic pid=12592 comm="xonotic-linux64" exe="/snap/xonotic/64/Xonotic/xonotic-linux64-sdl" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7f08dd63bc7f code=0x50000
[ 2765.134961] audit: type=1326 audit(1691530039.072:168): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.xonotic.xonotic pid=12592 comm="xonotic-linux64" exe="/snap/xonotic/64/Xonotic/xonotic-linux64-sdl" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7f08dd63bc7f code=0x50000
[ 2765.135018] audit: type=1326 audit(1691530039.072:169): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.xonotic.xonotic pid=12592 comm="xonotic-linux64" exe="/snap/xonotic/64/Xonotic/xonotic-linux64-sdl" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7f08dd63bc7f code=0x50000
[ 2765.135048] audit: type=1326 audit(1691530039.072:170): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.xonotic.xonotic pid=12592 comm="xonotic-linux64" exe="/snap/xonotic/64/Xonotic/xonotic-linux64-sdl" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7f08dd63bc7f code=0x50000
[ 2765.135191] audit: type=1326 audit(1691530039.072:171): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.xonotic.xonotic pid=12592 comm="xonotic-linux64" exe="/snap/xonotic/64/Xonotic/xonotic-linux64-sdl" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7f08dd63bc7f code=0x50000
[ 2765.135275] audit: type=1326 audit(1691530039.072:172): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.xonotic.xonotic pid=12592 comm="xonotic-linux64" exe="/snap/xonotic/64/Xonotic/xonotic-linux64-sdl" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7f08dd63bc7f code=0x50000
[ 2765.135282] audit: type=1326 audit(1691530039.072:173): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.xonotic.xonotic pid=12592 comm="xonotic-linux64" exe="/snap/xonotic/64/Xonotic/xonotic-linux64-sdl" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7f08dd63bc7f code=0x50000
[ 2765.135329] audit: type=1326 audit(1691530039.072:174): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.xonotic.xonotic pid=12592 comm="xonotic-linux64" exe="/snap/xonotic/64/Xonotic/xonotic-linux64-sdl" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7f08dd63bc7f code=0x50000
[ 2765.135383] audit: type=1326 audit(1691530039.072:175): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.xonotic.xonotic pid=12592 comm="xonotic-linux64" exe="/snap/xonotic/64/Xonotic/xonotic-linux64-sdl" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7f08dd63bc7f code=0x50000
[ 2765.135406] audit: type=1326 audit(1691530039.072:176): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.xonotic.xonotic pid=12592 comm="xonotic-linux64" exe="/snap/xonotic/64/Xonotic/xonotic-linux64-sdl" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7f08dd63bc7f code=0x50000
[ 3377.612839] audit: type=1326 audit(1691530651.548:187): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.xonotic.xonotic pid=13900 comm="xonotic-linux64" exe="/snap/xonotic/64/Xonotic/xonotic-linux64-sdl" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7fbbe7eafc7f code=0x50000
[ 3377.612866] audit: type=1326 audit(1691530651.548:188): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.xonotic.xonotic pid=13900 comm="xonotic-linux64" exe="/snap/xonotic/64/Xonotic/xonotic-linux64-sdl" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7fbbe7eafc7f code=0x50000
[ 3377.612997] audit: type=1326 audit(1691530651.548:189): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.xonotic.xonotic pid=13900 comm="xonotic-linux64" exe="/snap/xonotic/64/Xonotic/xonotic-linux64-sdl" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7fbbe7eafc7f code=0x50000
[ 3377.613040] audit: type=1326 audit(1691530651.548:190): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.xonotic.xonotic pid=13900 comm="xonotic-linux64" exe="/snap/xonotic/64/Xonotic/xonotic-linux64-sdl" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7fbbe7eafc7f code=0x50000
[ 3377.613067] audit: type=1326 audit(1691530651.548:191): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.xonotic.xonotic pid=13900 comm="xonotic-linux64" exe="/snap/xonotic/64/Xonotic/xonotic-linux64-sdl" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7fbbe7eafc7f code=0x50000
[ 3377.613234] audit: type=1326 audit(1691530651.548:192): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.xonotic.xonotic pid=13900 comm="xonotic-linux64" exe="/snap/xonotic/64/Xonotic/xonotic-linux64-sdl" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7fbbe7eafc7f code=0x50000
[ 3377.613257] audit: type=1326 audit(1691530651.548:193): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.xonotic.xonotic pid=13900 comm="xonotic-linux64" exe="/snap/xonotic/64/Xonotic/xonotic-linux64-sdl" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7fbbe7eafc7f code=0x50000
[ 3377.613276] audit: type=1326 audit(1691530651.548:194): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.xonotic.xonotic pid=13900 comm="xonotic-linux64" exe="/snap/xonotic/64/Xonotic/xonotic-linux64-sdl" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7fbbe7eafc7f code=0x50000
[ 3377.613385] audit: type=1326 audit(1691530651.548:195): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.xonotic.xonotic pid=13900 comm="xonotic-linux64" exe="/snap/xonotic/64/Xonotic/xonotic-linux64-sdl" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7fbbe7eafc7f code=0x50000
[ 3377.613506] audit: type=1326 audit(1691530651.548:196): auid=4294967295 uid=1000 gid=1000 ses=4294967295 subj=snap.xonotic.xonotic pid=13900 comm="xonotic-linux64" exe="/snap/xonotic/64/Xonotic/xonotic-linux64-sdl" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7fbbe7eafc7f code=0x50000

# dmesg  | grep DENIED
[  106.742600] audit: type=1400 audit(1691514853.483:101): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.firefox" name="/var/lib/" pid=4038 comm="5" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[  190.277540] audit: type=1400 audit(1691514937.019:102): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/19457/usr/lib/snapd/snap-confine" pid=4292 comm="snap-confine" capability=12  capname="net_admin"
[  190.277552] audit: type=1400 audit(1691514937.019:103): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/19457/usr/lib/snapd/snap-confine" pid=4292 comm="snap-confine" capability=38  capname="perfmon"
[  318.133063] audit: type=1400 audit(1691515064.876:107): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/19457/usr/lib/snapd/snap-confine" pid=4699 comm="snap-confine" capability=12  capname="net_admin"
[  318.133073] audit: type=1400 audit(1691515064.876:108): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/19457/usr/lib/snapd/snap-confine" pid=4699 comm="snap-confine" capability=38  capname="perfmon"
[  489.422172] audit: type=1107 audit(1691515236.164:114): pid=1433 uid=100 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/" interface="org.freedesktop.DBus.Peer" member="Ping" mask="send" name="org.freedesktop.Avahi" pid=5737 label="snap.libreoffice.calc" peer_pid=1429 peer_label="unconfined"
[  489.832251] audit: type=1400 audit(1691515236.576:115): apparmor="DENIED" operation="open" class="file" profile="snap.libreoffice.calc" name="/var/tmp/" pid=5737 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[  505.394694] audit: type=1400 audit(1691515252.136:119): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/19457/usr/lib/snapd/snap-confine" pid=5805 comm="snap-confine" capability=12  capname="net_admin"
[  505.394709] audit: type=1400 audit(1691515252.136:120): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/19457/usr/lib/snapd/snap-confine" pid=5805 comm="snap-confine" capability=38  capname="perfmon"
[  510.777795] audit: type=1107 audit(1691515257.520:121): pid=1433 uid=100 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/" interface="org.freedesktop.DBus.Peer" member="Ping" mask="send" name="org.freedesktop.Avahi" pid=5737 label="snap.libreoffice.calc" peer_pid=1429 peer_label="unconfined"
[  511.122550] audit: type=1400 audit(1691515257.864:122): apparmor="DENIED" operation="open" class="file" profile="snap.libreoffice.calc" name="/usr/share/zoneinfo-icu/44/le/zoneinfo64.res" pid=5737 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[  511.126259] audit: type=1400 audit(1691515257.868:123): apparmor="DENIED" operation="open" class="file" profile="snap.libreoffice.calc" name="/usr/share/zoneinfo-icu/44/le/timezoneTypes.res" pid=5737 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 1346.647632] audit: type=1107 audit(1691516093.385:143): pid=1433 uid=100 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/UPower" interface="org.freedesktop.UPower" member="EnumerateDevices" mask="send" name="org.freedesktop.UPower" pid=4292 label="snap.thunderbird.thunderbird" peer_pid=2359 peer_label="unconfined"
[ 1796.374710] audit: type=1107 audit(1691516543.113:144): pid=1433 uid=100 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="PrepareForSleep" name=":1.9" mask="receive" pid=4292 label="snap.thunderbird.thunderbird" peer_pid=1473 peer_label="unconfined"
[ 1796.374727] audit: type=1107 audit(1691516543.113:145): pid=1433 uid=100 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="PrepareForSleep" name=":1.9" mask="receive" pid=4699 label="snap.firefox.firefox" peer_pid=1473 peer_label="unconfined"
[ 1798.333436] audit: type=1107 audit(1691522957.100:146): pid=1433 uid=100 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="PrepareForSleep" name=":1.9" mask="receive" pid=4292 label="snap.thunderbird.thunderbird" peer_pid=1473 peer_label="unconfined"
[ 1798.333444] audit: type=1107 audit(1691522957.100:147): pid=1433 uid=100 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="PrepareForSleep" name=":1.9" mask="receive" pid=4699 label="snap.firefox.firefox" peer_pid=1473 peer_label="unconfined"
[ 2182.268815] audit: type=1107 audit(1691523341.036:152): pid=1433 uid=100 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="PrepareForSleep" name=":1.9" mask="receive" pid=4292 label="snap.thunderbird.thunderbird" peer_pid=1473 peer_label="unconfined"
[ 2182.268836] audit: type=1107 audit(1691523341.036:153): pid=1433 uid=100 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="PrepareForSleep" name=":1.9" mask="receive" pid=4699 label="snap.firefox.firefox" peer_pid=1473 peer_label="unconfined"
[ 2186.462376] audit: type=1107 audit(1691529460.400:154): pid=1433 uid=100 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="PrepareForSleep" name=":1.9" mask="receive" pid=4292 label="snap.thunderbird.thunderbird" peer_pid=1473 peer_label="unconfined"
[ 2186.462419] audit: type=1107 audit(1691529460.400:155): pid=1433 uid=100 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="PrepareForSleep" name=":1.9" mask="receive" pid=4699 label="snap.firefox.firefox" peer_pid=1473 peer_label="unconfined"
[ 2485.848973] audit: type=1400 audit(1691529759.784:164): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/19457/usr/lib/snapd/snap-confine" pid=11211 comm="snap-confine" capability=12  capname="net_admin"
[ 2485.848982] audit: type=1400 audit(1691529759.784:165): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/19457/usr/lib/snapd/snap-confine" pid=11211 comm="snap-confine" capability=38  capname="perfmon"
[ 2486.466411] audit: type=1400 audit(1691529760.404:166): apparmor="DENIED" operation="open" class="file" profile="snap.pdfarranger.pdfarranger" name="/proc/11211/mounts" pid=11211 comm="python3" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
[ 2805.317636] audit: type=1400 audit(1691530079.252:181): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/19457/usr/lib/snapd/snap-confine" pid=12694 comm="snap-confine" capability=12  capname="net_admin"
[ 2805.317643] audit: type=1400 audit(1691530079.252:182): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/19457/usr/lib/snapd/snap-confine" pid=12694 comm="snap-confine" capability=38  capname="perfmon"

Teminal output of app

$ xonotic 
Game is Xonotic using base gamedir data
gamename for server filtering: Xonotic
Xonotic Linux 22:06:02 Mar 31 2017 - release
Current nice level is below the soft limit - cannot use niceness
Skeletal animation uses SSE code path
DPSOFTRAST available (SSE2 instructions detected)
/usr/share/libdrm/amdgpu.ids: No such file or directory
X Error:  BadAlloc
  Request Major code 149 ()
  Request Minor code 2
  Error Serial #139
  Current Serial #141
popey commented 1 year ago

Apologies for the delay in replying. Is the latest build working now?

sbenve commented 1 year ago

Apologies for the delay in replying. Is the latest build working now?

Yes, it does work fine. Thank you for your time and effort :-)