Nvidia optimus hdmi out tutorial работает некорректно

Nvidia optimus hdmi out tutorial работает некорректно

После недавней установкиUbuntu 12.04 Desktop Editionна моем ноутбуке с NVIDIA Optimus (ASUS N53J) я попытался заставить работать HDMI, используя метод, описанный в этом руководствездесь. Я могу убрать мышь с экрана, но сеанс LXDE не отображается на внешнем мониторе. Я пробовал с 2 разными мониторами и много раз перезапускал, но безуспешно. Я успешно установил bumblebee, и как видеокарта nvidia, так и интегрированная графика intel работают хорошо на мониторе ноутбука.

Вот вставка терминала, с которого я начал сеанс. Примечание: сообщение «Повторите попытку через 1 секунду» повторяется вечно.

linux-user@Marble:~$ sudo ~/hdmi
[sudo] password for linux-user: 
Obt-Message: Xinerama extension is not present on the server
xscreensaver: 10:51:29: locking is disabled (running as nobody).
xscreensaver: 10:51:29: locking only works when xscreensaver is launched
 by a normal, non-privileged user (e.g., not "root".)
 See the manual for details.

(polkit-gnome-authentication-agent-1:2189): polkit-gnome-1-WARNING **: Unable to determine the session we are in: GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '2189'
Openbox-Message: Requested key "XF86Terminal" does not exist on the display

** (update-notifier:2206): WARNING **: not starting for system user

Home directory /home/linux-user not ours.
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
** Message: applet now removed from the notification area

** (nm-applet:2199): WARNING **: Failed to register as an agent: (32) No session found for uid 0
** Message: using fallback from indicator to GtkStatusIcon
** Message: applet now embedded in the notification area
2013-04-06T10:51:32 INFO: Synergy 1.3.8 Server on Linux 3.5.0-26-generic #42~precise1-Ubuntu SMP Mon Mar 11 22:17:58 UTC 2013 x86_64
/build/buildd/synergy-1.3.8/src/cmd/synergys/synergys.cpp,1098
2013-04-06T10:51:32 DEBUG: opening configuration "/root/.synergy.conf"
/build/buildd/synergy-1.3.8/src/cmd/synergys/synergys.cpp,1113
2013-04-06T10:51:32 DEBUG: cannot open configuration "/root/.synergy.conf"
/build/buildd/synergy-1.3.8/src/cmd/synergys/synergys.cpp,1120
2013-04-06T10:51:32 DEBUG: opening configuration "/etc/synergy.conf"
/build/buildd/synergy-1.3.8/src/cmd/synergys/synergys.cpp,1113
2013-04-06T10:51:32 DEBUG: cannot open configuration "/etc/synergy.conf"
/build/buildd/synergy-1.3.8/src/cmd/synergys/synergys.cpp,1120
synergys: no configuration available
** Message: Starting applet secret agent because GNOME Shell disappeared

** (nm-applet:2199): WARNING **: Failed to register as an agent: (32) No session found for uid 0
2013-04-06T10:51:37 INFO: Synergy 1.3.8 Client on Linux 3.5.0-26-generic #42~precise1-Ubuntu SMP Mon Mar 11 22:17:58 UTC 2013 x86_64
/build/buildd/synergy-1.3.8/src/cmd/synergyc/synergyc.cpp,765
2013-04-06T10:51:37 DEBUG: XOpenDisplay(":8")
/build/buildd/synergy-1.3.8/src/lib/platform/CXWindowsScreen.cpp,901
2013-04-06T10:51:37 DEBUG: xscreensaver window: 0x01600001
/build/buildd/synergy-1.3.8/src/lib/platform/CXWindowsScreenSaver.cpp,342
2013-04-06T10:51:37 DEBUG: screen shape: 0,0 640x480 
/build/buildd/synergy-1.3.8/src/lib/platform/CXWindowsScreen.cpp,136
2013-04-06T10:51:37 DEBUG: window is 0x00e00004
/build/buildd/synergy-1.3.8/src/lib/platform/CXWindowsScreen.cpp,137
2013-04-06T10:51:37 DEBUG: opened display
/build/buildd/synergy-1.3.8/src/lib/synergy/CScreen.cpp,41
2013-04-06T10:51:37 NOTE: started client
/build/buildd/synergy-1.3.8/src/cmd/synergyc/synergyc.cpp,339
2013-04-06T10:51:37 NOTE: connecting to '127.0.0.1': 127.0.0.1:24800
/build/buildd/synergy-1.3.8/src/lib/client/CClient.cpp,115
2013-04-06T10:51:37 WARNING: failed to connect to server: Connection refused
/build/buildd/synergy-1.3.8/src/cmd/synergyc/synergyc.cpp,274
2013-04-06T10:51:37 DEBUG: retry in 1 seconds
/build/buildd/synergy-1.3.8/src/cmd/synergyc/synergyc.cpp,246
2013-04-06T10:51:38 NOTE: connecting to '127.0.0.1': 127.0.0.1:24800
/build/buildd/synergy-1.3.8/src/lib/client/CClient.cpp,115
2013-04-06T10:51:38 WARNING: failed to connect to server: Connection refused
/build/buildd/synergy-1.3.8/src/cmd/synergyc/synergyc.cpp,274
2013-04-06T10:51:38 DEBUG: retry in 1 seconds
/build/buildd/synergy-1.3.8/src/cmd/synergyc/synergyc.cpp,246
2013-04-06T10:51:39 NOTE: connecting to '127.0.0.1': 127.0.0.1:24800
/build/buildd/synergy-1.3.8/src/lib/client/CClient.cpp,115
2013-04-06T10:51:39 WARNING: failed to connect to server: Connection refused
/build/buildd/synergy-1.3.8/src/cmd/synergyc/synergyc.cpp,274
2013-04-06T10:51:39 DEBUG: retry in 1 seconds
/build/buildd/synergy-1.3.8/src/cmd/synergyc/synergyc.cpp,246
2013-04-06T10:51:40 NOTE: connecting to '127.0.0.1': 127.0.0.1:24800
/build/buildd/synergy-1.3.8/src/lib/client/CClient.cpp,115
2013-04-06T10:51:40 WARNING: failed to connect to server: Connection refused
/build/buildd/synergy-1.3.8/src/cmd/synergyc/synergyc.cpp,274
2013-04-06T10:51:40 DEBUG: retry in 1 seconds
/build/buildd/synergy-1.3.8/src/cmd/synergyc/synergyc.cpp,246
2013-04-06T10:51:42 NOTE: connecting to '127.0.0.1': 127.0.0.1:24800
/build/buildd/synergy-1.3.8/src/lib/client/CClient.cpp,115
2013-04-06T10:51:42 WARNING: failed to connect to server: Connection refused
/build/buildd/synergy-1.3.8/src/cmd/synergyc/synergyc.cpp,274
2013-04-06T10:51:42 DEBUG: retry in 1 seconds
/build/buildd/synergy-1.3.8/src/cmd/synergyc/synergyc.cpp,246
linux-user@Marble:~$ 2013-04-06T10:51:43 NOTE: connecting to '127.0.0.1': 127.0.0.1:24800

Я думаю, что что-то пошло не так при запуске сеанса LXDE (я вижу много сообщений о неудачах), поэтому я надеюсь, что вы, ребята, сможете помочь. Если вам нужны какие-либо дополнительные подробности о системе или о том, как я ее установил, я буду рад их предоставить.

Спасибо за любые идеи о том, как это можно исправить.=)

Выход

uname -r

это (верхняя строка - команда)

linux-user@Marble:~$ uname -r
3.5.0-27-generic

Выход

lspci -v

это (верхняя строка - команда)

linux-user@Marble:~$ lspci -v
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
Subsystem: ASUSTeK Computer Inc. Device 1117
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: agpgart-intel

00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 18) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: c0000000-d30fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 1532
Flags: bus master, fast devsel, latency 0, IRQ 49
Memory at d3400000 (64-bit, non-prefetchable) [size=4M]
Memory at b0000000 (64-bit, prefetchable) [size=256M]
I/O ports at e080 [size=8]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915

00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
Subsystem: ASUSTeK Computer Inc. Device 1117
Flags: bus master, fast devsel, latency 0, IRQ 47
Memory at d9c0a000 (64-bit, non-prefetchable) [size=16]
Capabilities: <access denied>
Kernel driver in use: mei
Kernel modules: mei

00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) (prog-if 20 [EHCI])
Subsystem: ASUSTeK Computer Inc. Device 1117
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at d9c08000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
Subsystem: ASUSTeK Computer Inc. Device 1113
Flags: bus master, fast devsel, latency 0, IRQ 48
Memory at d9c00000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd-hda-intel

00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: d8800000-d9bfffff
Prefetchable memory behind bridge: 00000000d3100000-00000000d32fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 0000b000-0000bfff
Memory behind bridge: d7400000-d87fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: d6000000-d73fffff
Prefetchable memory behind bridge: 00000000d9d00000-00000000d9efffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
I/O behind bridge: 00009000-00009fff
Memory behind bridge: d4c00000-d5ffffff
Prefetchable memory behind bridge: 00000000d9f00000-00000000da0fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 06) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
I/O behind bridge: 00008000-00008fff
Memory behind bridge: d3800000-d4bfffff
Prefetchable memory behind bridge: 00000000da100000-00000000da2fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) (prog-if 20 [EHCI])
Subsystem: ASUSTeK Computer Inc. Device 1117
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at d9c07000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=07, subordinate=07, sec-latency=32
Capabilities: <access denied>

00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
Subsystem: ASUSTeK Computer Inc. Device 1117
Flags: bus master, medium devsel, latency 0
Capabilities: <access denied>
Kernel modules: lpc_ich

00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 06) (prog-if 01 [AHCI 1.0])
Subsystem: ASUSTeK Computer Inc. Device 1117
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46
I/O ports at e070 [size=8]
I/O ports at e060 [size=4]
I/O ports at e050 [size=8]
I/O ports at e040 [size=4]
I/O ports at e020 [size=32]
Memory at d9c06000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci

00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06)
Subsystem: ASUSTeK Computer Inc. Device 1117
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at d9c04000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: intel ips
Kernel modules: intel_ips

01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 425M] (rev ff) (prog-if ff)
!!! Unknown header type 7f

03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: AzureWave AW-NE785 / AW-NE785H 802.11bgn Wireless Full or Half-size Mini PCIe Card
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at d7400000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: ath9k
Kernel modules: ath9k

04:00.0 USB controller: Fresco Logic FL1000G USB 3.0 Host Controller (rev 04) (prog-if 30 [XHCI])
Subsystem: ASUSTeK Computer Inc. Device 1039
Physical Slot: 3
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at d6000000 (32-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd

06:00.0 Ethernet controller: Atheros Communications Inc. AR8131 Gigabit Ethernet (rev c0)
Subsystem: ASUSTeK Computer Inc. Device 1820
Physical Slot: 5
Flags: bus master, fast devsel, latency 0, IRQ 50
Memory at d3800000 (64-bit, non-prefetchable) [size=256K]
I/O ports at 8000 [size=128]
Capabilities: <access denied>
Kernel driver in use: atl1c
Kernel modules: atl1c

ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 05)
Subsystem: Intel Corporation Device 8086
Flags: bus master, fast devsel, latency 0

ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 05)
Subsystem: Intel Corporation Device 8086
Flags: bus master, fast devsel, latency 0

ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
Subsystem: Intel Corporation Device 8086
Flags: bus master, fast devsel, latency 0

ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 05)
Subsystem: Intel Corporation Device 8086
Flags: bus master, fast devsel, latency 0

ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
Subsystem: Intel Corporation Device 8086
Flags: bus master, fast devsel, latency 0

ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
Subsystem: Intel Corporation Device 8086
Flags: bus master, fast devsel, latency 0

решение1

Вы действительно хотите запустить новый сеанс на другом мониторе или просто хотите иметь возможность запускать приложения (например, mplayer) на другом мониторе? Я не понял, прочитав ваш вопрос.

У меня ASUS N56VM, и мне удалось запустить mplayer на внешнем мониторе (подключенном через HDMI) с помощью bumblebee. К сожалению, звук не работает. Я следовал инструкциям под заголовком "extra screen" по этой ссылке:

https://github.com/Bumblebee-Project/Bumblebee/wiki/Multi-monitor-setup

Вот скопированная/вставленная информация из этой ссылки:

Для использования внешнего монитора через чип nvidia необходимо отключить управление питанием. Отредактируйте /etc/bumblebee/bumblebee.conf и измените PmMethod=auto на PmMethod=none (дважды).

дополнительный экран

(только blob) В /etc/bumblebee/bumblebee.conf измените KeepUnusedXServer=false на KeepUnusedXServer=true. Удалите строки UseEDID и Option "AutoAddDevices" "false" в /etc/bumblebee/xorg.conf.nvidia. Запустите X-сервер с помощью optirun true.

Перед запуском приложения на внешнем мониторе при необходимости скорректируйте путь к библиотеке (или удалите его для nouveau) и выполните:

экспорт DISPLAY=:8 LD_LIBRARY_PATH=/usr/lib/nvidia-current:$LD_LIBRARY_PATH

Затем запустите программу по вашему выбору (без optirun), она должна появиться на внешнем мониторе.

А вот изначальная ссылка askubuntu, откуда я взял этот трюк. Возможно, она будет полезна и вам.

Как заставить выход HDMI работать с Bumblebee?

Связанный контент