Tuesday, June 24, 2014

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?


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

0 comments:

Post a Comment