From owner-freebsd-x11@freebsd.org Tue Feb 5 11:46:41 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A23CA14B3440 for ; Tue, 5 Feb 2019 11:46:41 +0000 (UTC) (envelope-from eirc.m@protonmail.com) Received: from mail-40136.protonmail.ch (mail-40136.protonmail.ch [185.70.40.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.protonmail.ch", Issuer "SwissSign Server Silver CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A07D66D480 for ; Tue, 5 Feb 2019 11:46:40 +0000 (UTC) (envelope-from eirc.m@protonmail.com) Date: Tue, 05 Feb 2019 11:46:22 +0000 To: Pete Wright , "freebsd-x11@freebsd.org" From: Eric Reply-To: Eric Subject: Re: drm-kmod not working with Radeon HD 8000 Message-ID: In-Reply-To: <86c13534-c0e5-cf80-d484-8cfea940fc1e@nomadlogic.org> References: <_VdIu7kgBFcjfgsFemyvWFDbgOSP_o_WJZTmOhXMKT7bU_XFPY0iYwkTjNN87nNyFpoX2wRgcux1UmLyrjhlNKpGixdzb2Tz9FwfDrRvit4=@protonmail.com> <86c13534-c0e5-cf80-d484-8cfea940fc1e@nomadlogic.org> Feedback-ID: rctMsgjj5vcZk7MMO6rIuSmRsYptU4wD9wO3LD9DdCS56PfFDlc-JMBfDGmW_XND73eHmgL2YDPd-_QD80zhgw==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.protonmail.ch X-Rspamd-Queue-Id: A07D66D480 X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.88 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; HAS_REPLYTO(0.00)[eirc.m@protonmail.com]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; FREEMAIL_FROM(0.00)[protonmail.com]; DKIM_TRACE(0.00)[protonmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[protonmail.com,quarantine]; MX_GOOD(-0.01)[cached: mailsec.protonmail.ch]; NEURAL_HAM_SHORT(-0.99)[-0.989,0]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-1.78)[ipnet: 185.70.40.0/24(-4.90), asn: 19905(-3.92), country: US(-0.07)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[protonmail.com]; ASN(0.00)[asn:19905, ipnet:185.70.40.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[136.40.70.185.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[protonmail.com:s=default]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[protonmail.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2019 11:46:41 -0000 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] : FPS: 1153 FrameTime: 0.867 ms [terrain] : FPS: 151 FrameTime: 6.623 ms [shadow] : FPS: 920 FrameTime: 1.087 ms [refract] : 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 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