LINUX.ORG.RU

Не работает второй монитор

 , ,


0

0

Добрый день, при подключении второго монитора на обоих мониторах пропадают элементы интерфейса unity, открытые окна начинают мигать. Отдельно оба монитора работают. В каком направлении искать решение?

Ubuntu 15.04, видеокарта RV370. Мониторы подключаю через dvi и vga.

Попробуй liveCD другого дистрибутива с разными DE.

anonymous
()

Открой терминал и сделай три шага:

  1. Подключи 1 монитор. Введи в терминал xrandr.
  2. Подключи 2 монитор. Введи в терминал xrandr.
  3. Подключи 1 и 2 мониторы одновременно. Введи в терминал xrandr.

Все три результата скопируй сюда.

justAmoment ★★★★★
()
Ответ на: комментарий от justAmoment

Первый монитор (через DVI)

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 4096 x 4096
VGA-0 disconnected (normal left inverted right x axis y axis)
DVI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 495mm x 292mm
   1920x1080      60.0*+
   1680x1050      59.9  
   1280x1024      75.0     60.0  
   1440x900       59.9  
   1280x960       60.0  
   1280x800       59.9  
   1152x864       75.0  
   1280x720       60.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     60.0  
   720x400        70.1  
S-video disconnected (normal left inverted right x axis y axis)
Второй монитор (через VGA)
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 4096 x 4096
VGA-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 298mm
   1920x1080      60.0*+
   1680x1050      60.0  
   1600x900       60.0  
   1280x1024      75.0     60.0  
   1280x800       59.8  
   1152x864       75.0  
   1280x720       60.0  
   1024x768       75.1     60.0  
   832x624        74.6  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
DVI-0 disconnected (normal left inverted right x axis y axis)
S-video disconnected (normal left inverted right x axis y axis)
При подключении 2ух мониторов одновременно, все окна мигают, терминал не отвечает на ввод команд. Если залониниться в другом терминале (cttl+alt+f6)
Can't open display 

gr1ev0us
() автор топика
Ответ на: комментарий от gr1ev0us

Перед подключением двух мониторов запусти команду так, чтобы она сработала через 30 секунд.

$ sleep 30; xrandr
Подожди когда сработает. Потом верни 1 монитор и посмотри, что там было написано.

justAmoment ★★★★★
()
Ответ на: комментарий от justAmoment

Полчается: С одним монитором:

andriyanov-dy@andriyanov-DY:~$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 4096 x 4096
VGA-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 298mm
   1920x1080      60.0*+
   1680x1050      60.0  
   1600x900       60.0  
   1280x1024      75.0     60.0  
   1280x800       59.8  
   1152x864       75.0  
   1280x720       60.0  
   1024x768       75.1     60.0  
   832x624        74.6  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
DVI-0 disconnected (normal left inverted right x axis y axis)
S-video disconnected (normal left inverted right x axis y axis)
С двумя:
andriyanov-dy@andriyanov-DY:~$  sleep 30; xrandr
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 4096 x 4096
VGA-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 298mm
   1920x1080      60.0*+
   1680x1050      60.0  
   1600x900       60.0  
   1280x1024      75.0     60.0  
   1280x800       59.8  
   1152x864       75.0  
   1280x720       60.0  
   1024x768       75.1     60.0  
   832x624        74.6  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
DVI-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 495mm x 292mm
   1920x1080      60.0*+
   1680x1050      59.9  
   1280x1024      75.0     60.0  
   1440x900       59.9  
   1280x960       60.0  
   1280x800       59.9  
   1152x864       75.0  
   1280x720       60.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     60.0  
   720x400        70.1  
S-video disconnected (normal left inverted right x axis y axis)

gr1ev0us
() автор топика
Ответ на: комментарий от gr1ev0us

Выглядит нормально. Единственное, что я бы попробовал ещё, это сделать первичным монитор на dvi, потом поменять размеры экрана у обоих на 1280*720, потом вывести статистику.

sleep 30; xrandr --output DVI-0 --primary --output VGA-0 --right-of DVI-0; sleep 10; xrandr --output DVI-0 --mode 1280x720 --output VGA-0 --mode 1280x720; sleep 10; xrandr; sleep 3; xrandr --listproviders; sleep 3; xrandr --verbose| grep -E 'conn|CRTC'

justAmoment ★★★★★
()
Ответ на: комментарий от justAmoment

При смене разрешения тоже мигал. Вот что получилось:

andriyanov-dy@andriyanov-DY:~$ sleep 30; xrandr --output DVI-0 --primary --output VGA-0 --right-of DVI-0; sleep 10; xrandr --output DVI-0 --mode 1280x720 --output VGA-0 --mode 1280x720; sleep 10; xrandr; sleep 3; xrandr --listproviders; sleep 3; xrandr --verbose| grep -E 'conn|CRTC'
Screen 0: minimum 320 x 200, current 3200 x 720, maximum 4096 x 4096
VGA-0 connected 1280x720+1920+0 (normal left inverted right x axis y axis) 531mm x 298mm
   1920x1080      60.0 +
   1680x1050      60.0  
   1600x900       60.0  
   1280x1024      75.0     60.0  
   1280x800       59.8  
   1152x864       75.0  
   1280x720       60.0* 
   1024x768       75.1     60.0  
   832x624        74.6  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
DVI-0 connected primary 1280x720+0+0 (normal left inverted right x axis y axis) 495mm x 292mm
   1920x1080      60.0 +
   1680x1050      59.9  
   1280x1024      75.0     60.0  
   1440x900       59.9  
   1280x960       60.0  
   1280x800       59.9  
   1152x864       75.0  
   1280x720       60.0* 
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     60.0  
   720x400        70.1  
S-video disconnected (normal left inverted right x axis y axis)
Providers: number : 1
Provider 0: id: 0x54 cap: 0x9, Source Output, Sink Offload crtcs: 2 outputs: 3 associated providers: 0 name:radeon
VGA-0 connected 1280x720+1920+0 (0x5c) normal (normal left inverted right x axis y axis) 531mm x 298mm
	CRTC:       1
	CRTCs:      1 0
DVI-0 connected primary 1280x720+0+0 (0x5c) normal (normal left inverted right x axis y axis) 495mm x 292mm
	CRTC:       0
	CRTCs:      1 0
S-video disconnected (normal left inverted right x axis y axis)
	CRTCs:      1 0

gr1ev0us
() автор топика
Ответ на: комментарий от gr1ev0us

В общем, с точки зрения xrandr у тебя всё нормально. У тебя два CRTC, т.е ты можешь подключить максимум два монитора одновременно. Оба у тебя подключены и 0, и 1, режимы меняются нормально. Осталось попробовать загрузиться в KDE вместо unity. По настройкам unity не подскажу, у меня fedora.

justAmoment ★★★★★
()
Ответ на: комментарий от justAmoment

Поставил KDE - все стало еще сложнее)) При запуске операционки сплешскрин Kubuntu, потом пропадает экран авторизации, вместо него черный экран с запускаемыми службами. Втыкаю DVI - появляется экран авторизации. Захожу в сессию KDE - второй экран работает (на нем просто заставка). Если войти в Unity сессию с двумя, то окна открытые автозагрузкой начинают мигать, либо перезагружается комп. Если зайти в Unity с одним монитором, то все работает. Если зайти в KDE с одним монитором, то появляются артефакты и все разъезжается

gr1ev0us
() автор топика
Ответ на: комментарий от gr1ev0us

Забыл сказать, что при установке KDE выбрал lightdm .

gr1ev0us
() автор топика

unity --replace падает при двух мониторах с segfault

andriyanov-dy@andriyanov-DY:~$ unity --replace
unity-panel-service stop/waiting
compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
unity-panel-service start/running, process 3890
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend     : gsettings
compizconfig - Info: Integration : true
compizconfig - Info: Profile     : unity
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Unity is not supported by your hardware. Enabling software rendering instead (slow).
compiz (core) - Info: Unity is fully supported by your hardware.
compiz (core) - Info: Starting plugin: opengl
r300: Implementation error: Render targets are too big in r300_set_framebuffer_state, refusing to bind framebuffer state!
compiz (core) - Info: Loading plugin: compiztoolbox
compiz (core) - Info: Starting plugin: compiztoolbox
compiz (core) - Info: Loading plugin: decor
compiz (core) - Info: Starting plugin: decor
compiz (core) - Info: Loading plugin: vpswitch
compiz (core) - Info: Starting plugin: vpswitch
compiz (core) - Info: Loading plugin: snap
compiz (core) - Info: Starting plugin: snap
compiz (core) - Info: Loading plugin: mousepoll
compiz (core) - Info: Starting plugin: mousepoll
compiz (core) - Info: Loading plugin: resize
compiz (core) - Info: Starting plugin: resize
compiz (core) - Info: Loading plugin: place
compiz (core) - Info: Starting plugin: place
compiz (core) - Info: Loading plugin: move
compiz (core) - Info: Starting plugin: move
compiz (core) - Info: Loading plugin: wall
compiz (core) - Info: Starting plugin: wall
compiz (core) - Info: Loading plugin: grid
compiz (core) - Info: Starting plugin: grid
compiz (core) - Info: Loading plugin: regex
compiz (core) - Info: Starting plugin: regex
compiz (core) - Info: Loading plugin: imgpng
compiz (core) - Info: Starting plugin: imgpng
compiz (core) - Info: Loading plugin: session
compiz (core) - Info: Starting plugin: session
compiz (core) - Info: Loading plugin: gnomecompat
compiz (core) - Info: Starting plugin: gnomecompat
compiz (core) - Info: Loading plugin: animation
compiz (core) - Info: Starting plugin: animation
compiz (core) - Info: Loading plugin: fade
compiz (core) - Info: Starting plugin: fade
compiz (core) - Info: Loading plugin: unitymtgrabhandles
compiz (core) - Info: Starting plugin: unitymtgrabhandles
compiz (core) - Info: Loading plugin: workarounds
compiz (core) - Info: Starting plugin: workarounds
compiz (core) - Info: Loading plugin: scale
compiz (core) - Info: Starting plugin: scale
compiz (core) - Info: Loading plugin: expo
compiz (core) - Info: Starting plugin: expo
compiz (core) - Info: Loading plugin: ezoom
compiz (core) - Info: Starting plugin: ezoom
compiz (core) - Info: Loading plugin: unityshell
compiz (core) - Info: Starting plugin: unityshell
WARN  2015-09-18 14:32:42 unity.glib.dbus.server GLibDBusServer.cpp:580 Can't register object 'org.gnome.Shell' yet as we don't have a connection, waiting for it...
WARN  2015-09-18 14:32:42 unity.debug.interface DebugDBusInterface.cpp:216 Unable to load entry point in libxpathselect: libxpathselect.so.1.4: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога -- full D-Bus introspection will not be available
Segmentation fault (core dumped)
gr1ev0us
() автор топика
5 февраля 2016 г.
Ответ на: комментарий от gr1ev0us

закончилось все тем, что откапал другую видеокарту и на ней все запустилось

gr1ev0us
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.