FrameworkComputer / dri_prime1-detection

A simple application to verify if desired applications are running with discrete graphics
GNU General Public License v2.0
13 stars 3 forks source link

[ Framework16 - Ubuntu 22.04 ] No name for the Discrete GPU #2

Open borrougagnou opened 6 months ago

borrougagnou commented 6 months ago

Hello, I don't know if it's normal, discrete GPU and integrated GPU are reversed and there is no deviceName for none of them.

Regards.

$>sudo apt update && sudo apt install vulkan-tools -y && vulkaninfo | grep "GPU[0123]" -A 10
Hit:1 http://fr.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://repo.radeon.com/amdvlk/apt/debian bionic InRelease                
Hit:3 http://fr.archive.ubuntu.com/ubuntu jammy-updates InRelease              
Hit:4 http://fr.archive.ubuntu.com/ubuntu jammy-backports InRelease            
Hit:5 https://download.docker.com/linux/ubuntu jammy InRelease                 
Hit:6 https://repo.steampowered.com/steam stable InRelease                     
Hit:7 http://security.ubuntu.com/ubuntu jammy-security InRelease               
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
5 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
vulkan-tools is already the newest version (1.3.204.0+dfsg1-1).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 4.  Skipping ICD.
GPU0:
VkPhysicalDeviceProperties:
---------------------------
    apiVersion        = 4206871 (1.3.279)
    driverVersion     = 8388909 (0x80012d)
    vendorID          = 0x1002
    deviceID          = 0x7480
    deviceType        = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
    deviceName        = Unknown AMD GPU
    pipelineCacheUUID = 33ba5a0b-4858-55dc-85b4-2c61c187821d

--
GPU1:
VkPhysicalDeviceProperties:
---------------------------
    apiVersion        = 4206871 (1.3.279)
    driverVersion     = 8388909 (0x80012d)
    vendorID          = 0x1002
    deviceID          = 0x15bf
    deviceType        = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
    deviceName        = Unknown AMD GPU
    pipelineCacheUUID = 4941df37-f14b-5853-9017-5afdf6aa21e1
ctsdownloads commented 5 months ago

Hmm, interesting. Depending multiple factors, the GPU detection could be reversed.

You ran sudo apt install libfuse2 python3-pyqt5 && wget https://github.com/FrameworkComputer/dri_prime1-detection/releases/download/AppImage/dGPU-detect.AppImage and then installed Steam? Asking as it appears a Vulkan loader attempted to create an instance of a Vulkan driver but failed for one of the drivers.