Re: Wayland setup

2018-03-14 Thread Marius Bakke
Hi Thorsten,

Thorsten Wilms  writes:

> Hi!
>
> I finally got Weston to ... fill my screen with a blocky mess and flood 
> STDERR with failure.
>
> To recap:
> - use-modules freedesktop and xorg
> - global packages: xorg-server-xwayland wayland weston %base-packages
> - add "weston-launch" group
> - add user to weston-launch
> - add user to "input" group
> - take care of XDG_RUNTIME_DIR:
>
>export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir;
>mkdir "${XDG_RUNTIME_DIR}"
>chmod 0700 "${XDG_RUNTIME_DIR}
>
> I might just add that to .bash_profile or try to put both that and 
> "weston-launch" in a script; rekado suggested this should be a service, 
> but the documentation and examples (mainly looking at 
> gnu/services/base.scm) leave me puzzled.

Thanks a lot for sharing these forays into Guix' uncharted waters :-)

> The running Weston fills the log with repetitions of:
>
> ---
> radeon: Failed to allocate a buffer:
> radeon:size  : 1048576 bytes
> radeon:alignment : 4096 bytes
> radeon:domains   : 2
> radeon:flags : 4
> ---
>
> with a few interspersed:
>[17:53:53.145] queueing pageflip failed: Invalid argument
> and
>EE r600_texture.c:1419 r600_texture_transfer_map - failed to create 
> temporary texture to hold untiled copy
>
> Meanwhile, weston-launch brings up a functional session on my Ubuntu 
> 17.04; it doesn't seem to be a general problem with my graphics card.

This looks like a driver problem.  Can you post the output of
"dmesg | grep -w 'drm|r600|radeon'" ?

I seem to recall that hardware acceleration on radeon/amdgpu requires
proprietary microcode, even when using the free driver.  Maybe that is
related?


signature.asc
Description: PGP signature


Re: Problem with Glbc-locales: failed to install locale

2018-03-14 Thread Ludovic Courtès
darlingmouse  skribis:

> ||LANG=en_US.UTF-8||

Try “export LC_ALL=en_US.utf8; export LANG=en_US.utf8”; does it help?

> I installed Guix following the manual from Trisquel by unpacking it in
> root and /var as the guide shows. Nothing else.

OK.

(Please keep help-guix in Cc.)

Thanks,
Ludo’.



Re: Problem with Glbc-locales: failed to install locale

2018-03-14 Thread Ludovic Courtès
Hello,

darlingmouse  skribis:

> The following package will be upgraded:
> glibc-locales 2.26.105-g0890d5379c -> 2.26.105-g0890d5379c 
> /gnu/store/j73ld7v624ix39imy94bncxzl8nirdn8-glibc-locales-2.26.105-g0890d5379c
>
> nothing to be done
> ruki@ruki-ThinkPad-T400:~$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale
> ruki@ruki-ThinkPad-T400:~$ guix
> guile: warning: failed to install locale
> warning: failed to install locale: Invalid argument
> guix: missing command name
> Try `guix --help' for more information.

Can you run the “locale” command and post the result?  Likewise for 
“env | grep LC”.

Also, how did you install Guix?

Thanks,
Ludo’.



Re: Integrate guix-installed Emacs packages with locally compiled Emacs pretest

2018-03-14 Thread Ludovic Courtès
Pierre Neidhardt  skribis:

> Is there such a thing as a curated list of unofficial, user-contributed
> packages for GuixSD?  (Anything that cannot be accepted in the official
> repository, such as development versions.)

No, there’s no such thing.

However, I would hope that development versions can easily be packaged,
either from the command-line using ‘--with-source’¹, or by defining a
package variant as in:

  (define emacs-git
(package
  (inherit emacs)
  (source …)))

Thanks,
Ludo’.

¹ 
https://www.gnu.org/software/guix/manual/html_node/Package-Transformation-Options.html



Re: Problems with guile

2018-03-14 Thread Ludovic Courtès
Hello Jone,

Jone  skribis:

> After comment string in ~/.guile "(use-modules (ice-9 readline))"
> guile starts, but does not highlight matching brackets as before.

The (ice-9 readline) module is now part of the ‘guile-readline’
package.  Thus, to get that functionality, you need to run:

  guix package -i guile-readline

HTH!

Ludo’.



Re: Problems with guile

2018-03-14 Thread Oleg Pykhalov
Hello Jone,

Jone  writes:

[…]

> After comment string in ~/.guile "(use-modules (ice-9 readline))"
> guile starts, but does not highlight matching brackets as before.

Could you show ‘%load-path’ and ‘%load-compiled-path’ by evaluating them
in a ‘guile’ REPL?

Thanks,
Oleg.


signature.asc
Description: PGP signature


Re: Best practices for Guix environment variables on foreign distro

2018-03-14 Thread Adonay Felipe Nogueira
> When I arrive home (I am at work) I will look at the suggestions in

Have you succeeded?

> Thank you in advance.

You're welcome! :D