Score:0

Ubuntu 18.04 doesn't use my GPU and Visual Studio Code works VERY SLOW and laggy, absolutely unusable. I think somehow both things are related

gt flag

First of all thanks for trying to help me.

So, I finally decided to start using Linux, and it's giving me a lot of headaches, but I'm not ready to surrender to Windows again!

So, I have one issue with my GPU usage. My PC has two GPU, one AMD (i guess integrated with my CPU) and one dedicated, also AMD (AMD Radeon HD 7750). When I run this command, I get to know that both GPUs drivers are installed correctly and Linux detect both GPU.

sebastian@sebastian-ubuntu:~$ lspci -nnk | grep -i vga -A3
01:05.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RS880 [Radeon HD 4250] [1002:9715]
    Subsystem: Gigabyte Technology Co., Ltd RS880 [Radeon HD 4250] [1458:d000]
    Kernel driver in use: radeon
    Kernel modules: radeon
--
02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde PRO [Radeon HD 7750/8740 / R7 250E] [1002:683f]
    Subsystem: PC Partner Limited / Sapphire Technology Cape Verde PRO [Radeon HD 7750/8740 / R7 250E] [174b:e213]
    Kernel driver in use: radeon
    Kernel modules: radeon, amdgpu

Never-the-less when I go to Settings->System Info the one used by Ubuntu seems to be the wrong one (the integrated). HOW CAN I MAKE LINUX USE MY REAL GPU? I've been browsing through the internet for two days, and couldn't find a solution, that's why I decided to seek help from the pros.

So this brings me to my second problem, which I think is related to my GPU usage (not entirely sure though). Programs like Visual Studio Code or Atom working really wrong, slow, and laggy. For example, the drop-down menus from above take like 3 seconds to fully appear, and when I try to pick some option everything goes laggy. Something similar use to happen with google chrome, until I disabled Hardware Acceleration, and then it started to work ok. So that's why I think these two issues are related.

Does someone know how to solve any of these problems?!

Thank you very very much for trying to help me, I really need to Ubuntu works for my needs.

laugeo avatar
cn flag
install amdgpu driver: https://askubuntu.com/questions/1266616/how-can-i-use-amdgpu-instead-of-radeon-drivers-on-20-04
Eagle_Mike avatar
mx flag
I would say to not install the AMD Pro drivers, but instead go into your computer's bios settings and make sure that the integrated graphics is disabled. The Ubuntu kernel drivers should then automatically use the correct GPU.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.