GNOME Bugzilla – Bug 765491
Use kenv to read gnome.fallback setting on FreeBSD
Last modified: 2016-08-18 18:09:39 UTC
gnome-session-check-accelerated-gl-helper supports using gnome.fallback in kernel command line to force the result to be accelerated or non-accelerated. It currently use /proc/cmdline, so it is only supported on Linux. On FreeBSD, the usual way to pass boot time arguments to the kernel is modifying the kernel environment (kenv). It can be set by FreeBSD bootloader via 'set <variable>=<value>' command or by GRUB2 via 'set kFreeBSD.<variable>=<value>' command. It can also be modified with kenv command line tool or kenv system call.
Created attachment 326619 [details] [review] gl-helper: Support reading gnome.fallback value from FreeBSD kenv This feature is the same as gnome.fallback kernel argument on Linux. FreeBSD users can force the check result of gl-helper to be accelerated or non-accelerated by setting gnome.fallback kernel environment variable with the bootloader or kenv system call.
Attachment 326619 [details] pushed as bf47f85 - gl-helper: Support reading gnome.fallback value from FreeBSD kenv