26-05-2019, 21:05
(Ten post był ostatnio modyfikowany: 26-05-2019, 21:37 przez ciastek1981.
Powód edycji: Uzupełnienie wpisu i korekta treści.
)
0
Miętuski, macie jakieś sugestie co do umiejscowienia pliku 20-intel.conf
Zakładamy, że mamy identyczny plik konfiguracyjny (tak wiem sterownik modesetting jest preferowany):
No i mamy log dla /etc/X11/xorg.conf.d/20-intel.conf
oraz dla /usr/share/X11/xorg.conf.d/20-intel.conf
Teraz tak, mamy sobie takie info z WIKI Debiana o "konfiguracji dostawcy systemu"
No i z drugiej mańki mamy to, że /etc/ to pliki konfiguracyjne systemu, a /usr/ to ustawienia użytkowników. Z tym, że z tego co czytam tu i tu, to są ustawienia dostawcy systemu, których nie powinno się ruszać.
Co wy na to?
Edyta: Moje rozterki wynikają, z tego, że pełno jest w necie przykładów z configiem wrzuconym do /usr/share/X11/xorg.conf.d
chociaż, normalnie customowe configi wrzuca się do /etc. No w związku z domyślnym brakiem tego folderu /etc/X11/xorg.conf.d/ czy jest sens bawić się w te konfiguracje?
Zakładamy, że mamy identyczny plik konfiguracyjny (tak wiem sterownik modesetting jest preferowany):
Kod:
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "sna"
Option "TearFree" "true"
EndSection
No i mamy log dla /etc/X11/xorg.conf.d/20-intel.conf
Kod:
ciastek@R61i:~$ head -n 25 /var/log/Xorg.0.log; cat /var/log/Xorg.0.log |grep -i intel
[ 34.381]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 34.381] X Protocol Version 11, Revision 0
[ 34.381] Build Operating System: Linux 4.4.0-128-generic x86_64 Ubuntu
[ 34.381] Current Operating System: Linux R61i 4.15.0-50-generic #54~16.04.1-Ubuntu SMP Wed May 8 15:55:19 UTC 2019 x86_64
[ 34.381] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-50-generic root=UUID=22ab4d83-cce6-4474-baf1-2553103ec470 ro quiet splash video=SVIDEO-1:d vt.handoff=7
[ 34.381] Build Date: 10 August 2018 09:33:05AM
[ 34.381] xorg-server 2:1.18.4-0ubuntu0.8 (For technical support please see http://www.ubuntu.com/support)
[ 34.381] Current version of pixman: 0.33.6
[ 34.381] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 34.381] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 34.381] (==) Log file: "/var/log/Xorg.0.log", Time: Sun May 26 19:29:44 2019
[ 34.491] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 34.491] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 34.542] (==) No Layout section. Using the first Screen section.
[ 34.542] (==) No screen section available. Using defaults.
[ 34.542] (**) |-->Screen "Default Screen Section" (0)
[ 34.542] (**) | |-->Monitor "<default monitor>"
[ 34.542] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 34.542] (**) | |-->Device "Intel Graphics"
[ 34.542] (**) | |-->Device "Intel Graphics"
[ 34.971] (II) LoadModule: "intel"
[ 34.972] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 35.008] (II) Module intel: vendor="X.Org Foundation"
[ 35.009] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
[ 35.009] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 35.009] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 35.009] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 35.009] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20171023
[ 35.009] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.2 (Timo Aaltonen <[email protected]>)
[ 35.009] (II) intel(0): SNA compiled for use with valgrind
[ 35.028] (--) intel(0): Integrated Graphics Chipset: Intel(R) 965GM
[ 35.028] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3; using a maximum of 2 threads
[ 35.028] (II) intel(0): Creating default Display subsection in Screen section
[ 35.028] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 35.028] (==) intel(0): RGB weight 888
[ 35.028] (==) intel(0): Default visual is TrueColor
[ 35.028] (**) intel(0): Option "AccelMethod" "sna"
[ 35.028] (**) intel(0): Option "TearFree" "true"
[ 35.029] (II) intel(0): Output LVDS1 has no monitor section
[ 35.040] (--) intel(0): Found backlight control interface acpi_video0 (type 'firmware') for output LVDS1
[ 35.040] (II) intel(0): Enabled output LVDS1
[ 35.040] (II) intel(0): Output VGA1 has no monitor section
[ 35.040] (II) intel(0): Enabled output VGA1
[ 35.040] (II) intel(0): Output TV1 has no monitor section
[ 35.040] (II) intel(0): Enabled output TV1
[ 35.040] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[ 35.040] (II) intel(0): Output VIRTUAL1 has no monitor section
[ 35.040] (II) intel(0): Enabled output VIRTUAL1
[ 35.040] (--) intel(0): Output LVDS1 using initial mode 1280x800 on pipe 0
[ 35.040] (**) intel(0): TearFree enabled
[ 35.040] (==) intel(0): DPI set to (96, 96)
[ 35.145] (II) intel(0): SNA initialized with Broadwater (gen4) backend
[ 35.145] (==) intel(0): Backing store enabled
[ 35.145] (==) intel(0): Silken mouse enabled
[ 35.145] (II) intel(0): HW Cursor enabled
[ 35.145] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 35.146] (==) intel(0): DPMS enabled
[ 35.146] (==) intel(0): Display hotplug detection enabled
[ 35.146] (II) intel(0): [XvMC] i965_xvmc driver initialized.
[ 35.146] (II) intel(0): [DRI2] Setup complete
[ 35.146] (II) intel(0): [DRI2] DRI driver: i965
[ 35.146] (II) intel(0): [DRI2] VDPAU driver: va_gl
[ 35.146] (II) intel(0): direct rendering: DRI2 enabled
[ 35.146] (II) intel(0): hardware support for Present enabled
[ 35.236] (II) AIGLX: enabled GLX_INTEL_swap_event
[ 35.243] (II) intel(0): switch to mode [email protected] on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
[ 35.259] (II) intel(0): Setting screen physical size to 338 x 211
[ 35.633] (II) config/udev: Adding input device HDA Intel Mic (/dev/input/event10)
[ 35.634] (II) config/udev: Adding input device HDA Intel Dock Mic (/dev/input/event11)
[ 35.634] (II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event12)
[ 37.040] (II) intel(0): EDID vendor "LEN", prod id 16464
[ 37.040] (II) intel(0): Printing DDC gathered Modelines:
[ 37.040] (II) intel(0): Modeline "1280x800"x0.0 71.11 1280 1328 1360 1440 800 803 809 823 -hsync -vsync (49.4 kHz eP)
[ 37.040] (II) intel(0): Modeline "1280x800"x0.0 59.26 1280 1328 1360 1440 800 803 809 823 -hsync -vsync (41.2 kHz e)
oraz dla /usr/share/X11/xorg.conf.d/20-intel.conf
Kod:
ciastek@R61i:~$ head -n 25 /var/log/Xorg.0.log; cat /var/log/Xorg.0.log |grep -i intel
[ 34.113]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 34.113] X Protocol Version 11, Revision 0
[ 34.113] Build Operating System: Linux 4.4.0-128-generic x86_64 Ubuntu
[ 34.113] Current Operating System: Linux R61i 4.15.0-50-generic #54~16.04.1-Ubuntu SMP Wed May 8 15:55:19 UTC 2019 x86_64
[ 34.113] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-50-generic root=UUID=22ab4d83-cce6-4474-baf1-2553103ec470 ro quiet splash video=SVIDEO-1:d vt.handoff=7
[ 34.113] Build Date: 10 August 2018 09:33:05AM
[ 34.113] xorg-server 2:1.18.4-0ubuntu0.8 (For technical support please see http://www.ubuntu.com/support)
[ 34.113] Current version of pixman: 0.33.6
[ 34.113] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 34.113] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 34.113] (==) Log file: "/var/log/Xorg.0.log", Time: Sun May 26 19:41:11 2019
[ 34.134] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 34.135] (==) No Layout section. Using the first Screen section.
[ 34.135] (==) No screen section available. Using defaults.
[ 34.135] (**) |-->Screen "Default Screen Section" (0)
[ 34.135] (**) | |-->Monitor "<default monitor>"
[ 34.135] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 34.135] (**) | |-->Device "Intel Graphics"
[ 34.135] (==) No monitor specified for screen "Default Screen Section".
[ 34.135] (**) | |-->Device "Intel Graphics"
[ 34.570] (II) LoadModule: "intel"
[ 34.570] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 34.596] (II) Module intel: vendor="X.Org Foundation"
[ 34.596] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
[ 34.597] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 34.597] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 34.597] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 34.597] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20171023
[ 34.597] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.2 (Timo Aaltonen <[email protected]>)
[ 34.597] (II) intel(0): SNA compiled for use with valgrind
[ 34.598] (--) intel(0): Integrated Graphics Chipset: Intel(R) 965GM
[ 34.598] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3; using a maximum of 2 threads
[ 34.598] (II) intel(0): Creating default Display subsection in Screen section
[ 34.598] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 34.598] (==) intel(0): RGB weight 888
[ 34.598] (==) intel(0): Default visual is TrueColor
[ 34.598] (**) intel(0): Option "AccelMethod" "sna"
[ 34.598] (**) intel(0): Option "TearFree" "true"
[ 34.598] (II) intel(0): Output LVDS1 has no monitor section
[ 34.620] (--) intel(0): Found backlight control interface acpi_video0 (type 'firmware') for output LVDS1
[ 34.620] (II) intel(0): Enabled output LVDS1
[ 34.620] (II) intel(0): Output VGA1 has no monitor section
[ 34.620] (II) intel(0): Enabled output VGA1
[ 34.620] (II) intel(0): Output TV1 has no monitor section
[ 34.620] (II) intel(0): Enabled output TV1
[ 34.620] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[ 34.620] (II) intel(0): Output VIRTUAL1 has no monitor section
[ 34.620] (II) intel(0): Enabled output VIRTUAL1
[ 34.620] (--) intel(0): Output LVDS1 using initial mode 1280x800 on pipe 0
[ 34.620] (**) intel(0): TearFree enabled
[ 34.620] (==) intel(0): DPI set to (96, 96)
[ 34.766] (II) intel(0): SNA initialized with Broadwater (gen4) backend
[ 34.766] (==) intel(0): Backing store enabled
[ 34.766] (==) intel(0): Silken mouse enabled
[ 34.766] (II) intel(0): HW Cursor enabled
[ 34.766] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 34.767] (==) intel(0): DPMS enabled
[ 34.767] (==) intel(0): Display hotplug detection enabled
[ 34.767] (II) intel(0): [XvMC] i965_xvmc driver initialized.
[ 34.767] (II) intel(0): [DRI2] Setup complete
[ 34.767] (II) intel(0): [DRI2] DRI driver: i965
[ 34.767] (II) intel(0): [DRI2] VDPAU driver: va_gl
[ 34.767] (II) intel(0): direct rendering: DRI2 enabled
[ 34.767] (II) intel(0): hardware support for Present enabled
[ 34.834] (II) AIGLX: enabled GLX_INTEL_swap_event
[ 34.842] (II) intel(0): switch to mode [email protected] on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
[ 34.853] (II) intel(0): Setting screen physical size to 338 x 211
[ 35.074] (II) config/udev: Adding input device HDA Intel Mic (/dev/input/event11)
[ 35.074] (II) config/udev: Adding input device HDA Intel Dock Mic (/dev/input/event12)
[ 35.075] (II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event13)
[ 36.620] (II) intel(0): EDID vendor "LEN", prod id 16464
[ 36.620] (II) intel(0): Printing DDC gathered Modelines:
[ 36.620] (II) intel(0): Modeline "1280x800"x0.0 71.11 1280 1328 1360 1440 800 803 809 823 -hsync -vsync (49.4 kHz eP)
[ 36.620] (II) intel(0): Modeline "1280x800"x0.0 59.26 1280 1328 1360 1440 800 803 809 823 -hsync -vsync (41.2 kHz e)
Teraz tak, mamy sobie takie info z WIKI Debiana o "konfiguracji dostawcy systemu"
Cytat:Xorg reads vendor configuration information from the directory /usr/share/X11/xorg.conf.dhttps://wiki.debian.org/Xorg
No i z drugiej mańki mamy to, że /etc/ to pliki konfiguracyjne systemu, a /usr/ to ustawienia użytkowników. Z tym, że z tego co czytam tu i tu, to są ustawienia dostawcy systemu, których nie powinno się ruszać.
Co wy na to?
Edyta: Moje rozterki wynikają, z tego, że pełno jest w necie przykładów z configiem wrzuconym do /usr/share/X11/xorg.conf.d
chociaż, normalnie customowe configi wrzuca się do /etc. No w związku z domyślnym brakiem tego folderu /etc/X11/xorg.conf.d/ czy jest sens bawić się w te konfiguracje?