Uff, otkad ja nisam teme zapoceo.
Ok, nabavio sam dell inspiron n7110m dodje intel i nvidia grafa na njemu. Pitam se da li ima dovoljno podrske za takvo nesto na linuxu. Da li ja mogu jednostavno prebacivati sa jedne na drugu po potrebi ili moram svaki put xorg otvarati? Nisam jos stavio nikakav sistem na njega.
To je Nvidia Optimus tehnologija i kako sam prije citao nema oficialni port za GNU/Linux niti planiraju napraviti. Ipak postoje nezavisni projekti, kao Bumblebee i Snail, koji navodno omogucavaju switching. Sad ne znam kolko je to sve stabilno i updateovano.
Onda da stavim 2 konfiguracije i samo ih saltam ako mi zatreba nvidia? Vecinom cu ga koristiti na intel-u vjerojatno.
Ja bih probao sa Bubmlebee gdje se nVidia graficka ukljucuje samo kada bude potrebe. Tako je nVidia eficijentnija od processora za dekodiranje h264 videa pa je bolje pustiti nju da to odradi sa MPlayer, mplayer2, vlc. Ako se ovi driveri pokazu stabilni onda bi to po meni bilo najbolje rjesenje.
Sad ako ces vecinom koristiti za zahtjevniju grafiku onda bih presao samo na nVidiu. Drugacije ako ti ne treba zahtjevna grafika bolje ostaviti samo Intel grafku u ustedit na bateriji.
[quote=Asm1r]Ja bih probao sa Bubmlebee gdje se nVidia graficka ukljucuje samo kada bude potrebe. Tako je nVidia eficijentnija od processora za dekodiranje h264 videa pa je bolje pustiti nju da to odradi sa MPlayer, mplayer2, vlc. Ako se ovi driveri pokazu stabilni onda bi to po meni bilo najbolje rjesenje.
Sad ako ces vecinom koristiti za zahtjevniju grafiku onda bih presao samo na nVidiu. Drugacije ako ti ne treba zahtjevna grafika bolje ostaviti samo Intel grafku u ustedit na bateriji.[/quote]
Zapravo i jesam mislio odmah ostaviti samo intel zbog stednje.
Good to know. Imam i ja isti
Pokusat cu ja danas uraditi konfiguraciju pa cu javiti kako je proslo.
Instalirao sam debian i pokusao prvo konfigurirati bumblebee sto mi naravno nije uspjelo. Uradio sam kasnije blacklist nouveau drivera i ostavio na intel grafi, mada mi i dalje nesto zdere bateriju(vjerojatno proc). Neka ove teme pa ako naletim na neke fixeve napisem ovdje. Ako netko ima prijedloga onda slobodno.
Pa gdje je zapeo bumblebee? Mozda je sta lahko rjesivo.
Nisam se stigao puno zezati. Pokusat cu ponovno kad budem vremena imao. Znam samo da mi je ucitao gnome classic nakon instalacije.
Ja imam takav laptop, samo je kombinacija dva ati-a, i mogu saltati grafike iz catalyst-a. Sto se tice drivera, skidao sam za onu “jacu” jer za procesor koji ja imam (a ima grafiku u sebi) jos nema drivera. Ne znam da li mogu jos nekako pomoci, meni radi kako treba.
Pokusao sam instalirati nvidia binary pa je nesto crklo u sred akcije, dobio crni ekran i nisam mogao saltati izmedju tty. Mislim da sam napravio neki pogresan korak. Stavit cu testnu distro na jednu particiju pa cu tu malo kemijat.
Pokusao sam instalirati nvidia binary pa je nesto crklo u sred akcije, dobio crni ekran i nisam mogao saltati izmedju tty. Mislim da sam napravio neki pogresan korak. Stavit cu testnu distro na jednu particiju pa cu tu malo kemijat.[/quote]
You do so.
Ok momci, bit ce vam drago cuti da sam uspio omoguciti normalan rad nvidia i intel graficke ledja od ledja preko bumblebee projekta. Distro je Debian Wheezy i pratio sam upute ovdje: https://wiki.debian.org/Bumblebee#Installation
Zadivljen sam cudom kako radi. Evo jedne usporedbe.
Za intel:
$ glxgears -info
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
GL_RENDERER = Mesa DRI Intel(R) Sandybridge Mobile
GL_VERSION = 2.1 Mesa 7.11.2
GL_VENDOR = Tungsten Graphics, Inc
GL_EXTENSIONS = GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_NV_vertex_program GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_ATI_envmap_bumpmap GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_NV_vertex_program1_1 GL_APPLE_client_storage GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_EXT_pixel_buffer_object GL_EXT_texture_compression_rgtc GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_APPLE_object_purgeable GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_EXT_draw_buffers2 GL_EXT_gpu_program_parameters GL_EXT_texture_env_combine GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_ARB_copy_buffer GL_ARB_half_float_vertex GL_ARB_map_buffer_range GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_separate_shader_objects GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_ARB_ES2_compatibility GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_texture_lod GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_ARB_robustness
301 frames in 5.0 seconds = 60.045 FPS
300 frames in 5.0 seconds = 59.838 FPS
300 frames in 5.0 seconds = 59.838 FPS
300 frames in 5.0 seconds = 59.838 FPS
Za nvidia:
$ optirun glxgears -info
GL_RENDERER = GeForce GT 525M/PCIe/SSE2
GL_VERSION = 4.2.0 NVIDIA 295.40
GL_VENDOR = NVIDIA Corporation
GL_EXTENSIONS = GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_color_buffer_float GL_ARB_compatibility GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_get_program_binary GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counters GL_ARB_shader_bit_encoding GL_ARB_shader_image_load_store GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_subroutine GL_ARB_shading_language_100 GL_ARB_shading_language_420pack GL_ARB_shading_language_include GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_compression GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_shader_objects GL_EXT_separate_specular_color GL_EXT_shader_image_load_store GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_texture_storage GL_EXT_texture_swizzle GL_EXT_texture_type_2_10_10_10_REV GL_EXT_timer_query GL_EXT_transform_feedback2 GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_EXT_vertex_attrib_64bit GL_EXT_x11_sync_object GL_EXT_import_sync_object GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_alpha_test GL_NV_blend_minmax GL_NV_blend_square GL_NV_complex_primitives GL_NV_conditional_render GL_NV_copy_depth_to_color GL_NV_copy_image GL_NV_depth_buffer_float GL_NV_depth_clamp GL_NV_explicit_multisample GL_NV_fbo_color_attachments GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragdepth GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_geometry_shader4 GL_NV_gpu_program4 GL_NV_gpu_program4_1 GL_NV_gpu_program5 GL_NV_gpu_program_fp64 GL_NV_gpu_shader5 GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_parameter_buffer_object GL_NV_parameter_buffer_object2 GL_NV_path_rendering GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_shader_atomic_counters GL_NV_shader_buffer_load GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_lod_clamp GL_NV_texture_multisample GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_transform_feedback GL_NV_transform_feedback2 GL_NV_vdpau_interop GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_attrib_integer_64bit GL_NV_vertex_buffer_unified_memory GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_NVX_gpu_memory_info GL_OES_depth24 GL_OES_depth32 GL_OES_depth_texture GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives 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_array_object GL_OES_vertex_half_float GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
5054 frames in 5.0 seconds = 1010.629 FPS
5027 frames in 5.0 seconds = 1005.213 FPS
5133 frames in 5.0 seconds = 1026.588 FPS
5125 frames in 5.0 seconds = 1024.967 FPS
5106 frames in 5.0 seconds = 1021.062 FPS
Genericke upute su ovdje: http://bumblebee-project.org/install.html
Eto ljudovi, igrajte se.
PS
Postoji jos jedan projekat zvani ironhide pa ako se nekome dadne, neka pokusa i to.
Dell Latitude E6430
lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Ivy Bridge Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 0dfc (rev ff)
sudo apt-add-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee-nvidia
sudo reboot
glxspheres
Polygons in scene: 62464
Visual ID of window: 0x94
Context is Direct
OpenGL Renderer: Mesa DRI Intel(R) Ivybridge Mobile
60.081131 frames/sec - 51.479917 Mpixels/sec
60.164015 frames/sec - 51.550935 Mpixels/sec
60.188589 frames/sec - 51.571991 Mpixels/sec
60.177998 frames/sec - 51.562916 Mpixels/sec
59.195597 frames/sec - 50.721155 Mpixels/sec
60.177912 frames/sec - 51.562842 Mpixels/sec
60.208211 frames/sec - 51.588803 Mpixels/sec
60.188739 frames/sec - 51.572119 Mpixels/sec
60.180417 frames/sec - 51.564988 Mpixels/sec
60.185948 frames/sec - 51.569728 Mpixels/sec
60.169772 frames/sec - 51.555867 Mpixels/sec
58.689732 frames/sec - 50.287710 Mpixels/sec
60.179668 frames/sec - 51.564346 Mpixels/sec
60.177877 frames/sec - 51.562812 Mpixels/sec
60.187768 frames/sec - 51.571287 Mpixels/sec
60.192929 frames/sec - 51.575709 Mpixels/sec
60.185463 frames/sec - 51.569312 Mpixels/sec
60.185727 frames/sec - 51.569538 Mpixels/sec
60.174901 frames/sec - 51.560262 Mpixels/sec
59.193638 frames/sec - 50.719477 Mpixels/sec
60.177720 frames/sec - 51.562677 Mpixels/sec
60.196492 frames/sec - 51.578762 Mpixels/sec
60.176357 frames/sec - 51.561510 Mpixels/sec
60.176564 frames/sec - 51.561687 Mpixels/sec
p.s.
eto zašto je ubuntu dobar
Imas bumblebee-nvidia fali ti jos bumblebee package pa da koristis dual graphic.
[quote=Asm1r][quote=nidla]
sudo apt-get update
sudo apt-get install bumblebee-nvidia
[/quote]
Imas bumblebee-nvidia fali ti jos bumblebee package pa da koristis dual graphic. :)[/quote]
jes da ga ovaj nije povukao kao dependencies al pošto jes nikom ništa
I see, samo sto jos moras koristiti
za apps kao glxspheres.
evo i nitro mode
optirun glxspheres
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: NVS 5200M/PCIe/SSE2
119.313504 frames/sec - 133.153871 Mpixels/sec
127.710404 frames/sec - 142.524811 Mpixels/sec
127.692012 frames/sec - 142.504285 Mpixels/sec
128.169988 frames/sec - 143.037706 Mpixels/sec
120.018843 frames/sec - 133.941029 Mpixels/sec
128.375964 frames/sec - 143.267576 Mpixels/sec
126.295304 frames/sec - 140.945560 Mpixels/sec
147.270718 frames/sec - 137.591088 Mpixels/sec
215.984500 frames/sec - 129.704092 Mpixels/sec
218.289897 frames/sec - 131.088540 Mpixels/sec
215.063520 frames/sec - 129.151021 Mpixels/sec
339.390412 frames/sec - 118.897243 Mpixels/sec
334.188942 frames/sec - 115.953537 Mpixels/sec
334.988100 frames/sec - 116.230821 Mpixels/sec
343.613401 frames/sec - 119.223542 Mpixels/sec
341.957547 frames/sec - 118.649010 Mpixels/sec
322.781480 frames/sec - 111.995490 Mpixels/sec
327.375194 frames/sec - 113.589371 Mpixels/sec
325.618044 frames/sec - 112.979693 Mpixels/sec
342.182032 frames/sec - 118.726900 Mpixels/sec
338.192915 frames/sec - 117.342796 Mpixels/sec
341.333211 frames/sec - 118.432384 Mpixels/sec
327.921348 frames/sec - 113.778870 Mpixels/sec