Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27

Thread: NVidia M1000M GPU problem on Ubuntu 16.04

  1. #11
    Join Date
    Jul 2013
    Beans
    43

    Re: NVidia M1000M GPU problem on Ubuntu 16.04

    I got a whole bunch of errors in the TTY1 mode when I was restarting lightdm and the system stuck there. I rebooted with a hot power off. Now

    Code:
    qxd@qxd-QC5-Ubuntu:~$ lsmod | grep nvidia
    nvidia_uvm            696320  0
    nvidia_modeset        745472  3
    nvidia              10076160  60 nvidia_modeset,nvidia_uvm
    drm                   360448  8 i915_bpo,drm_kms_helper,nvidia
    A second monitor is connected... I will check if the tearing/flickering issue is gone when it sleeps and wakes...

    We are solving it!

  2. #12
    Join Date
    Jul 2013
    Beans
    43

    Re: NVidia M1000M GPU problem on Ubuntu 16.04

    So, after idle sleeping, the screen can come back. The only problem is that when it wakes up, the external screen can only mirrors the primary screen and there is no login window pops up. I have to go to the TTY again to restart the lightdm service.

    Once I login, there was a crash report prompt shown up and asked me if I wanted to report this issue. I think this is a bug of the kernel and the driver.

    Anyway, I think you have helped me found the culprit and fixed the most annoying problem! I will try out some other newer kernels for better PM support.

    BTW, how can I confirm if the hybrid graphics is using Optimus? I heard this system should be able to switching inbetween NVidia driver and Intel driver automatically and is energy efficient.

  3. #13
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,351
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: NVidia M1000M GPU problem on Ubuntu 16.04

    i2000s2; Welp;

    Hybrid graphics is a horse of of a different color .
    Is the integrated GPU enabled in bios ? I see no indication of another graphics set in the log file .With hybrid graphics in use .. that xorg.conf file is required !
    Enabling the on-die graphics in bios, Does the system see both sets ?
    Code:
    lspci -k | grep -EA2 'VGA|3D'
    does the kernel see the hardware ?
    Code:
    sudo lshw -C display
    ain't nothing but a thing
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  4. #14
    Join Date
    Jul 2013
    Beans
    43

    Re: NVidia M1000M GPU problem on Ubuntu 16.04

    Yes, there are two graphic cards, one is the integrated Intel 530 card, the other one is the NVidia Quadro M1000M. So the code seems echoing this fact:

    Code:
    qxd@qxd-QC5-Ubuntu:~$ lspci -k | grep -EA2 'VGA|3D'
    00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 06)
        Subsystem: Lenovo Skylake Integrated Graphics
        Kernel driver in use: i915_bpo
    --
    01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M1000M] (rev a2)
        Subsystem: Lenovo GM107GLM [Quadro M1000M]
        Kernel driver in use: nvidia
    qxd@qxd-QC5-Ubuntu:~$ sudo lshw -C display
    [sudo] password for qxd: 
      *-display               
           description: VGA compatible controller
           product: GM107GLM [Quadro M1000M]
           vendor: NVIDIA Corporation
           physical id: 0
           bus info: pci@0000:01:00.0
           version: a2
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
           configuration: driver=nvidia latency=0
           resources: irq:135 memory:c3000000-c3ffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:4000(size=128) memory:c4000000-c407ffff
      *-display
           description: VGA compatible controller
           product: Intel Corporation
           vendor: Intel Corporation
           physical id: 2
           bus info: pci@0000:00:02.0
           version: 06
           width: 64 bits
           clock: 33MHz
           capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
           configuration: driver=i915_bpo latency=0
           resources: irq:131 memory:c2000000-c2ffffff memory:60000000-6fffffff ioport:5000(size=64)
    And surprisingly, I also got the Xorg.conf file:

    Code:
    qxd@qxd-QC5-Ubuntu:~$ ls /etc/X11
    app-defaults             xinit               Xreset      Xsession.options
    cursors                  xkb                 Xreset.d    xsm
    default-display-manager  xorg.conf           Xresources  Xwrapper.config
    fonts                    xorg.conf.05032016  Xsession
    rgb.txt                  xorg.conf.failsafe  Xsession.d

  5. #15
    Join Date
    Jul 2013
    Beans
    43

    Re: NVidia M1000M GPU problem on Ubuntu 16.04

    Aha, I also got the nvidia-PRIME work to configure the GPUs. See the attached nvidia-settings window:
    https://www.flickr.com/photos/526064...posted-public/
    Attached Images Attached Images

  6. #16
    Join Date
    Jul 2013
    Beans
    43

    Re: NVidia M1000M GPU problem on Ubuntu 16.04

    Hmmm, a problem found after this installation as half-expected:
    Matlab 2016a crashes with the NVidia-361 driver!

    Code:
    MATLAB crash file:/home/qxd/matlab_crash_dump.7408-1:
    
    
    
    
    ------------------------------------------------------------------------
           Segmentation violation detected at Tue May  3 19:35:03 2016
    ------------------------------------------------------------------------
    
    
    Configuration:
      Crash Decoding      : Disabled
      Crash Mode          : continue (default)
      Current Graphics Driver: Unknown hardware 
      Current Visual      : 0x6a (class 4, depth 24)
      Default Encoding    : UTF-8
      GNU C Library       : 2.23 stable
      Host Name           : qxd-QC5-Ubuntu
      MATLAB Architecture : glnxa64
      MATLAB Root         : /home/qxd/Applications/Matlab
      MATLAB Version      : 9.0.0.341360 (R2016a)
      OpenGL              : hardware
      Operating System    : Linux 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64
      Processor ID        : x86 Family 6 Model 94 Stepping 3, GenuineIntel
      Virtual Machine     : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
      Window System       : The X.Org Foundation (11803000), display :0
    
    
    Fault Count: 1
    
    
    
    
    Abnormal termination:
    Segmentation violation
    
    
    Register State (from fault):
      RAX = 00007f9fff07adc0  RBX = 0000000000000000
      RCX = 0000000000000001  RDX = 00000000000000a8
      RSP = 00007f9fff07ad90  RBP = 00007f9fdc094590
      RSI = 00007f9fff07ae68  RDI = 00007f9fff07adc0
    
    
       R8 = 0000000000000000   R9 = 0000000000000001
      R10 = 00007f9fdc114de0  R11 = 0000000000000000
      R12 = 00007f9fdc37a450  R13 = 00007f9fdc094590
      R14 = 00007f9fdc4338d0  R15 = 00007f9fdc36bf50
    
    
      RIP = 00007f9ffdacb24d  EFL = 0000000000010206
    
    
       CS = 0033   FS = 0000   GS = 0000
    
    
    Stack Trace (from fault):
    [  0] 0x00007f9ffdacb24d             /usr/lib/nvidia-361/libGLX_nvidia.so.0+00344653
    
    
    
    
    If this problem is reproducible, please submit a Service Request via:
        http://www.mathworks.com/support/contact_us/
    
    
    A technical support engineer might contact you with further information.
    
    
    Thank you for your help.

  7. #17
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,351
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: NVidia M1000M GPU problem on Ubuntu 16.04

    i2000s2; Yepper.

    Graphics appears to be good now. If you agree:
    Please mark this thread solved;
    aides others seeking the solution,
    helps keep the forum clean and
    precludes others miss-directing efforts to aid.
    https://wiki.ubuntu.com/UnansweredPo.../SolvedThreads

    The matlab situation, looks like ya need to be talking to the authors.

    we do what we can
    with what we have to work with
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  8. #18
    Join Date
    Jul 2013
    Beans
    43

    Re: NVidia M1000M GPU problem on Ubuntu 16.04

    Thank you, Bashing-om! You are very helpful and professional! I wouldn't notice the small error in the driver installation script, that is the biggest lesson I have learned today.

    I have basically solved the matlab crashing problem by turning off the opengl support, which is not decent but works. I guess the Optimus technique is working as long as I can choosing GPU drivers freely. I will mark this thread as SOLVED right away! Will be sharing my experience of installing the driver on my machine type later.

    Have a good one!

  9. #19
    Join Date
    Jul 2013
    Beans
    43

    Re: NVidia M1000M GPU problem on Ubuntu 16.04

    I just found a patch to the nvidia 361.19 to solve the compatibility issue with kernel 4.6: https://devtalk.nvidia.com/default/t...c3-included-/2

    Now need to figure out how to apply this patch... It could be fixed in the next driver release I guess.

  10. #20
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,351
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: NVidia M1000M GPU problem on Ubuntu 16.04

    i2000s2; Hold on.

    maybe exercise care here as the version installed is " Preparing to unpack .../nvidia-361_361.42-0ubuntu2_amd64.deb ...'
    And the patch applies to older versions " 364.1[2,5] .

    Now if ya must .. might try the 364 version driver . You know how now to revert back to 361 if 364 does not work .

    Hey It is a thought
    but I was wrong, once
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

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
  •