Announcement

Collapse
No announcement yet.

Black screen after GRUB menu

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Here is the output before cleaning the Nvidia driver

    uname -a
    Code:
    Linux dusk 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
    sudo lshw -c DISPLAY
    Code:
      *-display               
           description: VGA compatible controller
           product: Haswell-ULT Integrated Graphics Controller
           vendor: Intel Corporation
           physical id: 2
           bus info: pci@0000:00:02.0
           version: 09
           width: 64 bits
           clock: 33MHz
           capabilities: msi pm vga_controller bus_master cap_list rom
           configuration: driver=i915 latency=0
           resources: irq:65 memory:b5000000-b53fffff memory:c0000000-cfffffff ioport:6000(size=64)
      *-display
           description: 3D controller
           product: GK208M [GeForce GT 735M]
           vendor: NVIDIA Corporation
           physical id: 0
           bus info: pci@0000:04:00.0
           version: a1
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress bus_master cap_list
           configuration: driver=nouveau latency=0
           resources: irq:70 memory:b4000000-b4ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:4000(size=128)
    dpkg -l |egrep -i 'linux-headers|linux-image'
    Code:
    ii  linux-headers-3.13.0-24                       3.13.0-24.47                                all          Header files related to Linux kernel version 3.13.0
    ii  linux-headers-3.13.0-29                       3.13.0-29.53                                all          Header files related to Linux kernel version 3.13.0
    ii  linux-headers-3.13.0-30                       3.13.0-30.55                                all          Header files related to Linux kernel version 3.13.0
    ii  linux-headers-3.13.0-33                       3.13.0-33.58                                all          Header files related to Linux kernel version 3.13.0
    ii  linux-headers-3.13.0-34                       3.13.0-34.60                                all          Header files related to Linux kernel version 3.13.0
    ii  linux-headers-3.13.0-35                       3.13.0-35.62                                all          Header files related to Linux kernel version 3.13.0
    ii  linux-headers-3.13.0-36                       3.13.0-36.63                                all          Header files related to Linux kernel version 3.13.0
    ii  linux-headers-3.13.0-37                       3.13.0-37.64                                all          Header files related to Linux kernel version 3.13.0
    ii  linux-headers-3.16.0-23                       3.16.0-23.31                                all          Header files related to Linux kernel version 3.16.0
    ii  linux-headers-3.16.0-23-generic               3.16.0-23.31                                amd64        Linux kernel headers for version 3.16.0 on 64 bit x86 SMP
    ii  linux-headers-generic                         3.16.0.23.24                                amd64        Generic Linux kernel headers
    ii  linux-image-3.13.0-24-generic                 3.13.0-24.47                                amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
    rc  linux-image-3.13.0-29-generic                 3.13.0-29.53                                amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
    rc  linux-image-3.13.0-30-generic                 3.13.0-30.55                                amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
    rc  linux-image-3.13.0-32-generic                 3.13.0-32.57                                amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
    rc  linux-image-3.13.0-33-generic                 3.13.0-33.58                                amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
    rc  linux-image-3.13.0-34-generic                 3.13.0-34.60                                amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
    rc  linux-image-3.13.0-35-generic                 3.13.0-35.62                                amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
    rc  linux-image-3.13.0-36-generic                 3.13.0-36.63                                amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
    ii  linux-image-3.13.0-37-generic                 3.13.0-37.64                                amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
    ii  linux-image-3.16.0-23-generic                 3.16.0-23.31                                amd64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
    ii  linux-image-extra-3.13.0-24-generic           3.13.0-24.47                                amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
    rc  linux-image-extra-3.13.0-29-generic           3.13.0-29.53                                amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
    rc  linux-image-extra-3.13.0-30-generic           3.13.0-30.55                                amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
    rc  linux-image-extra-3.13.0-32-generic           3.13.0-32.57                                amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
    rc  linux-image-extra-3.13.0-33-generic           3.13.0-33.58                                amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
    rc  linux-image-extra-3.13.0-34-generic           3.13.0-34.60                                amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
    rc  linux-image-extra-3.13.0-35-generic           3.13.0-35.62                                amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
    rc  linux-image-extra-3.13.0-36-generic           3.13.0-36.63                                amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
    ii  linux-image-extra-3.13.0-37-generic           3.13.0-37.64                                amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
    ii  linux-image-extra-3.16.0-23-generic           3.16.0-23.31                                amd64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
    ii  linux-image-generic                           3.16.0.23.24                                amd64        Generic Linux kernel image

    Comment


      #17
      I performed the driver cleaning. I don't know if I should restart the Laptop

      Comment


        #18
        Nope, no need to reboot because none of those files were being used.

        I see you have dual graphics, like many modern laptops. Dual graphics is not (yet) well-supported in Linux. In your computer's firmware settings, can you find a menu option that will allow you to disable the Intel integrated graphics and select only the NVIDIA graphics? Sometimes the NVIDIA graphics might be indicated as "discrete."

        Comment


          #19
          I went into the computer BIOS and disabled the discrete (Intel) card. I tried to use Utupic's kernel but I'm still getting a black screen.

          Comment


            #20
            That's because you need to get the NVIDIA driver reinstalled. Boot the kernel that works and run:
            Code:
            sudo apt-get install --no-install-recommends nvidia-331-updates libcuda1-331-updates nvidia-331-updates-uvm nvidia-opencl-icd-331-updates nvidia-settings
            Once that's finished, report back here with the output of:
            Code:
            dkms status
            Don't reboot just yet.

            Comment


              #21
              Thank you! Here is the output for dkms status

              Code:
              nvidia-331-updates, 331.89, 3.16.0-23-generic, x86_64: installed
              nvidia-331-updates-uvm, 331.89, 3.16.0-23-generic, x86_64: installed
              vboxhost, 4.3.18, 3.13.0-37-generic, x86_64: installed
              vboxhost, 4.3.18, 3.16.0-23-generic, x86_64: installed

              Comment


                #22
                Interesting... I was expecting DKMS to build for the 3.13 kernel, since that's the one that works. But it built for the 3.16 kernel instead. Are you sure you booted the Trusty kernel?

                p.s.: Don't reboot anything yet! Just answer the q...

                Comment


                  #23
                  yes, here is the output of uname -r

                  Code:
                  moonblossom@dusk:~$ uname -r
                  3.13.0-37-generic

                  Comment


                    #24
                    OK. Just for the sake of completeness, let's build the NVIDIA drivers for that kernel. Please run:
                    Code:
                    sudo dkms build nvidia-331-updates/331.89 -k 3.13.0-37-generic
                    
                    sudo dkms build nvidia-331-updates-uvm/331.89 -k 3.13.0-37-generic
                    Report back here with
                    Code:
                    dkms status

                    Comment


                      #25
                      I'm missing the headers for that kernel. I tried to install them but they are not available on my current repos probably because they are for Trusty.

                      Code:
                      moonblossom@dusk:~$ sudo dkms build nvidia-331-updates/331.89 -k 3.13.0-37-generic
                      Error! Your kernel headers for kernel 3.13.0-37-generic cannot be found.
                      Please install the linux-headers-3.13.0-37-generic package,
                      or use the --kernelsourcedir option to tell DKMS where it's located

                      Comment


                        #26
                        Originally posted by MoonBlossom View Post
                        I went into the computer BIOS and disabled the discrete (Intel) card. I tried to use Utupic's kernel but I'm still getting a black screen.
                        Uh, can I verify something... you wrote "discrete (Intel) card." The Intel graphics are integrated, meaning on the same die as the CPU. It's the NVIDIA graphics that are discrete, meaning separate. Which did you disable -- the NVIDIA or the Intel? We need to disable the Intel graphics to get Linux to work easily with your NVIDIA graphics.

                        Comment


                          #27
                          Originally posted by MoonBlossom View Post
                          I'm missing the headers for that kernel. I tried to install them but they are not available on my current repos probably because they are for Trusty.

                          Code:
                          moonblossom@dusk:~$ sudo dkms build nvidia-331-updates/331.89 -k 3.13.0-37-generic
                          Error! Your kernel headers for kernel 3.13.0-37-generic cannot be found.
                          Please install the linux-headers-3.13.0-37-generic package,
                          or use the --kernelsourcedir option to tell DKMS where it's located
                          That's weird, because the output of the dpkg command clearly shows the headers are installed:
                          Code:
                          .
                          .
                          .
                          ii  linux-headers-3.13.0-37                       3.13.0-37.64                                all          Header files related to Linux kernel version 3.13.0
                          .
                          .
                          .
                          If you type sudo dkms build nvidia-331-updates/331.89 -k and then press Tab four times, what appears on the next line?

                          Comment


                            #28
                            I don't know which one got disabled. The BIOS was not very clear about that. I assumed it was the intel card the one that got disabled.

                            Comment


                              #29
                              Code:
                              moonblossom@dusk:~$ sudo dkms build nvidia-331-updates/331.89 -k
                              Error! Your kernel headers for kernel 3.13.0-37-generic cannot be found.
                              Please install the linux-headers-3.13.0-37-generic package,
                              or use the --kernelsourcedir option to tell DKMS where it's located

                              Comment


                                #30
                                Originally posted by MoonBlossom View Post
                                I don't know which one got disabled. The BIOS was not very clear about that. I assumed it was the intel card the one that got disabled.
                                sudo lshw -C display will confirm which one is currently in use. What's its output?

                                Comment

                                Working...
                                X