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 672943 - gnome-session-check-accelerated should force software fallback for blacklisted cards
gnome-session-check-accelerated should force software fallback for blackliste...
Status: RESOLVED FIXED
Product: gnome-session
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-03-27 19:01 UTC by Ray Strode [halfline]
Modified: 2013-03-06 04:18 UTC
See Also:
GNOME target: 3.8
GNOME version: ---


Attachments
gnome.session: don't have IsRunnableHelper (781 bytes, patch)
2013-03-06 04:17 UTC, Ray Strode [halfline]
committed Details | Review
check-accelerated: only cache result if successful (2.21 KB, patch)
2013-03-06 04:17 UTC, Ray Strode [halfline]
committed Details | Review
main: automatically fallback to software gl (5.57 KB, patch)
2013-03-06 04:17 UTC, Ray Strode [halfline]
committed Details | Review

Description Ray Strode [halfline] 2012-03-27 19:01:18 UTC
Now that software gl is getting good, we should consider doing a Setenv("LIBGL_ALWAYS_SOFTWARE", "y") dbus call to gnome-session when we hit an r200 card or whatever instead of failing.

This way we get gnome-shell et al.

Of course, multi-screen zaphod mode setups would still need fall back mode.
Comment 1 Javier Jardón (IRC: jjardon) 2013-03-04 14:14:02 UTC
Hi Ray,

any plan to land this soon?
Comment 2 Ray Strode [halfline] 2013-03-04 16:49:41 UTC
Yea i should land this today before release i guess.
Comment 3 Ray Strode [halfline] 2013-03-06 04:17:41 UTC
Created attachment 238180 [details] [review]
gnome.session: don't have IsRunnableHelper

We now have no fallback mode, so there's no point in running
the IsRunnableHelper.
Comment 4 Ray Strode [halfline] 2013-03-06 04:17:43 UTC
Created attachment 238181 [details] [review]
check-accelerated: only cache result if successful

If it's unsuccessful it may be successful in a subsequent run,
so caching it can cause problems.
Comment 5 Ray Strode [halfline] 2013-03-06 04:17:46 UTC
Created attachment 238182 [details] [review]
main: automatically fallback to software gl

Now that we have working software GL available, use it if
hardware GL isn't up to muster.
Comment 6 Ray Strode [halfline] 2013-03-06 04:18:45 UTC
(Pushing now, but if Colin or someone else has any input we can do follow up commits)

Attachment 238180 [details] pushed as 024c0fb - gnome.session: don't have IsRunnableHelper
Attachment 238181 [details] pushed as 8a253eb - check-accelerated: only cache result if successful
Attachment 238182 [details] pushed as 51d5b07 - main: automatically fallback to software gl