Skip to content

Instantly share code, notes, and snippets.

View sudhirkhanger's full-sized avatar
🎯
Focusing

Sudhir Singh Khanger sudhirkhanger

🎯
Focusing
View GitHub Profile
@sudhirkhanger
sudhirkhanger / gc-nvidia-gpu-embed-false
Created September 3, 2013 01:44
Google Chrome running on Nvidia through bumblebee with gpu enabled and embed false
optirun google-chrome
[10815:10840:0902/194218:ERROR:object_proxy.cc(539)] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.kwalletd was not provided by any .service files
[10815:10840:0902/194218:ERROR:native_backend_kwallet_x.cc(227)] Error contacting kwalletd (isEnabled)
[10815:10840:0902/194218:ERROR:object_proxy.cc(539)] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
[10815:10840:0902/194218:ERROR:native_backend_kwallet_x.cc(227)] Error contacting kwalletd (isEnabled)
[PIPELIGHT] Attached to process
[PIPELIGHT] Trying to load config file from /home/donnie/.config/pipelight
[PIPELIGHT] enableGPUAcceleration set manually - skipping compability check
[PIPELIGHT] Using wine prefix directory /home/donnie/.wine-pipelight/
[PIPELIGHT] Windowless mode is off
@sudhirkhanger
sudhirkhanger / pip-pelican
Created September 3, 2013 15:42
Pelican install errors while installing with python2.
pip install pelican
Downloading/unpacking pelican
Downloading pelican-3.2.2.tar.gz (164kB): 164kB downloaded
Running setup.py egg_info for package pelican
Downloading/unpacking feedgenerator>=1.5 (from pelican)
Downloading feedgenerator-1.7.tar.gz
Running setup.py egg_info for package feedgenerator
warning: no files found matching '*' under directory 'tests'
pip install pelican
Downloading/unpacking pelican
Downloading pelican-3.2.2.tar.gz (164kB): 164kB downloaded
Running setup.py egg_info for package pelican
Downloading/unpacking feedgenerator>=1.5 (from pelican)
Downloading feedgenerator-1.7.tar.gz
Running setup.py egg_info for package feedgenerator
warning: no files found matching '*' under directory 'tests'
@sudhirkhanger
sudhirkhanger / banshee-mono-3.2.1-crash
Created September 15, 2013 19:49
Banshee Crash with mono 3.2.1-1
(Banshee:5757): GLib-GObject-WARNING **: attempting to add an interface (AtkComponent) to class (__gtksharp_48_Hyena_Gui_BaseWidgetAccessible) after class_init
(Banshee:5757): GLib-GObject-WARNING **: attempting to add an interface (AtkTable) to class (__gtksharp_49_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_TrackInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d) after class_init
(Banshee:5757): GLib-GObject-WARNING **: attempting to add an interface (AtkSelection) to class (__gtksharp_49_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_TrackInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d) after class_init
(Banshee:5757): GLib-GObject-WARNING **: attempting to add an interface (AtkTable) to class (__gtksharp_55_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_Database_QueryFilterInfo+601+5b+5bSystem_String+2c+20mscor
@sudhirkhanger
sudhirkhanger / f20-distro-sync-bumblebee
Created December 8, 2013 02:20
Bumblebee installation fails after yum distro-sync on Fedora 20
su -c "yum install -y libbsd-devel libbsd glibc-devel libX11-devel help2man autoconf git tar glib2 glib2-devel kernel-devel kernel-headers automake gcc gtk2-devel"
Password:
Loaded plugins: langpacks, refresh-packagekit
Package libbsd-0.6.0-2.fc20.x86_64 already installed and latest version
Package glibc-devel-2.18-11.fc20.x86_64 already installed and latest version
Package 2:tar-1.26-29.fc20.x86_64 already installed and latest version
Package glib2-2.38.2-2.fc20.x86_64 already installed and latest version
Package matching kernel-headers-3.11.10-300.fc20.x86_64 already installed. Checking for update.
Resolving Dependencies
--> Running transaction check
@sudhirkhanger
sudhirkhanger / yum-update
Created December 8, 2013 02:48
yum update after yum distro-sync
sudo yum update
Loaded plugins: langpacks, refresh-packagekit
Warning: group core does not exist.
Warning: group multimedia does not exist.
Warning: group kde-media does not exist.
Warning: group base-x does not exist.
Warning: group guest-desktop-agents does not exist.
Warning: group anaconda-tools does not exist.
Warning: group fonts does not exist.
Warning: group hardware-support does not exist.
@sudhirkhanger
sudhirkhanger / kernel.log
Created May 3, 2014 08:10
Kernel Ring Buffer Bumblebee
-- Logs begin at Mon 2014-04-21 15:32:19 IST, end at Sat 2014-05-03 12:07:39 IST. --
May 03 12:02:38 fedora kernel: Initializing cgroup subsys cpuset
May 03 12:02:38 fedora kernel: Initializing cgroup subsys cpu
May 03 12:02:38 fedora kernel: Initializing cgroup subsys cpuacct
May 03 12:02:38 fedora kernel: Linux version 3.14.2-200.fc20.x86_64 ([email protected]) (gcc version 4.8.2 20131212 (Red Hat 4.8.2-7) (GCC) ) #1 SMP Mon Apr 28 14:40:57 UTC 2014
May 03 12:02:38 fedora kernel: Command line: BOOT_IMAGE=/vmlinuz-3.14.2-200.fc20.x86_64 root=UUID=aaf68098-e30e-4a08-a500-925e1d4dd7c7 ro rootflags=subvol=root vconsole.font=latarcyrheb-sun16 rhgb quiet LANG=en_US.UTF-8 nouveau.modeset=0 rd.driver.blacklist=nouveau
May 03 12:02:38 fedora kernel: Disabled fast string operations
May 03 12:02:38 fedora kernel: e820: BIOS-provided physical RAM map:
May 03 12:02:38 fedora kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
May 03 12:02:38 fedora kernel: BIOS-e820: [mem 0x000
@sudhirkhanger
sudhirkhanger / primusrun
Created June 13, 2014 09:13
primusrun reduction of framerates and high system usage
[donnie@fedora ~]$ primusrun glxspheres
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: NVS 4200M/PCIe/SSE2
60.698896 frames/sec - 53.288775 Mpixels/sec
59.820780 frames/sec - 52.517860 Mpixels/sec
59.890361 frames/sec - 52.578946 Mpixels/sec
59.844748 frames/sec - 52.538901 Mpixels/sec
59.828548 frames/sec - 52.524679 Mpixels/sec
@sudhirkhanger
sudhirkhanger / primusrun1
Created June 13, 2014 09:14
primusrun weird behavior
[donnie@fedora ~]$ primusrun glxspheres
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: NVS 4200M/PCIe/SSE2
60.894027 frames/sec - 53.460084 Mpixels/sec
59.786288 frames/sec - 52.487578 Mpixels/sec
59.787581 frames/sec - 52.488714 Mpixels/sec
59.760127 frames/sec - 52.464611 Mpixels/sec
59.803818 frames/sec - 52.502968 Mpixels/sec
@sudhirkhanger
sudhirkhanger / optirun
Created June 13, 2014 09:21
Optirun high system usage
[donnie@fedora ~]$ optirun -v glxspheres
[12029.806643] [INFO]Configured driver: nvidia
[12031.831859] [INFO]Response: Yes. X is active.
[12031.831902] [INFO]Running application using virtualgl.
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: NVS 4200M/PCIe/SSE2
123.341313 frames/sec - 108.283806 Mpixels/sec