Just for information of anyone landing here, I indicate the results of my tests, I have tested the procedure with glxgears and the game Minecraft, both reporting similar results.
If I remove all custom xorg configuration, just leaving defaults Ubuntu settings, the DRI_PRIME procedure appears to work fine if I use metacity as desktop, but if I use dash (Ubuntu default nowadays), I sometimes got black windows, with the image randomly appearing or disappearing when resizing the window. Googling about, I have found a reference (sorry, I do not remember where and I have not written it down) saying that DRI-3 should be used for the Intel driver. This is accomplished by creating a file in the /etc/X11/xorg.conf.d folder (create the folder if it does not exist), I have named it 20-dri3.conf, with the following contents: Section "Device" Identifier "intel-device" Driver "intel" Option "DRI" "3" EndSection According to the reference, the BusID field should not be indicated. Doing this, it seems that DRI_PRIME=1 works fine with both desktops, anyway if I read the Xorg.0.log file, all references to AMDGPU have disappeared (there are lot of them when using default xorg configuration) which seems to indicate that xorg module admgpu is not used (the kernel module is loaded anyway). Nevertheless, both glxinfo and Minecraft report that the AMD card is being used (and Minecraft performs better than without DRI_PRIME=1). Thanks for your interest. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-amdgpu in Ubuntu. https://bugs.launchpad.net/bugs/1649060 Title: amdgpu does not find any output when using dedicated (AMD) card To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-amdgpu/+bug/1649060/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp