Giter Site home page Giter Site logo

dsboger-zz / gnome-shell-extension-bumblebee-status Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 30 KB

A GNOME Shell extension that shows the status of the NVIDIA GPU in an Optimus laptop.

Home Page: https://extensions.gnome.org/extension/1100/bumblebee-status/

License: GNU General Public License v3.0

Makefile 13.98% Shell 1.75% M4 7.53% JavaScript 76.74%
gnome-shell gnome nvidia optimus bumblebee

gnome-shell-extension-bumblebee-status's People

Contributors

dsboger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gnome-shell-extension-bumblebee-status's Issues

Error starting on gnome-shell 3.36

I get this error in journalctl output, and the extension fails to start.

I'm on gnome-shell 3.36 on Arch Linux.

Sounds like it's related to these changes in gjs:

https://gitlab.gnome.org/GNOME/gjs/issues/288#note_655826

Mar 10 11:46:31 bilbo-arch gnome-shell[904]: JS ERROR: Extension [email protected]: Error: Tried to construct an object without a GType; are you using GObject.registerClass() when inheriting from a GObject type?
                                             BumblebeeIndicator@/usr/share/gnome-shell/extensions/[email protected]/extension.js:51:3
                                             enable@/usr/share/gnome-shell/extensions/[email protected]/extension.js:190:24
                                             _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:160:32
                                             loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:311:26
                                             _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:536:18
                                             collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17
                                             _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:515:19
                                             _enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:545:18
                                             _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:576:18
                                             init@resource:///org/gnome/shell/ui/extensionSystem.js:54:14
                                             _initializeUI@resource:///org/gnome/shell/ui/main.js:244:22
                                             start@resource:///org/gnome/shell/ui/main.js:138:5
                                             @<main>:1:47

GPU model name not read consistently

Sometimes the indicator shows the GPU name correctly (when it is on), but often it just shows "Unknown On":

bumblebee

This is the content of my GPU information file (/proc/driver/nvidia/gpus/0000:01:00.0/information):

Model: 		 GeForce GTX 1050
IRQ:   		 133
GPU UUID: 	 GPU-ab81df4f-3497-35ed-6806-b338ce146865
Video BIOS: 	 86.07.3c.00.d4
Bus Type: 	 PCIe
DMA Size: 	 47 bits
DMA Mask: 	 0x7fffffffffff
Bus Location: 	 0000:01:00.0
Device Minor: 	 0
Blacklisted:	 No

Thanks!

This is a request

It's a nice job you did. This extension succedes where other fail (especially after a replace command). However it would be nice to be able to use it just as a normal indicator (even always present).
Thank you for your work anyway.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.