LinuxForum.Fans
Тема

Связка видео Intel(встроенная в проц) + nVidia(дискретная)

Автор: KrackMan 273 сообщений 75263 просмотров В конец обсуждения ↓
#217928
aliaksei1818 написал:
[console]vglrun +v -c $VGL_COMPRESS -d $VGL_DISPLAY "$@"[/console]

Запустите приложение с помощью optirun и покажите выхлоп.

[console]optirun glxgears
ON Enabling nVidia card succeeded.
FATAL: Error inserting nvidia (/lib/modules/2.6.37.6-0.9-desktop/weak-updates/updates/nvidia.ko): No such device
Starting up bumblebee X server:
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] Shared memory segment ID for vglconfig: 4489239
Stopping bumblebee X server: /etc/init.d/bumblebee: line 125: kill: (14037) - No such process

OFF Disabling nVidia card succeeded.[/console]

FATAL: Error inserting nvidia (/lib/modules/2.6.37.6-0.9-desktop/weak-updates/updates/nvidia.ko): No such device - что-то пропустил в какой момент выбило драйвера.

Показать
[console]# zypper install nvidia-gfxG02-kmp-`uname -r | cut -f3 -d"-"` && zypper install x11-video-nvidiaG02
Загрузка данных о репозиториях...
Чтение установленных пакетов...
'nvidia-gfxG02-kmp-desktop' уже установлен.
Нет кандидатов на обновление 'nvidia-gfxG02-kmp-desktop-290.10_k2.6.37.1_1.2-12.1.i586'. Новейшая версия уже установлена.
Разрешение зависимостей пакетов...

Нечего выполнять.
Загрузка данных о репозиториях...
Чтение установленных пакетов...
'x11-video-nvidiaG02' уже установлен.
Нет кандидатов на обновление 'x11-video-nvidiaG02-290.10-13.1.i586'. Новейшая версия уже установлена.
Разрешение зависимостей пакетов...

Нечего выполнять.

andrew@AspireX:~> uname -r
2.6.37.6-0.9-desktop

# bumblebee-enablecard
ON Enabling nVidia card succeeded.
FATAL: Error inserting nvidia (/lib/modules/2.6.37.6-0.9-desktop/weak-updates/updates/nvidia.ko): No such device
# bumblebee-disablecard
OFF Disabling nVidia card succeeded.[/console]

+

Скачал NVIDIA-Linux-x86-290.10.run,
[console]# rcxdm stop
# bash NVIDIA-Linux-x86-290.10.run[/console]

И вот что получаю в ответ:
[console]ERROR: Unable to load the kernel module `nvidia.ko`. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as rivafb, nvidiafb, or nouveau is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU installed in this system is not supported by this NVIDIA Linux graphics driver release.
Please see the log entries `Kernel module load error` and `Kernel messages` at the end of the file `/var/log/nvidia-installer.log` for more information.[/console]

И следуещее за ним:
[console]ERROR: Installation has failed. Please see the file `/var/log/nvidia-installer.log` for details. You my find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.[/console]

nvidia-installer.log 585 строк , выложить сюда под спойлер не могу. Даже новое сообщение получается больше 65525 байт, разрешенный для публикации на сайте.

#217935

Избавился от: "FATAL: Error inserting nvidia (/lib/modules/2.6.37.6-0.9-desktop/weak-updates/updates/nvidia.ko): No such device "
[console]# bumblebee-enablecard
ON Enabling nVidia card succeeded.
# bumblebee-disablecard
OFF Disabling nVidia card succeeded.[/console]

:~> glxspheres

Показать
[console]Polygons in scene: 62464
Visual ID of window: 0x92
OpenGL Renderer: Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2
29.378592 frames/sec - 32.786509 Mpixels/sec
28.695212 frames/sec - 32.023857 Mpixels/sec
26.933884 frames/sec - 27.791042 Mpixels/sec
29.625654 frames/sec - 27.882895 Mpixels/sec
29.192023 frames/sec - 27.474773 Mpixels/sec
28.681903 frames/sec - 26.994661 Mpixels/sec
[/console]

:~> glxgears

Показать
[console]
*** NOTE: Don't use glxgears as a benchmark.
OpenGL implementations are not optimized for frame rates >> 60fps,
thus these numbers are meaningless when compared between vendors.

299 frames in 5.0 seconds = 59.550 FPS
293 frames in 5.0 seconds = 58.126 FPS[/console]

:~> optirun glxgears

Показать
[console]ON Enabling nVidia card succeeded.
Starting up bumblebee X server:
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] Shared memory segment ID for vglconfig: 720917

*** NOTE: Don't use glxgears as a benchmark.
OpenGL implementations are not optimized for frame rates >> 60fps,
thus these numbers are meaningless when compared between vendors.

3605 frames in 5.0 seconds = 720.982 FPS
3594 frames in 5.0 seconds = 718.760 FPS
3623 frames in 5.0 seconds = 724.456 FPS
Stopping bumblebee X server: .
OFF Disabling nVidia card succeeded.[/console]

:~> optirun glxspheres

Показать
[console]ON Enabling nVidia card succeeded.
Starting up bumblebee X server:
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
Polygons in scene: 62464
[VGL] Shared memory segment ID for vglconfig: 753685
Stopping bumblebee X server: /etc/init.d/bumblebee: line 125: kill: (3200) - No such process
OFF Disabling nVidia card succeeded.[/console]

+
:~> env WINEPREFIX="/home/andrew/.wine" wine C:\\windows\\command\\start.exe /Unix /home/andrew/.wine/dosdevices/c:/users/andrew/Главное\ меню/Программы/Diablo\ II\ -\ Lord\ of\ Destruction/Lord\ of\ Destruction\ \(Window\).lnk

Показать
[console]fixme:exec:SHELL_execute flags ignored: 0x00000100
fixme:exec:SHELL_execute flags ignored: 0x00004100
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
err:ntdll:RtlDeleteResource Deleting active MRSW lock (0x111f6c), expect failure[/console]

Игра запускается.

optirun env WINEPREFIX="/home/andrew/.wine" wine C:\\windows\\command\\start.exe /Unix /home/andrew/.wine/dosdevices/c:/users/andrew/Главное\ меню/Программы/Diablo\ II\ -\ Lord\ of\ Destruction/Lord\ of\ Destruction\ \(Window\).lnk

Показать
[console]ON Enabling nVidia card succeeded.
Starting up bumblebee X server:
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] Shared memory segment ID for vglconfig: 4227098
[VGL] Shared memory segment ID for vglconfig: 4259867
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] Shared memory segment ID for vglconfig: 4947995
fixme:exec:SHELL_execute flags ignored: 0x00000100
[VGL] Shared memory segment ID for vglconfig: 5308448
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] Shared memory segment ID for vglconfig: 5472299
fixme:exec:SHELL_execute flags ignored: 0x00004100
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
Stopping bumblebee X server: [VGL] Shared memory segment ID for vglconfig: 5734427
.
OFF Disabling nVidia card succeeded.[/console]

Игра не запускается.

#217937

ну чё , всё работает же , теперь это нужно научиться правильно применять практически и делов ... :D

#217938

У меня через 4 часа Новый Год! Так что с наступающим 2012 годом всех! :)

#217939
gramozeka написал:
ну чё , всё работает же , теперь это нужно научиться правильно применять практически и делов ...

Ну не знаю, optirun работает только с glxgears.

:~> optirun env WINEPREFIX="/home/andrew/.wine" wine C:\\Program\ Files\\Maximum\ Crysis\\Crysis\ Warhead\\Bin32\\Crysis.exe

Показать
[console]ON Enabling nVidia card succeeded.
Starting up bumblebee X server:
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] Shared memory segment ID for vglconfig: 5898264
[VGL] Shared memory segment ID for vglconfig: 5931033
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] Shared memory segment ID for vglconfig: 6619161
[VGL] Shared memory segment ID for vglconfig: 6684704
[VGL] NOTICE: Replacing dlopen("libGL.so.1") with dlopen("librrfaker.so")
fixme:win:EnumDisplayDevicesW ((null),0,0x72e2dc,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x72e1f8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x72ea90,0x00000000), stub!
fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table
fixme:d3d:debug_d3dformat Unrecognized 0x36314644 (as fourcc: DF16) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x36314644) in the format lookup table
fixme:win:EnumDisplayDevicesW ((null),0,0x72e928,0x00000000), stub!
fixme:d3d:debug_d3dformat Unrecognized 0x434f5441 (as fourcc: ATOC) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x434f5441) in the format lookup table
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 132 (XVideo)
Minor opcode of failed request: 18 ()
Resource id in failed request: 0x4c0000f
Serial number of failed request: 19
Current serial number in output stream: 20
Stopping bumblebee X server: .
OFF Disabling nVidia card succeeded.
[/console]
#217940

Правда Экран не становится черным, но разрешение рабочего стола меняется на 1024х768, в то время как рабочее 1366х768

#217943

быть может стоит попробовать [console]optirun "wine prgm.exe"[/console] ?

#217946

:~> optirun wine "/home/andrew/.wine/drive_c/Program Files/Maximum Crysis/Crysis Warhead/Bin32/Crysis.exe"

Показать
[console]ON Enabling nVidia card succeeded.
Starting up bumblebee X server:
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] Shared memory segment ID for vglconfig: 7864344
[VGL] Shared memory segment ID for vglconfig: 7897113
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] Shared memory segment ID for vglconfig: 8585241
[VGL] Shared memory segment ID for vglconfig: 8945700
[VGL] NOTICE: Replacing dlopen("libGL.so.1") with dlopen("librrfaker.so")
fixme:win:EnumDisplayDevicesW ((null),0,0x72e2dc,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x72e1f8,0x00000000), stub!
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 132 (XVideo)
Minor opcode of failed request: 18 ()
Resource id in failed request: 0x4600006
Serial number of failed request: 25
Current serial number in output stream: 26
fixme:faultrep:ReportFault 0xbfdf726c 0x0 stub
err:seh:raise_exception Exception frame is not in stack limits => unable to dispatch exception.
Stopping bumblebee X server: .
OFF Disabling nVidia card succeeded.[/console]

Экран не чернеет, разрешение не меняется. Но игра не запускается.

#218018

внимательней надо читать ! :
optirun "wine prgm.exe"

но ! :
optirun wine "/home/andrew/.wine/drive_c/Program Files/Maximum Crysis/Crysis Warhead/Bin32/Crysis.exe"

#218081
gramozeka написал:
внимательней надо читать ! :
optirun "wine prgm.exe"

но ! :
optirun wine "/home/andrew/.wine/drive_c/Program Files/Maximum Crysis/Crysis Warhead/Bin32/Crysis.exe"

ДУмаешь не попробовал такую конструкцию?

:~> optirun "wine /home/andrew/.wine/drive_c/Program Files/Maximum Crysis/Crysis Warhead/Bin32/Crysis.exe"

Показать
[console]ON Enabling nVidia card succeeded.
Starting up bumblebee X server:
/usr/bin/vglrun: line 297: /home/andrew/wine /home/andrew/.wine/drive_c/Program Files/Maximum Crysis/Crysis Warhead/Bin32/Crysis.exe: Нет такого файла или каталога
/usr/bin/vglrun: line 297: exec: /home/andrew/wine /home/andrew/.wine/drive_c/Program Files/Maximum Crysis/Crysis Warhead/Bin32/Crysis.exe: не могу запустить: Нет такого файла или каталога
Stopping bumblebee X server: .....
OFF Disabling nVidia card succeeded.[/console]

Но

:~> optirun wine "/home/andrew/.wine/drive_c/Program Files/Maximum Crysis/Crysis Warhead/Bin32/Crysis.exe"

Показать
[console]
ON Enabling nVidia card succeeded.
Starting up bumblebee X server:
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] Shared memory segment ID for vglconfig: 1277976[VGL] Shared memory segment ID for vglconfig: 1310748

[VGL] Shared memory segment ID for vglconfig: 1343512
Stopping bumblebee X server: /etc/init.d/bumblebee: line 125: kill: (6964) - No such process

OFF Disabling nVidia card succeeded.
[/console]

Просто я выложил рабочий вариант сразу.

#218086

Может внесу небольшую неразбериху, но мне кажется, что выхлоп подробностей запуска virtualgl слабоват, в частности отсутствие информации об X дисплее. Думаю, что все-таки надо копать в сторону bumblebee.
Покажите:
rcbumblebee start
optirun glxspheres
+
может стоит заглянуть в лог самого bumblebee.

#218180

После перезагрузки вижу вот такую картину:

Показать
[console]:~> bumblebee-enablecard
/usr/bin/bumblebee-enablecard: line 4: modprobe: команда не найдена
Error: acpi_call module not loaded
:~> sudo bumblebee-enablecard
ON Enabling nVidia card succeeded.
:~> sudo bumblebee-disablecard
OFF Disabling nVidia card succeeded.
:~> optirun glxspheres
ON Enabling nVidia card succeeded.
FATAL: Error inserting nvidia (/lib/modules/2.6.37.6-0.9-desktop/weak-updates/updates/nvidia.ko): No such device
Starting up bumblebee X server:
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
Polygons in scene: 62464
[VGL] Shared memory segment ID for vglconfig: 1081374
Stopping bumblebee X server: /etc/init.d/bumblebee: line 125: kill: (6542) - No such process
OFF Disabling nVidia card succeeded.
:~> sudo bumblebee-enablecard
ON Enabling nVidia card succeeded.
FATAL: Error inserting nvidia (/lib/modules/2.6.37.6-0.9-desktop/weak-updates/updates/nvidia.ko): No such device
:~> sudo bumblebee-disablecard
OFF Disabling nVidia card succeeded.[/console]

gramozeka, я даже представляю что ты напишешь: " Вот поэтому я сижу на Слаке!" :)))
И всё же, от чего так происходит?

+
Для проверки, перезагрузился, и сразу вот такая картина:
[console]:~> optirun glxspheres
ON Enabling nVidia card succeeded.
Starting up bumblebee X server:
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
Polygons in scene: 62464
[VGL] Shared memory segment ID for vglconfig: 1015837
Visual ID of window: 0x21
OpenGL Renderer: GeForce GT 540M/PCI/SSE2
83.761817 frames/sec - 93.478188 Mpixels/sec
84.588213 frames/sec - 94.400446 Mpixels/sec
82.259188 frames/sec - 91.801254 Mpixels/sec
81.956698 frames/sec - 91.463675 Mpixels/sec
86.851784 frames/sec - 96.926591 Mpixels/sec
Stopping bumblebee X server: .
OFF Disabling nVidia card succeeded.[/console]

#218203
mvt написал:
Не поможет? nVidia optimus & linux

Нет. Используется всё тоже самое, за исключением "cardon" и "cardoff".
Включение и и выключение работает. Но вот работа optirun и wine пока вызывают проблемы.

+
И сейчас появилась проблема с:
[console]# modprobe nvidia
FATAL: Error inserting nvidia (/lib/modules/2.6.37.6-0.9-desktop/weak-updates/updates/nvidia.ko): No such device[/console]

Лечится перезагрузкой.
Стоит пару воспользоваться или optirun или bumblebee-enablecard и появляется ошибка.

#218240
KrackMan написал:
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")

тебя смущает этот варнинг ? ... :D , имеет смысл разобраться откуда растут уши у него wink , т.е. для начала выяснить что за /lib/libdl.so.2 и почему из-за неё :
[console]
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] Shared memory segment ID for vglconfig: 1277976[VGL] Shared memory segment ID for vglconfig: 1310748
[VGL] Shared memory segment ID for vglconfig: 1343512
Stopping bumblebee X server: /etc/init.d/bumblebee: line 125: kill: (6964) - No such process
[/console]

... м-да , затейка .. :( , ну да это к делу может и не касаться вовсе , но вот как вариант ...

#218268
gramozeka написал:
для начала выяснить что за /lib/libdl.so.2

Пытаюсь гуглить.
Пока нашел вот, что(может тоже пригодиться):
[console]# ldd /lib/libdl.so.2
linux-gate.so.1 => (0xffffe000)
libc.so.6 => /lib/libc.so.6 (0xb75c1000)
/lib/ld-linux.so.2 (0xb774e000)[/console]
[console]# locate libdlfaker.so
/usr/lib/libdlfaker.so[/console]
[console]# ldd /usr/lib/libdlfaker.so
linux-gate.so.1 => (0xffffe000)
libc.so.6 => /lib/libc.so.6 (0xb759d000)
/lib/ld-linux.so.2 (0xb772d000)[/console]

"Stopping bumblebee X server: /etc/init.d/bumblebee: line 125: kill: (9428) - No such process" - переодически появляется, но исправляется последующим запуском команды.

#218315

[console][VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")[/console]
[console]vglrun +v -nodl -c $VGL_COMPRESS -d $VGL_DISPLAY "$@"[/console]
Но это не выход и тем более решение проблем, связанных с запуском приложений "wine".

#218671
aliaksei1818 написал:
Но это не выход и тем более решение проблем, связанных с запуском приложений "wine".

-nodl - убрал параметр.

Установил 3-е ядро, скачал отдельно Заголовок с которым работал: Использование acpi_call
bumblebee не работал, ссылаясь на невозможность modprobe acpi_call и nvidia, но echo '\_SB.PCI0.PEG0.PEGP._ON' > /proc/acpi/call включало карту, а echo '\_SB.PCI0.PEG0.PEGP._OFF' > /proc/acpi/call - соответственно выключало.

Пересел на:
[console]:~> uname -rm
2.6.37.6-0.9-default i686[/console], заработал звук(ради чего и переходил собственноc одной версии на другую. И есть acpi_call и nvidia-gfxG02-default (x11-video-nvidiaG02).
Пересобрал wine под текущее ядро.
Для проверки Wine запустил
[console]:~> wine /home/andrew/My\ Games/Valve/hl.exe -game cstrike[/console]
Контра запустилась, но выбивает во время создания карты.


В консоли 349 строк текста, вот последние 4 строчки:
[console]27 0xb75dfb05 start_thread+0xc4() in libpthread.so.0 (0x0ca1f498)
wine: Call from 0x7ef87fb0 to unimplemented function msvcrt.dll._localtime64, aborting
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x68a5870
err:ntdll:RtlDeleteResource Deleting active MRSW lock (0x1121f4), expect failure[/console]

Это как говориться лирика.
Главная проблема так и осталась:
[console]:~> optirun glxspheres
ON Enabling nVidia card succeeded.
FATAL: Error inserting nvidia (/lib/modules/2.6.37.6-0.9-default/weak-updates/updates/nvidia.ko): No such device
Starting up bumblebee X server:
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
Polygons in scene: 62464
[VGL] Shared memory segment ID for vglconfig: 5275676
Stopping bumblebee X server: /etc/init.d/bumblebee: line 125: kill: (7130) - No such process

OFF Disabling nVidia card succeeded.[/console]

FATAL: Error inserting nvidia (/lib/modules/2.6.37.6-0.9-default/weak-updates/updates/nvidia.ko): No such device - появляется после успешного срабатывания bumblebee-enabledcard или optirun glxgears

Stopping bumblebee X server: /etc/init.d/bumblebee: line 125: kill: (7130) - No such process - либо сопутствует появление Фатала, либо само по себе появляет. Причем иногда можно второй раз выполнить команду и всё прокатит, а может и не прокатить вообще.

#218694

[console]FATAL: Error inserting nvidia (/lib/modules/2.6.37.6-0.9-default/weak-updates/updates/nvidia.ko): No such device[/console]
Похоже проблема с управлением питания - покажите " lspci -vnn | sed -n '/nVidia /,/Kernel/p' " когда происходит данная ошибка.

#218696
aliaksei1818 написал:
lspci -vnn | sed -n '/nVidia /,/Kernel/p'

[console]01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:0df4] (rev ff) (prog-if ff)
!!! Unknown header type 7f[/console]

Это сейчас. Но я отключил видеокарту через echo '\_SB.PCI0.PEG0.PEGP._OFF'. Сейчас перезагружусь и промониторю.

+
После перезагрузки:
# lspci -vnn | sed -n '/nVidia /,/Kernel/p'

Показать
[console]01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:0df4] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] Device [1025:054e]
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at d0000000 (32-bit, non-prefetchable) [size=16M]
Memory at a0000000 (64-bit, prefetchable) [size=256M]
Memory at b0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 3000 [size=128]
Expansion ROM at d1000000 [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [b4] Vendor Specific Information: Len=14 <?>
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Kernel driver in use: nvidia[/console]

[console]:~> optirun glxgears
root's password:
ON Enabling nVidia card succeeded.
Starting up bumblebee X server:
[VGL] NOTICE: Replacing dlopen("/lib/libdl.so.2") with dlopen("libdlfaker.so")
[VGL] Shared memory segment ID for vglconfig: 1310744
Stopping bumblebee X server: /etc/init.d/bumblebee: line 125: kill: (3249) - No such process
OFF Disabling nVidia card succeeded.[/console]
- 3 раза

[console]# bumblebee-disablecard
OFF Disabling nVidia card succeeded.

# lspci -vnn | sed -n '/nVidia /,/Kernel/p'
01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:0df4] (rev ff) (prog-if ff)
!!! Unknown header type 7f[/console]

[console]# bumblebee-enablecard
ON Enabling nVidia card succeeded.
FATAL: Error inserting nvidia (/lib/modules/2.6.37.6-0.9-default/weak-updates/updates/nvidia.ko): No such device[/console]
# lspci -vnn | sed -n '/nVidia /,/Kernel/p'

Показать
[console]01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:0df4] (rev a1) (prog-if 00 [VGA controller])
Flags: fast devsel, IRQ 16
Memory at d0000000 (32-bit, non-prefetchable) [size=16M]
Memory at a0000000 (64-bit, prefetchable) [size=256M]
Memory at b0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 3000 [size=128]
Expansion ROM at d1000000 [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=128/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [b4] Vendor Specific Information: Len=14 <?>
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
[/console]
Войдите или зарегистрируйтесь, чтобы ответить.