drm error messages

Hello,

On Lenovo laptop I have replaced kernel built-in DRM with graphics/drm-kmod. Did everything as described in manuals to get rid of kernel DRM deprecation messages and to be compatible with upcoming FreeBSD releases.

Everything seems to work as before, X.Org and window manager starts and seems OK. The DRM deprecation warning is gone, but I have new error messages during boot:

Code:
[drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-19).
Failed to add WC MTRR for [0xe0000000-0xefffffff]: -28; performance may suffer
[drm] Got stolen memory base 0xdba00000, size 0x4000000

What does it mean? Is it serious or I can just ignore?
 
[drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-19).
Failed to add WC MTRR for [0xe0000000-0xefffffff]: -28; performance may suffer
[drm] Got stolen memory base 0xdba00000, size 0x4000000
Many others, including myself, see such messages regularly when booting a machine that uses drm-kmod. A search engine query for the first and second messages reveals that some versions of RHEL and CentOS experienced similar messages.

The consensus is that these are merely diagnostic messages, not errors. Whether they have a measurable impact on your system's performance probably depends on your system, but I haven't noticed any trouble on mine.
 
The consensus is that these are merely diagnostic messages, not errors. Whether they have a measurable impact on your system's performance probably depends on your system, but I haven't noticed any trouble on mine.

Thanks!

I have googled myself and got no clear understanding. I did not experience any difference from built-in DRM, only these messages. Can live with that, but will appreciate if somebody could explain this in more detail.
 
I have something similar in my dmesg, too. But it seemed doesn't affect my system:

Code:
[drm] Memory usable by graphics device = 2048M
Failed to add WC MTRR for [0xe0000000-0xefffffff]: -22; performance may suffer
 
Hugepage support refers to using a pagesize bigger than 4k. In FreeBSD, I think it is called super size.. FreeBSD supports that.
But I also have those error messages. ;D

I found these sysctls:
Code:
vm.pmap.pg_ps_enabled: Are large page mappings enabled?
vm.stats.vm.v_page_size: Page size in bytes

*Edit:
Code:
[drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-19).
Maybe one needs to kldload tmpfs(5) at boot?
 
*Edit:
Code:
[drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-19).
Maybe one needs to kldload tmpfs(5) at boot?
You should ask the OP to run kldstat | grep tmpfs. I have tmpfs.ko loaded by default.
 
Back
Top