Archive

Posts Tagged ‘driver’

Installing nvidia driver in MSI GE72 6QD

February 11th, 2016 No comments
  1. Uninstall all nvidia drivers.
  2. Change GRUB_CMDLINE_LINUX_DEFAULT to:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.preliminary_hw_support=1 i915.enable_execlists=0 intel_pstate=disable i915.enable_rc6=0"
    
  3. Then run sudo update-grub2 to make the change permanent.
  4. Restart your laptop to witness the proper function of video screen, which is using the Intel GPU now.
  5. Now you can change the screen brightness using the Fn+Brightness key. Previous to this change, my screen brightness remained the same always.
  6. Install the latest nvidia driver using apt-get. In my case, I installed 361.18 and my Kernel was 4.2.0-27
  7. Restart now and see nvidia driver in action. I had checked the functionality by running nvidia-settings.

Reference: https://gist.github.com/ngangat/02c8279e49783328de3a

Update:  In 16.04 Xenial release, I get a lot of the following errors

PCIe Bus Error: severity=Corrected type=PhysicalLayer, id=00e0(Receiver ID)
device [8086:a110] error status/mask=0000001/00002000
[ 0] Receiver Error

This problem can be overcome by adding pci=noaer to GRUB_CMDLINE_LINUX_DEFAULT.

MongoDB C++ Wrapper

April 3rd, 2011 No comments

MongoDB has drivers in almost all language.  Being a C++ programmer,  although there is a C++ driver, I am stinged to see that the driver cannot be used with STLport.  The reason being, C++ MongoDB driver is compiled with Boost, which does not go well with STLport.  I could link my application in Release mode, but debug mode would not work.  Also, Boost says that STLport is not uniform across platforms, they don’t support STLport for linux platforms.

So, I am left out with only one option; that is to create a C++ driver myself.  I found the C driver working excellently (although there are design glitches!).  I am currently developing a C++ wrapper around the C driver to support fundamental operations on Mongo from an application compiled with STLport in C++ and cross platform.