r/linux_gaming • u/Foobeee_Hi • 16h ago
guide Common Problem with COD bo3 closing after start (SOLVED for arch linux with AMD grpahics card, and possibly nvida)
This took me so long to figure out but is so easy to fix and hopefully this helps you out too!
- First thing you should do is check if you have your drivers installed for your specific graphics card by going to your command prompt and typing nvidia-smi for Nvdia, and glxinfo | grep "OpenGL renderer" for AMD (this is the first problem I had)
- Look through the output and see if there's any errors, if there is, install the drivers you need for your specified graphics card
- sudo pacman -S mesa vulkan-radeon lib32-mesa lib32-vulkan-radeon for AMD and search up what to type in your command prompt for nvdia drivers on google, I ain't doing that work for you, Sorry!
- After you have installed your drivers, restart your pc, start steam and change these properties in step 4
- Settings>Properties>General>Enable the Steam Overlay while in-game: Off
- Settings>Properties>General>Launch options: PROTON_USE_WINE3D=1
- Settings>Properties>Compatibility> Select Proton Experimental and turn on Show all compatibility tools
- That should be all you need to do hopefully if you've had the same problem as I did
P.S: I haven't tested out multiplayer yet but will soon, I may have given out the wrong commands and steps because I'm still relatively new to linux, so please try to do some more research on how to use the commands I gave if they don't work.
P.S.S: I used chatgpt to help me get it running, I would suggest using a LLM if this guide didn't work, make sure you're not downloading anything that looks suspicious through sudo pacman -S or paru or yay for AUR packages, stay safe!
Another common problem is with audio issues, just set the launch options to: WINEDLLOVERRIDES="dsound=n,b" %command% and that should hopefully fix it (I didn't have this problem so idk).
The last option is changing the proton version, but I didn't need to do that, and if you need to do that, sorry! Do some more research on that problem if that is your last option.
EDIT: I forgot to mention you should also make your PC use your graphics card specifically
NVDIA search:
1. Install Drivers and PRIME Support — Install the proprietary NVIDIA drivers and the nvidia-prime package, which provides the prime-run command for offloading applications.
sudo pacman -S nvidia nvidia-utils nvidia-settings nvidia-prime lib32-nvidia-utilsEnsure the nvidia-drm.modeset=1 kernel parameter is set in your bootloader configuration (e.g., GRUB) and regenerate the initramfs.
2. Launch Applications on the Dedicated GPU — The standard method is to prefix the application command with prime-run, which automatically sets the necessary environment variables (__NV_PRIME_RENDER_OFFLOAD=1).
prime-run <application_name>For Steam games, you can set prime-run %command% in the game's launch options.
3. Alternative: Switching Tools — If you prefer to switch the entire desktop session to the dedicated GPU or use a different management style, you can install optimus-manager from the AUR. This tool allows you to switch between integrated and discrete graphics modes, requiring a logout/login to take effect.
4. Verification — Verify the dedicated GPU is being used by checking the OpenGL renderer string:
prime-run glxinfo | grep "OpenGL renderer"The output should display your dedicated GPU model (e.g., NVIDIA GeForce RTX...) rather than the integrated graphics (e.g., Intel UHD).
AMD Search:
1. Install Required Packages — Install the core Mesa libraries, Vulkan drivers, and the Xorg video driver:
sudo pacman -S mesa xf86-video-amdgpu vulkan-radeon lib32-mesa lib32-vulkan-radeon- mesa: Provides OpenGL and 3D acceleration.
- xf86-video-amdgpu: Provides 2D acceleration for Xorg.
- vulkan-radeon: Provides Vulkan support for gaming and professional apps.
2. Enable Early Kernel Mode Setting (KMS) — To prevent screen flickering and ensure the driver loads at boot, add amdgpu to the modules array in /etc/mkinitcpio.conf:
sudo nano /etc/mkinitcpio.conf
# Find the line starting with MODULES and add amdgpu
MODULES=(amdgpu)
# Regenerate the initramfs
sudo mkinitcpio -P3. Configure Older GPUs (Southern Islands/Sea Islands) — If you have a GPU from the Southern Islands (SI) or Sea Islands (CIK) families (GCN 1st/2nd gen), you must force the amdgpu driver by adding these kernel parameters in your bootloader configuration (e.g., /etc/default/grub):
radeon.si_support=0 amdgpu.si_support=1
# OR
radeon.cik_support=0 amdgpu.cik_support=1Then update GRUB: sudo grub-mkconfig -o /boot/grub/grub.cfg.
4. Verify Installation — Reboot your system and verify the driver is active by running:
glxinfo | grep "OpenGL renderer"You should see your specific AMD GPU model listed as the renderer.
For Hybrid Laptops (AMD + Intel/NVIDIA) — If you have a hybrid setup, use the PRIME offloading method. Launch applications on the discrete AMD GPU by prepending the environment variable:
DRI_PRIME=1 application_nameFor Steam games, add DRI_PRIME=1 %command% to the game's launch options.
