Switch to dedicated gpu from intel integrated graphics on linux/ubuntu.

Поділитися
Вставка

КОМЕНТАРІ • 83

  • @hamzafeghouli4297
    @hamzafeghouli4297 3 роки тому +52

    Indian people on youtube, i can't count how many times you helped us, thanks

    • @mrmotofy
      @mrmotofy 10 місяців тому

      Usually they're just scamming us for fake virus removal haha

    • @weridbulb
      @weridbulb Місяць тому

      So true

  • @AndreFauth
    @AndreFauth 2 роки тому +2

    Thanks for the video man! It has really helped me!

  • @nicholasmoen5066
    @nicholasmoen5066 3 роки тому +9

    Hey, this video is great. I have an issue very early on. When I use inxi- G my graphics card NVIDIA GP106 GeForce GTX 1060 3GB claims that the driver is N/A. when I list my drivers I get a large list of drivers that are related to nvidia 460 which is the proper type. I wonder if I have a broken config or what the problem is

  • @DjLundbladh
    @DjLundbladh 11 місяців тому

    Any way to test if the gpu works on ubuntu server (hgeadless) so i can see it working in radeontop?

  • @MrUwU-dj7js
    @MrUwU-dj7js 2 роки тому +3

    What a legend.
    Thanks :)

  • @GSK-Tech
    @GSK-Tech 2 роки тому +2

    You are great bro... saved me

  • @baiivancho4274
    @baiivancho4274 Рік тому +4

    Bro when I type the list providers it’s says there are 0

  • @wdw781
    @wdw781 2 роки тому +1

    good work man!
    thx for ur help video

  • @ki4nkw905
    @ki4nkw905 3 роки тому

    after i ran radeontop it says vram not supported ,what should do.

  • @justinecarson6761
    @justinecarson6761 3 роки тому

    hi im using gt 240 can u list the steps because it is very confusing to me

  • @imamsyar
    @imamsyar 3 місяці тому

    im from 2024 and this is what i looking for, thx.

  • @aceofchads
    @aceofchads 3 роки тому

    Did everything still won’t run cyberpunk with na dedicated

  • @milladnajib2278
    @milladnajib2278 5 місяців тому

    i dont unterstand some games are very dark and even work slowly thogh i have 16RAM , Core i7 . 4gb dedicated AMD ? could you plese help

  • @nbow22
    @nbow22 11 днів тому

    for my it show 0 provider, how can i fix it ?
    xrandr --listproviders
    Providers: number : 0

  • @gcma1999
    @gcma1999 2 роки тому +1

    You're an angel!

  • @noialbinoi3050
    @noialbinoi3050 3 роки тому +2

    You are great man!

    • @sapphirecoders6134
      @sapphirecoders6134  3 роки тому

      Thanks. Glad it helped you.

    • @AndreFauth
      @AndreFauth 2 роки тому +1

      @@sapphirecoders6134 Hi!
      I could not switch it on my MSI Prestige 15 10ASC laptop using these commands. It has Intel and Nvidia detected. Any idea?

    • @sapphirecoders6134
      @sapphirecoders6134  2 роки тому

      @@AndreFauth Hi , this method is only for AMD graphics cards which don’t have any vendor provided drivers. For Nvidia you can get official installers on their site for Linux and once installed you can see option to switch right on top of your screen.

  • @Mindfulma2004
    @Mindfulma2004 10 місяців тому

    My dedicated graphics is not enabled
    Radeon rx 6500m

  • @akshadjoshi
    @akshadjoshi Рік тому

    Can you please share the details of graphic card driver setting because I am trying to install Kali linux in my 12th gen i5 laptop which has intel irisXE graphics and the gui is looking like windows XP

  • @yashverma7084
    @yashverma7084 2 роки тому +1

    can we do a thing so that we use dedicated gpu for all processes and applications by default?

    • @sapphirecoders6134
      @sapphirecoders6134  2 роки тому

      Yes you can. I think you need to add some parameters in /etc/env file, I am not sure tough.

  • @cubehehe3477
    @cubehehe3477 3 місяці тому

    i swear to god i new this was gonna work once i saw that bro had the exact same laptop as me .

  • @sebastiankevin
    @sebastiankevin 2 роки тому +3

    I have this error:
    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: 0x232
    Serial number of failed request: 16
    Current serial number in output stream: 17
    i use a Nvidia Geforce 920MX
    Helpme pls

    • @sapphirecoders6134
      @sapphirecoders6134  Рік тому

      This method is applicable for only AMD cards. For Nvidia cards you can download the vendor provided drivers from their official website and install it.

  • @infantraj6262
    @infantraj6262 2 роки тому +1

    xrand listproviders shows provider number 0. but my laptop installed with AMD Radeon HD 8550M

    • @sapphirecoders6134
      @sapphirecoders6134  Рік тому

      If AMD is shown as 0 then your processor does not have internal graphics and hence the dedicated graphics card was taken as default.

  • @bobfranklin2572
    @bobfranklin2572 Рік тому

    does anyone know i can do the opposite of this? I'm having issues with my GPU and just wanted to go back to integrated graphics, but plugging the HDMI into the motherboard does nothing

    • @mrmotofy
      @mrmotofy 10 місяців тому

      The HDMI port is usually the separate GPU, not int Intel integrated

  • @Adervish
    @Adervish 3 роки тому

    Yo. Can u help me, i have hybrid graphic card. Amd vega and nvidia 1050. Already install the latest nvidia driver, downgrade, and even install the driver from official nvidia site and i still cant make my linux use nvidia for opengl render. Im new to linux. Im using elementary os hera (based on ubuntu 18.04)

    • @sapphirecoders6134
      @sapphirecoders6134  3 роки тому +1

      nvidia gives you a GUI based option called as prime switch, which is used to switch from intel to nvidia and vide versa. You can find this option depending on the desktop environment you are using.

    • @Adervish
      @Adervish 3 роки тому

      @@sapphirecoders6134 i already solved this using linux mint after a couple weeks searching some community post, because when I try pop os it still doesnt work. Anyways thanks for the reply, keep it up

  • @indraprasyumlembam8307
    @indraprasyumlembam8307 8 місяців тому

    it says list providers 0 help me

  • @dimitrijecabarkapa9085
    @dimitrijecabarkapa9085 4 роки тому

    Hey can anyone help me, I did everything the same as in video but radeontop on my pc shows nothing. I use Ubuntu 20.04. My gpu is AMD Radeon 610

    • @sapphirecoders6134
      @sapphirecoders6134  4 роки тому +1

      radeontop only works with opensource radeon drivers. I think you have proprietary drivers installed.

    • @dimitrijecabarkapa9085
      @dimitrijecabarkapa9085 4 роки тому

      @@sapphirecoders6134 I have both radeon and amdgpu, and radeon is in use

  • @prabalmaharjan1262
    @prabalmaharjan1262 4 роки тому +2

    Did u check performance difference between Intel and amd running during the process? During my test even though the switch can be made the performance of amd is considerably worst then Intel integrated one.

    • @ancientfools
      @ancientfools 4 роки тому +1

      Sorry for late reply. Yes you are correct, the reason is that AMD cards do very well with proprietary drivers but with opensource AMD drivers the performance is not up to the mark. [UPDATE] : Try updating your Linux kernel to version >= 5 and get the latest opensource graphic drivers as I saw awesome performance with latest kernel versions.

    • @AndreFauth
      @AndreFauth 2 роки тому +2

      @@ancientfools Hi!
      I could not switch it on my MSI Prestige 15 10ASC laptop using these commands. It has Intel and Nvidia detected. Any idea?

  • @TitaniumTronic
    @TitaniumTronic 2 роки тому +2

    Hey bro, I just want minecraft to run on dedicated gpu and everything else runs on integrated graphics, is this possible? Can someone please tell me or teach me how do to that in an ubuntu based distro? It's really infuriating me, thanks!

    • @sapphirecoders6134
      @sapphirecoders6134  Рік тому

      No, that is not possible, If you start the application by GPU then it will spawn processes that by default use this GPU. The variables in parent scope is share by children hence the sub process use dedicated GPU by default.

  • @adityasohoni6761
    @adityasohoni6761 4 роки тому

    How do I make my amd graphics card as default? As in I should see it as the default graphics card in settings -> about. (I'm using Ubuntu 18.04)

    • @sapphirecoders6134
      @sapphirecoders6134  4 роки тому

      Which AMD card are you using ? Can you provide more information ?

    • @adityasohoni6761
      @adityasohoni6761 4 роки тому

      *-display
      description: VGA compatible controller
      product: UHD Graphics 620
      vendor: Intel Corporation
      physical id: 2
      bus info: pci@0000:00:02.0
      version: 07
      width: 64 bits
      clock: 33MHz
      capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
      configuration: driver=i915 latency=0
      resources: irq:130 memory:b1000000-b1ffffff memory:c0000000-cfffffff ioport:5000(size=64) memory:c0000-dffff
      *-display
      description: Display controller
      product: Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445]
      vendor: Advanced Micro Devices, Inc. [AMD/ATI]
      physical id: 0
      bus info: pci@0000:01:00.0
      version: c3
      width: 64 bits
      clock: 33MHz
      capabilities: pm pciexpress msi bus_master cap_list rom
      configuration: driver=amdgpu latency=0
      resources: irq:131 memory:a0000000-afffffff memory:b0000000-b01fffff ioport:4000(size=256) memory:b2200000-b223ffff memory:b2240000-b225ffff

    • @adityasohoni6761
      @adityasohoni6761 4 роки тому

      This is the output of sudo lshw -C display. Currently the default is the Intel Graphics Card.

    • @sapphirecoders6134
      @sapphirecoders6134  4 роки тому +2

      @@adityasohoni6761 Try Installing Ubuntu drivers by downloading then from the official website.
      www.amd.com/en/support
      and follow these steps.
      [1] Install the drivers.
      [2] Reboot the system.
      [3] This should set the AMD display driver to primary.
      [4] If not set then try adding "DRI_PRIME=1" in "/etc/environment" file.

    • @sapphirecoders6134
      @sapphirecoders6134  4 роки тому

      See if this helps.

  • @ariztheackee505
    @ariztheackee505 2 роки тому +1

    mine just says like this "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: 35 (RRSetProviderOutputSource)
    Value in failed request: 0xa8
    Serial number of failed request: 16
    Current serial number in output stream: 17
    "
    Btw my laptop is also ubuntu mate and has 1366 x 768 so pls help me for this one

  • @winstonwilkins
    @winstonwilkins 3 місяці тому

    My driver is for amdgpu is "N/A"

  • @c.d3002
    @c.d3002 2 роки тому

    My integrated gpu simply does not show up in inxi -G.

    • @sapphirecoders6134
      @sapphirecoders6134  2 роки тому

      First I think you have to install opensource graphics drivers.

  • @malcomxiz7266
    @malcomxiz7266 3 роки тому

    Hello there thank you for the good Video
    im new to linux so im not a professional at using and
    I have a problem tho
    Im using Pop os 20.10 and
    I have intel hd 4000 and a dedicated gpu amd radeon hd 7670m
    i did everything u mentioned it worked fine all the way
    you used obs for the testing if the gpu works and since i dnt have it i used a game "counter strike global offensive"
    it loaded right to the main screen then after 10 seconds it crashed with a window saying log out system crashed
    i tried it multiple times but still the same result
    i hope u can help me
    My specs are
    cpu i5 3rd gen
    8gb ram
    and the game is installed on an ssd and im using a laptop not a desktop pc
    thank u in advance

    • @sapphirecoders6134
      @sapphirecoders6134  3 роки тому +2

      In the video tutorial I used open source amd radeon drivers as vendor drivers were not available for my amd graphics card. But your card had vendor drivers for linux (pop Os - a ubuntu based distro). Here is the link below where you can download the drivers and install it.
      www.amd.com/en/support/graphics/amd-radeon-hd/amd-radeon-hd-7000m-series/amd-radeon-hd-7670m
      After installing try running CS:GO.
      PS: radeontop only works with opensource radeon drivers. In your case if you install the vendor drivers then you wont see the stats in radeontop and thats totally fine. You can see the performance improvement in the game after you install the above given vendor drivers.
      See if this helps.

  • @bdou.8425
    @bdou.8425 3 роки тому

    I got to the last part and when I tried DRI_PRIME=1 obs-studio it returned: bash: obs-studio: command not found
    P.S: I do have obs studio installed
    P.S²: tried it with firefox (video on youtube) instead of obs-studio. it worked but radeontop doesn't "move" at all. not sure if that's intended, really noob here.

    • @sapphirecoders6134
      @sapphirecoders6134  3 роки тому +1

      Try running just "DRI_PRIME=1 obs".
      Firefox wont use opensource radeon drivers, but you can test it with chrome. With chrome you can see the bars moving.

    • @bdou.8425
      @bdou.8425 3 роки тому

      @@sapphirecoders6134 strange... it doesn't work. mine is a AMD Radeon 8870m/ R9 series .
      I rebooted because I had just installed obs. Even after reboot, command failed to work with either obs-studio and obs.
      I also tried this with some other similar program, like Kazam. It managed to start but, the percentages on radeontop never moved from 0% (again, not sure if this is an expected behavior with Kazam + DRI_PRIME=1 )
      I still thank you so much for your patience in trying to help me and putting up the video to help people struggling with this!

  • @nic_7130
    @nic_7130 4 роки тому +1

    Using Ubuntu 20.04 working great... No problem at all. These steps not for me I guess

    • @georgenorthcutt6774
      @georgenorthcutt6774 3 роки тому +1

      I need help with ubuntu 20.04. Im trying to use minecraft java edition with optifine on my laptop and its only using integrated gpu. Im trying to use dedicated (gtx 1050 ti). Any help would be appreciated.

  • @Turjak_art
    @Turjak_art 2 роки тому

    there is no such command inxi

    • @AndreFauth
      @AndreFauth 2 роки тому

      Just install it first using apt

    • @Turjak_art
      @Turjak_art 2 роки тому

      @@AndreFauth I found an easier way to do it, just turned off my pc pluged out the dedicated card so on next boot linux will detect and use onboard graphics, but thank you

  • @BlueDragon320
    @BlueDragon320 14 днів тому

    I'm dumb

  • @adhamfouad68
    @adhamfouad68 2 роки тому +1

    Lower your voice bro, nearly heard you

  • @Belomoh6
    @Belomoh6 11 місяців тому +2

    waste of time

  • @raghudaw
    @raghudaw 2 роки тому

    Hi! Great Video but I ran into a problem to launch a steam game -Dota 2. Saying that there is no such command. I am new to Linux. It would be great if you could help. Following is my config, same as yours.
    CPU:
    Topology: Dual Core model: Intel Core i7-6500U bits: 64 type: MT MCP
    arch: Skylake rev: 3 L2 cache: 4096 KiB
    flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
    bogomips: 20799
    Speed: 500 MHz min/max: 400/3100 MHz Core speeds (MHz): 1: 500 2: 500
    3: 500 4: 500
    Graphics:
    Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Dell driver: i915
    v: kernel bus ID: 00:02.0
    Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 /
    Radeon 520 Mobile]
    vendor: Dell driver: radeon v: kernel bus ID: 01:00.0
    Display: x11 server: X.Org 1.20.13 driver: radeon
    resolution: 1920x1080~60Hz
    OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2) v: 4.6 Mesa 21.2.6
    direct render: Yes

    • @sapphirecoders6134
      @sapphirecoders6134  Рік тому +1

      Launch steam with DRI_PRIME=1 and steam by default will use dedicated gpu.