Trouble getting Nvidia 960m to work on a Inpsiron 7559

I have tried to install bumblebee but its performance is so poor, and I have tried Nvidia Optimus but I get black screen.

Note: I have 4k touch screen.

➜ ~ lspci | grep -E '3D|VGA'

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06) 02:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2) 

here it does not show Nvidia

➜ ~ xrandr --listproviders

Providers: number : 1 Provider 0: id: 0x46 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:Intel 

➜ ~ sudo pacman -Qs xf86-video

local/xf86-video-intel 1:2.99.917+676+g26f8ab5-1 (xorg-drivers xorg)     X.org Intel i810/i830/i915/945G/G965+ video drivers 

➜ ~ pacman -Qs mesa

local/glu 9.0.0-4     Mesa OpenGL Utility library local/lib32-glu 9.0.0-3     Mesa OpenGL utility library (32 bits) local/lib32-libtxc_dxtn 1.0.1-5     S3 Texture Compression (S3TC) library for Mesa (32-bit) local/lib32-mesa 12.0.1-2     an open-source implementation of the OpenGL specification (32-bit) local/lib32-mesa-libgl 12.0.1-2     Mesa 3-D graphics library (32-bit) local/libtxc_dxtn 1.0.1-6     S3 Texture Compression (S3TC) library for Mesa local/mesa 12.0.1-2     an open-source implementation of the OpenGL specification local/mesa-demos 8.3.0-1     Mesa demos and tools local/mesa-libgl 12.0.1-2     Mesa 3-D graphics library 

Bumblebee

wiki.archlinux.org/index.php/bumblebee


➜ ~ pacman -Qs bumblebee

local/bumblebee 3.2.1-11 NVIDIA Optimus support for Linux through VirtualGL local/primus 20151110-5 Faster OpenGL offloading for Bumblebee

➜ ~ pacman -Qs nvidia

local/bumblebee 3.2.1-11     NVIDIA Optimus support for Linux through VirtualGL local/lib32-nvidia-utils 367.35-1     NVIDIA drivers utilities (32-bit) local/lib32-opencl-nvidia 367.35-1     OpenCL implemention for NVIDIA (32-bit) local/libvdpau 1.1.1-2     Nvidia VDPAU library local/libxnvctrl 367.35-1     NVIDIA NV-CONTROL X extension local/nvidia 367.35-1     NVIDIA drivers for linux local/nvidia-lts 367.35-1     NVIDIA drivers for linux-lts local/nvidia-settings 367.35-1     Tool for configuring the NVIDIA graphics driver local/nvidia-utils 367.35-1     NVIDIA drivers utilities local/opencl-nvidia 367.35-1     OpenCL implemention for NVIDIA local/xf86-video-nouveau 1.0.12-1 (xorg-drivers xorg)     Open Source 2D acceleration driver for nVidia cards 

➜ ~ id $USER

uid=1000(arsen) gid=100(users) groups=100(users),3(sys),7(lp),10(wheel),50(games),90(network),91(video),92(audio),95(storage),98(power),56(bumblebee) 

I have tried to use:

➜ ~ vblank_mode=0 optirun glxgears -info

there was no output, but there was output with primus

➜ ~ vblank_mode=0 primusrun glxgears -info

http://pastebin.com/TCnqAhDF

ATTENTION: default value of option vblank_mode overridden by environment. ATTENTION: default value of option vblank_mode overridden by environment. GL_RENDERER   = GeForce GTX 960M/PCIe/SSE2 GL_VERSION    = 4.5.0 NVIDIA 367.35 GL_VENDOR     = NVIDIA Corporation GL_EXTENSIONS = GL_AMD_multi_draw_indirect GL_AMD_seamless_cubemap_per_texture GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_bindless_texture GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_color_buffer_float GL_ARB_compatibility GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_compute_shader GL_ARB_compute_variable_group_size GL_ARB_conditional_render_inverted GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_derivative_control GL_ARB_direct_state_access 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_enhanced_layouts GL_ARB_ES2_compatibility GL_ARB_ES3_compatibility GL_ARB_ES3_1_compatibility GL_ARB_ES3_2_compatibility GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader_int64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_indirect_parameters GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_multi_draw_indirect GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_parallel_shader_compile GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_texture GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counter_ops GL_ARB_shader_atomic_counters GL_ARB_shader_ballot GL_ARB_shader_bit_encoding GL_ARB_shader_clock GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shader_image_load_store GL_ARB_shader_image_size GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_storage_buffer_object GL_ARB_shader_subroutine GL_ARB_shader_texture_image_samples GL_ARB_shader_texture_lod 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_sparse_buffer GL_ARB_sparse_texture GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_barrier GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range 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_mirror_clamp_to_edge GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transform_feedback_overflow_query 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_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev 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_multisample_blit_scaled 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_polygon_offset_clamp 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_formatted GL_EXT_shader_image_load_store GL_EXT_shader_integer_mix 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_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_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_NV_robustness_video_memory_purge GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KHR_context_flush_control GL_KHR_debug GL_KHR_no_error GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_KTX_buffer_region GL_NV_bindless_multi_draw_indirect GL_NV_bindless_multi_draw_indirect_count GL_NV_bindless_texture GL_NV_blend_equation_advanced GL_NV_blend_equation_advanced_coherent GL_NV_blend_square GL_NV_command_list GL_NV_compute_program5 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_draw_texture GL_NV_draw_vulkan_image GL_NV_ES1_1_compatibility GL_NV_ES3_1_compatibility GL_NV_explicit_multisample GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance 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_internalformat_sample_query GL_NV_gpu_program4_1 GL_NV_gpu_program5 GL_NV_gpu_program5_mem_extended 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_atomic_float GL_NV_shader_atomic_int64 GL_NV_shader_buffer_load GL_NV_shader_storage_buffer_object GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 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_uniform_buffer_unified_memory 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_NVX_nvenc_interop GL_NV_shader_thread_group GL_NV_shader_thread_shuffle GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum  VisualID 210, 0xd2 ATTENTION: default value of option vblank_mode overridden by environment. ATTENTION: default value of option vblank_mode overridden by environment. 13434 frames in 5.0 seconds = 2686.646 FPS 14058 frames in 5.0 seconds = 2811.487 FPS 14500 frames in 5.0 seconds = 2899.919 FPS 14752 frames in 5.0 seconds = 2950.359 FPS 14393 frames in 5.0 seconds = 2878.563 FPS ^C 

about 3000, now with Intel graphics

➜ ~ vblank_mode=0 glxgears -info

http://pastebin.com/3RCCaff6

ATTENTION: default value of option vblank_mode overridden by environment. ATTENTION: default value of option vblank_mode overridden by environment. GL_RENDERER   = Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2)  GL_VERSION    = 3.0 Mesa 12.0.1 GL_VENDOR     = Intel Open Source Technology Center GL_EXTENSIONS = GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color 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_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle 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_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp 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_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 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_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent 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_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_texture_array GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_stencil_export GL_ARB_shader_texture_lod GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_NV_texture_barrier GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_precision GL_ARB_texture_compression_bptc GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shader_atomic_counters GL_ARB_shader_image_load_store GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_ARB_transform_feedback_instanced GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_shader_trinary_minmax GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_compute_shader GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_framebuffer_no_attachments GL_ARB_invalidate_subdata GL_ARB_program_interface_query GL_ARB_robust_buffer_access_behavior GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_stencil_texturing GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_texture_view GL_ARB_vertex_attrib_binding GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_ARB_buffer_storage GL_ARB_clear_texture GL_ARB_internalformat_query2 GL_ARB_multi_bind GL_ARB_query_buffer_object GL_ARB_seamless_cubemap_per_texture GL_ARB_shader_draw_parameters GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_stencil8 GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_shader_integer_mix GL_ARB_clip_control GL_ARB_conditional_render_inverted GL_ARB_cull_distance GL_ARB_derivative_control GL_ARB_get_texture_sub_image GL_ARB_pipeline_statistics_query GL_ARB_shader_texture_image_samples GL_ARB_texture_barrier GL_EXT_polygon_offset_clamp GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_ARB_shader_clock GL_EXT_shader_samples_identical  VisualID 210, 0xd2 40377 frames in 5.0 seconds = 8075.282 FPS 38422 frames in 5.0 seconds = 7684.240 FPS 37883 frames in 5.0 seconds = 7576.435 FPS 37743 frames in 5.0 seconds = 7548.454 FPS 39213 frames in 5.0 seconds = 7842.592 FPS ^C 

about 8k

Nvidia Optimus

wiki.archlinux.org/index.php/NVIDIA_Optimus



I have installed the following:

➜ ~ sudo pacman -S nvidia nvidia-utils nvidia-settings libvdpau libxnvctrl nvidia-libgl lib32-nvidia-libgl opencl-nvidia lib32-opencl-nvidia

then created the following:

/etc/X11/xorg.conf

Section "Module"     Load "modesetting" EndSection  Section "Device"     Identifier "nvidia"     Driver "nvidia"     BusID "PCI:2:0:0"     Option "AllowEmptyInitialConfiguration" EndSection 

/etc/X11/xinit/xinitrc.d/nvidia-optimus.sh

#!/bin/sh xrandr --setprovideroutputsource modesetting NVIDIA-0 xrandr --auto 

after rebooting I just get black screen. xorg log file:

pastebin.com/kgn3binY

I have tried to use the alternative configuration

Section "Device"     Identifier  "intel"     Driver      "modesetting"     BusID       "PCI:0:2:0"     Option      "AccelMethod"   "sna" EndSection 

but I just get oh snap screen after boot.

xorg file log:

pastebin.com/8G9ND9VG

I can't really figure out the issue I hope to get some help.

Note: I created a thread on Arch forums but this guy "jasonwryan" banned me and deleted my thread only because I called him dude... such a cocky person

Replay

Category: arch linux Time: 2016-07-28 Views: 1

Related post

  • Having trouble getting startup scripts to work in Server 2003 2010-03-25

    Thanks for taking the time to read this. I am having trouble getting my startup scripts to run correctly on the domain I am administering. Before anyone gets upset and says "go read xxx article from microsoft",... I have. I am simply missing som

  • Can't get NVIDIA drivers to work on Dell Latitude E6520, Unity on Oneiric 2012-02-13

    Possible Duplicate: How well do laptops with Nvidia Optimus work? My external monitor works fine when connected to my laptop's dock using a VGA cable. However, with a DVI cable, I can't seem to pick it up. Googling led me to install the NVIDIA additi

  • ElementaryOS desktop messed up after trying to get NVIDIA drivers to work. 2014-10-15

    I've been trying to get the NVIDIA drivers to work on my Lenovo Y50 (GTX 860m) for a while. After installing them and rebooting, I get a black screen with some unhelpful text, which I usually remedied by logging into a shell and purging the drivers.

  • How do I get Nvidia drivers to work with mainline PPA kernels? 2010-11-03

    I installed the 2.6.36 kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.36-maverick/ because it's the first version to supports my soundcard (this works) but now I can't get my Geforce 310M to work. I used the 256.53 Version which works

  • Cannot get nvidia drivers to work 2013-06-08

    I have tried everything and literally followed this tutorial: http://www.dedoimedo.com/computers/ubuntu-quetzal-nvidia.html 10 times from top to bottom and I still can't get my nvidia drivers installed. I am running ubuntu 13.04. It should be noted t

  • Unable to get Nvidia drivers to work on GeForce GT755M (Optimus) 2013-12-28

    I am trying to get Ubuntu 13.10 running on a Lenovo Y510p with a GeForce GT755M graphics card. I have followed countless tutorials on the web, all to no avail. The methods I have tried include: 1) installing latest Nvidia drivers from their website (

  • How do I get nvidia drivers to work on Xubuntu 14.04? 2014-07-04

    I installed and tested multiple Nvidia drivers such as 331 and 304 but every time I always end with Xubuntu on a black screen after the booting screen. How do I make them work successfully on my 2010 15 inch macbook pro? --------------Solutions------

  • Any way to get Nvidia Optimus card working on 14.04.1? 2014-08-06

    My Nvidia graphic card has Optimus technology and as far as I can see it is not working, not even recognized. On system settings details it says Intel Haswell Mobile on graphic section. Also on startup I get a screen saying unknown chipset with some

  • Trouble getting FTP login to work in IIS6 2009-09-17

    I'm trying to setup an FTP site for one of my clients to retrieve files from my organization using IIS6. I've created the FTP site, have set to not isolate users (not necessary as FTP will be read only with authentication). Here's the problem. The FT

  • Trouble getting busybox switch_root to work 2010-12-21

    I'm working on an embedded ARM Linux system that boots using initramfs. (Here's some background from a couple earlier questions, if you're interested.) So far, thanks in part to help received here, I can boot the kernel via TFTP with an embedded init

  • Trouble getting OS fingerprinting to work in iptables 2013-11-01

    Everyone, As I understand it, OSF has been merged with the Kernel since 2.6.before-my-kernel-version. Yet when I do something like this: iptables -I INPUT -j ACCEPT -p tcp -m osf --genre Linux --log 0 --ttl 2 and I get an error like: iptables: No cha

  • Get nvidia driver to work in gdm OR fix workspaces in lightdm 2015-08-22

    I have a lenovo with two GPUs, intel and nvidia. The problem is that if I set gdm, the driver doesn't work, and I can't switch to high performance mode. If I change gdm and select lightdm, that problem is resolved, but then, all the workspaces will b

  • Trouble getting IIS 8 Initialization working 2015-10-20

    I'm running IIS 8 and I'm trying to initialize my intranet MVC project when it is restarted. I am working off of this answer but I can't seem to get it to work. I see the IIS worker restarting when I recycle the app pool but I still get a slow load t

  • trouble getting wifi adapter to work in kali linux 2.0 2015-12-12

    I am trying to get a WIFI adapter to work in Kali Linux 2.0. The WIFI adapter is a Alfa awus051nh v2. The chipset is rt3572. I was able to get the driver off the disc and move it to /lib/firmware then rebooted. Nothing happened, there was still no in

  • I'm having trouble getting my jQuery to work on the simplest level 2016-02-07

    Ok, so this is a total noob question. I'm trying to build a site from scratch using HTML, CSS, and JavaScript and I want to use jQuery. For some reason I can get the HTML and CSS working but I can't use jQuery in my script.js file. I've downloaded jQ

  • Can't get Nvidia graphics to work on Lubuntu 2016-02-23

    I have a laptop with an Nvidia GeForce 8400m GT. As of now, all of the windows lag when I drag them or scroll. The desktop resolution also doesn't match the display's. I went to "Additional Drivers" and installed the 340.96 binary, then rebooted

  • Having trouble getting 12.10 to work with my newly built PC. I think the problem is with the graphics 2013-03-03

    edit: I know that I am generally ignorant of Linux and computers in general, but I did do a lot of research on my own before asking for help. I use an AMD A10-5800K APU with Radeon HD 7660D So far, I've got ubuntu installed but I've had to insert "no

  • trouble getting incron inotify to work 2016-01-26

    so after alex answer here are my steps : creating shell code [email protected][/]# touch mylog.sh [email protected][/]# nano mylog.sh copying the code in the mylog.sh #!/bin/bash echo "File $1 created." >> /mylog.log permission [email protected][/]# chmod +x mylog.sh c

  • BumbleBee / getting Nvidia 310.19 Drivers to Work | 12.10 2012-11-26

    Asus U31JG - A1 Laptop: -Intel Core i3 -Nvidia 415m / Intel HD Graphics ( Optimus Technology ) Hello, I have been trying for about 3 weeks now to get any kind of Nvidia driver to work, and now am determined to get the 310.19 driver to work. I have tr

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 2.813 (s). 13 q(s)