unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: t_w_@freenet.de, help-guix@gnu.org
Subject: Re: Wayland setup
Date: Thu, 15 Mar 2018 02:08:39 +0100	[thread overview]
Message-ID: <87y3iudu20.fsf@fastmail.com> (raw)
In-Reply-To: <50a9cc52-a43b-ead3-5a6a-291e804a43e2@freenet.de>

[-- Attachment #1: Type: text/plain, Size: 1753 bytes --]

Hi Thorsten,

Thorsten Wilms <t_w_@freenet.de> 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?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2018-03-15  1:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-05 12:59 Wayland setup Thorsten Wilms
2018-03-05 13:47 ` Andreas Enge
2018-03-07 13:06 ` Oleg Pykhalov
2018-03-11 17:07 ` Thorsten Wilms
2018-03-12 17:19 ` Thorsten Wilms
2018-03-12 19:05   ` Gábor Boskovits
2018-03-12 20:54     ` Thorsten Wilms
2018-03-13 19:50       ` Thorsten Wilms
2018-03-13 21:22         ` Gábor Boskovits
2018-03-14 21:10 ` Thorsten Wilms
2018-03-15  1:08   ` Marius Bakke [this message]
2018-03-15 10:29     ` Thorsten Wilms
2018-03-15 10:06   ` Thorsten Wilms

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y3iudu20.fsf@fastmail.com \
    --to=mbakke@fastmail.com \
    --cc=help-guix@gnu.org \
    --cc=t_w_@freenet.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).