Нашел, что сия видеокарта поддерживается проприетарными дровами.
Итак, прописал в make.conf
Код: Выделить всё
VIDEO_CARDS="fglrx intel"
Затем, как написано в https://wiki.gentoo.org/wiki/Fglrx настроил ядро (4.0.5):
Код: Выделить всё
$ grep MTRR .config
CONFIG_MTRR=y
# CONFIG_MTRR_SANITIZER is not set
$ grep MSI .config
CONFIG_GENERIC_MSI_IRQ=y
CONFIG_X86_UP_APIC_MSI=y
CONFIG_PCI_MSI=y
# CONFIG_MSI_LAPTOP is not set
$ grep -i "frame buffer" .config
# Frame buffer Devices
# Frame buffer hardware drivers
$ grep XFree86 .config
$ $ grep -i "GART" .config
# CONFIG_GART_IOMMU is not set
Подтянул пакет ati-drivers, собрал, в eselect новые ядро и вывод opengl. пакет x11-drivers/xf86-video-intel пересобрал с опциями "uxa -sna", как сказано в мане,
Затем указал
# aticonfig --initial --input=/etc/X11/xorg.conf
Перезагрузился в новое ядро с новым конфигом xorg, иксы не стартуют. Если вернуть старый конфиг иксов, грузится все как прежде, только видео не работает (eselect opengl обратно на xorg-x11 не помогает).
Вот Xorg.0.log от загрузки с fglrx:
Код: Выделить всё
X.Org X Server 1.16.4
Release Date: 2014-12-20
[ 16.545] X Protocol Version 11, Revision 0
[ 16.545] Build Operating System: Linux 4.0.5-gentoo x86_64 Gentoo
[ 16.545] Current Operating System: Linux DragonReborn 4.0.5-gentoo #2 SMP Wed Jul 15 16:33:32 MSK 2015 x86_64
[ 16.545] Kernel command line: BOOT_IMAGE=/boot/kernel-4.0.5-gentoo root=/dev/sda5 ro
[ 16.545] Build Date: 15 July 2015 04:20:55PM
[ 16.545]
[ 16.545] Current version of pixman: 0.32.6
[ 16.545] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 16.545] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 16.545] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul 15 16:38:51 2015
[ 16.580] (==) Using config file: "/etc/X11/xorg.conf"
[ 16.580] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 16.580] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 16.615] (==) ServerLayout "X.org Configured"
[ 16.615] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[ 16.615] (**) | |-->Monitor "aticonfig-Monitor[0]-0"
[ 16.625] (**) | |-->Device "aticonfig-Device[0]-0"
[ 16.625] (**) |-->Input Device "Mouse0"
[ 16.625] (**) |-->Input Device "Keyboard0"
[ 16.625] (==) Automatically adding devices
[ 16.625] (==) Automatically enabling devices
[ 16.625] (==) Automatically adding GPU devices
[ 16.912] (**) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/,
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 16.912] (**) ModulePath set to "/usr/lib64/xorg/modules"
[ 16.912] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 16.912] (WW) Disabling Mouse0
[ 16.912] (WW) Disabling Keyboard0
[ 16.912] (II) Loader magic: 0x804c60
[ 16.912] (II) Module ABI versions:
[ 16.912] X.Org ANSI C Emulation: 0.4
[ 16.912] X.Org Video Driver: 18.0
[ 16.912] X.Org XInput driver : 21.0
[ 16.912] X.Org Server Extension : 8.0
[ 16.912] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 16.913] (--) PCI:*(0:0:2:0) 8086:0a16:103c:2249 rev 11, Mem @ 0xd0000000/4194304, 0xc0000000/268435456, I/O @ 0x00008000/64
[ 16.913] (--) PCI: (0:10:0:0) 1002:6901:103c:224a rev 0, Mem @ 0xa0000000/268435456, 0xb0000000/2097152, 0xd0400000/262144, I/O @ 0x00003000/256, BIOS @ 0x????????/131072
[ 16.920] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 16.920] (II) LoadModule: "glx"
[ 17.171] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 17.183] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[ 17.183] compiled for 6.9.0, module version = 1.0.0
[ 17.183] (II) LoadModule: "fglrx"
[ 17.183] (II) Loading /usr/lib64/xorg/modules/drivers/fglrx_drv.so
[ 17.782] (II) Module fglrx: vendor="FireGL - AMD Technologies Inc."
[ 17.782] compiled for 1.4.99.906, module version = 14.50.2
[ 17.782] Module class: X.Org Video Driver
[ 17.790] (II) Loading sub module "fglrxdrm"
[ 17.790] (II) LoadModule: "fglrxdrm"
[ 17.790] (II) Loading /usr/lib64/xorg/modules/linux/libfglrxdrm.so
[ 17.817] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[ 17.817] compiled for 1.4.99.906, module version = 14.50.2
[ 17.817] (II) AMD Proprietary Linux Driver Version Identifier:14.50.2
[ 17.817] (II) AMD Proprietary Linux Driver Release Identifier: 14.501.1003
[ 17.817] (II) AMD Proprietary Linux Driver Build Date: Nov 20 2014 21:22:54
[ 17.817] (++) using VT number 7
[ 17.822] (WW) Falling back to old probe method for fglrx
[ 17.931] (II) Loading PCS database from /etc/ati/amdpcsdb /etc/ati/amdpcsdb.default
[ 17.945] ukiDynamicMajor: failed to open /proc/ati/major
[ 17.945] ukiDynamicMajor: failed to open /proc/ati/major
[ 17.947] (--) Chipset Supported AMD Graphics Processor (0x6901) found
[ 17.948] (II) fglrx(0): pEnt->device->identifier=0x1991c80
[ 17.948] (II) fglrx(0): === [xdl_xs116_atiddxPreInit] === begin
[ 17.948] (II) fglrx(0): FB driver is enabled
[ 17.956] (**) fglrx(0): Depth 24, (--) framebuffer bpp 32
[ 17.956] (II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[ 17.956] (==) fglrx(0): Default visual is TrueColor
[ 17.956] (**) fglrx(0): Option "DPMS" "true"
[ 17.956] (==) fglrx(0): RGB weight 888
[ 17.956] (II) fglrx(0): Using 8 bits per RGB
[ 17.956] (==) fglrx(0): Buffer Tiling is ON
[ 17.956] (II) Loading sub module "fglrxdrm"
[ 17.956] (II) LoadModule: "fglrxdrm"
[ 17.956] (II) Loading /usr/lib64/xorg/modules/linux/libfglrxdrm.so
[ 17.956] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[ 17.956] compiled for 1.4.99.906, module version = 14.50.2
[ 17.958] ukiDynamicMajor: failed to open /proc/ati/major
[ 17.958] ukiDynamicMajor: failed to open /proc/ati/major
[ 17.958] (**) fglrx(0): NoAccel = NO
[ 17.958] (**) fglrx(0): AMD 2D Acceleration Architecture enabled
[ 17.958] (--) fglrx(0): Chipset: "AMD Radeon R5 M255 " (Chipset = 0x6901)
[ 17.958] (--) fglrx(0): (PciSubVendor = 0x103c, PciSubDevice = 0x224a)
[ 17.958] (==) fglrx(0): board vendor info: third party graphics adapter - NOT original AMD
[ 17.958] (--) fglrx(0): Linear framebuffer (phys) at 0xa0000000
[ 17.958] (--) fglrx(0): MMIO registers at 0xd0400000
[ 17.958] (--) fglrx(0): I/O port at 0x00003000
[ 17.958] (==) fglrx(0): ROM-BIOS at 0x000c0000
[ 17.976] (II) fglrx(0): Invalid ATI BIOS from int10, the adapter is not VGA-enabled
[ 17.976] (EE) fglrx(0): Invalid video BIOS signature!
[ 17.976] (EE) fglrx(0): GetBIOSParameter failed
[ 17.976] (EE) fglrx(0): PreInitAdapter failed
[ 17.976] (EE) fglrx(0): PreInit failed
[ 17.976] (II) fglrx(0): === [xdl_xs116_atiddxPreInit] === end
[ 17.979] (II) UnloadModule: "fglrx"
[ 17.979] (II) UnloadSubModule: "fglrxdrm"
[ 17.979] (II) Unloading fglrxdrm
[ 17.979] (II) UnloadSubModule: "fglrxdrm"
[ 17.979] (EE) Screen(s) found, but none have a usable configuration.
[ 17.979] (EE)
Fatal server error:
[ 17.979] (EE) no screens found(EE)
[ 17.979] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 17.979] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 17.979] (EE)
[ 17.991] (EE) Server terminated with error (1). Closing log file.
Старый xorg.conf:
Код: Выделить всё
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
# Option "XkbLayout" "us,ru"
# Option "XkbOptions" "grp:caps_toggle,compose:ralt"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
# Section "Input Class"
# Identifier "Touchpad"
# Driver "synaptics"
# MatchIsTouchpad "on"
# MatchDevicePath "/dev/input/event*"
# Option "TapButton1" "1"
# Option "TapButton2" "2"
# Option "TapButton3" "3"
# EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "AccelMethod" # <str>
#Option "Backlight" # <str>
#Option "DRI" # <str>
#Option "ColorKey" # <i>
#Option "VideoKey" # <i>
#Option "Tiling" # [<bool>]
#Option "LinearFramebuffer" # [<bool>]
#Option "SwapbuffersWait" # [<bool>]
#Option "TripleBuffer" # [<bool>]
#Option "XvPreferOverlay" # [<bool>]
#Option "HotPlug" # [<bool>]
#Option "ReprobeOutputs" # [<bool>]
#Option "ZaphodHeads" # <str>
#Option "TearFree" # [<bool>]
#Option "PerCrtcPixmaps" # [<bool>]
Identifier "Card0"
Driver "intel"
BusID "PCI:0:2:0"
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
...и тот, что нагенерил aticonfig:
Код: Выделить всё
# Section "Input Class"
# Identifier "Touchpad"
# Driver "synaptics"
# MatchIsTouchpad "on"
# MatchDevicePath "/dev/input/event*"
# Option "TapButton1" "1"
# Option "TapButton2" "2"
# Option "TapButton3" "3"
# EndSection
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "aticonfig-Screen[0]-0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
# Option "XkbLayout" "us,ru"
# Option "XkbOptions" "grp:caps_toggle,compose:ralt"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "AccelMethod" # <str>
#Option "Backlight" # <str>
#Option "DRI" # <str>
#Option "ColorKey" # <i>
#Option "VideoKey" # <i>
#Option "Tiling" # [<bool>]
#Option "LinearFramebuffer" # [<bool>]
#Option "SwapbuffersWait" # [<bool>]
#Option "TripleBuffer" # [<bool>]
#Option "XvPreferOverlay" # [<bool>]
#Option "HotPlug" # [<bool>]
#Option "ReprobeOutputs" # [<bool>]
#Option "ZaphodHeads" # <str>
#Option "TearFree" # [<bool>]
#Option "PerCrtcPixmaps" # [<bool>]
Identifier "Card0"
Driver "intel"
BusID "PCI:0:2:0"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:10:0:0"
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 "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Собственно, где ошибка и как заставить работать fglrx? Или хотя бы вернуть отображение видео при работе в intel?