No mods
Game doesn't start
Linux, Kubuntu 19.04, no custom PPA repositories, only official Ubuntu repositories
Dell Inspiron 7548, hybrid gpu (Intel HD graphics 5500, AMD Radeon R7 M265)
vulkaninfolog (using radv, not amdvlk): https://pastebin.com/WxZS3rYC
tldr:
Game is running using Intel gpu when vulkan support for AMD gpu is disabled. AMD gpu is able to run other game using vulkan (tested Dota2 only).
long version:
I was able to run game using Intel gpu, but performance was bad and I noticed in Graphic settings that game wasn't using AMD, I've decided to try to fix it up.
First I've runned into problem that "radeon" driver was loaded instead of "amdgpu". When invoking command "vulkaninfo" only Intel GPU was printed, this was interesting for me because I wasn't aware that my AMD gpu was not used before while playing Vulkan games. This is what I did to solve it:
https://github.com/ValveSoftware/Proton ... enGL-games
https://linuxconfig.org/install-and-tes ... n-on-linux
When I've added radeon.si_support=0 amdgpu.si_support=1 to grub, the system could not start, hang at "Starting bpfilter". I've found workaround based on this suggestion:
https://askubuntu.com/a/927880
Noticed also this thread, but couldn't find here anything useful:
https://askubuntu.com/questions/1135590 ... d-on-19-04
In the end my grub looks like this:
Code: Select all
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash modprobe.blacklist=radeon amdgpu.si_support=1"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
Code: Select all
Section "OutputClass"
Identifier "AMD"
MatchDriver "amdgpu"
Driver "amdgpu"
Option "DRI3" "on"
EndSection
Code: Select all
08:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Opal XT [Radeon R7 M265/M365X/M465]
Subsystem: Dell Opal XT [Radeon R7 M265/M365X/M465]
Kernel driver in use: amdgpu
Kernel modules: radeon, amdgpu
First for OpenGL I've tired to run Android device emulator, using DRI_PRIME=1 - this works still fine on AMD.
As for game and Vulkan I've decided to run Dota2, downloaded both game and Vulkan extension. In game settings I've enabled Vulkan renderer and restarted the game. Game was running fine and to see if I am really using AMD Radeon, not Intel (like I though I was using in the past) I've runned performenace tests which prints info about gpu "exec_async perftest": https://steamcommunity.com/sharedfiles/ ... =874421089
Both Render and Driver were Vulkan and AMD Radeon.
Based on information that Dota2 is running on Vulkan and amdgpu I believe at least my hardware is fine, as well as system setup is somewhat fine. Issues with X4 not running can be still related to system drivers (I am not using any custom PPA with latest Mesa drivers, like Oibaf and I don't want to as I had issues with it in the past).
Some more info I've found here on the forums: viewtopic.php?f=180&t=414524&p=4851811& ... x#p4851811
I've installed one missing package: mesa-vulkan-drivers:i386, but it did not help. Still black screen while running X4.
I don't have /etc/modprobe.d/amdgpu.conf or /etc/modprobe.d/radeon.conf. Is it Arch related or should I create these files? Would it help even if driver is detected for Dota2?
Is it driver related, or R7 M265(M270) is not supported by the game? Can I do something more or I should wait for new Ubuntu release with updated newest Mesa drivers to see if it helps?