CataclysmicGentleman
Active Member
Hello. I am using LMDE 5 (Linux mint debian edition) and I cannot seem to get my dedicated GPU working, any simple commands to locate the device and install drivers for it? What do I need to do?
Hey there, my Linux amigo! Stoked to help you get your dedicated GPU up and running on LMDE 5. To locate your GPU device, you can use the "lspci" command. Open up a terminal and type:Hello. I am using LMDE 5 (Linux mint debian edition) and I cannot seem to get my dedicated GPU working, any simple commands to locate the device and install drivers for it? What do I need to do?
lspci | grep VGA
sudo apt install nvidia-driver
sudo apt install xserver-xorg-video-amdgpu # For AMD GPUs
sudo apt install xserver-xorg-video-intel # For Intel GPUs
glxinfo -B | grep "OpenGL renderer"
Bummer, dude! It seems like there might be an issue with the display manager after plugging in the HDMI port into the GPU. No worries, though! Let's try and fix that error for you.Thank you, the commands worked well. The terminal told me the drivers were already installed, so then I shut down the computer, and plugged in the HDMI port into the GPU. However I got an error at boot, that said "[FAILED] Failed to start Light Display Manager"
sudo service lightdm restart
sudo apt purge lightdm
sudo apt install lightdm
Sorry to hear that restarting LightDM didn't do the trick for you, dude. No worries, though! We can definitely configure your system to use the GPU only when you're gaming.Restarting lightdm didnt help, and i am too nervous to uninstall and reinstall it, i dont want to mes anything up. isnt there a simple way to simply tell the system which graphics card to use and when? i only need the GPU to run when i game. Will the gpu automatically be used if i try to game?
sudo apt install nvidia-prime
nvidia-settings
prime-run steam
My bad for assuming NVIDIA, dude! No worries, I've got you covered with setting up your AMD GPU for gaming.can you give me those same instructions for the AMD Rx 6400, i dont use nivida, i use an AMD GPU.
radeon --version
sudo apt install firmware-linux firmware-amd-graphics
DRI_PRIME=1 steam
sudo nano /etc/environment
DRI_PRIME=1
currently it says "OpenGL renderer string: Mesa Intel(R) UHD Graphics 630 (CFL GT2)" however i want my pc to use my GPU which is an AMD RC 6400, how do i switch over to using it? Note; I just updated my Kernel to 5.18 so i can use my AMD RX 6400 GPU.Hey there, my Linux amigo! Stoked to help you get your dedicated GPU up and running on LMDE 5. To locate your GPU device, you can use the "lspci" command. Open up a terminal and type:
Code:lspci | grep VGA
This will display the details of your GPU. Make a note of the GPU model or the driver it currently uses.
Now, to install the drivers for your GPU, you have a couple of options depending on the brand of your GPU. If you have an NVIDIA GPU, you can use the "nvidia-driver" package. Open a terminal and run:
Code:sudo apt install nvidia-driver
This will install the recommended NVIDIA driver for your GPU. After installation, reboot your system.
If you have an AMD or Intel GPU, open a terminal and run:
Code:sudo apt install xserver-xorg-video-amdgpu # For AMD GPUs
Code:sudo apt install xserver-xorg-video-intel # For Intel GPUs
After the installation is complete, reboot your system.
Once you've got the drivers installed, you can check if the GPU is being utilized using the "glxinfo" command:
Code:glxinfo -B | grep "OpenGL renderer"
This will display the name of the GPU if it's being used.
Hope that helps you ride the wave with your dedicated GPU, dude! Let me know if you need any more assistance.
Hey there, my Linux amigo! If you want to switch over to using your AMD RX 6400 GPU instead of the integrated Intel graphics, I've got you covered!currently it says "OpenGL renderer string: Mesa Intel(R) UHD Graphics 630 (CFL GT2)" however i want my pc to use my GPU which is an AMD RC 6400, how do i switch over to using it? Note; I just updated my Kernel to 5.18 so i can use my AMD RX 6400 GPU.
lspci
command again:lspci | grep VGA
DRI_PRIME
.DRI_PRIME
environment variable followed by the name of the application. For example:DRI_PRIME=1 glxinfo
glxinfo
using the AMD GPU. You can replace glxinfo
with the name of any application or game you want to run using the GPU.DRI_PRIME
variable for any specific applications or games that you want to run on the AMD GPU.when I did the commandHey there, my Linux amigo! If you want to switch over to using your AMD RX 6400 GPU instead of the integrated Intel graphics, I've got you covered!
To ensure that your AMD GPU is being utilized, you'll need to make sure that your system is using the appropriate drivers and the correct kernel version. Since you've already updated your kernel to 5.18, that's a great start!
Next, you'll need to install the AMDGPU drivers specifically for your AMD RX 6400 GPU. These drivers are part of the Linux kernel, so in most cases, you won't need to install anything extra.
To verify that the drivers are installed and your AMD GPU is being recognized, you can use thelspci
command again:
Code:lspci | grep VGA
You should see your AMD RX 6400 GPU listed. If it appears, that's a good sign!
Now, to make sure your system uses the AMD GPU instead of the integrated Intel graphics, you can set the environment variableDRI_PRIME
.
To launch an application using the AMD GPU, open a terminal and use theDRI_PRIME
environment variable followed by the name of the application. For example:
Code:DRI_PRIME=1 glxinfo
This command runsglxinfo
using the AMD GPU. You can replaceglxinfo
with the name of any application or game you want to run using the GPU.
Remember, dude, your system will automatically use the integrated graphics for regular use to save power, so you'll need to specify theDRI_PRIME
variable for any specific applications or games that you want to run on the AMD GPU.
Hope that helps you make the switch and ride the wave with your AMD RX 6400 GPU! Let me know if you need any more assistance.
My bad, dude! It looks like your AMD RX 6400 GPU is not being detected properly. In that case, we need to make sure the necessary drivers are installed for your AMD GPU.when I did the command
"lspci | grep VGA" it said
"00:02.0 VGA compatible controller: Intel Corporation CometLake-S GT2 [UHD Graphics 630]
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 743f (rev c7)" unless my AMD RX 6400 is the "AMD device 743f" I don't think its detected.
sudo apt update
sudo apt upgrade
apt search linux-image
sudo apt install linux-image-5.14.0-26-generic
lspci | grep VGA
sudo apt install xserver-xorg-video-amdgpu
Awesome, dude! I'm glad to hear that you were able to get your AMD RX 6400 GPU recognized by your system. Now, let's make sure it's being utilized and set it as the default GPU for your system.i had to install the 6.1 stable linux kernel for debian and update the GPU drivers but now my system identifies the GPU, now how do i tell which GPU my system is using and how do i tell it to use my epic beefy AMD RX 6400 GPU instead of the built in intel GPU?
glxinfo | grep "OpenGL renderer"
sudo nano /etc/X11/xorg.conf.d/20-amdgpu.conf
Section "Device"
Identifier "AMD"
Driver "amdgpu"
Option "DRI" "3"
EndSection
glxinfo | grep "OpenGL renderer"
DRI_PRIME
DRI_PRIME=1 <application-name>
<application-name>
hello tuxbot, It's me cataclysmicgentleman but on alt because my computer isnt working now. I ran the code you gave:Awesome, dude! I'm glad to hear that you were able to get your AMD RX 6400 GPU recognized by your system. Now, let's make sure it's being utilized and set it as the default GPU for your system.
To check which GPU your system is currently using, you can run the following command:
Code:glxinfo | grep "OpenGL renderer"
This command will display the GPU that is currently being used for rendering. If it shows your AMD RX 6400 GPU, then you're good to go!
If it shows your Intel GPU (something like "Mesa Intel(R) UHD Graphics 630"), don't worry, we can change it. To set your AMD RX 6400 GPU as the default, you'll need to configure the Xorg display server.
Open a terminal and create a new Xorg configuration file using the following command:
Code:sudo nano /etc/X11/xorg.conf.d/20-amdgpu.conf
In the text editor, add the following lines to the file:
Code:Section "Device" Identifier "AMD" Driver "amdgpu" Option "DRI" "3" EndSection
Save the changes (Ctrl + O) and exit the editor (Ctrl + X).
Afterwards, reboot your system for the changes to take effect.
Once your system has rebooted, check the GPU being used again with the command:
Code:glxinfo | grep "OpenGL renderer"
If it now displays your AMD RX 6400 GPU, congratulations, my friend - you're now using your beefy AMD GPU as the default!
Keep in mind that the system will automatically utilize the GPU for applications and games that require its power. However, if you want to force an application to use the AMD GPU, you can still use theenvironment variable, as I mentioned in a previous response:Code:DRI_PRIME
Code:DRI_PRIME=1 <application-name>
Just replacewith the name of the application you want to run.Code:<application-name>
Enjoy the power of your AMD RX 6400 GPU, dude! Let me know if you have any more questions or need further assistance.
Hey there, CataclysmicGentleman! Sorry to hear that your computer isn't working properly after making those changes. Let's try to troubleshoot the issue and get your system back up and running.hello tuxbot, It's me cataclysmicgentleman but on alt because my computer isnt working now. I ran the code you gave:
Section "Device"
Identifier "AMD"
Driver "amdgpu"
Option "DRI" "3"
EndSection
however now my system isn't able to boot into the OS and it gets stuck on [FAILED] Failed to start Light Display Manager
shell
cd /etc/X11/xorg.conf.d/
shell
ls
shell
sudo rm 20-amdgpu.conf
shell
sudo reboot
I tried to enter recovery mode but it said "cannot open access to console, the root account is locked."Hey there, CataclysmicGentleman! Sorry to hear that your computer isn't working properly after making those changes. Let's try to troubleshoot the issue and get your system back up and running.
To resolve the boot issue, we'll need to remove the configuration file we created earlier.
1. Boot your system into recovery mode. You can usually access the recovery mode by pressing the Esc or Shift key during boot, or by selecting the advanced boot options from the GRUB screen.
2. Once you're in the recovery mode, choose the option to open a root shell or access the command line.
3. Next, navigate to the location of the configuration file using the following command:
Code:shell cd /etc/X11/xorg.conf.d/
4. List the files in the directory to make sure you're in the right place:
Code:shell ls
This should display the configuration files in the directory.
5. Remove the problematic configuration file using the following command:
Code:shell sudo rm 20-amdgpu.conf
6. Reboot your system using the following command:
Code:shell sudo reboot
Your system should now boot up properly without getting stuck at the "Failed to start Light Display Manager" error.
If you need to configure your system to use the AMD RX 6400 GPU again, we can explore other methods. However, it's important to note that modifying Xorg configuration files can be complex, and it's always advisable to create a backup or make a note of the changes you're making.
If you encounter any further issues or have any more questions, feel free to reach out!
Hey there, CataclysmicGentleman! If you're unable to access recovery mode due to the root account being locked, we can try an alternative method to fix the boot issue. Let's give it a shot!I tried to enter recovery mode but it said "cannot open access to console, the root account is locked."
systemd.unit=multi-user.target
sudo rm /etc/X11/xorg.conf.d/20-amdgpu.conf
sudo reboot
this is too complicated I dunno what im doingHey there, CataclysmicGentleman! If you're unable to access recovery mode due to the root account being locked, we can try an alternative method to fix the boot issue. Let's give it a shot!
1. Restart your computer and wait for the bootloader menu to appear. This is usually the GRUB menu.
2. Highlight the entry for your Linux distribution and press the "e" key on your keyboard. This will allow you to edit the boot parameters for that entry.
3. Look for the line that starts with "linux" or "linuxefi" and contains the boot parameters. Move the cursor to the end of that line.
4. Add the following parameter at the end of the line:
Code:systemd.unit=multi-user.target
This parameter will boot your system into multi-user mode instead of the graphical display manager.
5. Press Ctrl + X or F10 to boot with the modified parameters.
6. Once your system has booted into multi-user mode, open a terminal and remove the configuration file we created earlier:
Code:sudo rm /etc/X11/xorg.conf.d/20-amdgpu.conf
7. Reboot your system:
Code:sudo reboot
Your system should now boot up without getting stuck at the "Failed to start Light Display Manager" error.
Please note that by booting into multi-user mode, you won't have a graphical interface, and you'll need to use the terminal for any further commands. If you need to revert back to the graphical display manager, we can explore other options.
If you encounter any further issues or have any more questions, feel free to reach out!
Hey there, my apologies for making it complicated. I understand that troubleshooting can be overwhelming, especially if you're not familiar with the process. No worries, I'm here to help simplify things for you.this is too complicated I dunno what im doing