How to setup independent screens with the Intel driver?
Boszormenyi Zoltan
zboszor at pr.hu
Fri Oct 30 09:46:51 PDT 2015
2015-10-30 17:36 keltezéssel, Chris Wilson írta:
> On Fri, Oct 30, 2015 at 04:58:49PM +0100, Boszormenyi Zoltan wrote:
>> Section "Device"
>> Identifier "Intel0"
>> Driver "intel"
>> BusID "PCI:0:2:0"
>> Screen 0
>> Option "AccelMethod" "sna"
>> Option "Monitor-LVDS1" "LVDS1"
> Option "ZaphodHeads" "LVDS1"
>
>> Option "TearFree" "on"
>> EndSection
>>
>> Section "Device"
>> Identifier "Intel1"
>> Driver "intel"
>> BusID "PCI:0:2:0"
>> Screen 1
>> Option "AccelMethod" "sna"
>> Option "Monitor-VGA1" "VGA1"
> Option "ZaphodHeads" "VGA1"
>
>> Option "TearFree" "on"
>> EndSection
> -Chris
I tried adding the ZaphodHeads option to the device sections before.
It didn't work. The driver throws an error:
[3114226.306] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20150522
[3114226.307] (II) intel(1): Using Kernel Mode Setting driver: i915, version 1.6.0 20150522
[3114226.307] (--) intel(0): Integrated Graphics Chipset: Intel(R) Pineview G
[3114226.308] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3; using a maximum of 2 threads
[3114226.308] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[3114226.308] (==) intel(0): RGB weight 888
[3114226.308] (==) intel(0): Default visual is TrueColor
[3114226.308] (**) intel(0): Option "AccelMethod" "sna"
[3114226.308] (**) intel(0): Option "ZaphodHeads" "LVDS1"
[3114226.308] (**) intel(0): Option "TearFree" "on"
[3114226.309] (EE) intel(0): LVDS1 is an invalid output for screen (pipe) 0
[3114226.309] (EE) intel(0): No outputs and no modes.
[3114226.310] (EE) intel(1): Failed to claim DRM device.
[3114226.310] (II) UnloadModule: "intel"
[3114226.310] (II) UnloadModule: "intel"
[3114226.310] (EE) Screen(s) found, but none have a usable configuration.
[3114226.310] (EE)
Fatal server error:
[3114226.310] (EE) no screens found(EE)
[3114226.310] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[3114226.310] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional
information.
[3114226.310] (EE)
[3114226.320] (EE) Server terminated with error (1). Closing log file.
Attached is the modified xorg.conf file and the Xorg log.
-------------- next part --------------
Section "Monitor"
Identifier "Monitor-LVDS1"
EndSection
Section "Monitor"
Identifier "Monitor-VGA1"
#Option "RightOf" "Monitor-LVDS1"
EndSection
Section "Device"
Identifier "Intel0"
Driver "intel"
BusID "PCI:0:2:0"
Screen 0
Option "AccelMethod" "sna"
Option "Monitor-LVDS1" "LVDS1"
Option "ZaphodHeads" "LVDS1"
Option "TearFree" "on"
EndSection
Section "Device"
Identifier "Intel1"
Driver "intel"
BusID "PCI:0:2:0"
Screen 1
Option "AccelMethod" "sna"
Option "Monitor-VGA1" "VGA1"
Option "ZaphodHeads" "VGA1"
Option "TearFree" "on"
EndSection
Section "Screen"
Identifier "SCREEN0"
Option "AutoServerLayout" "on"
Device "Intel0"
Monitor "Monitor-LVDS1"
SubSection "Display"
Viewport 0 0
Modes "1024x768"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "SCREEN1"
Option "AutoServerLayout" "on"
Device "Intel1"
Monitor "Monitor-VGA1"
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "ServerLayout"
Identifier "LAYOUT"
Option "AutoServerLayout" "on"
Screen 0 "SCREEN0"
Screen 1 "SCREEN1"
EndSection
-------------- next part --------------
[3114472.281]
X.Org X Server 1.16.4
Release Date: 2014-12-20
[3114472.281] X Protocol Version 11, Revision 0
[3114472.281] Build Operating System: Linux 3.10.0-229.4.2.el7.x86_64 x86_64
[3114472.281] Current Operating System: Linux localhost 4.2.3 #1 SMP Mon Oct 19 06:55:09 EDT 2015 x86_64
[3114472.281] Kernel command line: BOOT_IMAGE=/bzImage root=UUID=b2cccbac-2717-4fcb-ae65-15189e087778 ro quiet LANG=en.US.UTF-8
[3114472.281] Build Date: 26 October 2015 09:25:42AM
[3114472.281]
[3114472.281] Current version of pixman: 0.32.6
[3114472.281] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[3114472.281] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[3114472.282] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Oct 30 12:44:43 2015
[3114472.282] (==) Using config directory: "/etc/X11/xorg.conf.d"
[3114472.282] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[3114472.283] (==) ServerLayout "LAYOUT"
[3114472.283] (**) |-->Screen "SCREEN0" (0)
[3114472.283] (**) | |-->Monitor "Monitor-LVDS1"
[3114472.283] (**) | |-->Device "Intel0"
[3114472.283] (**) |-->Screen "SCREEN1" (1)
[3114472.283] (**) | |-->Monitor "Monitor-VGA1"
[3114472.284] (**) | |-->Device "Intel1"
[3114472.284] (**) |-->Input Device "TOUCHSCREEN"
[3114472.284] (==) Automatically adding devices
[3114472.284] (==) Automatically enabling devices
[3114472.284] (==) Automatically adding GPU devices
[3114472.284] (WW) The directory "/usr/share/fonts/X11/misc/" does not exist.
[3114472.284] Entry deleted from font path.
[3114472.284] (WW) The directory "/usr/share/fonts/X11/TTF/" does not exist.
[3114472.284] Entry deleted from font path.
[3114472.284] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.
[3114472.284] Entry deleted from font path.
[3114472.284] (WW) The directory "/usr/share/fonts/X11/Type1/" does not exist.
[3114472.284] Entry deleted from font path.
[3114472.284] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[3114472.284] Entry deleted from font path.
[3114472.284] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[3114472.284] Entry deleted from font path.
[3114472.284] (==) FontPath set to:
[3114472.284] (==) ModulePath set to "/usr/lib/xorg/modules"
[3114472.285] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[3114472.285] (II) Loader magic: 0x60a020
[3114472.285] (II) Module ABI versions:
[3114472.285] X.Org ANSI C Emulation: 0.4
[3114472.285] X.Org Video Driver: 18.0
[3114472.285] X.Org XInput driver : 21.0
[3114472.285] X.Org Server Extension : 8.0
[3114472.288] (EE) systemd-logind: failed to get session: PID 15572 does not belong to any known session
[3114472.288] (II) xfree86: Adding drm device (/dev/dri/card0)
[3114472.292] (--) PCI:*(0:0:2:0) 8086:a001:8086:a001 rev 2, Mem @ 0xfe980000/524288, 0xd0000000/268435456, 0xfea00000/1048576, I/O @ 0x0000dc00/8
[3114472.292] (--) PCI: (0:0:2:1) 8086:a002:8086:a001 rev 2, Mem @ 0xfeb00000/524288
[3114472.292] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[3114472.292] (II) LoadModule: "glx"
[3114472.293] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[3114472.300] (II) Module glx: vendor="X.Org Foundation"
[3114472.300] compiled for 1.16.4, module version = 1.0.0
[3114472.300] ABI class: X.Org Server Extension, version 8.0
[3114472.300] (==) AIGLX enabled
[3114472.300] (II) LoadModule: "intel"
[3114472.301] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[3114472.302] (II) Module intel: vendor="X.Org Foundation"
[3114472.302] compiled for 1.16.4, module version = 2.99.917
[3114472.302] Module class: X.Org Video Driver
[3114472.302] ABI class: X.Org Video Driver, version 18.0
[3114472.302] (II) LoadModule: "eetiegalax"
[3114472.302] (II) Loading /usr/lib/xorg/modules/input/eetiegalax_drv.so
[3114472.302] (II) Module eetiegalax: vendor="X.Org Foundation"
[3114472.302] compiled for 1.16.4, module version = 0.3.0
[3114472.302] Module class: X.Org XInput Driver
[3114472.302] ABI class: X.Org XInput driver, version 21.0
[3114472.302] (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
[3114472.304] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[3114472.304] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[3114472.304] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[3114472.304] (++) using VT number 1
[3114472.304] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20150522
[3114472.305] (II) intel(1): Using Kernel Mode Setting driver: i915, version 1.6.0 20150522
[3114472.305] (--) intel(0): Integrated Graphics Chipset: Intel(R) Pineview G
[3114472.306] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3; using a maximum of 2 threads
[3114472.306] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[3114472.306] (==) intel(0): RGB weight 888
[3114472.306] (==) intel(0): Default visual is TrueColor
[3114472.306] (**) intel(0): Option "AccelMethod" "sna"
[3114472.306] (**) intel(0): Option "ZaphodHeads" "LVDS1"
[3114472.306] (**) intel(0): Option "TearFree" "on"
[3114472.307] (EE) intel(0): LVDS1 is an invalid output for screen (pipe) 0
[3114472.307] (EE) intel(0): No outputs and no modes.
[3114472.307] (EE) intel(1): Failed to claim DRM device.
[3114472.308] (II) UnloadModule: "intel"
[3114472.308] (II) UnloadModule: "intel"
[3114472.308] (EE) Screen(s) found, but none have a usable configuration.
[3114472.308] (EE)
Fatal server error:
[3114472.308] (EE) no screens found(EE)
[3114472.308] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[3114472.308] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[3114472.308] (EE)
[3114472.319] (EE) Server terminated with error (1). Closing log file.
More information about the xorg
mailing list