Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jan 2019 07:24:18 +0000
From:      Steve O'Hara-Smith <steve@sohara.org>
To:        Tomasz CEDRO <tomek@cedro.info>
Cc:        FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>, freebsd-x11@freebsd.org, reg@unrelenting.technology
Subject:   Re: AMDGPU RX580 OpenCL
Message-ID:  <20190105072418.ef70c7db6c269feae41aa8fe@sohara.org>
In-Reply-To: <CAFYkXjny-6Wihc=6=AGE3Vo6y6X2LMeD=T9LnzX1VbkXZW2YBA@mail.gmail.com>
References:  <CAFYkXjnVOspenga%2BM0oP-0pS=vxr4gmqs7XcrJZdSjnf1geEZA@mail.gmail.com> <20190102070113.1e9781fc9ac1c37bba8f1800@sohara.org> <CAFYkXjny-6Wihc=6=AGE3Vo6y6X2LMeD=T9LnzX1VbkXZW2YBA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 5 Jan 2019 00:34:48 +0100
Tomasz CEDRO <tomek@cedro.info> wrote:

> On Wed, Jan 2, 2019 at 8:01 AM Steve O'Hara-Smith wrote:
> >         Do you not get this in Xorg.0.log ?
> >
> > [    45.939] (EE) AIGLX error: dlopen
> > of /usr/local/lib/dri/amdgpu_dri.so failed (Cannot open
> > "/usr/local/lib/dri/amdgpu_dri.so")
> >
> >         If not what did you do to prevent it ?
> 
> Hello Steve! I hope Greg's hints helped you out - its just matter of

	Yes they did thank you, in the end deleting xorg.conf made it all
happy which surprised me since it was all about displays and layout, xrandr
gets the job done anyway so it was redundant.

> installing graphics/amdgpu and proper dri kernel driver - I am
> building/using latest ones from port tree.

	Yes I had to build drm-kmod and mesa-dri from ports to get
everything working (the package lacks the radeonsi vpdau drivers). Well I
say everything, I haven't tried openCL just openGL.

> Btw - most of the time AMDGPU does not produce the usable workstation
> setup - loading amdgpu from boot.loader does not work (cannot load
> firmware because / is not yet mounted) and loading it from rc.conf
> makes my screen unusable - this is why I am using SCFB for X11 for now
> and just play with AMDGPU from shell (also using SSH)..

	Hmm all that works fine for me (AMD A9 laptop), as soon as amdgpu
cuts in it starts mirroring to HDMI until X gets involved and separates the
displays again.

-- 
Steve O'Hara-Smith                          |   Directable Mirror Arrays
C:\>WIN                                     | A better way to focus the sun
The computer obeys and wins.                |    licences available see
You lose and Bill collects.                 |    http://www.sohara.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190105072418.ef70c7db6c269feae41aa8fe>