FreeBSD: (EE) Failed to load module “fbdev” (module does not exist, 0) Error and Solution

I‘m installing FreeBSD 10 Xorg and xfce4 desktop. But, getting the following error:

(EE) Failed to load module “fbdev” (module does not exist, 0)

How do I fix this problem on FreeBSD 10 amd64 based system?

[donotprint]

Tutorial details
Difficulty Easy (rss)
Root privileges Yes
Requirements FreeBSD
Time 2m
[/donotprint]You need to install the X.Org xf86-video-fbdev driver. This can be installed using either ports or binary package using the pkg command.

Fixing (EE) Failed to load module “fbdev” (module does not exist, 0) on a FreeBSD Xorg

Open the Terminal app and login as root user using su – command:
su -

Install the xf86-video-fbdev via the port

Type the following command:
# cd /usr/ports/x11-drivers/xf86-video-fbdev/
# make install clean

Install the xf86-video-fbdev via the binary package

Type the following command:
# pkg install x11-drivers/xf86-video-fbdev
OR
# pkg install xf86-video-fbdev
Sample outputs:

Updating repository catalogue
The following 1 packages will be installed:
 
        Installing xf86-video-fbdev: 0.4.4_4
 
The installation will require 28 KB more space
 
11 KB to be downloaded
 
Proceed with installing packages [y/N]: y
xf86-video-fbdev-0.4.4_4.txz        100%   11KB  11.1KB/s  11.1KB/s   00:00    
Checking integrity... done
[1/1] Installing xf86-video-fbdev-0.4.4_4... done

Test new Xorg config

First, create an Xorg config file:
# Xorg -configure
This will generate a file named /root/xorg.conf.new which attempts to load the proper drivers for the detected hardware. Next, test that the automatically generated configuration file works with the graphics hardware by typing:
# Xorg -config xorg.conf.new -retro
If the test is successful, copy the configuration file to /etc/X11/xorg.conf:
# cp xorg.conf.new /etc/X11/xorg.conf

References
🐧 If you liked this page, please support my work on Patreon or with a donation.
🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
0 comments… add one

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.