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 719784 - gnome-rr.c should trap and ignore any errors when setting the primary output
gnome-rr.c should trap and ignore any errors when setting the primary output
Status: RESOLVED FIXED
Product: gnome-desktop
Classification: Core
Component: libgnome-desktop
3.8.x
Other Linux
: Normal major
: ---
Assigned To: Desktop Maintainers
Desktop Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-12-03 16:01 UTC by Alberto Milone
Modified: 2013-12-13 14:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Trap and ignore the error (1.21 KB, patch)
2013-12-03 16:01 UTC, Alberto Milone
committed Details | Review

Description Alberto Milone 2013-12-03 16:01:43 UTC
Created attachment 263401 [details] [review]
Trap and ignore the error

gnome-rr.c should trap and ignore any errors when setting the primary output

This prevents the gnome-settings-daemon from crashing when trying to set the primary output using the modesetting driver (or any other driver that doesn't support primary outputs). The modesettings driver supports RandR providers (RandR 1.4) but apparently doesn't support primary outputs.

We use the modesetting driver to enable PRIME on systems with hybrid graphics (intel+nvidia).


Downstream bug report on Launchpad: https://bugs.launchpad.net/ubuntu/+source/gnome-desktop3/+bug/1224254
Comment 1 Alberto Milone 2013-12-03 16:02:15 UTC
The attached patch solves the problem here.