Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: HP Envy 17 Hybrid Graphics

  1. #1
    Join Date
    Jul 2008
    Location
    Vancouver
    Beans
    349
    Distro
    Ubuntu 18.04 Bionic Beaver

    HP Envy 17 Hybrid Graphics

    I have been trying to get proprietary graphics working with my brand new HP Envy 17 m7-j078 notebook. I had been trying for 2 1/2 years with my previous HP Laptop with no success and TRIED EVERYTHING - Over and Over. It had ATI Muxless Hybrid Graphics with its' Intel I7. I thought this one with its Optimus NVIDIA GeForce GT 740M dedicated card would solve the problem because of all the blogs saying Bumblebee works like a charm. It has now been 2 weeks and over 20 attempts and 5--10 re-installs of Ubuntu Linux Mint, and still no luck.

    Perhaps someone can help me troubleshoot this and stop spinning my wheels and get me out of this rabbit hole, while even learning something, so I can help all the others I have convinced to get into Linux. Thanks in advance, thanks a lot.

    Here are some details that may be useful (in no specific order)


    • HP Envy Touchsmart m7-j078ca notebook
    • Intel® Core™ i7-4700MQ
    • NVIDIA GeForce GT 740M (2 GB DDR3 dedicated)
    • Linux Mint 16 Petra
    • Bumblebee 3.2.1
    ack@Aarawn ~ $ bumblebeed
    ∘ [ 3052.038351] [ERROR]Module 'nvidia' is not found.
    • ack@Aarawn ~ $ lspci -vnn | grep '\''[030[02]\]'
    00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor
    Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
    01:00.0 3D controller [0302]: NVIDIA Corporation GK208M [GeForce GT 740M] [10de:1292] (rev a1)
    ∘ Note that here it doesn't say 01:00 is a "VGA" Controller but a "3D Controller"
    • ack@Aarawn ~ $ sudo modprobe nvidia
    [sudo] password for ack:
    FATAL: Module nvidia not found.
    • installed
    ∘ bumblebee-nvidia primus
    ∘ nvidia-304 nvidia-current (304) nvidia-prime nvidia settings nvidia settings-304
    • Xorg.conf with any mention of Nvidia results in TTY1 X crash and only deleting sometimes returns mdm to functioning order
    • $ optirun firefox
    ∘ [ 1228.929955] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
    ∘ [ 1228.929986] [ERROR]Aborting because fallback start is disabled.
    • ack@Aarawn ~ $ sudo gedit /etc/bumblebee/xorg.conf.nvidia
    Section "ServerLayout"
    Identifier "Layout0"
    Option "AutoAddDevices" "false"
    Option "AutoAddGPU" "false"
    EndSection

    Section "Device"
    Identifier "DiscreteNvidia"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Option "ProbeAllGpus" "false"
    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
    EndSection
    -

    I am going to try a number of other things, but am getting exhausted and would really appreciate a fresh perspective on this issue.
    Thanks again.

    Mark
    markackerman8@gmail.com
    Last edited by markackerman8@gmail.com; February 4th, 2014 at 10:29 PM. Reason: more info

  2. #2
    Join Date
    May 2008
    Beans
    226
    Distro
    Lubuntu

    Re: Help Me with My Hybrid Graphics Please - 2 1/2 years and no fix


  3. #3
    Join Date
    Jul 2008
    Location
    Vancouver
    Beans
    349
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Help Me with My Hybrid Graphics Please - 2 1/2 years and no fix

    I just upgraded my kernel to :

    $ uname -a
    Linux Aarawn 3.13.1-031301-generic #201401291035 SMP Wed Jan 29 15:37:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

    still no luck - I will try the above ideas now - wish me luck

    I sure don't no how removing bumblebee can help as I can't imagine ubuntu being able to direct the graphics through the discrete Optimus Nvidia setup without help - but I hope I am proven wrong. I will surely update either way

  4. #4
    Join Date
    Jul 2008
    Location
    Vancouver
    Beans
    349
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Help Me with My Hybrid Graphics Please - 2 1/2 years and no fix

    I did everything in the link posted above - restated it is:

    sudo add-apt-repository ppaorg-edgers/ppa
    sudo apt-get update
    sudo apt-get install nvidia-331
    ∘ sudo apt-get --purge remove bumblebee
    ∘ sudo reboot
    ‣ And wouldn't you know, my graphics worked again. Screw bumblebee!! Hopefully this saves someone some time.

    But sadly no luck for me - I am now stuck in low graphics mode as I write this - arghhh

    here is some info on my present new state

    $ sudo modprobe nvidia - gives this error
    ‣ ERROR: could not insert 'nvidia_331': Unknown symbol in module, or unknown parameter (see dmesg)
    ∘ and dmesg's relevant lines are
    [ 9.903642] nvidia: module license 'NVIDIA' taints kernel.
    [ 9.903646] Disabling lock debugging due to kernel taint
    [ 9.906214] nvidia: module verification failed: signature and/or required key missing - tainting kernel
    [ 9.906456] nvidia: Unknown symbol acpi_os_wait_events_complete (err 0)
    [ 593.587889] nvidia: Unknown symbol acpi_os_wait_events_complete (err 0)

    Please help !

  5. #5
    Join Date
    Jul 2008
    Location
    Vancouver
    Beans
    349
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: HP Envy 17 Hybrid Graphics

    Bump - Please

  6. #6
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: HP Envy 17 Hybrid Graphics

    Thread moved to Multimedia & Video.

    I can't help, but a move to the correct section might.

  7. #7
    Join Date
    Jul 2008
    Location
    Vancouver
    Beans
    349
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: HP Envy 17 Hybrid Graphics

    Thanks Bucky,


    edited ... ahh I seew you moved it to multimedia and video - though it seemslike a hardware software issue to me. But I hope somone here can help me.

    OK, for now I have logged into my root partition with Mint 16 freshly installed, and after these basic steps I got a black screen and removed /etc/X11/xorg.cong and it at least got me into low graphics mode yet again. I am happy to say that the Nvidia...331.sh driver installed without error which is relatively new. Here is what I did (from my terminal history) followed by some troubleshooting commands and their responses. Any nw troubleshooting tips would be GREATLY appreciated.

    Week four with this computer and week 133 with this and my last Hp HYbrid.

    sudo add-apt-repository ppaorg-edgers/ppa
    sudo apt-get update
    sudo apt-get install nvidia-331
    sudo add-apt-repository ppaorg-edgers/ppa (the previous one was mis-spelled)
    sudo apt-get update
    sudo apt-get install nvidia-331
    (then installed all the suggeted packages)
    sudo apt-get install nvidia-settings nvidia-prime libcuda1-331 nvidia-libopencl1-331 nvidia-opencl-icd-331 glibc-doc nvidia-331-uvm
    sudo apt-get --purge remove bumblebee
    sudo reboot
    Black screen (though it seemd to be logged in with the normal beeps and computer activity)
    in TTY1
    sudo apt-get --purge remove bumblebee
    sudo service mdm start (no help)
    removed /etc/X11/xorg.cong
    rebooted
    now writing this from "fail Safe Mode" or Low Graphics Mode - I forget

    So here are some troubleshooting facts from terminal

    ack@Aarawn ~ $ lspci -vnn | grep '\''[030[02]\]'
    00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
    01:00.0 3D controller [0302]: NVIDIA Corporation GK208M [GeForce GT 740M] [10de:1292] (rev a1)

    ack@Aarawn ~ $ inxi -GSx
    System: Host: Aarawn Kernel: 3.11.0-12-generic x86_64 (64 bit, gcc: 4.8.1) Desktop: Gnome Distro: Linux Mint 16 Petra
    Graphics: Card: Intel 4th Gen Core Processor Integrated Graphics Controller bus-ID: 00:02.0
    X.Org: 1.14.5 drivers: nouveau,intel (unloaded: nvidia,fbdev,vesa) Resolution: 1360x768@59.8hz
    GLX Renderer: N/A GLX Version: N/A Direct Rendering: N/A

    ack@Aarawn ~ $ dmesg | grep NVIDIA
    [ 17.166582] nvidia: module license 'NVIDIA' taints kernel.
    [ 17.172655] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 331.38 Wed Jan 8 19:32:30 PST 2014

    ack@Aarawn ~ $ sudo service mdm start
    [sudo] password for ack:
    start: Job is already running: mdm

    ack@Aarawn ~ $ sudo insmod nvidia
    Error: could not load module nvidia: No such file or directory

    ack@Aarawn ~ $ sudo cat /var/log/syslog | grep NVI
    ack@Aarawn ~ $ sudo cat /var/log/syslog | grep Nvi
    ack@Aarawn ~ $ sudo cat /var/log/syslog | grep nvid
    Nothing

    /lib/modules/3.11.0-12-generic/kernel/drivers/video/nvidia/nvidiafb.ko
    /lib/modules/3.11.0-12-generic/build/drivers/video/nvidia/Makefile

    Anything else to try?

    Why can't I insert "insmod nvidia" ?
    Why why Why? can't i get this to work? WOW !!

    Thanks in advance Mark
    Last edited by markackerman8@gmail.com; February 21st, 2014 at 08:24 PM. Reason: new info

  8. #8
    Join Date
    Jul 2008
    Location
    Vancouver
    Beans
    349
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: HP Envy 17 Hybrid Graphics

    Here is my latest attempt

    http://community.linuxmint.com/tutorial/view/1299
    ∘ 1) sudo add-apt-repository ppa:bumblebee/stable
    • After installation of All, reboot to let changes apply.
    • To see if it works, run during around 30s: glxspheres
    ∘ Then, run it with optirun, and compare: optirun glxsphere
    ∘ If you want to use primus, you need to install it and set Bridge=primus in bumblebee.conf or use optirun -b primus
    ‣ This will add bumblebee to the repository. You can also add the bumblebee source to the 'synaptics...' repository section in GUI style but coding in terminal is much easier.
    ‣ After initiating Code 1 , in terminal write:
    ∘ 2) sudo apt-get update
    ∘ 3) sudo apt-get install bumblebee bumblebee-nvidia virtualgl linux-headers-generic laptop-mode-tools
    • The following extra packages will be installed:
    bbswitch-dkms lib32gcc1 libc6-i386 libturbojpeg linux-headers-3.11.0-17
    linux-headers-3.11.0-17-generic nvidia-304 nvidia-current virtualgl-libs
    Suggested packages:
    hal
    Recommended packages:
    ∘ sdparm ethtool nvidia-settings libcuda1-304 nvidia-libopencl1-304 nvidia-opencl-icd-304 virtualgl-libs-ia32
    • The following packages will be REMOVED:
    linux-kernel-generic
    The following NEW packages will be installed:
    bbswitch-dkms bumblebee bumblebee-nvidia laptop-mode-tools lib32gcc1
    libc6-i386 libturbojpeg linux-headers-3.11.0-17
    linux-headers-3.11.0-17-generic linux-headers-generic nvidia-304
    nvidia-current virtualgl virtualgl-libs

    nvidia_304:
    Running module version sanity check.
    - Original module
    - No original module exists within this kernel
    - Installation
    - Installing to /lib/modules/3.11.0-12-generic/kernel/drivers/char/drm/
    depmod......

    DKMS: install completed.
    Setting up nvidia-current (304.117-0ubuntu1~xedgers~saucy3) ...
    Setting up bbswitch-dkms (0.8-1~saucyppa1) ...

    Selecting 01:00:0 as discrete nvidia card. If this is incorrect,
    edit the BusID line in /etc/bumblebee/xorg.conf.nouveau .
    ln -s '/lib/systemd/system/bumblebeed.service' '/etc/systemd/system/graphical.target.wants/bumblebeed.service'

    [ 803.002866] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
    [ 803.002869] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
    [ 803.002877] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
    [ 803.002931] bbswitch: detected an Optimus _DSM function
    [ 803.002969] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
    [ 803.004057] bbswitch: disabling discrete graphics
    [ 803.004063] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
    [ 819.333664] pci 0000:01:00.0: power state changed by ACPI to D3cold
    [ 820.680080] [drm] Module unloaded
    [ 820.694598] bbswitch: enabling discrete graphics
    [ 820.879888] pci 0000:01:00.0: power state changed by ACPI to D0
    [ 820.892227] bbswitch: disabling discrete graphics
    [ 820.892237] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
    [ 820.959067] pci 0000:01:00.0: power state changed by ACPI to D3cold
    • When installing items finished, you need to alter some files as following:
    ∘ 4) sudo gedit /etc/bumblebee/bumblebee.conf
    ‣ Go to section starting with [bumblebeed] and add 'nvidia' to => Driver=
    • should look like => Driver=nvidia
    • Then search for this part: [driver-nvidia] and look around in the section to find two lines like the following, if not add it:
    KernelDriver=nvidia-current
    Module=nvidia
    • Also read comments everytime, those are written for you to have a clue of what's going on. Sometimes the codes we need to add are just in comments '#' and are there. In that case you just need to uncomment it by removing # sign in the beginning of the code line.
    ‣ Now, save and close the document, you'll come back to terminal. We need to alter on last file. So:
    ∘ 5) sudo gedit /etc/init/bumblebeed.conf
    • Search for the following lines:
    start on

    stop on

    They have some instructions in front of them. You need to alter them in order to look like the following:
    start on (runlevel [2345])
    stop on (runlevel [016])
    save and close. You'll come back to terminal.
    ∘ 6) sudo reboot

    And To Test it
    ∘ $ optirun glxspheres
    [ 860.122014] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
    [ 860.122057] [ERROR]Aborting because fallback start is disabled.
    The dreaded error

    Back to square one I guess

  9. #9
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: HP Envy 17 Hybrid Graphics

    Part of the issue is that you are using Mint and we only know Ubuntu.
    Mint has lots of differences that we do not know about.

    Someone has posted this.
    HP Envy
    Integrated Video: Disable
    PCI Graphics Configuration:
    Nvidia VGA controller: Primary VGA device
    Intel VGA controller: Non-boot device

    I think some others have posted they turn off nVidia as they do not want the extra power consumption. But do not know even if HP.


    Updates to nVidia Prime with 14.04 (only)
    http://www.phoronix.com/scan.php?pag...tem&px=MTU0MDI
    Newest nVidia Prime with 13.10 testing may run hot, but option to bumblebee
    http://www.webupd8.org/2013/08/using...vers-with.html

    But I do know that installing a new nVidia version requires total purge of any nVidia and new xorg.conf file.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  10. #10
    Join Date
    Feb 2013
    Beans
    8

    Re: HP Envy 17 Hybrid Graphics

    yo, I actually have the same graphics card, NVIDIA 740M GT, but on a toshiba laptop. I've been struggling to get my dedicated card working for a week or so, trying to use debian. Like you I had tried many reinstalls and hundreds of packages and fixes but I couldn't get it working. The problem was that the hardware is quite new and debian stable is very out of date. Linux mint might have the same problem, I don't know how recently their last stable release came out.

    As far as I'm aware, it won't work unless 1) your linux kernel is up to date, 2) your nouveau is up to date, 3) your nvidia drivers are 319 or greater. some distros it's quite hard to satisfy all that criteria. It will be easiest to use the latest ubuntu stack. I have it working now on xubuntu 13.10 and it was quite easy:

    -fresh install of xubuntu 64 bit 13.10

    -install all updates on arriving in desktop ( settings manager -> software updater), reboot, check for updates again (don't install any proprietary drivers yet). make sure to have universe, multiverse and restricted package sources enabled. This step should get you generally up to date.

    - https://launchpad.net/~ubuntu-x-swat/+archive/x-updates - add this repository. Again, in software updater, install all updates. This should update your xserver nouveau package.

    -get synaptic package manager if neccessary (I don't recall if it is installed by default). in synaptic, find nvidia-319-updates, right click and install - it will take care of dependencies. reboot after this is done

    -now in synaptic find bumblebee and bumblebee-nvidia. install them and it will take care of the dependencies.

    Simple, you should now be sorted. You can run any program on your dedicated card using optirun Test it by doing

    Code:
    me@me:~/Desktop$ glxinfo | grep "renderer string"
    OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile 
    
    me@me:~/Desktop$ optirun glxinfo | grep "renderer string"
    OpenGL renderer string: GeForce GT 740M/PCIe/SSE2


    There also exits a package on ubuntu called nvidia-prime, which sets the dedicated card to be used all the time, even to render the desktop. I wouldn't reccomend that as it kind of defeats the point of an optimus card. If you want to read about it you can find it at https://wiki.ubuntu.com/X/Config/HybridGraphics . For me it was unstable and caused a lot of video freezes and crashes, so I'll stick with optirun and bumblebee.

    Now however I'm in the position where the integrated card out-performs the dedicated one in benchmarks, so it would be interesting to see if yours is the same if you manage to get it working. See my thread http://ubuntuforums.org/showthread.php?t=2207239
    Last edited by zomgwhat; February 22nd, 2014 at 10:26 PM.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •