Results 1 to 3 of 3

Thread: Laptop with Intel graphic and NVIDIA but nvidia is never used problem

  1. #1
    Join Date
    2022-Dec
    Location
    France
    Posts
    2

    Laptop with Intel graphic and NVIDIA but nvidia is never used problem

    Hello,

    I have an old Alienware m15 laptop with intel i915 graphic and nvidia RTX2080.

    I installed Kali 2022 on it, everything is ok working perfect, both graphic cards are installed. for nvidia i followed the kali documentation to install it here

    the problem is when i launch an app that requires nvidia, the app is using intel graphic instead, switching is not happening.

    I have searched several solutions on google but so far im still stuck.

    1/ i was supposed to find and option in nvidia setup to set nvidia to "prefered" but this option is not available in my nvidia panel.
    2/ then i tried the DRI_PRIME=1 <my_app> and this did not work too
    3/ then i tried to blacklist i915 and regen initramfs, this ended by making the laptop to fail booting, it seems to absolutely want to boot using intel graphic

    4/ i tried to follow some youtuber solution :
    Code:
    xrandr--listproviders
    
    Providers: number : 2 
    Provider 0: id: 0x46 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 5 associated providers: 1 name:mod
    esetting 
    Provider 1: id: 0x270 cap: 0x2, Sink Output crtcs: 4 outputs: 3 associated providers: 1 name:NVIDIA-G0
    
    sudoxrandr--setprovideroffloadsink 0x270 0x46
     
    X Error of failed request:  BadValue (integer parameter out of range for operation) 
      Major opcode of failed request:  140 (RANDR) 
      Minor opcode of failed request:  34 (RRSetProviderOffloadSink) 
      Value in failed request:  0x270 
      Serial number of failed request:  16 
      Current serial number in output stream:  17
    

    Code:
    lsmod|grep nvidia                                          
    nvidia_drm             73728  2 
    nvidia_modeset       1155072  3 nvidia_drm 
    nvidia              39178240  98 nvidia_modeset 
    drm_kms_helper        204800  3 drm_display_helper,nvidia_drm,i915 
    drm   
    
    Code:
    lspci|grep-i vga                                   
    00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] 
    01:00.0 VGA compatible controller: NVIDIA Corporation TU104M [GeForce RTX 2080 Mobile] (rev a1)
    
    
    so far i dont know what to do !

    How can i desactivate the intel graphic and force the use of nvidia card ?

    thank you for helping.

  2. #2
    Join Date
    2021-May
    Location
    UK
    Posts
    772

  3. #3
    Join Date
    2022-Dec
    Location
    France
    Posts
    2
    wow! this worked for me. thank you !

Similar Threads

  1. Nvidia + Intel prevents laptop display
    By pepsipu in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2019-06-23, 00:24
  2. nvidia and intel hd graphic card
    By kaliuser in forum TroubleShooting Archive
    Replies: 3
    Last Post: 2013-06-24, 04:47

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •