After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 773213 - info: Show both GPUs on dual-GPU machines
info: Show both GPUs on dual-GPU machines
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Other Preferences
unspecified
Other All
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on: 756914 773216
Blocks:
 
 
Reported: 2016-10-19 10:43 UTC by Bastien Nocera
Modified: 2016-10-21 17:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
info: Show both GPUs on dual-GPU machines (4.68 KB, patch)
2016-10-19 10:43 UTC, Bastien Nocera
committed Details | Review
dual-gpu (40.35 KB, image/png)
2016-10-19 10:45 UTC, Bastien Nocera
  Details

Description Bastien Nocera 2016-10-19 10:43:38 UTC
.
Comment 1 Bastien Nocera 2016-10-19 10:43:42 UTC
Created attachment 338004 [details] [review]
info: Show both GPUs on dual-GPU machines

Use "DRI_PRIME=1" trick to launch gnome-session's accelerated checks.
Comment 2 Bastien Nocera 2016-10-19 10:45:56 UTC
Created attachment 338005 [details]
dual-gpu

What it looks like (look, no string changes!)
Comment 3 Bastien Nocera 2016-10-20 18:11:19 UTC
Attachment 338004 [details] pushed as 3312e42 - info: Show both GPUs on dual-GPU machines
Comment 4 Allan Day 2016-10-21 12:57:51 UTC
The UI looks fine to me. Is there an extra space after "Mobile", or is it just me? The / doesn't look centered...
Comment 5 Bastien Nocera 2016-10-21 17:39:59 UTC
(In reply to Allan Day from comment #4)
> The UI looks fine to me. Is there an extra space after "Mobile", or is it
> just me?

It's not just you, there's a space in the output of "glxinfo" on this machine too. I've added some code to remove the trailing and leading spaces now, which should fix it.

> The / doesn't look centered...

It's not, it's "<part 1> / <part 2>". Is that still ok, or do we want something else?