Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Feb 2019 11:46:22 +0000
From:      Eric <eirc.m@protonmail.com>
To:        Pete Wright <pete@nomadlogic.org>, "freebsd-x11@freebsd.org" <freebsd-x11@freebsd.org>
Subject:   Re: drm-kmod not working with Radeon HD 8000
Message-ID:  <BABP3qN59opCZ-gWdPEVx-n8C03mN0Tt5U4r8agXINX-cgW6IjRe4wHC7tQfBiX_DXJVzzDWpvJ2KTXt5MbR9ljFwwa8mlAUWGQTpbSTwbY=@protonmail.com>
In-Reply-To: <86c13534-c0e5-cf80-d484-8cfea940fc1e@nomadlogic.org>
References:  <_VdIu7kgBFcjfgsFemyvWFDbgOSP_o_WJZTmOhXMKT7bU_XFPY0iYwkTjNN87nNyFpoX2wRgcux1UmLyrjhlNKpGixdzb2Tz9FwfDrRvit4=@protonmail.com> <86c13534-c0e5-cf80-d484-8cfea940fc1e@nomadlogic.org>

next in thread | previous in thread | raw e-mail | index | archive | help
You're right, I'm sorry. Just throwed shit and didn't explain what is weird=
 for me (which maybe is not wrong...).

I have an Dell Inspiron 15R. It has the intel HD graphics integrated (Haswe=
ll-ULT Integrated Graphics Controller) and the Radeon HD 8670M. What I'm tr=
ying to do is use the Radeon card when using mesa, for instance. It seems t=
o me that it's using my Haswell, not the  Radeon.

It works good, i3 works and I can do everything that an ordinary desktop do=
es (except using the HDMI audio, which seems related but I can live without=
 it for a while). I just run the glmark2 (output appended) and everything w=
orks good with few warnings, but is it my radeon that is working? It seems =
that is Haswell who is doing the job.

I tried what the wiki says, which is to install drm-kmod and use the amdgpu=
 driver, which you have noted that is not working. I tried with pkg and por=
ts, updated all my freebsd and it's aways the same, none works with radeon =
or amdgpu, only with the intel driver i915kms (it's the intel driver, right=
?).

So, my problem is not to put my desktop to work, but how to improve the per=
formance using my Radeon instead of the integrated Intel HD graphics.

Thanks for the reply!

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
    glmark2 2014.03
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
    OpenGL Information
    GL_VENDOR:     Intel Open Source Technology Center
    GL_RENDERER:   Mesa DRI Intel(R) Haswell Mobile
    GL_VERSION:    3.0 Mesa 18.1.9
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
[build] use-vbo=3Dfalse: FPS: 3005 FrameTime: 0.333 ms
[build] use-vbo=3Dtrue: FPS: 3072 FrameTime: 0.326 ms
[texture] texture-filter=3Dnearest: FPS: 2425 FrameTime: 0.412 ms
[texture] texture-filter=3Dlinear: FPS: 2345 FrameTime: 0.426 ms
[texture] texture-filter=3Dmipmap: FPS: 2423 FrameTime: 0.413 ms
[shading] shading=3Dgouraud: FPS: 2192 FrameTime: 0.456 ms
[shading] shading=3Dblinn-phong-inf: FPS: 2134 FrameTime: 0.469 ms
[shading] shading=3Dphong: FPS: 2008 FrameTime: 0.498 ms
[shading] shading=3Dcel: FPS: 2005 FrameTime: 0.499 ms
[bump] bump-render=3Dhigh-poly: FPS: 1547 FrameTime: 0.646 ms
[bump] bump-render=3Dnormals: FPS: 2497 FrameTime: 0.400 ms
[bump] bump-render=3Dheight: FPS: 2474 FrameTime: 0.404 ms
libpng warning: iCCP: known incorrect sRGB profile
[effect2d] kernel=3D0,1,0;1,-4,1;0,1,0;: FPS: 1634 FrameTime: 0.612 ms
libpng warning: iCCP: known incorrect sRGB profile
[effect2d] kernel=3D1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 765 FrameTime: 1.3=
07 ms
[pulsar] light=3Dfalse:quads=3D5:texture=3Dfalse: FPS: 2001 FrameTime: 0.50=
0 ms
libpng warning: iCCP: known incorrect sRGB profile
[desktop] blur-radius=3D5:effect=3Dblur:passes=3D1:separable=3Dtrue:windows=
=3D4: FPS: 686 FrameTime: 1.458 ms
libpng warning: iCCP: known incorrect sRGB profile
[desktop] effect=3Dshadow:windows=3D4: FPS: 1097 FrameTime: 0.912 ms
[buffer] columns=3D200:interleave=3Dfalse:update-dispersion=3D0.9:update-fr=
action=3D0.5:update-method=3Dmap: FPS: 652 FrameTime: 1.534 ms
[buffer] columns=3D200:interleave=3Dfalse:update-dispersion=3D0.9:update-fr=
action=3D0.5:update-method=3Dsubdata: FPS: 571 FrameTime: 1.751 ms
[buffer] columns=3D200:interleave=3Dtrue:update-dispersion=3D0.9:update-fra=
ction=3D0.5:update-method=3Dmap: FPS: 673 FrameTime: 1.486 ms
[ideas] speed=3Dduration: FPS: 1172 FrameTime: 0.853 ms
[jellyfish] <default>: FPS: 1153 FrameTime: 0.867 ms
[terrain] <default>: FPS: 151 FrameTime: 6.623 ms
[shadow] <default>: FPS: 920 FrameTime: 1.087 ms
[refract] <default>: FPS: 255 FrameTime: 3.922 ms
[conditionals] fragment-steps=3D0:vertex-steps=3D0: FPS: 2219 FrameTime: 0.=
451 ms
[conditionals] fragment-steps=3D5:vertex-steps=3D0: FPS: 2204 FrameTime: 0.=
454 ms
[conditionals] fragment-steps=3D0:vertex-steps=3D5: FPS: 2157 FrameTime: 0.=
464 ms
[function] fragment-complexity=3Dlow:fragment-steps=3D5: FPS: 2221 FrameTim=
e: 0.450 ms
[function] fragment-complexity=3Dmedium:fragment-steps=3D5: FPS: 2197 Frame=
Time: 0.455 ms
[loop] fragment-loop=3Dfalse:fragment-steps=3D5:vertex-steps=3D5: FPS: 2215=
 FrameTime: 0.451 ms
[loop] fragment-steps=3D5:fragment-uniform=3Dfalse:vertex-steps=3D5: FPS: 2=
205 FrameTime: 0.454 ms
[loop] fragment-steps=3D5:fragment-uniform=3Dtrue:vertex-steps=3D5: FPS: 21=
81 FrameTime: 0.459 ms
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
                                  glmark2 Score: 1741
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D



Sent with ProtonMail Secure Email.

=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me=
ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90
On Tuesday, February 5, 2019 2:12 AM, Pete Wright <pete@nomadlogic.org> wro=
te:

> On 2/4/19 6:33 PM, Eric via freebsd-x11 wrote:
>
> > Hello guys!
> > I'm trying to use my radeon graphics card for a while, but don't seems =
that it's possible. I don't know where to look at anymore :/ I've tryied to=
 use the drm-kmod, drm-legacy-kmod and some other variants with kld_list=3D=
amdgpu or radeonkms or /boot/modules/amdgpu.ko... none seems to work, only =
when I use "i915kms.ko", which works fine but don't seems to use graphics a=
celeration.
> > I'm missing something or my graphics is really not supported? If so, th=
ere is someway to help with this driver? I really want to put it to work.
> > Thanks! More details in attachments.
> > PS: My last dmesg output is that which is working. The other ones was m=
y try with amdgpu and radeonkms.
>
> Hard to debug without a detailed description of what isn't specifically
> working.=C2=A0 For a starting point make sure you are following the
> instructions here closely:
>
> https://wiki.freebsd.org/Graphics#AMD_Graphics
>
> if you have followed all these instructions (including the update to
> loader.conf) please let us know what you are experiencing.=C2=A0 Is your
> system locking up becoming unresponsive?=C2=A0 Or is X failing to load?=
=C2=A0
> Since this is a Radeon system you'll def want to focus on using the
> amdgpu kernel module first.
>
> a quick glance at your dmesg when loading amdgpu it looks like there is
> an issue loading the firmware if I'm reading this correctly:
>
> [drm] BIOS signature incorrect 90 66
> [drm] BIOS signature incorrect 0 0
> [drm] BIOS signature incorrect 0 0
> pci_platform_rom not implemented -- see your local kernel hacker
> [drm:amdgpu_get_bios] Unable to locate a BIOS ROM
> drmn1: Fatal error during GPU init
>
> I would suggest reinstalling the gpu-firmware-kmod-g20181104=C2=A0 pkg as=
 a
> first step if the instructions in the wiki don't help.
>
> -pete
>
> -------------------------------------------------------------------------=
---------------------------------------------------------------------------=
---------------------------------------------------------------------------=
---------------------------------------------------------------------------=
---------------------------------------------------------------------------=
---------------------------------------------------------------------------=
---------------------------------------------------------------------------=
---------------------------------------------------------------------------=
---------------------------------------------------------------------------=
---------------------------------------------------------------------------=
---------------------------------------------------------------------------=
---------------------------------------------------------------------------=
---------------------------------------------------------------------------=
-------------------------------------------------------------------
>
> Pete Wright
> pete@nomadlogic.org
> 310.309.9298





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BABP3qN59opCZ-gWdPEVx-n8C03mN0Tt5U4r8agXINX-cgW6IjRe4wHC7tQfBiX_DXJVzzDWpvJ2KTXt5MbR9ljFwwa8mlAUWGQTpbSTwbY=>