drm-kmod not working with Radeon HD 8000

Johannes Lundberg johalun0 at gmail.com
Wed Feb 6 15:09:50 UTC 2019


On 2/5/19 11:46 AM, Eric via freebsd-x11 wrote:
> 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 (Haswell-ULT Integrated Graphics Controller) and the Radeon HD 8670M. What I'm trying to do is use the Radeon card when using mesa, for instance. It seems to me that it's using my Haswell, not the  Radeon.
>
> It works good, i3 works and I can do everything that an ordinary desktop does (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 works good with few warnings, but is it my radeon that is working? It seems that is Haswell who is doing the job.


Hi

Yes, this is the integrated graphics that is active. You probably need
to select either one in BIOS (integrated or iGPU for Intel, discrete or
external for Radeon). If you're unlucky, your BIOS only supports the
options integrated and auto (or similar), then you're stuck with using
integrated only since FreeBSD does not support switching GPU via software.



>
> 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 ports, 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 performance using my Radeon instead of the integrated Intel HD graphics.
>
> Thanks for the reply!
>
> =======================================================
>     glmark2 2014.03
> =======================================================
>     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
> =======================================================
> [build] use-vbo=false: FPS: 3005 FrameTime: 0.333 ms
> [build] use-vbo=true: FPS: 3072 FrameTime: 0.326 ms
> [texture] texture-filter=nearest: FPS: 2425 FrameTime: 0.412 ms
> [texture] texture-filter=linear: FPS: 2345 FrameTime: 0.426 ms
> [texture] texture-filter=mipmap: FPS: 2423 FrameTime: 0.413 ms
> [shading] shading=gouraud: FPS: 2192 FrameTime: 0.456 ms
> [shading] shading=blinn-phong-inf: FPS: 2134 FrameTime: 0.469 ms
> [shading] shading=phong: FPS: 2008 FrameTime: 0.498 ms
> [shading] shading=cel: FPS: 2005 FrameTime: 0.499 ms
> [bump] bump-render=high-poly: FPS: 1547 FrameTime: 0.646 ms
> [bump] bump-render=normals: FPS: 2497 FrameTime: 0.400 ms
> [bump] bump-render=height: FPS: 2474 FrameTime: 0.404 ms
> libpng warning: iCCP: known incorrect sRGB profile
> [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 1634 FrameTime: 0.612 ms
> libpng warning: iCCP: known incorrect sRGB profile
> [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 765 FrameTime: 1.307 ms
> [pulsar] light=false:quads=5:texture=false: FPS: 2001 FrameTime: 0.500 ms
> libpng warning: iCCP: known incorrect sRGB profile
> [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 686 FrameTime: 1.458 ms
> libpng warning: iCCP: known incorrect sRGB profile
> [desktop] effect=shadow:windows=4: FPS: 1097 FrameTime: 0.912 ms
> [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 652 FrameTime: 1.534 ms
> [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 571 FrameTime: 1.751 ms
> [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 673 FrameTime: 1.486 ms
> [ideas] speed=duration: 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=0:vertex-steps=0: FPS: 2219 FrameTime: 0.451 ms
> [conditionals] fragment-steps=5:vertex-steps=0: FPS: 2204 FrameTime: 0.454 ms
> [conditionals] fragment-steps=0:vertex-steps=5: FPS: 2157 FrameTime: 0.464 ms
> [function] fragment-complexity=low:fragment-steps=5: FPS: 2221 FrameTime: 0.450 ms
> [function] fragment-complexity=medium:fragment-steps=5: FPS: 2197 FrameTime: 0.455 ms
> [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 2215 FrameTime: 0.451 ms
> [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 2205 FrameTime: 0.454 ms
> [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 2181 FrameTime: 0.459 ms
> =======================================================
>                                   glmark2 Score: 1741
> =======================================================
>
>
>
> Sent with ProtonMail Secure Email.
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Tuesday, February 5, 2019 2:12 AM, Pete Wright <pete at nomadlogic.org> wrote:
>
>> 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=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 aceleration.
>>> I'm missing something or my graphics is really not supported? If so, there 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 my try with amdgpu and radeonkms.
>> Hard to debug without a detailed description of what isn't specifically
>> working.  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.  Is your
>> system locking up becoming unresponsive?  Or is X failing to load? 
>> 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  pkg as a
>> first step if the instructions in the wiki don't help.
>>
>> -pete
>>
>> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>
>> Pete Wright
>> pete at nomadlogic.org
>> 310.309.9298
>
> _______________________________________________
> freebsd-x11 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"



More information about the freebsd-x11 mailing list