Nvidia блоб и Wayland

Настройка графического интерфейса, Иксов, десктопов, оконных менеджеров и иксовых терминалов

Модератор: Модераторы разделов

BratSinot
Сообщения: 812
ОС: Slackware64

Nvidia блоб и Wayland

Сообщение BratSinot »

Доброго времени суток!

В общем, не могу нормально запустить хотяб Weston с проприетарными драйверами от Nvidia. Weston собирал с патчами под EGLStream, но при его запуске он использует EGL из Mesa, соотвественно работает все это неочень:

Код:

Date: 2017-08-14 MSK [19:40:18.146] weston 3.0.0 http://wayland.freedesktop.org Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?...p;version=3.0.0 Build: unknown (not built from git or tarball) [19:40:18.146] Command line: /usr/bin/weston [19:40:18.146] OS: Linux, 4.12.7-ck1, #1 SMP Mon Aug 14 00:44:30 MSK 2017, x86_64 [19:40:18.146] warning: XDG_RUNTIME_DIR "/tmp" is not configured correctly. Unix access mode must be 0700 (current mode is 777), and must be owned by the user (current owner is UID 0). Refer to your distribution on how to get it, or http://www.freedesktop.org/wiki/Specifications/basedir-spec on how to implement it. [19:40:18.146] Using config file '/root/.config/weston.ini' [19:40:18.146] Output repaint window is 7 ms maximum. [19:40:18.146] Loading module '/usr/lib64/libweston-3/drm-backend.so' [19:40:18.147] initializing drm backend [19:40:18.147] using /dev/dri/card1 [19:40:18.147] Loading module '/usr/lib64/libweston-3/gl-renderer.so' [19:40:18.201] EGL client extensions: EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_EXT_platform_x11 EGL_MESA_platform_gbm [19:40:18.201] warning: neither EGL_EXT_swap_buffers_with_damage or EGL_KHR_swap_buffers_with_damage is supported. Performance could be affected. [19:40:18.201] EGL_KHR_surfaceless_context available [19:40:18.203] EGL version: 1.4 (DRI2) [19:40:18.203] EGL vendor: Mesa Project [19:40:18.203] EGL client APIs: OpenGL OpenGL_ES [19:40:18.203] EGL extensions: EGL_EXT_buffer_age EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_image_dma_buf_export [19:40:18.203] GL version: OpenGL ES 3.0 Mesa 17.1.6 [19:40:18.203] GLSL version: OpenGL ES GLSL ES 3.00 [19:40:18.203] GL vendor: VMware, Inc. [19:40:18.203] GL renderer: Gallium 0.4 on llvmpipe (LLVM 4.0, 256 bits) [19:40:18.203] GL extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_OES_depth_texture_cube_map GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_separate_shader_objects GL_EXT_shader_integer_mix GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_polygon_offset_clamp GL_EXT_texture_border_clamp GL_KHR_context_flush_control GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_OES_texture_stencil8 GL_EXT_blend_func_extended GL_EXT_clip_cull_distance GL_MESA_shader_integer_functions [19:40:18.203] GL ES 2 renderer features: read-back format: BGRA wl_shm sub-image to texture: yes EGL Wayland extension: no [19:40:18.203] event3 - [19:40:18.203] Power Button: [19:40:18.203] is tagged by udev as: Keyboard [19:40:18.203] event3 - [19:40:18.203] Power Button: [19:40:18.203] device is a keyboard [19:40:18.203] event4 - [19:40:18.203] Video Bus: [19:40:18.203] is tagged by udev as: Keyboard [19:40:18.203] event4 - [19:40:18.203] Video Bus: [19:40:18.203] device is a keyboard [19:40:18.203] event2 - [19:40:18.203] Power Button: [19:40:18.203] is tagged by udev as: Keyboard [19:40:18.203] event2 - [19:40:18.203] Power Button: [19:40:18.203] device is a keyboard [19:40:18.203] event1 - [19:40:18.203] Sleep Button: [19:40:18.203] is tagged by udev as: Keyboard [19:40:18.203] event1 - [19:40:18.203] Sleep Button: [19:40:18.203] device is a keyboard [19:40:18.204] event5 - [19:40:18.204] HDA NVidia HDMI/DP,pcm=3: [19:40:18.204] not tagged as supported input device [19:40:18.204] event5 - not using input device '/dev/input/event5' [19:40:18.204] event6 - [19:40:18.204] HDA NVidia HDMI/DP,pcm=7: [19:40:18.204] not tagged as supported input device [19:40:18.204] event6 - not using input device '/dev/input/event6' [19:40:18.204] event7 - [19:40:18.204] HDA NVidia HDMI/DP,pcm=8: [19:40:18.204] not tagged as supported input device [19:40:18.204] event7 - not using input device '/dev/input/event7' [19:40:18.204] event8 - [19:40:18.204] HDA NVidia HDMI/DP,pcm=9: [19:40:18.204] not tagged as supported input device [19:40:18.204] event8 - not using input device '/dev/input/event8' [19:40:18.255] event9 - [19:40:18.255] HID 1241:1166: [19:40:18.255] is tagged by udev as: Mouse [19:40:18.255] event9 - [19:40:18.255] HID 1241:1166: [19:40:18.255] device is a pointer [19:40:18.255] event10 - [19:40:18.255] Plantronics Plantronics GameCom 780: [19:40:18.255] is tagged by udev as: Keyboard [19:40:18.255] event10 - [19:40:18.255] Plantronics Plantronics GameCom 780: [19:40:18.255] device is a keyboard [19:40:18.256] event0 - [19:40:18.256] AT Translated Set 2 keyboard: [19:40:18.256] is tagged by udev as: Keyboard [19:40:18.256] event0 - [19:40:18.256] AT Translated Set 2 keyboard: [19:40:18.256] device is a keyboard [19:40:18.260] Registered plugin API 'weston_drm_output_api_v1' of size 24 [19:40:18.260] Chosen EGL config details: RGBA bits: 8 8 8 0 swap interval range: 0 - 0 [19:40:18.260] Failed to initialize backlight [19:40:18.260] EDID data 'VSC', 'VA903-3Serie', 'QAV063301695' [19:40:18.260] Output HDMI-A-2, (connector 43, crtc 30) mode 1920x1080@59.9 mode 1280x1024@75.0, current mode 1280x1024@60.0 mode 1280x960@60.0 mode 1152x864@75.0 mode 1280x720@59.9 mode 1024x768@75.0 mode 1024x768@70.1 mode 1024x768@60.0 mode 800x600@75.0 mode 800x600@72.2 mode 800x600@60.3 mode 800x600@56.2 mode 720x480@59.9 mode 720x480@59.9 mode 640x480@75.0 mode 640x480@72.8 mode 640x480@59.9 [19:40:18.260] Compositor capabilities: arbitrary surface rotation: yes screen capture uses y-flip: yes presentation clock: CLOCK_MONOTONIC, id 1 presentation clock resolution: 0.000000001 s [19:40:18.260] Loading module '/usr/lib64/weston/desktop-shell.so' [19:40:18.261] launching '/usr/libexec/weston-keyboard' [19:40:18.261] Loading module '/usr/lib64/libweston-3/xwayland.so' [19:40:18.273] Registered plugin API 'weston_xwayland_v1' of size 32 [19:40:18.273] Registered plugin API 'weston_xwayland_surface_v1' of size 16 [19:40:18.273] xserver listening on display :0 [19:40:18.273] launching '/usr/libexec/weston-desktop-shell' could not load cursor 'dnd-move' could not load cursor 'dnd-copy' could not load cursor 'dnd-none' [19:40:18.511] DRM: DPMS: failed property set for HDMI-A-2 could not load cursor 'dnd-move' could not load cursor 'dnd-copy' could not load cursor 'dnd-none' could not load cursor 'dnd-move' could not load cursor 'dnd-copy' could not load cursor 'dnd-none' [19:40:26.973] Spawned Xwayland server, pid 8351 Disabling glamor and dri3, EGL setup failed Failed to initialize glamor, falling back to sw [19:40:27.150] xfixes version: 5.0 [19:40:27.156] created wm, root 608 Unknown parameter: ?1002 Unknown parameter: ?1006 Unknown parameter: ?2004 Unknown parameter: ?2004 Unknown parameter: ?1006 Unknown parameter: ?1002 [19:40:40.617] caught signal 15 [19:40:40.617] panel surface gone [19:40:40.617] background surface gone [19:40:40.618] DRM: DPMS: failed property set for HDMI-A-2 [19:40:40.618] event3 - [19:40:40.618] Power Button: [19:40:40.618] device removed [19:40:40.618] event4 - [19:40:40.618] Video Bus: [19:40:40.618] device removed [19:40:40.618] event2 - [19:40:40.618] Power Button: [19:40:40.618] device removed [19:40:40.618] event1 - [19:40:40.618] Sleep Button: [19:40:40.618] device removed [19:40:40.618] event9 - [19:40:40.618] HID 1241:1166: [19:40:40.618] device removed [19:40:40.618] event10 - [19:40:40.618] Plantronics Plantronics GameCom 780: [19:40:40.618] device removed [19:40:40.618] event0 - [19:40:40.618] AT Translated Set 2 keyboard: [19:40:40.618] device removed


Собственно и вопрос что делать?
P.S. Ядро 4.12.7, драйвера 384.59, Wayland 1.4, Weston 3.0.
Спасибо сказали:
Аватара пользователя
Bizdelnick
Модератор
Сообщения: 20971
Статус: nulla salus bello
ОС: Debian GNU/Linux

Re: Nvidia блоб и Wayland

Сообщение Bizdelnick »

А оно разве вообще должно работать?
Пишите правильно:
в консоли
вку́пе (с чем-либо)
в общем
вообще
в течение (часа)
новичок
нюанс
по умолчанию
приемлемо
проблема
пробовать
трафик
Спасибо сказали:
Аватара пользователя
yars
Сообщения: 1144
Статус: Slacker!
ОС: Slackware64-current

Re: Nvidia блоб и Wayland

Сообщение yars »

Палец Линус nvidia показывал не зря. Пока, насколько я знаю, единственный вариант -- ждать.
Slackware64-current/Xfce 4.12/Acer TravelMate 5760
-------------
Registered Linux User #557010
Спасибо сказали:
BratSinot
Сообщения: 812
ОС: Slackware64

Re: Nvidia блоб и Wayland

Сообщение BratSinot »

Bizdelnick писал(а):
14.08.2017 19:55
А оно разве вообще должно работать?

Ну дык Nvidia патчи для Weston же выложила.

yars писал(а):
14.08.2017 20:18
Палец Линус nvidia показывал не зря. Пока, насколько я знаю, единственный вариант -- ждать.

Да честно говоря это Линусу и КО уже давно нужно оный показывать. Постоянно конфликты со всеми, Райзер, Коливас, та-же Nvidia, да и, по последним новостям, AMD, и это только малая часть "приколов" в разработке ядра.
Спасибо сказали: