Solved AIGLX broken on AMD Radeon

goshanecr

Active Member

Reaction score: 11
Messages: 172

Good day!

After ports upgrade I have a broken 3D in system. Can you friends help me find what causes the problem and how I can solve it?
uname -a
Code:
FreeBSD home 11.0-STABLE FreeBSD 11.0-STABLE #0 r312172: Sat Jan 14 19:58:53 NSK 2017     user@home:/usr/obj/usr/src/sys/BSDSERV  amd64
kldstat
Code:
 1   90 0xffffffff80200000 c7aef8   kernel
 2    1 0xffffffff80e7c000 efd0     if_re.ko
 3    1 0xffffffff80e8b000 3338     amdtemp.ko
 4    1 0xffffffff81021000 417a     linprocfs.ko
 5    4 0xffffffff81026000 2b82     linux_common.ko
 6    1 0xffffffff81029000 9f7      linsysfs.ko
 7    1 0xffffffff8102a000 15b6     fdescfs.ko
 8    3 0xffffffff8102c000 5028d    vboxdrv.ko
 9    2 0xffffffff8107d000 29ef     vboxnetflt.ko
10    2 0xffffffff81080000 97a6     netgraph.ko
11    1 0xffffffff8108a000 14eb     ng_ether.ko
12    1 0xffffffff8108c000 3f76     vboxnetadp.ko
13    1 0xffffffff81090000 21647    linux.ko
14    1 0xffffffff810b2000 1e90c    linux64.ko
15    1 0xffffffff810d1000 387a7    nfsd.ko
16    1 0xffffffff8110a000 10999    nfscommon.ko
17    2 0xffffffff8111b000 33e      nfssvc.ko
18    3 0xffffffff8111c000 11659    krpc.ko
19    2 0xffffffff8112e000 ba5      nfslock.ko
20    1 0xffffffff8112f000 ae19     nfslockd.ko
21    1 0xffffffff8113a000 113dbd   radeonkms.ko
22    1 0xffffffff8124e000 4c7f8    drm2.ko
23    4 0xffffffff8129b000 1cf6     iicbus.ko
24    1 0xffffffff8129d000 ebb      iic.ko
25    1 0xffffffff8129e000 1668     iicbb.ko
26    1 0xffffffff812a0000 1353     radeonkmsfw_CAICOS_pfp.ko
27    1 0xffffffff812a2000 174b     radeonkmsfw_CAICOS_me.ko
28    1 0xffffffff812a4000 dcb      radeonkmsfw_BTC_rlc.ko
29    1 0xffffffff812a5000 5feb     radeonkmsfw_CAICOS_mc.ko
30    1 0xffffffff812ab000 9cb      fire_saver.ko
grep -E "EE|WW" /var/log/Xorg.0.log
Code:
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    10.982] (WW) The directory "/usr/local/lib/X11/fonts/cyrillic/" does not exist.
[    10.982] (WW) The directory "/usr/local/lib/X11/fonts/misc/" does not exist.
[    10.982] (WW) The directory "/usr/local/lib/X11/fonts/TTF/" does not exist.
[    10.982] (WW) The directory "/usr/local/lib/X11/fonts/OTF" does not exist.
[    10.982] (WW) The directory "/usr/local/lib/X11/fonts/Type1/" does not exist.
[    10.982] (WW) The directory "/usr/local/lib/X11/fonts/100dpi/" does not exist.
[    10.982] (WW) The directory "/usr/local/lib/X11/fonts/75dpi/" does not exist.
[    10.990] (WW) `fonts.dir' not found (or not valid) in "/usr/local/lib/X11/fonts/msttf/".
[    10.990] (WW) The directory "/usr/local/lib/X11/fonts/terminus-font/" does not exist.
[    11.109] (WW) Ignoring unrecognized extension "XDamage"
[    11.578] (WW) LoadModule: given non-canonical module name "/dev/ums1"
[    11.578] (EE) Failed to load /dev/ums1: Cannot open "/dev/ums1"
[    11.578] (EE) Failed to load module "/dev/ums1" (loader failed, 7)
[    11.618] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    11.618] (WW) RADEON(0): Option "DRI" requires an integer value
[    12.687] (WW) RADEON(0): Option "AGPFastWrite" is not used
[    12.687] (WW) RADEON(0): Option "DMAForXv" is not used
[    12.687] (WW) RADEON(0): Option "VGAAccess" is not used
[    12.687] (WW) RADEON(0): Option "AllowGLXWithComposite" is not used
[    12.687] (WW) RADEON(0): Option "ClockGating" is not used
[    12.687] (WW) RADEON(0): Option "ForceLowPowerMode" is not used
[    12.785] (EE) AIGLX error: dlopen of /usr/local/lib/dri/r600_dri.so failed (/usr/local/lib/compat/pkg/libLLVMObjCARCOpts.so.3.7: unsupported file layout)
[    12.785] (EE) AIGLX: reverting to software rendering
[    12.785] (EE) AIGLX error: dlopen of /usr/local/lib/dri/swrast_dri.so failed (/usr/local/lib/compat/pkg/libLLVMObjCARCOpts.so.3.7: unsupported file layout)
[    12.785] (EE) GLX: could not load software renderer
[    13.961] (WW) LoadModule: given non-canonical module name "/dev/ums1"
[    13.961] (EE) Failed to load /dev/ums1: Cannot open "/dev/ums1"
[    13.961] (EE) Failed to load module "/dev/ums1" (loader failed, 7)
[    13.961] (EE) No input driver matching `/dev/ums1'
[    13.961] (WW) <default pointer>: No Device specified, looking for one...
xorg.conf
Code:
Section "ServerFlags"
        Option          "AIGLX"         "true"
        Option          "DRI2"          "true"
EndSection

Section "ServerLayout"
        Identifier      "X.org Configured"
        Screen          0       "Screen0"       0 0
        Option          "AllowEmptyInput"       "false"
        Option          "AutoAddDevices"        "false"
        InputDevice     "Keyboard"
        InputDevice     "Mouse"
EndSection

Section "InputDevice"
        Identifier      "Keyboard"
        Driver          "kbd"
        Option          "AutoRepeat"    "500 30"
        Option          "XkbRules"      "xorg"
        Option          "XkbLayout"     "us,ru"
        Option          "XkbVariant"    "basic,winkeys"
        Option          "XkbOptions"    "grp:ctrl_shift_toggle,grp_led:scroll"
EndSection

Section "InputDevice"
        Identifier      "Mouse"
        Driver          "/dev/ums1"
EndSection

Section "Files"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath        "/usr/local/lib/X11/fonts/cyrillic/"
        FontPath        "/usr/local/lib/X11/fonts/misc/"
        FontPath        "/usr/local/lib/X11/fonts/TTF/"
        FontPath        "/usr/local/lib/X11/fonts/OTF"
        FontPath        "/usr/local/lib/X11/fonts/Type1/"
        FontPath        "/usr/local/lib/X11/fonts/100dpi/"
        FontPath        "/usr/local/lib/X11/fonts/75dpi/"
        FontPath        "/usr/local/lib/X11/fonts/msttf/"
        FontPath        "/usr/local/lib/X11/fonts/terminus-font/"
EndSection

Section "Module"
        Load    "extmod"
        Load    "record"
        Load    "dbe"
        Load    "glx"
        Load    "dri"
        Load    "dri2"
        Load    "GLcore"
        Load    "drm"
        Load    "vbe"
        Load    "ddc"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        Identifier              "Card0"
        Driver                  "radeon"
        VendorName              "ATI Technologies Inc"
        Option  "DRI"           "true"
        Option  "AGPFastWrite"  "true"
        Option  "AccelMethod"   "EXA"
        Option  "DMAForXv"      "true"
        Option  "VGAAccess"     "true"
        Option  "backingstore"  "true"
        Option  "AllowGLXWithComposite" "true"
#######  POWER OPTIONS #####################################
        Option  "ClockGating"           "true"
        Option  "ForceLowPowerMode"     "true"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "DRI"
        Group 0
        Mode 0666
EndSection

Section "Extensions"
        Option  "Composite"     "Enable"
        Option  "XDamage"       "Enable"
        Option  "RENDER"        "Enable"
        Option  "DAMAGE"        "Enable"
EndSection
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 7,764
Messages: 30,893

Please remove the whole xorg.conf, it contains several errors. Besides that, the file isn't really needed any more.
 
OP
OP
goshanecr

goshanecr

Active Member

Reaction score: 11
Messages: 172

SirDice! You rock!

It helps me. I'm just want to grow to that level when I don't need to ask stupid questions here, and solve it by myself. :) Thanks again!
 
Top