Solved X.org Failed to load module "radeon".

Oleg P.

Member

Reaction score: 5
Messages: 68

Hello!

I need a help. My system is:

Code:
FreeBSD ShuttleBSD 10.3-STABLE FreeBSD 10.3-STABLE #0 r300060: Tue May 17 20:23:01 UTC 2016     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386


After upgraded I’ve gotten an error message from Xorg. My Xorg.0.log file is:

Code:

[  7029.557] 

X.Org X Server 1.18.4

Release Date: 2016-07-19

[  7029.557] X Protocol Version 11, Revision 0

[  7029.557] Build Operating System: FreeBSD 10.3-STABLE i386 

[  7029.557] Current Operating System: FreeBSD ShuttleBSD 10.3-STABLE FreeBSD 10.3-STABLE #0 r300060: Tue May 17 20:23:01 UTC 2016     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386

[  7029.557] Build Date: 13 February 2017  10:22:13AM

…

[  7029.572] (--) PCI:*(0:1:0:0) 1002:7288:174b:e190 rev 154, Mem @ 0xd0000000/268435456, 0xfddf0000/65536, I/O @ 0x0000ce00/256, BIOS @ 0x????????/65536

[  7029.572] (--) PCI: (0:1:0:1) 1002:72a8:174b:e191 rev 154, Mem @ 0xfdde0000/65536

[  7029.572] (II) LoadModule: "glx"

[  7029.573] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so

[  7029.577] (II) Module glx: vendor="X.Org Foundation"

[  7029.577]     compiled for 1.18.4, module version = 1.0.0

[  7029.577]     ABI class: X.Org Server Extension, version 9.0

[  7029.577] (==) AIGLX enabled

[  7029.577] (II) LoadModule: "ati"

[  7029.577] (II) Loading /usr/local/lib/xorg/modules/drivers/ati_drv.so

[  7029.577] (II) Module ati: vendor="X.Org Foundation"

[  7029.577]     compiled for 1.18.4, module version = 7.8.0

[  7029.577]     Module class: X.Org Video Driver

[  7029.577]     ABI class: X.Org Video Driver, version 20.0

[  7029.577] (II) LoadModule: "radeon"

[  7029.577] (II) Loading /usr/local/lib/xorg/modules/drivers/radeon_drv.so

[  7029.578] (EE) Failed to load /usr/local/lib/xorg/modules/drivers/radeon_drv.so: /usr/local/lib/xorg/modules/drivers/radeon_drv.so: Undefined symbol "fbImageGlyphBlt"

[  7029.578] (II) UnloadModule: "radeon"

[  7029.578] (II) Unloading radeon

[  7029.578] (EE) Failed to load module "radeon" (loader failed, 7)

[  7029.578] (EE) No drivers available.

[  7029.578] (EE) 

Fatal server error:

[  7029.578] (EE) no screens found(EE)

...





lshal output is:

Code:
udi = '/org/freedesktop/Hal/devices/pci_1002_7288'

  freebsd.driver = 'vgapci'  (string)

  freebsd.unit = 0  (0x0)  (int)

  info.parent = '/org/freedesktop/Hal/devices/pci_8086_2771'  (string)

  info.product = 'RV570 [Radeon X1950 GT]'  (string)

  info.subsystem = 'pci'  (string)

  info.udi = '/org/freedesktop/Hal/devices/pci_1002_7288'  (string)

  info.vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'  (string)

  pci.device_class = 3  (0x3)  (int)

  pci.device_protocol = 0  (0x0)  (int)

  pci.device_subclass = 0  (0x0)  (int)

  pci.freebsd.bus = 1  (0x1)  (int)

  pci.freebsd.device = 0  (0x0)  (int)

  pci.freebsd.function = 0  (0x0)  (int)

  pci.freebsd.secondary_bus = 0  (0x0)  (int)

  pci.product = 'RV570 [Radeon X1950 GT]'  (string)

  pci.product_id = 29320  (0x7288)  (int)

  pci.subsys_product_id = 57744  (0xe190)  (int)

  pci.subsys_vendor = 'PC Partner Limited / Sapphire Technology'  (string)

  pci.subsys_vendor_id = 5963  (0x174b)  (int)

  pci.vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'  (string)

  pci.vendor_id = 4098  (0x1002)  (int)



udi = '/org/freedesktop/Hal/devices/pci_1002_72a8'

  freebsd.driver = 'vgapci'  (string)

  freebsd.unit = 1  (0x1)  (int)

  info.parent = '/org/freedesktop/Hal/devices/pci_8086_2771'  (string)

  info.product = 'RV570 [Radeon X1950 GT] (Secondary)'  (string)

  info.subsystem = 'pci'  (string)

  info.udi = '/org/freedesktop/Hal/devices/pci_1002_72a8'  (string)

  info.vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'  (string)

  pci.device_class = 3  (0x3)  (int)

  pci.device_protocol = 0  (0x0)  (int)

  pci.device_subclass = 128  (0x80)  (int)

  pci.freebsd.bus = 1  (0x1)  (int)

  pci.freebsd.device = 0  (0x0)  (int)

  pci.freebsd.function = 1  (0x1)  (int)

  pci.freebsd.secondary_bus = 0  (0x0)  (int)

  pci.product = 'RV570 [Radeon X1950 GT] (Secondary)'  (string)

  pci.product_id = 29352  (0x72a8)  (int)

  pci.subsys_product_id = 57745  (0xe191)  (int)

  pci.subsys_vendor = 'PC Partner Limited / Sapphire Technology'  (string)

  pci.subsys_vendor_id = 5963  (0x174b)  (int)

  pci.vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'  (string)

  pci.vendor_id = 4098  (0x1002)  (int)




Thank you.
 

YuryG

Well-Known Member

Reaction score: 29
Messages: 485

Just got the same “undefined” error after upgrading xorg ports (to 13 version of mesa) on my old i386 with x300 radeon card.

Also on 10.3-STABLE i386
 

YuryG

Well-Known Member

Reaction score: 29
Messages: 485

PR 217023 Bug report mentioning the similar problem and a possible workaround (don't know what modules for other symbols?).

Seems to be i386 specific.
 
OP
O

Oleg P.

Member

Reaction score: 5
Messages: 68

Thank you! Ok. Xorg started. I checked X.org.log. X loaded vesa driver and ati with the same error undefined symbol fbImageGlyphBlt.
 

YuryG

Well-Known Member

Reaction score: 29
Messages: 485

What exactly have you changed? Have you added
Code:
Section "Module"
       Load    "shadow"
EndSection
to Xorg config?
 

YuryG

Well-Known Member

Reaction score: 29
Messages: 485

Well, my expirience. On older i386 with Radeon X300 video card I had to add even THREE modules explicitly in /usr/local/etc/X11/xorg.conf.d/modules.conf
Code:
Section "Module"
      Load    "shadow"
      Load    "fb"
      Load    "glamoregl"
EndSection


And more than that, I still got Segfaults preventing start of Xorg server and by means of Xorg.0.log file I got a clue that X linked both to older devel/llvm36 libs and newer devel/llvm39 (I had already rebuild all that I could find mentioning X)! Only deinstallation of devel/llvm36 (and devel/llvm37) made Xorg work for me. That's terrible upgrade (previous one major update of xserver was almost the same trouble for me), for I killed more than a day trying to fix unworking Xorg.
 
Top