Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

Użytkownik


Cześć,
mam bałagan z monitorami wykrywanymi przez system:
Komputer oparty jest na płycie głównej Asus H81T posiadającej 2 wyjścia video: DVI - do którego podłączono monitor Acera i HDMI - nie używanego.
Rozdzielczość pracy to 1920x1080px.
Natomiast xrandr -q pokazuje:
$ xrandr -q Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192 eDP-1 connected (normal left inverted right x axis y axis) 1920x1080 60.00 + 59.97 59.96 59.93 1680x1050 59.95 59.88 1600x1024 60.17 1400x1050 59.98 1600x900 59.99 59.94 59.95 59.82 1280x1024 60.02 1440x900 59.89 1400x900 59.96 59.88 1280x960 60.00 1440x810 60.00 59.97 1368x768 59.88 59.85 1360x768 59.80 59.96 1280x800 59.99 59.97 59.81 59.91 1152x864 60.00 1280x720 60.00 59.99 59.86 59.74 1024x768 60.04 60.00 960x720 60.00 928x696 60.05 896x672 60.01 1024x576 59.95 59.96 59.90 59.82 960x600 59.93 60.00 960x540 59.96 59.99 59.63 59.82 800x600 60.00 60.32 56.25 840x525 60.01 59.88 864x486 59.92 59.57 800x512 60.17 700x525 59.98 800x450 59.95 59.82 640x512 60.02 720x450 59.89 700x450 59.96 59.88 640x480 60.00 59.94 720x405 59.51 58.99 684x384 59.88 59.85 680x384 59.80 59.96 640x400 59.88 59.98 576x432 60.06 640x360 59.86 59.83 59.84 59.32 512x384 60.00 512x288 60.00 59.92 480x270 59.63 59.82 400x300 60.32 56.34 432x243 59.92 59.57 320x240 60.05 360x202 59.51 59.13 320x180 59.84 59.32 VGA-1 disconnected (normal left inverted right x axis y axis) HDMI-1 disconnected (normal left inverted right x axis y axis) HDMI-2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm 1920x1080 60.00*+ 1280x1024 60.02 1440x900 59.90 1280x800 59.91 1152x864 75.00 1024x768 70.07 60.00 800x600 60.32 56.25 640x480 66.67 59.94 720x400 70.08
Korzystam z Openboxa i dodatkowo muszę stosować w jego autostarcie haki typu:
xrandr --output eDP-1 --off xrandr --output HDMI-2 --primary
aby komputer nie zachowywał się tak jakby była to konfiguracja wielomonitorowa
(monitor wyświetla ekran "drugi" a "pierwszy" znajduje się "gdzieś" na lewo od niego - można tam przesunąć mysz)
Jak to poprawnie skonfigurować?
(bez tych dodatkowych monitorów)
$ inxi -F
System: Host: debian Kernel: 4.18.0-2-amd64 x86_64 bits: 64 Desktop: Openbox 3.6.1
Distro: Debian GNU/Linux buster/sid
Machine: Type: Desktop System: ASUS product: All Series v: N/A serial: <root required>
Mobo: ASUSTeK model: H81T v: Rev X.0x serial: <root required> UEFI: American Megatrends v: 0704
date: 08/22/2014
CPU: Topology: Dual Core model: Intel Core i3-4130T bits: 64 type: MT MCP L2 cache: 3072 KiB
Speed: 890 MHz min/max: 800/2900 MHz Core speeds (MHz): 1: 798 2: 798 3: 799 4: 798
Graphics: Device-1: Intel 4th Generation Core Processor Family Integrated Graphics driver: i915 v: kernel
Display: server: X.Org 1.20.3 driver: fbdev,modesetting,vesa,vmware resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel Haswell v: 4.5 Mesa 18.1.9
Audio: Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio driver: snd_hda_intel
Device-2: Intel 8 Series/C220 Series High Definition Audio driver: snd_hda_intel
Sound Server: ALSA v: k4.18.0-2-amd64
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
IF: eth1 state: up speed: 100 Mbps duplex: full mac: ac:9e:17:b5:eb:b6
Drives: Local Storage: total: 111.79 GiB used: 75.72 GiB (67.7%)
ID-1: /dev/sda vendor: Kingston model: SMS200S3120G size: 111.79 GiB
Partition: ID-1: / size: 37.23 GiB used: 12.42 GiB (33.4%) fs: xfs dev: /dev/sda2
ID-2: /home size: 74.26 GiB used: 63.27 GiB (85.2%) fs: xfs dev: /dev/sda3
Sensors: System Temperatures: cpu: 41.5 C mobo: 27.8 C
Fan Speeds (RPM): cpu: 0 fan-1: 0 fan-5: 0
Info: Processes: 172 Uptime: 1h 29m Memory: 7.67 GiB used: 809.6 MiB (10.3%) Shell: bash inxi: 3.0.27Offline


prawie jak admin



A masz może jakieś konfigi do Xorga? Coś w plikach /etc/X11/xorg.conf, /etc/X11/xorg.conf.d/*conf
Offline

Użytkownik


Taka uwaga:
Generalnie nie miałem pliku xorg.conf, wygenerowałem go (jakiś czas temu grzebiąc nad tym) i teraz:
$ cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "built-ins"
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/input/mice"
Option "ZAxisMapping" "4 5 6 7"
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 "SWcursor" # [<bool>]
#Option "kmsdev" # <str>
#Option "ShadowFB" # [<bool>]
#Option "AccelMethod" # <str>
#Option "PageFlip" # [<bool>]
#Option "ZaphodHeads" # <str>
#Option "DoubleShadow" # [<bool>]
Identifier "Card0"
Driver "modesetting"
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
EndSectionjego istnienie lub brak niczego nie zmieniło.
ls /etc/X11/xorg.conf.d 90-xpra-virtual.conf
$ cat /etc/X11/xorg.conf.d/90-xpra-virtual.conf
# Ignore all xpra virtual devices by default,
# these will be enabled explicitly when needed.
Section "InputClass"
Identifier "xpra-virtual-device"
MatchProduct "Xpra"
Option "Ignore" "true"
EndSectionOstatnio edytowany przez jacekz (2018-11-16 23:01:28)
Offline


prawie jak admin



Ja bym spróbował wywalić xorg.conf (przenieść) i zobaczył jak się system zachowa bez tego pliku. Jeśli pójdzie to git.
Drugie podejśce to ustawić xrandr do autostartu Openboksa lub w końcu pogrzebać w xorg.conf. Tu masz kombinację wielomonitorową analogicznie chyba da się wymusić by DVI był outputem podstawowym.
Offline

Użytkownik


No więc:
bez xorg.conf system nie wstaje.
Kombinacje z autostartem Openboxa to rozpaczliwiec wolałbym to ustawić na sztywno (w xorg.conf?)
Nie za bardzo wiem jednak co i gdzie...
Offline


prawie jak admin



Lol... no tak. Tu masz link: https://wiki.gentoo.org/wiki/Xorg/Multiple_monitors
Ja bym skonfigurował monitor DVI tak jak w tym poradniku, ustawił go w sekcji karty graficznej.
Zostaje jeszcze pobawić się sterownikiem karty graficznej
Offline

Użytkownik


dzięki za sznurek
dodałem:
Section "Device"
Option "Monitor-DVI2" "DVI"
Option "Monitor-DP1" "DP"
Option "Monitor-LVDS2" "LVDS"
Option "AccelMethod" "sna"
Option "TearFree" "true"
Option "DRI" "True"
Option "XvMCSurfaces" "6"
Identifier "Card0"
Driver "intel"
EndSectioni to najwyraźniej rozwiązało mój problem
Dzięki kolego
Offline