Intel Graphics и KDE4

FreeBSD и прочие в роли десктопа.
Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
logout_90
мл. сержант
Сообщения: 72
Зарегистрирован: 2014-01-27 5:36:26

Intel Graphics и KDE4

Непрочитанное сообщение logout_90 » 2015-05-17 0:35:59

Доброго времени суток!

Есть десктоп, на котором установлен KDE4 (пишу с этого десктопа). На десктопе встроенная графика Intel, однако не получается использовать драйвер отличный от vesa. Полагаю, что это связано с тем, что фря не видит вендора видеокарты:

Код: Выделить всё

 dmesg|grep vga
vgapci0: <VGA-compatible display> port 0xf000-0xf03f mem 0xf7800000-0xf7bfffff,0xe0000000-0xefffffff irq 16 at device 2.0 on pci0
vgapci0: Boot video device
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
В логах ругань на то, что Xorg не может задетектить устройство:

Код: Выделить всё

[    84.158] 
X.Org X Server 1.14.7
Release Date: 2014-06-05
[    84.158] X Protocol Version 11, Revision 0
[    84.158] Build Operating System: FreeBSD 10.1-RELEASE amd64 
[    84.158] Current Operating System: FreeBSD PC01.home.local 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
[    84.158] Build Date: 16 May 2015  11:08:19PM
[    84.158]  
[    84.158] Current version of pixman: 0.32.6
[    84.158]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    84.158] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    84.159] (==) Log file: "/var/log/Xorg.0.log", Time: Sun May 17 00:06:13 2015
[    84.165] (==) Using config file: "/etc/X11/xorg.conf"
[    84.176] (==) ServerLayout "X.org Configured"
[    84.176] (**) |-->Screen "Screen0" (0)
[    84.176] (**) |   |-->Monitor "VGA1"
[    84.176] (**) |   |-->Device "VGA"
[    84.176] (**) |-->Input Device "Mouse0"
[    84.176] (**) |-->Input Device "Keyboard0"                                                                      
[    84.176] (==) Automatically adding devices                                                                      
[    84.176] (==) Automatically enabling devices                                                                    
[    84.176] (==) Not automatically adding GPU devices                                                              
[    84.263] (**) FontPath set to:                                                                                  
        /usr/local/share/fonts/misc/,                                                                               
        /usr/local/share/fonts/TTF/,                                                                                
        /usr/local/share/fonts/OTF/,                                                                                
        /usr/local/share/fonts/Type1/,                                                                              
        /usr/local/share/fonts/100dpi/,                                                                             
        /usr/local/share/fonts/75dpi/,                                                                              
        /usr/local/share/fonts/misc/,                                                                               
        /usr/local/share/fonts/TTF/,                                                                                
        /usr/local/share/fonts/OTF/,                                                                                
        /usr/local/share/fonts/Type1/,                                                                              
        /usr/local/share/fonts/100dpi/,                                                                             
        /usr/local/share/fonts/75dpi/                                                                               
[    84.264] (**) ModulePath set to "/usr/local/lib/xorg/modules"                                                   
[    84.264] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.            
[    84.264] (WW) Disabling Mouse0                                                                                  
[    84.264] (WW) Disabling Keyboard0                                                                               
[    84.264] (II) Loader magic: 0x7fc050                                                                            
[    84.264] (II) Module ABI versions:                                                                              
[    84.264]    X.Org ANSI C Emulation: 0.4                                                                         
[    84.264]    X.Org Video Driver: 14.1                                                                            
[    84.264]    X.Org XInput driver : 19.1                                                                          
[    84.264]    X.Org Server Extension : 7.0                                                                        
[    84.264] (--) PCI:*(0:0:2:0) 8086:0412:1043:8534 rev 6, Mem @ 0xf7800000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/65536                                                                                
[    84.264] Initializing built-in extension Generic Event Extension                                                
[    84.264] Initializing built-in extension SHAPE                                                                  
[    84.264] Initializing built-in extension MIT-SHM                                                                
[    84.264] Initializing built-in extension XInputExtension                                                        
[    84.264] Initializing built-in extension XTEST                                                                  
[    84.264] Initializing built-in extension BIG-REQUESTS                                                           
[    84.264] Initializing built-in extension SYNC
[    84.264] Initializing built-in extension XKEYBOARD
[    84.264] Initializing built-in extension XC-MISC
[    84.264] Initializing built-in extension XINERAMA
[    84.264] Initializing built-in extension XFIXES
[    84.264] Initializing built-in extension RENDER
[    84.264] Initializing built-in extension RANDR
[    84.264] Initializing built-in extension COMPOSITE
[    84.264] Initializing built-in extension DAMAGE
[    84.264] Initializing built-in extension MIT-SCREEN-SAVER
[    84.264] Initializing built-in extension DOUBLE-BUFFER
[    84.264] Initializing built-in extension RECORD
[    84.264] Initializing built-in extension DPMS
[    84.264] Initializing built-in extension X-Resource
[    84.264] Initializing built-in extension XVideo
[    84.264] Initializing built-in extension XVideo-MotionCompensation
[    84.264] Initializing built-in extension XFree86-VidModeExtension
[    84.264] Initializing built-in extension XFree86-DGA
[    84.264] Initializing built-in extension XFree86-DRI
[    84.264] Initializing built-in extension DRI2
[    84.264] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    84.264] (II) LoadModule: "glx"
[    84.292] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    84.300] (II) Module glx: vendor="X.Org Foundation"
[    84.300]    compiled for 1.14.7, module version = 1.0.0
[    84.300]    ABI class: X.Org Server Extension, version 7.0
[    84.300] (==) AIGLX enabled
[    84.300] Loading extension GLX
[    84.300] (II) LoadModule: "intel"
[    84.301] (II) Loading /usr/local/lib/xorg/modules/drivers/intel_drv.so
[    84.317] (II) Module intel: vendor="X.Org Foundation"
[    84.317]    compiled for 1.14.7, module version = 2.21.15
[    84.317]    Module class: X.Org Video Driver
[    84.317]    ABI class: X.Org Video Driver, version 14.1
[    84.317] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43, HD Graphics,
        HD Graphics 2000, HD Graphics 3000, HD Graphics 2500,
        HD Graphics 4000, HD Graphics P4000, HD Graphics 4600,
        HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100,
        HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200
[    84.318] (--) Using syscons driver with X support (version 2.0)
[    84.318] (--) using VT number 9

[    84.621] (EE) No devices detected.
[    84.621] (EE) 
Fatal server error:
[    84.621] (EE) no screens found(EE) 
[    84.621] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[    84.621] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    84.621] (EE) 
[    84.622] (EE) Server terminated with error (1). Closing log file.
Вот конфиг xorg.conf:

Код: Выделить всё

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen         "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/share/fonts/misc/"
        FontPath     "/usr/local/share/fonts/TTF/"
        FontPath     "/usr/local/share/fonts/OTF/"
        FontPath     "/usr/local/share/fonts/Type1/"
        FontPath     "/usr/local/share/fonts/100dpi/"
        FontPath     "/usr/local/share/fonts/75dpi/"
EndSection

Section "Module"
        Load  "glx"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/sysmouse"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "VGA1"
        VendorName   "Samsung"
        ModelName    "S22D390Q"
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     "XvMC"                      # [<bool>]
        #Option     "ZaphodHeads"               # <str>
        #Option     "TearFree"                  # [<bool>]
        #Option     "PerCrtcPixmaps"            # [<bool>]
        #Option     "FallbackDebug"             # [<bool>]
        #Option     "DebugFlushBatches"         # [<bool>]
        #Option     "DebugFlushCaches"          # [<bool>]
        #Option     "DebugWait"                 # [<bool>]
        #Option     "BufferCache"               # [<bool>]
        Identifier  "VGA"
        Driver      "intel"
        BusID       "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "VGA"
        Monitor    "VGA1"
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes "1920x1080"
        EndSubSection
EndSection

Пробовал и без этого файла, автодетектом, к сожалению, Xorg подгружает только vesa драйвер и никак не хочет использовать intel.
Буду благодарен за помощь советом.

Отправлено спустя 13 минут 31 секунду:
ЗЫ
Вот вывод pciconf в части "про видео" :

Код: Выделить всё

vgapci0@pci0:0:2:0:     class=0x030000 card=0x85341043 chip=0x04128086 rev=0x06 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Haswell Integrated Graphics Controller'
    class      = display
    subclass   = VGA

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
f_andrey
майор
Сообщения: 2651
Зарегистрирован: 2007-12-26 1:22:58
Откуда: СПб
Контактная информация:

Intel Graphics и KDE4

Непрочитанное сообщение f_andrey » 2015-05-17 1:45:27

logout_90 писал(а): Haswell
Not supported https://wiki.freebsd.org/Graphics
Так что только VESA, перспективы к сожалению пока не радужны, добровольцев на это Г... минимум :(
Если ваша тема перенесена, то смотри http://forum.lissyara.su/viewtopic.php?f=1&t=32308

logout_90
мл. сержант
Сообщения: 72
Зарегистрирован: 2014-01-27 5:36:26

Intel Graphics и KDE4

Непрочитанное сообщение logout_90 » 2015-05-17 8:18:14

Однако... Очень жаль. Придется договариваться с собственной жабой о покупке видюхи )))
Спасибо за оперативный ответ! ))

icb
лейтенант
Сообщения: 751
Зарегистрирован: 2008-07-15 16:11:11

Intel Graphics и KDE4

Непрочитанное сообщение icb » 2015-05-17 10:08:41

Ужас, а я ведь только собрался перейти на FreeBSD :(
Без поддержки встроенной графики от Intel десктопы на FreeBSD опять канут в Лету :(
А ведь так не хочется использовать Linux.

logout_90
мл. сержант
Сообщения: 72
Зарегистрирован: 2014-01-27 5:36:26

Intel Graphics и KDE4

Непрочитанное сообщение logout_90 » 2015-05-17 10:11:17

f_andrey писал(а): Not supported https://wiki.freebsd.org/Graphics
В соответствии с этой ссылкой, не поддреживаеся только Haswell архитектура. То есть, если у вас не i7 4ххх серии как у меня, то графика заведется и будет работать норм.

ev
ст. лейтенант
Сообщения: 1325
Зарегистрирован: 2008-07-27 17:11:30
Откуда: Москва

Intel Graphics и KDE4

Непрочитанное сообщение ev » 2015-05-17 10:47:27

знакомый собирался всю организацию перевести на freebsd и они даже закупили новые компы (разумеется там haswell)
вот облом... а там уже ждут юникс... видать еще одна организация получит linux вместо freebsd :(