unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#28554: teeworlds not starting
@ 2017-09-22 13:19 mray
  2017-09-22 23:18 ` nee
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: mray @ 2017-09-22 13:19 UTC (permalink / raw)
  To: 28554


[-- Attachment #1.1: Type: text/plain, Size: 2279 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#28554: teeworlds not starting
  2017-09-22 13:19 bug#28554: teeworlds not starting mray
@ 2017-09-22 23:18 ` nee
       [not found] ` <7fe53243-2337-4a93-da2c-b670205fab05@cock.li>
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: nee @ 2017-09-22 23:18 UTC (permalink / raw)
  To: 28554

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.

---
Sorry for the duplicate mail, mray. I keep forgetting to reply to the list.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#28554: teeworlds not starting
       [not found]   ` <9d638260-912b-8ee6-a44b-d269edbd1a36@mray.de>
@ 2017-09-23 14:47     ` nee
  0 siblings, 0 replies; 6+ messages in thread
From: nee @ 2017-09-23 14:47 UTC (permalink / raw)
  To: mray, 28554

Am 23.09.2017 um 11:33 schrieb mray:
> 
> 
> 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 ;-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#28554: teeworlds not starting
  2017-09-22 13:19 bug#28554: teeworlds not starting mray
  2017-09-22 23:18 ` nee
       [not found] ` <7fe53243-2337-4a93-da2c-b670205fab05@cock.li>
@ 2017-10-15 13:00 ` Adonay Felipe Nogueira
  2021-07-05 11:21 ` zimoun
  3 siblings, 0 replies; 6+ messages in thread
From: Adonay Felipe Nogueira @ 2017-10-15 13:00 UTC (permalink / raw)
  To: 28554

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:

> 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
>

-- 
- https://libreplanet.org/wiki/User:Adfeno
- 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.
- Contato: https://libreplanet.org/wiki/User:Adfeno#vCard
- 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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#28554: teeworlds not starting
  2017-09-22 13:19 bug#28554: teeworlds not starting mray
                   ` (2 preceding siblings ...)
  2017-10-15 13:00 ` Adonay Felipe Nogueira
@ 2021-07-05 11:21 ` zimoun
  2021-09-14 10:19   ` zimoun
  3 siblings, 1 reply; 6+ messages in thread
From: zimoun @ 2021-07-05 11:21 UTC (permalink / raw)
  To: mray; +Cc: 28554

Hi,

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

1: <http://issues.guix.gnu.org/issue/28554>

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?


All the best,
simon




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#28554: teeworlds not starting
  2021-07-05 11:21 ` zimoun
@ 2021-09-14 10:19   ` zimoun
  0 siblings, 0 replies; 6+ messages in thread
From: zimoun @ 2021-09-14 10:19 UTC (permalink / raw)
  To: mray; +Cc: 28554-done

Hi,

On Mon, 05 Jul 2021 at 13:21, zimoun <zimon.toutoune@gmail.com> wrote:
> 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




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-09-14 12:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-22 13:19 bug#28554: teeworlds not starting mray
2017-09-22 23:18 ` nee
     [not found] ` <7fe53243-2337-4a93-da2c-b670205fab05@cock.li>
     [not found]   ` <9d638260-912b-8ee6-a44b-d269edbd1a36@mray.de>
2017-09-23 14:47     ` nee
2017-10-15 13:00 ` Adonay Felipe Nogueira
2021-07-05 11:21 ` zimoun
2021-09-14 10:19   ` zimoun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).