You are not logged in.

#1 2010-09-12 12:15:01

bananabrain
Member
From: England
Registered: 2010-05-07
Posts: 78

missing xorg drivers - "failed to load module" errors

Hi all,

My /var/log/Xorg.0.log shows a couple of errors as follows:

[    56.404] (EE) Failed to load module "vesa" (module does not exist, 0)
[    56.405] (EE) Failed to load module "fbdev" (module does not exist, 0)

I can make these errors disappear just by installing packages xf86-video-vesa and xf86-video-fbdev but since I don't want or need these, I wondered if it's possible to tell the system not to try loading these drivers?

Thanks in advance.

Offline

#2 2010-09-12 12:23:37

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: missing xorg drivers - "failed to load module" errors

Which graphics driver are you using?

Offline

#3 2010-09-12 12:40:11

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: missing xorg drivers - "failed to load module" errors

I think those errors are harmless.

Offline

#4 2010-09-12 13:55:26

bananabrain
Member
From: England
Registered: 2010-05-07
Posts: 78

Re: missing xorg drivers - "failed to load module" errors

I'm using xf86-video-ati  on one machine, xf86-video-intel on another. Is that relevant to how I prevent some selected xorg modules from loading?

Yes, the errors aren't show-stoppers, but they are errors. As well as trying to better understand how to control X in this world of "disabling hot-plugging is not recommended!", I was also indulging my OCD.


Thanks for the replies guys.

Offline

#5 2010-09-12 14:21:47

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

Re: missing xorg drivers - "failed to load module" errors

You can avoid those errors by specifically specifying a driver in xorg.conf(besides of course by installing vesa and fbdev!).

I have the same issue with an ati board and also had it on my previous nvidia board.

I must admit that I have no explenation for why the errors occure upon xorg auto-detection(without xorg.conf) and I would be happy if someone in the know could come with the answer to this ?

When reading Xorg.0.log, then it looks like it first lists the compatible drivers for the board in preffered order i.e. in my case 1. ati - 2. vesa - 3. fbdev, and then also that it selects the first choise i.e. the correct driver, but then why it insists upon also loading the other drivers additionally afterwards is a mystery to me?

I don't specify a driver in xorg.conf, as it loads the correct driver anyways, and then I just ignore those vesa and fbdev errors, but still, I would love to get to know the reason for those?

Last edited by mhertz (2010-09-12 14:33:20)

Offline

#6 2010-09-12 14:38:10

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: missing xorg drivers - "failed to load module" errors

It's probably the fallback routine that (I suspect) is hardcoded into Xorg. Nothing to worry about, really.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#7 2010-09-12 15:21:58

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

Re: missing xorg drivers - "failed to load module" errors

Thanks alot, mate - much appreciated!

CU, Martin.

Offline

#8 2010-09-12 15:31:01

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: missing xorg drivers - "failed to load module" errors

When I used a /etc/X11/xorg.conf file, xorg still tried to auto-detect stuff regardless if I specied a driver or not. Now that I put my nVidia setup in /etc/X11/xorg.conf.d/10-monitor.conf, it stopped looking for additional drivers.

Offline

#9 2010-09-12 16:21:20

bananabrain
Member
From: England
Registered: 2010-05-07
Posts: 78

Re: missing xorg drivers - "failed to load module" errors

skottish wrote:

When I used a /etc/X11/xorg.conf file, xorg still tried to auto-detect stuff regardless if I specied a driver or not. Now that I put my nVidia setup in /etc/X11/xorg.conf.d/10-monitor.conf, it stopped looking for additional drivers.


Eureka - this seems to be it.

If autodetection is left to is own ways, the correct driver is loaded if it is available (in my case, intel) but an attempt is still made to load the unrequired vesa and fbdev modules. (Why? Probably just an effort at failsafe fallback as .:B:. suggests.)

If a driver is specified in /etx/X11/xorg.conf.d/??-monitor.conf, no attempt is made to load vesa or fbdev and you have two less "EE" in your log.

Thanks skottish.

Offline

#10 2010-09-12 17:04:59

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

Re: missing xorg drivers - "failed to load module" errors

Hmm, strange... I can get those errors go away with adding a driver section to xorg.conf and nothing else, with both ati and nvidia boxes(without having made any changes to files in xorg.conf.d directory)...  (just checked again and 100% reproducible)

Last edited by mhertz (2010-09-12 17:06:57)

Offline

#11 2010-09-12 17:53:42

bananabrain
Member
From: England
Registered: 2010-05-07
Posts: 78

Re: missing xorg drivers - "failed to load module" errors

mhertz wrote:

Hmm, strange... I can get those errors go away with adding a driver section to xorg.conf and nothing else, with both ati and nvidia boxes(without having made any changes to files in xorg.conf.d directory)...  (just checked again and 100% reproducible)

Maybe either method works.
I don't have a traditional xorg.conf, but use the new xorg 1.8 structure under /etc/X11/xorg.conf.d.
Are you using both?

Offline

#12 2010-09-13 07:32:14

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 681

Re: missing xorg drivers - "failed to load module" errors

No I don't use both.

I let xorg auto-detect everything and then for the parts xorg detects wrong or entirelly misses, I then add sections for in xorg.conf.

In my case then everything is auto-detected correctly and so I only mis danish keyboard layout and so that's the only thing I add to my xorg.conf(+enabling ctrl+alt+backspace for killing X quickly).

This is the recommended way, i.e. the xorg.conf.d directory should be left alone for the distribution to administer and xorg.conf should be used for user-specific changes, allthough you could still add a new custom config-file to xorg.conf.d instead of xorg.conf if preffering that, but I wouldn't recommend changing the actual configs the distro has placed in xorg.cond.d, because of the risk of those getting overridden upon upgrades.

Last edited by mhertz (2010-09-13 07:37:18)

Offline

Board footer

Powered by FluxBB