teeworlds not starting

  • Done
  • quality assurance status badge
Details
4 participants
  • Adonay Felipe Nogueira
  • mray
  • nee
  • zimoun
Owner
unassigned
Submitted by
mray
Severity
normal
M
(address . bug-guix@gnu.org)
de58734a-e37a-8e8c-78c0-a12ecbe4d23f@mray.de
Running guix on ubuntu 17.04 teeworlds does not start.

$ teeworlds
[59c505a6][engine]: running on unix-linux-amd64
[59c505a6][engine]: arch is little endian
[59c505a6][storage]: couldn't open storage.cfg
[59c505a6][storage]: using standard paths
[59c505a6][storage]: added path '$USERDIR' ('/home/mray/.teeworlds')
[59c505a6][storage]: added path '$DATADIR'
('/gnu/store/f0g50pigyshfz8dz3f9kgsxzz8w6cz1j-teeworlds-0.6.4/share/teeworlds/data')
[59c505a6][storage]: added path '$CURRENTDIR' ('/home/mray')
[59c505a6][binds]: bound f1 (282) = toggle_local_console
[59c505a6][binds]: bound f2 (283) = toggle_remote_console
[59c505a6][binds]: bound tab (9) = +scoreboard
[59c505a6][binds]: bound u (117) = +show_chat
[59c505a6][binds]: bound f10 (291) = screenshot
[59c505a6][binds]: bound a (97) = +left
[59c505a6][binds]: bound d (100) = +right
[59c505a6][binds]: bound space (32) = +jump
[59c505a6][binds]: bound mouse1 (323) = +fire
[59c505a6][binds]: bound mouse2 (324) = +hook
[59c505a6][binds]: bound lshift (304) = +emote
[59c505a6][binds]: bound rshift (303) = +spectate
[59c505a6][binds]: bound right (275) = spectate_next
[59c505a6][binds]: bound left (276) = spectate_previous
[59c505a6][binds]: bound 1 (49) = +weapon1
[59c505a6][binds]: bound 2 (50) = +weapon2
[59c505a6][binds]: bound 3 (51) = +weapon3
[59c505a6][binds]: bound 4 (52) = +weapon4
[59c505a6][binds]: bound 5 (53) = +weapon5
[59c505a6][binds]: bound mousewheelup (331) = +prevweapon
[59c505a6][binds]: bound mousewheeldown (332) = +nextweapon
[59c505a6][binds]: bound t (116) = chat all
[59c505a6][binds]: bound y (121) = chat team
[59c505a6][binds]: bound f3 (284) = vote yes
[59c505a6][binds]: bound f4 (285) = vote no
[59c505a6][console]: failed to open 'settings.cfg'
[59c505a6][console]: failed to open 'autoexec.cfg'
[59c505a6][client]: starting...
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for
operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 32
Current serial number in output stream: 33
Attachment: signature.asc
N
(address . 28554@debbugs.gnu.org)
88790d0e-6fd3-4c15-6f15-ceee429f367d@cock.li
Am 22.09.2017 um 15:19 schrieb mray:
Toggle quote (50 lines)
> Running guix on ubuntu 17.04 teeworlds does not start.
>
> $ teeworlds
> [59c505a6][engine]: running on unix-linux-amd64
> [59c505a6][engine]: arch is little endian
> [59c505a6][storage]: couldn't open storage.cfg
> [59c505a6][storage]: using standard paths
> [59c505a6][storage]: added path '$USERDIR' ('/home/mray/.teeworlds')
> [59c505a6][storage]: added path '$DATADIR'
> ('/gnu/store/f0g50pigyshfz8dz3f9kgsxzz8w6cz1j-teeworlds-0.6.4/share/teeworlds/data')
> [59c505a6][storage]: added path '$CURRENTDIR' ('/home/mray')
> [59c505a6][binds]: bound f1 (282) = toggle_local_console
> [59c505a6][binds]: bound f2 (283) = toggle_remote_console
> [59c505a6][binds]: bound tab (9) = +scoreboard
> [59c505a6][binds]: bound u (117) = +show_chat
> [59c505a6][binds]: bound f10 (291) = screenshot
> [59c505a6][binds]: bound a (97) = +left
> [59c505a6][binds]: bound d (100) = +right
> [59c505a6][binds]: bound space (32) = +jump
> [59c505a6][binds]: bound mouse1 (323) = +fire
> [59c505a6][binds]: bound mouse2 (324) = +hook
> [59c505a6][binds]: bound lshift (304) = +emote
> [59c505a6][binds]: bound rshift (303) = +spectate
> [59c505a6][binds]: bound right (275) = spectate_next
> [59c505a6][binds]: bound left (276) = spectate_previous
> [59c505a6][binds]: bound 1 (49) = +weapon1
> [59c505a6][binds]: bound 2 (50) = +weapon2
> [59c505a6][binds]: bound 3 (51) = +weapon3
> [59c505a6][binds]: bound 4 (52) = +weapon4
> [59c505a6][binds]: bound 5 (53) = +weapon5
> [59c505a6][binds]: bound mousewheelup (331) = +prevweapon
> [59c505a6][binds]: bound mousewheeldown (332) = +nextweapon
> [59c505a6][binds]: bound t (116) = chat all
> [59c505a6][binds]: bound y (121) = chat team
> [59c505a6][binds]: bound f3 (284) = vote yes
> [59c505a6][binds]: bound f4 (285) = vote no
> [59c505a6][console]: failed to open 'settings.cfg'
> [59c505a6][console]: failed to open 'autoexec.cfg'
> [59c505a6][client]: starting...
> libGL error: No matching fbConfigs or visuals found
> libGL error: failed to load driver: swrast
> X Error of failed request: BadValue (integer parameter out of range for
> operation)
> Major opcode of failed request: 154 (GLX)
> Minor opcode of failed request: 3 (X_GLXCreateContext)
> Value in failed request: 0x0
> Serial number of failed request: 32
> Current serial number in output stream: 33
>

Hello mray,
are you by chance using proprietary graphics drivers on Ubuntu?
My guess is that proprietary drivers have their custom libGL libraries
and guix links teeworlds to the absolute path of free mesa libGL.
I once used guix on a system with proprietary nvidia drivers and had an
error similar to this one, after switching to the free nouveau drivers
it worked fine.

---
Sorry for the duplicate mail, mray. I keep forgetting to reply to the list.
N
98bd71d7-1b36-8d89-5d0d-f2933decfe95@cock.li
Am 23.09.2017 um 11:33 schrieb mray:
Toggle quote (70 lines)
>
>
> On 23.09.2017 01:09, nee wrote:
>> Am 22.09.2017 um 15:19 schrieb mray:
>>> Running guix on ubuntu 17.04 teeworlds does not start.
>>>
>>> $ teeworlds
>>> [59c505a6][engine]: running on unix-linux-amd64
>>> [59c505a6][engine]: arch is little endian
>>> [59c505a6][storage]: couldn't open storage.cfg
>>> [59c505a6][storage]: using standard paths
>>> [59c505a6][storage]: added path '$USERDIR' ('/home/mray/.teeworlds')
>>> [59c505a6][storage]: added path '$DATADIR'
>>> ('/gnu/store/f0g50pigyshfz8dz3f9kgsxzz8w6cz1j-teeworlds-0.6.4/share/teeworlds/data')
>>> [59c505a6][storage]: added path '$CURRENTDIR' ('/home/mray')
>>> [59c505a6][binds]: bound f1 (282) = toggle_local_console
>>> [59c505a6][binds]: bound f2 (283) = toggle_remote_console
>>> [59c505a6][binds]: bound tab (9) = +scoreboard
>>> [59c505a6][binds]: bound u (117) = +show_chat
>>> [59c505a6][binds]: bound f10 (291) = screenshot
>>> [59c505a6][binds]: bound a (97) = +left
>>> [59c505a6][binds]: bound d (100) = +right
>>> [59c505a6][binds]: bound space (32) = +jump
>>> [59c505a6][binds]: bound mouse1 (323) = +fire
>>> [59c505a6][binds]: bound mouse2 (324) = +hook
>>> [59c505a6][binds]: bound lshift (304) = +emote
>>> [59c505a6][binds]: bound rshift (303) = +spectate
>>> [59c505a6][binds]: bound right (275) = spectate_next
>>> [59c505a6][binds]: bound left (276) = spectate_previous
>>> [59c505a6][binds]: bound 1 (49) = +weapon1
>>> [59c505a6][binds]: bound 2 (50) = +weapon2
>>> [59c505a6][binds]: bound 3 (51) = +weapon3
>>> [59c505a6][binds]: bound 4 (52) = +weapon4
>>> [59c505a6][binds]: bound 5 (53) = +weapon5
>>> [59c505a6][binds]: bound mousewheelup (331) = +prevweapon
>>> [59c505a6][binds]: bound mousewheeldown (332) = +nextweapon
>>> [59c505a6][binds]: bound t (116) = chat all
>>> [59c505a6][binds]: bound y (121) = chat team
>>> [59c505a6][binds]: bound f3 (284) = vote yes
>>> [59c505a6][binds]: bound f4 (285) = vote no
>>> [59c505a6][console]: failed to open 'settings.cfg'
>>> [59c505a6][console]: failed to open 'autoexec.cfg'
>>> [59c505a6][client]: starting...
>>> libGL error: No matching fbConfigs or visuals found
>>> libGL error: failed to load driver: swrast
>>> X Error of failed request: BadValue (integer parameter out of range for
>>> operation)
>>> Major opcode of failed request: 154 (GLX)
>>> Minor opcode of failed request: 3 (X_GLXCreateContext)
>>> Value in failed request: 0x0
>>> Serial number of failed request: 32
>>> Current serial number in output stream: 33
>>>
>>
>> Hello mray,
>> are you by chance using proprietary graphics drivers on Ubuntu?
>> My guess is that proprietary drivers have their custom libGL libraries
>> and guix links teeworlds to the absolute path of free mesa libGL.
>> I once used guix on a system with proprietary nvidia drivers and had an
>> error similar to this one, after switching to the free nouveau drivers
>> it worked fine.
>>
>
> Thanks for your answer!
>
> Yes, I do use proprietary drivers. Does that mean guix does not support
> them or is the package just built for one set of drivers? (The latter
> would still be a bug, right?)
>

Guix is committed to software freedom and will not put proprietary
software into the official repos.

It works with free drivers on different cards as far as I see.
Proprietary drivers on Ubuntu only install their libGL to /usr/lib/
which guix does not reference, because it only links libraries that are
part of the package definition, but this will not happen for proprietary
dirvers.

You inspect the linked libraries of teeworlds with:
ldd $(type -p teeworlds)

---
Please also send your replies to 28554@debbugs.gnu.org so they appear on
the thread. I keep forgetting it myself though ;-)
A
A
Adonay Felipe Nogueira wrote on 15 Oct 2017 15:00
(address . 28554@debbugs.gnu.org)
87zi8s4lcd.fsf@hyperbola.info
Besides what was stated here, one can take problematic package
definition and edit it such that it makes use of the missing parts.

But doing this directly in the official package definitions is beyond
what the community can do. That is, it has to be done by the person
interested. In Scheme, it might be possible to adapt the build
environment somehow, but I don't know how to do it specially because the
builds have isolated/chroot'ed mounts (that is: the "/usr/lib" that your
operating system has isn't the same as what the build process sees), let
alone the variables that need to be set.

mray <mail@mray.de> writes:

Toggle quote (50 lines)
> Running guix on ubuntu 17.04 teeworlds does not start.
>
> $ teeworlds
> [59c505a6][engine]: running on unix-linux-amd64
> [59c505a6][engine]: arch is little endian
> [59c505a6][storage]: couldn't open storage.cfg
> [59c505a6][storage]: using standard paths
> [59c505a6][storage]: added path '$USERDIR' ('/home/mray/.teeworlds')
> [59c505a6][storage]: added path '$DATADIR'
> ('/gnu/store/f0g50pigyshfz8dz3f9kgsxzz8w6cz1j-teeworlds-0.6.4/share/teeworlds/data')
> [59c505a6][storage]: added path '$CURRENTDIR' ('/home/mray')
> [59c505a6][binds]: bound f1 (282) = toggle_local_console
> [59c505a6][binds]: bound f2 (283) = toggle_remote_console
> [59c505a6][binds]: bound tab (9) = +scoreboard
> [59c505a6][binds]: bound u (117) = +show_chat
> [59c505a6][binds]: bound f10 (291) = screenshot
> [59c505a6][binds]: bound a (97) = +left
> [59c505a6][binds]: bound d (100) = +right
> [59c505a6][binds]: bound space (32) = +jump
> [59c505a6][binds]: bound mouse1 (323) = +fire
> [59c505a6][binds]: bound mouse2 (324) = +hook
> [59c505a6][binds]: bound lshift (304) = +emote
> [59c505a6][binds]: bound rshift (303) = +spectate
> [59c505a6][binds]: bound right (275) = spectate_next
> [59c505a6][binds]: bound left (276) = spectate_previous
> [59c505a6][binds]: bound 1 (49) = +weapon1
> [59c505a6][binds]: bound 2 (50) = +weapon2
> [59c505a6][binds]: bound 3 (51) = +weapon3
> [59c505a6][binds]: bound 4 (52) = +weapon4
> [59c505a6][binds]: bound 5 (53) = +weapon5
> [59c505a6][binds]: bound mousewheelup (331) = +prevweapon
> [59c505a6][binds]: bound mousewheeldown (332) = +nextweapon
> [59c505a6][binds]: bound t (116) = chat all
> [59c505a6][binds]: bound y (121) = chat team
> [59c505a6][binds]: bound f3 (284) = vote yes
> [59c505a6][binds]: bound f4 (285) = vote no
> [59c505a6][console]: failed to open 'settings.cfg'
> [59c505a6][console]: failed to open 'autoexec.cfg'
> [59c505a6][client]: starting...
> libGL error: No matching fbConfigs or visuals found
> libGL error: failed to load driver: swrast
> X Error of failed request: BadValue (integer parameter out of range for
> operation)
> Major opcode of failed request: 154 (GLX)
> Minor opcode of failed request: 3 (X_GLXCreateContext)
> Value in failed request: 0x0
> Serial number of failed request: 32
> Current serial number in output stream: 33
>

--
- Palestrante e consultor sobre /software/ livre (não confundir com
gratis).
- "WhatsApp"? Ele não é livre. Por favor, veja formas de se comunicar
instantaneamente comigo no endereço abaixo.
- Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft
Office, MP3, MP4, WMA, WMV.
- Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU
GIMP, Inkscape SVG, JPG, LibreOffice (padrão ODF), OGG, OPUS, PDF
(apenas sem DRM), PNG, TXT, WEBM.
Z
Z
zimoun wrote on 5 Jul 2021 13:21
(name . mray)(address . mail@mray.de)(address . 28554@debbugs.gnu.org)
87eecd2ehn.fsf@gmail.com
Hi,

This bug [1] is related to the game 'teeworlds' using non-standard
hardware.


On Fri, 22 Sep 2017 at 15:19, mray <mail@mray.de> wrote:
Toggle quote (5 lines)
> Running guix on ubuntu 17.04 teeworlds does not start.
>
> $ teeworlds
> [59c505a6][engine]: running on unix-linux-amd64

[...]

Toggle quote (11 lines)
> [59c505a6][client]: starting...
> libGL error: No matching fbConfigs or visuals found
> libGL error: failed to load driver: swrast
> X Error of failed request: BadValue (integer parameter out of range for
> operation)
> Major opcode of failed request: 154 (GLX)
> Minor opcode of failed request: 3 (X_GLXCreateContext)
> Value in failed request: 0x0
> Serial number of failed request: 32
> Current serial number in output stream: 33

It works using Guix 3694c0d on the top of (default) Ubuntu. Which kind
of hardware do you have?


All the best,
simon
Z
Z
zimoun wrote on 5 Jul 2021 13:21
control message for bug #28554
(address . control@debbugs.gnu.org)
87czrx2ehh.fsf@gmail.com
tags 28554 + moreinfo
quit
Z
Z
zimoun wrote on 14 Sep 2021 12:19
Re: bug#28554: teeworlds not starting
(name . mray)(address . mail@mray.de)(address . 28554-done@debbugs.gnu.org)
86ilz3v4r2.fsf@gmail.com
Hi,

On Mon, 05 Jul 2021 at 13:21, zimoun <zimon.toutoune@gmail.com> wrote:
Toggle quote (22 lines)
> On Fri, 22 Sep 2017 at 15:19, mray <mail@mray.de> wrote:
>> Running guix on ubuntu 17.04 teeworlds does not start.
>>
>> $ teeworlds
>> [59c505a6][engine]: running on unix-linux-amd64
>
> [...]
>
>> [59c505a6][client]: starting...
>> libGL error: No matching fbConfigs or visuals found
>> libGL error: failed to load driver: swrast
>> X Error of failed request: BadValue (integer parameter out of range for
>> operation)
>> Major opcode of failed request: 154 (GLX)
>> Minor opcode of failed request: 3 (X_GLXCreateContext)
>> Value in failed request: 0x0
>> Serial number of failed request: 32
>> Current serial number in output stream: 33
>
> It works using Guix 3694c0d on the top of (default) Ubuntu. Which kind
> of hardware do you have?

No more info after 10 weeks, so closing. Feel free to reopen if I miss
a point.

All the best,
simon
Closed
?