[Bug 1649060] Re: amdgpu does not find any output when using dedicated (AMD) card

2016-12-18 Thread miguelquiros
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
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1649060] Re: amdgpu does not find any output when using dedicated (AMD) card

2016-12-13 Thread Timo Aaltonen
there's no point to use it for the desktop, because it'll just eat your
battery

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1649060] Re: amdgpu does not find any output when using dedicated (AMD) card

2016-12-12 Thread miguelquiros
Thanks a lot for your reply. Now I have to find out what "render offload 
target" means. I have tried "DRI_PRIME=1 glxgears" which I think is a good test 
for card performance and it reports 1700 FPS instead of the 60 FPS reported 
without the DRI_PRIME=1 so I assume that the dedicated card is indeed used. I 
will try with a couple of games and maybe with compiz (is the procedure useful 
for the whole desktop??).
Nevertheless, it does not seem a very user-friendly way to make the dedicated 
card active and probably out of the reach of many users, which renders this 
card virtually non-existent for non experienced users or for those without the 
spirit of spending many hours googling to find it out.
At least, I hope that, even if closed for invalid, my report and your answer 
may help other people facing the same problem and that may land in this 
dialogue by searching the internet.
Best wishes.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1649060] Re: amdgpu does not find any output when using dedicated (AMD) card

2016-12-12 Thread Timo Aaltonen
Yur amdgpu is a render offload target, and does not have outputs as you
said.

In order to use it for offloading, you need to run an app with
'DRI_PRIME=1 app'. There is no better support for that in the desktop
environment to control it, so it needs to be done manually like that..

** Changed in: xserver-xorg-video-amdgpu (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs