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/.
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 [b]xrandr -q[/b] 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)
[b]Jak to poprawnie skonfigurować?[/b]
(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.27
Offline
A masz może jakieś konfigi do Xorga? Coś w plikach /etc/X11/xorg.conf, /etc/X11/xorg.conf.d/*conf
Offline
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 EndSection
jego 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" EndSection
Ostatnio edytowany przez jacekz (2018-11-16 23:01:28)
Offline
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
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
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
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" EndSection
i to najwyraźniej rozwiązało mój problem
Dzięki kolego
Offline
Time (s) | Query |
---|---|
0.00011 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00099 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='52.14.209.100' WHERE u.id=1 |
0.00079 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '52.14.209.100', 1732216776) |
0.00042 | SELECT * FROM punbb_online WHERE logged<1732216476 |
0.00085 | DELETE FROM punbb_online WHERE ident='18.117.105.230' |
0.00082 | DELETE FROM punbb_online WHERE ident='18.117.232.215' |
0.00076 | DELETE FROM punbb_online WHERE ident='18.217.10.200' |
0.00071 | DELETE FROM punbb_online WHERE ident='3.133.128.227' |
0.00448 | DELETE FROM punbb_online WHERE ident='3.143.218.180' |
0.00068 | DELETE FROM punbb_online WHERE ident='3.21.12.88' |
0.00062 | DELETE FROM punbb_online WHERE ident='40.77.167.38' |
0.00066 | DELETE FROM punbb_online WHERE ident='54.36.148.207' |
0.00060 | DELETE FROM punbb_online WHERE ident='54.36.148.40' |
0.00074 | DELETE FROM punbb_online WHERE ident='85.208.96.202' |
0.00080 | SELECT topic_id FROM punbb_posts WHERE id=321997 |
0.00081 | SELECT id FROM punbb_posts WHERE topic_id=30729 ORDER BY posted |
0.00076 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=30729 AND t.moved_to IS NULL |
0.00007 | SELECT search_for, replace_with FROM punbb_censoring |
0.00140 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=30729 ORDER BY p.id LIMIT 0,25 |
0.00072 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=30729 |
Total query time: 0.01783 s |