AnsweredAssumed Answered

linux x86_64 fglrx Catalyst 15.20.1046 for Radeon HD 8970M on Oracle Linux 7

Question asked by jvd66 on Aug 30, 2015
Latest reply on Sep 6, 2015 by jvd66

Please could anyone suggest how to prevent fglrx from trying

to load the i915 intel driver for the integrated Graphics Controller Intel "Card" (ie SoC  VGA controller) ,

when my Clevo laptop also has the Radeon HD 8970M installed , which should always be its main "Graphics Mode" card ,

on any EL 7 type system ( RHEL 7 / Oracle Linux 7  / CentOS 7 / Scientific Linux 7 ) ?

 

My "lspci" output :

 

$ lspci -s '00:02.0' ; lspci -vvv -s '01:00.0'

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor

Integrated Graphics Controller (rev 06)

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]

Neptune XT [Radeon HD 8970M]

(prog-if 00 [VGA controller])

  Subsystem: CLEVO/KAPOK Computer Device 5106

  Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-

Stepping- SERR- FastB2B- DisINTx-

  Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-

<MAbort- >SERR- <PERR- INTx-

  Latency: 0, Cache Line Size: 64 bytes

  Interrupt: pin A routed to IRQ 16

  Region 0: Memory at e0000000 (64-bit, prefetchable) [size=256M]

  Region 2: Memory at f7b00000 (64-bit, non-prefetchable) [size=256K]

  Region 4: I/O ports at e000 [size=256]

  Expansion ROM at f7b40000 [disabled] [size=128K]

  Capabilities: [48] Vendor Specific Information: Len=08 <?>

  Capabilities: [50] Power Management version 3

  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA

PME(D0-,D1+,D2+,D3hot+,D3cold-)

  Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-

  Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00

  DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1

unlimited

  ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-

  DevCtl: Report errors: Correctable- Non-Fatal- Fatal-

Unsupported-

  RlxdOrd- ExtTag+ PhantFunc- AuxPwr- NoSnoop+

  MaxPayload 256 bytes, MaxReadReq 512 bytes

  DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr-

TransPend-

  LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM L0s L1, Exit

Latency L0s <64ns, L1 <1us

  ClockPM- Surprise- LLActRep- BwNot-

  LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+

  ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-

  LnkSta: Speed 8GT/s, Width x16, TrErr- Train- SlotClk+

DLActive- BWMgmt- ABWMgmt-

  DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-,

OBFF Not Supported

  DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-,

OBFF Disabled

  LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-

  Transmit Margin: Normal Operating Range,

EnterModifiedCompliance- ComplianceSOS-

  Compliance De-emphasis: -6dB

  LnkSta2: Current De-emphasis Level: -6dB,

EqualizationComplete+, EqualizationPhase1+

  EqualizationPhase2+, EqualizationPhase3+,

LinkEqualizationRequest-

  Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+

  Address: 0000000000000000 Data: 0000

  Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1

Len=010 <?>

  Capabilities: [150 v2] Advanced Error Reporting

  UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt-

RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-

  UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt-

RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-

  UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt-

RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-

  CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+

  CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+

  AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-

  Capabilities: [270 v1] #19

  Capabilities: [2b0 v1] Address Translation Service (ATS)

  ATSCap: Invalidate Queue Depth: 00

  ATSCtl: Enable-, Smallest Translation Unit: 00

  Capabilities: [2c0 v1] #13

  Capabilities: [2d0 v1] #1b

  Kernel driver in use: fglrx_pci

 

I downloaded and installed

amd-driver-installer-15.20.1046-x86.x86_64.zip

which builds the fglrx.ko module OK for kernel 3.10.0-229.11.1.el7.x86_64 and for kernel 2.6.32-400.29.1.el6uek.x86_64

and installs the shared libraries OK .

 

I have run the "/usr/lib64/fglrx/switch*" scripts with the "amd" command to setup the shared libraries to link to the AMD versions,

as opposed to the intel versions, and checked that links are setup OK .

 

I also linked /usr/lib/fglrx to /usr/lib64/fglrx .

 

With the X Server xorg.conf.d/01-screens.conf configuration :

 

...

Section "Device"

  Identifier "Card0"

  Driver "fglrx"

  BusID "PCI:1:0:0"

EndSection

 

Section "Screen"

  Identifier "Screen0"

  Device "Card0"

  Monitor "Monitor0"

  SubSection "Display"

  Viewport 0 0

  Depth 24

  EndSubSection

EndSection

 

 

The /var/log/Xorg.0.log produced is :

 

<pre>

<code>

{noformat}

X.Org X Server 1.15.0

Release Date: 2013-12-27

[   321.882] X Protocol Version 11, Revision 0

[   321.882] Build Operating System:  2.6.32-400.29.1.el6uek.x86_64

[   321.882] Current Operating System: Linux jvdoel7 3.10.0-229.11.1.el7.x86_64

#1 SMP Wed Aug 5 13:40:15 PDT 2015 x86_64

[   321.882] Kernel command line:

BOOT_IMAGE=/vmlinuz-3.10.0-229.11.1.el7.x86_64 root=/dev/mapper/OS-OEL7 ro

crashkernel=auto rd.lvm.lv=OS/OEL7 vconsole.font=latarcyrheb-sun16

vconsole.keymap=uk rhgb quiet LANG=en_GB.UTF-8 enforcing=0 permissive=1 2

[   321.882] Build Date: 09 April 2015  06:20:28PM

[   321.882] Build ID: xorg-x11-server 1.15.0-33.el7_1

[   321.882] Current version of pixman: 0.32.4

[   321.882]     Before reporting problems, check http://wiki.x.org

    to make sure that you have the latest version.

[   321.882] Markers: (--) probed, (**) from config file, (==) default setting,

    (++) from command line, (!!) notice, (II) informational,

    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

[   321.883] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Aug 24 11:39:23

2015

[   321.884] (==) Using config file: "/etc/X11/xorg.conf"

[   321.884] (==) Using config directory: "/etc/X11/xorg.conf.d"

[   321.884] (==) Using system config directory "/usr/share/X11/xorg.conf.d"

[   321.885] (==) ServerLayout "X.org Configured"

[   321.885] (**) |-->Screen "Screen0" (0)

[   321.885] (**) |   |-->Monitor "Monitor0"

[   321.885] (**) |   |-->Device "Card0"

[   321.885] (**) |-->Input Device "Mouse0"

[   321.885] (**) |-->Input Device "Keyboard0"

[   321.885] (==) Automatically adding devices

[   321.885] (==) Automatically enabling devices

[   321.885] (==) Automatically adding GPU devices

[   321.886] (**) FontPath set to:

    catalogue:/etc/X11/fontpath.d,

    built-ins,

    catalogue:/etc/X11/fontpath.d,

    built-ins

[   321.886] (**) ModulePath set to "/usr/lib64/xorg/modules"

[   321.886] (II) Loader magic: 0x7f645e599020

[   321.886] (II) Module ABI versions:

[   321.886]     X.Org ANSI C Emulation: 0.4

[   321.886]     X.Org Video Driver: 15.0

[   321.886]     X.Org XInput driver : 20.0

[   321.886]     X.Org Server Extension : 8.0

[   321.886] (II) xfree86: Adding drm device (/dev/dri/card0)

[   321.888] (--) PCI:*(0:0:2:0) 8086:0416:1558:5106 rev 6, Mem @

0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64, BIOS @

0x????????/131072

[   321.888] (--) PCI: (0:1:0:0) 1002:6801:1558:5106 rev 0, Mem @

0xe0000000/268435456, 0xf7b00000/262144, I/O @ 0x0000e000/256, BIOS @

0x????????/131072

[   321.888] Initializing built-in extension Generic Event Extension

[   321.888] Initializing built-in extension SHAPE

[   321.888] Initializing built-in extension MIT-SHM

[   321.888] Initializing built-in extension XInputExtension

[   321.888] Initializing built-in extension XTEST

[   321.888] Initializing built-in extension BIG-REQUESTS

[   321.888] Initializing built-in extension SYNC

[   321.888] Initializing built-in extension XKEYBOARD

[   321.888] Initializing built-in extension XC-MISC

[   321.888] Initializing built-in extension XINERAMA

[   321.888] Initializing built-in extension XFIXES

[   321.888] Initializing built-in extension RENDER

[   321.888] Initializing built-in extension RANDR

[   321.888] Initializing built-in extension COMPOSITE

[   321.888] Initializing built-in extension DAMAGE

[   321.888] Initializing built-in extension MIT-SCREEN-SAVER

[   321.888] Initializing built-in extension DOUBLE-BUFFER

[   321.888] Initializing built-in extension RECORD

[   321.888] Initializing built-in extension DPMS

[   321.888] Initializing built-in extension Present

[   321.888] Initializing built-in extension X-Resource

[   321.888] Initializing built-in extension XVideo

[   321.888] Initializing built-in extension XVideo-MotionCompensation

[   321.888] Initializing built-in extension SELinux

[   321.888] Initializing built-in extension XFree86-VidModeExtension

[   321.888] Initializing built-in extension XFree86-DGA

[   321.888] Initializing built-in extension XFree86-DRI

[   321.888] Initializing built-in extension DRI2

[   321.888] (II) "glx" will be loaded by default.

[   321.888] (II) LoadModule: "glx"

[   321.890] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so

[   321.896] (II) Module glx: vendor="Advanced Micro Devices, Inc."

[   321.896]     compiled for 6.9.0, module version = 1.0.0

[   321.896] (II) LoadModule: "fglrx"

[   321.896] (II) Loading /usr/lib64/xorg/modules/drivers/fglrx_drv.so

[   322.032] (II) Module fglrx: vendor="FireGL - AMD Technologies Inc."

[   322.032]     compiled for 1.4.99.906, module version = 15.20.3

[   322.032]     Module class: X.Org Video Driver

[   322.034] (II) Loading sub module "fglrxdrm"

[   322.034] (II) LoadModule: "fglrxdrm"

[   322.034] (II) Loading /usr/lib64/xorg/modules/linux/libfglrxdrm.so

[   322.037] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."

[   322.037]     compiled for 1.4.99.906, module version = 15.20.3

[   322.037] (II) LoadModule: "evdev"

[   322.037] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so

[   322.045] (II) Module evdev: vendor="X.Org Foundation"

[   322.045]     compiled for 1.15.0, module version = 2.8.2

[   322.045]     Module class: X.Org XInput Driver

[   322.045]     ABI class: X.Org XInput driver, version 20.0

[   322.045] (II) AMD Proprietary Linux Driver Version Identifier:15.20.3

[   322.045] (II) AMD Proprietary Linux Driver Release Identifier: 15.20.1046

[   322.045] (II) AMD Proprietary Linux Driver Build Date: Jun 22 2015 21:28:37

[   322.045] (++) using VT number 7

 

[   322.049] (WW) Falling back to old probe method for fglrx

[   322.057] (II) Loading PCS database from /etc/ati/amdpcsdb

/etc/ati/amdpcsdb.default

[   322.063] ukiDynamicMajor: found major device number 248

[   322.063] ukiDynamicMajor: found major device number 248

[   322.063] ukiOpenByBusid: Searching for BusID PCI:1:0:0

[   322.063] ukiOpenDevice: node name is /dev/ati/card0

[   322.063] ukiOpenDevice: open result is 16, (OK)

[   322.577] ukiOpenByBusid: ukiOpenMinor returns 16

[   322.577] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0

[   322.582] (--) Chipset Supported AMD Graphics Processor (0x6801) found

[   322.582] (II) fglrx: intel VGA device detected, load intel driver.

[   322.582] (II) LoadModule: "intel"

[   322.583] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so

[   322.621] (II) Module intel: vendor="X.Org Foundation"

[   322.621]     compiled for 1.15.0, module version = 2.99.916

[   322.621]     Module class: X.Org Video Driver

[   322.621]     ABI class: X.Org Video Driver, version 15.0

[   322.622] (II) fglrx(0): pEnt->device->identifier=0x7f645e624750

[   322.622] (II) intel(1): pEnt->device->identifier=(nil)

[   322.622] (EE) Screen 1 deleted because of no matching config section.

[   322.622] (II) UnloadModule: "intel"

[   322.622] (II) fglrx(0): === [xdl_xs115_atiddxPreInit] === begin

[   322.622] (II) fglrx(0): FB driver is enabled

[   322.623] (II) fglrx(0): PowerXpress: Discrete GPU is selected.

[   322.640] (==) fglrx(0): Depth 24, (--) framebuffer bpp 32

[   322.640] (==) fglrx(0): RGB weight 888

[   322.640] (==) fglrx(0): Default visual is TrueColor

[   322.640] (**) fglrx(0): Option "Tiling" "off"

[   322.640] (**) fglrx(0): Option "LinearFramebuffer" "on"

[   322.640] (**) fglrx(0): ChipID override: 0x0416

[   322.640] (**) fglrx(0): Integrated Graphics Chipset: Intel(R) HD Graphics

4600

[   322.640] (**) fglrx(0): Relaxed fencing enabled

[   322.640] (**) fglrx(0): Wait on SwapBuffers? enabled

[   322.640] (**) fglrx(0): Triple buffering? enabled

[   322.640] (**) fglrx(0): Framebuffer linear

[   322.640] (**) fglrx(0): Pixmaps linear

[   322.640] (**) fglrx(0): 3D buffers tiled

[   322.640] (**) fglrx(0): SwapBuffers wait enabled

[   322.640] (==) fglrx(0): video overlay key set to 0x101fe

[   322.641] (II) fglrx(0): Output eDP1 using monitor section Monitor0

[   322.641] (--) fglrx(0): found backlight control interface acpi_video0

[   322.657] (II) fglrx(0): Output VGA1 has no monitor section

[   322.657] (II) fglrx(0): Output DP1 has no monitor section

[   322.657] (II) fglrx(0): Output HDMI1 has no monitor section

[   322.657] (II) fglrx(0): Output HDMI2 has no monitor section

[   322.657] (II) fglrx(0): Output DP2 has no monitor section

[   322.658] (II) fglrx(0): Output HDMI3 has no monitor section

[   322.658] (II) fglrx(0): EDID for output eDP1

[   322.658] (II) fglrx(0): Manufacturer: CMN  Model: 15b1  Serial#: 0

[   322.658] (II) fglrx(0): Year: 2012  Week: 1

[   322.658] (II) fglrx(0): EDID Version: 1.4

[   322.658] (II) fglrx(0): Digital Display Input

[   322.658] (II) fglrx(0): 6 bits per channel

[   322.658] (II) fglrx(0): Digital interface is undefined

[   322.658] (II) fglrx(0): Max Image Size [cm]: horiz.: 34  vert.: 19

[   322.658] (II) fglrx(0): Gamma: 2.20

[   322.658] (II) fglrx(0): No DPMS capabilities specified

[   322.658] (II) fglrx(0): Supported color encodings: RGB 4:4:4

[   322.658] (II) fglrx(0): First detailed timing is preferred mode

[   322.658] (II) fglrx(0): Preferred mode is native pixel format and refresh

rate

[   322.658] (II) fglrx(0): redX: 0.621 redY: 0.339   greenX: 0.344 greenY:

0.583

[   322.658] (II) fglrx(0): blueX: 0.155 blueY: 0.083   whiteX: 0.313 whiteY:

0.329

[   322.658] (II) fglrx(0): Manufacturer's mask: 0

[   322.658] (II) fglrx(0): Supported detailed timing:

[   322.658] (II) fglrx(0): clock: 152.5 MHz   Image Size:  344 x 194 mm

[   322.658] (II) fglrx(0): h_active: 1920  h_sync: 2010  h_sync_end 2070

h_blank_end 2226 h_border: 0

[   322.658] (II) fglrx(0): v_active: 1080  v_sync: 1086  v_sync_end 1095

v_blanking: 1142 v_border: 0

[   322.658] (II) fglrx(0): Supported detailed timing:

[   322.658] (II) fglrx(0): clock: 96.3 MHz   Image Size:  344 x 194 mm

[   322.658] (II) fglrx(0): h_active: 1920  h_sync: 1973  h_sync_end 2008

h_blank_end 2158 h_border: 0

[   322.658] (II) fglrx(0): v_active: 1080  v_sync: 1083  v_sync_end 1088

v_blanking: 1115 v_border: 0

[   322.658] (II) fglrx(0):  VCM8XN156HG

[   322.658] (II) fglrx(0): Unknown vendor-specific block 0

[   322.658] (II) fglrx(0): EDID (in hex):

[   322.658] (II) fglrx(0):     00ffffffffffff000daeb11500000000

[   322.658] (II) fglrx(0):     01160104902213780231d59f56589527

[   322.658] (II) fglrx(0):     15505400000001010101010101010101

[   322.658] (II) fglrx(0):     010101010101963b803271383e405a3c

[   322.658] (II) fglrx(0):     690058c21000001a9b2580ee70382340

[   322.658] (II) fglrx(0):     3523350058c21000001a000000fe0056

[   322.658] (II) fglrx(0):     434d3858024e31353648470a00000000

[   322.658] (II) fglrx(0):     000041319e0000000002010a20200005

[   322.658] (II) fglrx(0): Not using default mode "320x240" (doublescan mode

not supported)

[   322.658] (II) fglrx(0): Not using default mode "400x300" (doublescan mode

not supported)

[   322.658] (II) fglrx(0): Not using default mode "400x300" (doublescan mode

not supported)

[   322.659] (II) fglrx(0): Not using default mode "512x384" (doublescan mode

not supported)

[   322.659] (II) fglrx(0): Not using default mode "640x480" (doublescan mode

not supported)

[   322.659] (II) fglrx(0): Not using default mode "640x512" (doublescan mode

not supported)

[   322.659] (II) fglrx(0): Not using default mode "800x600" (doublescan mode

not supported)

[   322.659] (II) fglrx(0): Not using default mode "896x672" (doublescan mode

not supported)

[   322.659] (II) fglrx(0): Not using default mode "928x696" (doublescan mode

not supported)

[   322.659] (II) fglrx(0): Not using default mode "960x720" (doublescan mode

not supported)

[   322.659] (II) fglrx(0): Not using default mode "700x525" (doublescan mode

not supported)

[   322.659] (II) fglrx(0): Not using default mode "1024x768" (doublescan mode

not supported)

[   322.659] (II) fglrx(0): Printing probed modes for output eDP1

[   322.659] (II) fglrx(0): Modeline "1920x1080"x60.0  152.54  1920 2010 2070

2226  1080 1086 1095 1142 +hsync -vsync (68.5 kHz eP)

[   322.659] (II) fglrx(0): Modeline "1920x1080"x40.0   96.27  1920 1973 2008

2158  1080 1083 1088 1115 +hsync -vsync (44.6 kHz e)

[   322.659] (II) fglrx(0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640

1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)

[   322.659] (II) fglrx(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440

1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)

[   322.659] (II) fglrx(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488

1800  960 961 964 1000 +hsync +vsync (60.0 kHz d)

[   322.659] (II) fglrx(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184

1344  768 771 777 806 -hsync -vsync (48.4 kHz d)

[   322.659] (II) fglrx(0): Modeline "800x600"x60.3   40.00  800 840 968 1056

600 601 605 628 +hsync +vsync (37.9 kHz d)

[   322.659] (II) fglrx(0): Modeline "800x600"x56.2   36.00  800 824 896 1024

600 601 603 625 +hsync +vsync (35.2 kHz d)

[   322.659] (II) fglrx(0): Modeline "640x480"x59.9   25.18  640 656 752 800

480 490 492 525 -hsync -vsync (31.5 kHz d)

[   322.675] (II) fglrx(0): EDID for output VGA1

[   322.675] (II) fglrx(0): EDID for output DP1

[   322.675] (II) fglrx(0): EDID for output HDMI1

[   322.675] (II) fglrx(0): EDID for output HDMI2

[   322.675] (II) fglrx(0): EDID for output DP2

[   322.675] (II) fglrx(0): EDID for output HDMI3

[   322.675] (II) fglrx(0): Output eDP1 connected

[   322.675] (II) fglrx(0): Output VGA1 disconnected

[   322.675] (II) fglrx(0): Output DP1 disconnected

[   322.675] (II) fglrx(0): Output HDMI1 disconnected

[   322.676] (II) fglrx(0): Output HDMI2 disconnected

[   322.676] (II) fglrx(0): Output DP2 disconnected

[   322.676] (II) fglrx(0): Output HDMI3 disconnected

[   322.676] (II) fglrx(0): Using exact sizes for initial modes

[   322.676] (II) fglrx(0): Output eDP1 using initial mode 1920x1080 +0+0

[   322.676] (II) fglrx(0): Using default gamma of (1.0, 1.0, 1.0) unless

otherwise stated.

[   322.676] (II) fglrx(0): Kernel page flipping support detected, enabling

[   322.676] (==) fglrx(0): DPI set to (96, 96)

[   322.676] (II) Loading sub module "fb"

[   322.676] (II) LoadModule: "fb"

[   322.676] (II) Loading /usr/lib64/xorg/modules/libfb.so

[   322.679] (II) Module fb: vendor="X.Org Foundation"

[   322.679]     compiled for 1.15.0, module version = 1.0.0

[   322.679]     ABI class: X.Org ANSI C Emulation, version 0.4

[   322.679] (II) Loading sub module "dri2"

[   322.679] (II) LoadModule: "dri2"

[   322.679] (II) Module "dri2" already built-in

[   322.679] (==) fglrx(0): Depth 24, (==) framebuffer bpp 32

[   322.679] (II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp

pixmaps)

[   322.679] (==) fglrx(0): Default visual is TrueColor

[   322.679] (**) fglrx(0): Option "DPMS" "true"

[   322.679] (**) fglrx(0): Option "ShadowFB" "off"

[   322.679] (==) fglrx(0): RGB weight 888

[   322.679] (II) fglrx(0): Using 8 bits per RGB

[   322.679] (==) fglrx(0): Buffer Tiling is ON

[   322.679] (II) Loading sub module "fglrxdrm"

[   322.679] (II) LoadModule: "fglrxdrm"

[   322.679] (II) Loading /usr/lib64/xorg/modules/linux/libfglrxdrm.so

[   322.679] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."

[   322.679]     compiled for 1.4.99.906, module version = 15.20.3

[   322.680] ukiDynamicMajor: found major device number 248

[   322.680] ukiDynamicMajor: found major device number 248

[   322.680] ukiOpenByBusid: Searching for BusID PCI:1:0:0

[   322.680] ukiOpenDevice: node name is /dev/ati/card0

[   322.680] ukiOpenDevice: open result is 19, (OK)

[   322.680] ukiOpenByBusid: ukiOpenMinor returns 19

[   322.680] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0

[   322.681] (**) fglrx(0): NoAccel = NO

[   322.681] (**) fglrx(0): AMD 2D Acceleration Architecture enabled

[   322.681] (--) fglrx(0): Chipset: "AMD Radeon(TM) HD8970M" (Chipset =

0x6801)

[   322.681] (--) fglrx(0): (PciSubVendor = 0x1558, PciSubDevice = 0x5106)

[   322.681] (==) fglrx(0): board vendor info: third party graphics adapter -

NOT original AMD

[   322.681] (--) fglrx(0): Linear framebuffer (phys) at 0xe0000000

[   322.681] (--) fglrx(0): MMIO registers at 0xf7b00000

[   322.681] (--) fglrx(0): I/O port at 0x0000e000

[   322.681] (==) fglrx(0): ROM-BIOS at 0x000c0000

[   322.681] (II) fglrx(0): AC Adapter is used

[   322.681] (II) fglrx(0): AMD Video BIOS revision 9 or later detected

[   322.681] (--) fglrx(0): Video RAM: 4194304 kByte, Type: GDDR5

[   322.681] (II) fglrx(0): PCIE card detected

[   322.681] (--) fglrx(0): Using per-process page tables (PPPT) as GART.

[   322.681] (WW) fglrx(0): board is an unknown third party board, chipset is

supported

[   322.688] (II) fglrx(0): [FB] MC range(MCFBBase = 0xf400000000, MCFBSize =

0x100000000)

[   322.688] (II) fglrx(0): RandR 1.2 support is enabled!

[   322.688] (II) fglrx(0): RandR 1.2 rotation support is enabled!

[   322.688] (II) Loading sub module "fb"

[   322.688] (II) LoadModule: "fb"

[   322.688] (II) Loading /usr/lib64/xorg/modules/libfb.so

[   322.688] (II) Module fb: vendor="X.Org Foundation"

[   322.688]     compiled for 1.15.0, module version = 1.0.0

[   322.688]     ABI class: X.Org ANSI C Emulation, version 0.4

[   322.688] (II) fglrx(0): EDID Management option: EDID Management is enabled

[   322.688] (II) Loading sub module "ddc"

[   322.688] (II) LoadModule: "ddc"

[   322.688] (II) Module "ddc" already built-in

[   322.703] (II) fglrx(0): Eyefinity capable adapter detected.

[   322.703] (II) fglrx(0): Adapter AMD Radeon(TM) HD8970M has 6 configurable

heads and 0 displays connected.

[   322.703] (==) fglrx(0):  PseudoColor visuals disabled

[   322.703] (II) Loading sub module "ramdac"

[   322.703] (II) LoadModule: "ramdac"

[   322.703] (II) Module "ramdac" already built-in

[   322.703] (==) fglrx(0): NoDRI = NO

[   322.703] (==) fglrx(0): Capabilities: 0x00000000

[   322.703] (==) fglrx(0): CapabilitiesEx: 0x00000000

[   322.703] (==) fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so"

[   322.703] (==) fglrx(0): UseFastTLS=0

[   322.703] (II) fglrx(0): TearFreeDesktop is not supported on PowerXpress

systems currently.

[   322.703] (--) Depth 24 pixmap format is 32 bpp

[   322.703] (II) LoadModule: "glesx"

[   322.703] (II) Loading /usr/lib64/xorg/modules/glesx.so

[   322.728] (II) Module glesx: vendor="X.Org Foundation"

[   322.728]     compiled for 1.4.99.906, module version = 1.0.0

[   322.729] Loading extension GLESX

[   322.730] (II) fglrx(0): Allocated new frame buffer 1920x1080 stride 7680,

untiled

[   322.732] (II) UXA(0): Driver registered support for the following

operations:

[   322.732] (II)         solid

[   322.732] (II)         copy

[   322.732] (II)         composite (RENDER acceleration)

[   322.732] (II)         put_image

[   322.732] (II)         get_image

[   322.732] (II) fglrx(0): [DRI2] Setup complete

[   322.732] (II) fglrx(0): [DRI2]   DRI driver: i965

[   322.732] (II) fglrx(0): [DRI2]   VDPAU driver: i965

[   322.732] (==) fglrx(0): Backing store enabled

[   322.732] (==) fglrx(0): Silken mouse enabled

[   322.732] (II) fglrx(0): Initializing HW Cursor

[   322.732] (II) fglrx(0): RandR 1.2 enabled, ignore the following RandR

disabled message.

[   322.732] (**) fglrx(0): DPMS enabled

[   322.732] (==) fglrx(0): Intel XvMC decoder enabled

[   322.732] (II) fglrx(0): Set up textured video

[   322.732] (II) fglrx(0): [XvMC] xvmc_vld driver initialized.

[   322.732] (II) fglrx(0): DRI2: Enabled

[   322.732] (II) fglrx(0): DRI3: Not available

[   322.732] (WW) fglrx(0): Option "Shadow" is not used

[   322.732] (WW) fglrx(0): Option "Tiling" is not used

[   322.732] (WW) fglrx(0): Option "LinearFramebuffer" is not used

[   322.732] (==) fglrx(0): hotplug detection: "enabled"

 

[   270.673] (WW) fglrx(0): drmSetMaster failed: Invalid argument

[   270.673] (EE)

Fatal server error:

[   270.673] (EE) AddScreen/ScreenInit failed for driver 0

[   270.673] (EE)

[   270.673] (EE)

 

{noformat}

</code>

</pre>

 

The above was the Xorg.0.log from after I rebuilt intel_drv.so with the patches to avoid coredump-ing on bad

device structure references:

 

$ cat /tmp/intel_drv.patch

$ diff -U2 xf86-video-intel-2.99.916/src/intel_device.c xf86-video-intel-2.99.916-no-core/src/intel_device.c

--- xf86-video-intel-2.99.916/src/intel_device.c        2014-08-31 11:47:52.000000000 +0100

+++ xf86-video-intel-2.99.916-no-core/src/intel_device.c        2015-08-29 20:58:33.231021923 +0100

@@ -724,7 +724,9 @@

int intel_get_master(ScrnInfoPtr scrn)

{

+  if(scrn == 0L) return -1;

        struct intel_device *dev = intel_device(scrn);

-       int ret;

-

+       int ret=-1;

+       if( dev == 0L )

+         return ret;

        assert(dev && dev->fd != -1);

 

@@ -746,8 +748,9 @@

 

int intel_put_master(ScrnInfoPtr scrn)

-{

+{  if(scrn == 0L) return -1;

        struct intel_device *dev = intel_device(scrn);

-       int ret;

-

+       int ret = -1;

+       if( dev == 0L )

+         return ret;

        assert(dev && dev->fd != -1);

 

@@ -764,7 +767,8 @@

 

void intel_put_device(ScrnInfoPtr scrn)

-{

+{  if(scrn == 0L) return ;

        struct intel_device *dev = intel_device(scrn);

-

+       if( dev == 0L )

+         return;

        assert(dev && dev->fd != -1);

 

 

 

 

Without the above patch to the current Oracle Linux 7.1 intel_drv.so , the problem is,

the X Server always coredumps during initialization trying to load the i915 intel_drv.so X Server display module :

<pre>

<code>

{noformat}

Loading extension GLESX

 

Program received signal SIGSEGV, Segmentation fault.

intel_get_device_id (scrn=<optimized out>) at intel_device.c:721

721 return __intel_get_device_id(dev->fd);

 

Thread 4 (Thread 0x7f4abb3fb700 (LWP 28373)):

#0 pthread_cond_wait@@GLIBC_2.3.2 () at

../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185

#1 0x00007f4abc6ba3d9 in __run__ (arg=0x7f4ac24b56f0) at sna_threads.c:70

#2 0x00007f4abea97df5 in start_thread (arg=0x7f4abb3fb700) at

pthread_create.c:308

#3 0x00007f4abf85c60d in clone () at

../sysdeps/unix/sysv/linux/x86_64/clone.S:113

 

Thread 3 (Thread 0x7f4abbbfc700 (LWP 28372)):

#0 pthread_cond_wait@@GLIBC_2.3.2 () at

../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185

#1 0x00007f4abc6ba3d9 in __run__ (arg=0x7f4ac24b5680) at sna_threads.c:70

#2 0x00007f4abea97df5 in start_thread (arg=0x7f4abbbfc700) at

pthread_create.c:308

#3 0x00007f4abf85c60d in clone () at

../sysdeps/unix/sysv/linux/x86_64/clone.S:113

 

Thread 2 (Thread 0x7f4abc3fd700 (LWP 28371)):

#0 pthread_cond_wait@@GLIBC_2.3.2 () at

../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185

#1 0x00007f4abc6ba3d9 in __run__ (arg=0x7f4ac24b5610) at sna_threads.c:70

#2 0x00007f4abea97df5 in start_thread (arg=0x7f4abc3fd700) at

pthread_create.c:308

#3 0x00007f4abf85c60d in clone () at

../sysdeps/unix/sysv/linux/x86_64/clone.S:113

 

Thread 1 (Thread 0x7f4ac1d77980 (LWP 28366)):

#0 intel_get_device_id (scrn=<optimized out>) at intel_device.c:721

#1 0x00007f4abc6fde02 in gen7_render_init (sna=sna@entry=0x7f4abab6e000,

backend=backend@entry=0x7f4abc755200 "generic")

  at gen7_render.c:3888

#2 0x00007f4abc652477 in sna_accel_init (screen=screen@entry=0x7f4ac260b700,

sna=sna@entry=0x7f4abab6e000) at sna_accel.c:17751

#3 0x00007f4abc68550a in sna_screen_init (screen=0x7f4ac260b700,

argc=<optimized out>, argv=<optimized out>) at sna_driver.c:1115

#4 0x00007f4abd598756 in xdl_xs115_atiddxPxScreenInit () from

/usr/lib64/xorg/modules/drivers/fglrx_drv.so

#5 0x00007f4abd574d73 in xdl_xs115_atiddxScreenInit () from

/usr/lib64/xorg/modules/drivers/fglrx_drv.so

#6 0x00007f4ac1dfb981 in AddScreen (pfnInit=0x7f4abd573a60

<xdl_xs115_atiddxScreenInit>, argc=argc@entry=3,

  argv=argv@entry=0x7ffee1cfcdd8) at dispatch.c:3826

#7 0x00007f4ac1e3da21 in InitOutput

(pScreenInfo=pScreenInfo@entry=0x7f4ac21ede40 <screenInfo>, argc=argc@entry=3,

  argv=argv@entry=0x7ffee1cfcdd8) at xf86Init.c:896

#8 0x00007f4ac1dff46b in dix_main (argc=3, argv=0x7ffee1cfcdd8,

envp=<optimized out>) at main.c:200

#9 0x00007f4abf787af5 in __libc_start_main (main=0x7f4ac1de9b70 <main>,

argc=3, ubp_av=0x7ffee1cfcdd8, init=<optimized out>,

  fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffee1cfcdc8)

at libc-start.c:274

#10 0x00007f4ac1de9ba1 in _start ()

Missing separate debuginfos, use: debuginfo-install

audit-libs-2.4.1-5.el7.x86_64 freetype-2.4.11-10.el7_1.1.x86_64

libdrm-2.4.56-2.el7.x86_64 libfontenc-1.1.1-5.el7.x86_64

libgcc-4.8.3-9.el7.x86_64 libstdc++-4.8.3-9.el7.x86_64 mtdev-1.1.3-4.el7.x86_64

pcre-8.32-14.el7.x86_64 xorg-x11-drv-evdev-2.8.2-5.el7.x86_64

xz-libs-5.1.2-9alpha.el7.x86_64 zlib-1.2.7-13.el7.x86_64

{noformat}

</code>

</pre>

 

 

Any ideas how to resolve ?

 

Why would the fglrx driver need to load the intel_drv.so driver ?

 

 

I believe it might be something to do with the EDID now being unrecognized by the driver :

[   322.658] (II) fglrx(0):  VCM8XN156HG

[   322.658] (II) fglrx(0): Unknown vendor-specific block 0

[   322.658] (II) fglrx(0): EDID (in hex):

[   322.658] (II) fglrx(0):     00ffffffffffff000daeb11500000000

 

So fglrx somehow gives up and thinks this is an "unsupported card" and then tries to load the "intel_drv" i915 driver ?

It is possible to install a custom EDID firmware object on Linux . Anyone know what such an object should look like for this card ?

 

Might it be something to do with the fact that somehow the Intel libdrm module is being loaded ?

I am seeing kernel messages like:

[drm:intel_dp_set_link_train] *ERROR* Timed out waiting for DP idle patterns

[drm:i915_write32] *ERROR* Unknown unclaimed register before writing to 64040

What is deciding to load the libdrm_intel.so.1 when the libdrm_radeon.so.1 is installed ?

Outcomes