Announcement

Collapse
No announcement yet.

Black screen after GRUB menu

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

    #31
    Oh no, it was the Nvidia driver that got disabled

    Code:
    moonblossom@dusk:~$ sudo lshw -C display
      *-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:64 memory:b2000000-b23fffff memory:a0000000-afffffff ioport:5000(size=64)

    Comment


      #32
      Originally posted by MoonBlossom View Post
      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
      Is this after the four Tabs I asked? That's weird. I was expecting:

      First tab: a space

      Second tab: a 3.1

      Third tab: nothing

      Fourth tab: a new line containing 3.13.0-37-generic 3.16.0-23-generic and then the prompt with the partial command reappearing on the next line.

      Comment


        #33
        I typed the command and did four tabs. Nothing changes.

        Comment


          #34
          Don't press Enter -- just press the four Tabs immediately after you type the -k. We'll get back to the hardware issue in just a moment. I want to see what happens when you do this exercise.

          Comment


            #35
            TAB doesn't seem to do anything for me.

            Comment


              #36
              Here it is::
              moonblossom@dusk:~$ sudo dkms build nvidia-331-updates/331.89 -k 3.
              3.13.0-24-generic 3.13.0-37-generic 3.16.0-23-generic 3.8.0-31-generic

              Comment


                #37
                Hm. I'm a little mystified here -- DKMS senses that 3.13 is available for build, but it isn't finding the headers. Weird.

                But -- you have successfully installed the drivers for 3.16. So let's test it. Back in the firmware, disable the Intel graphics and enable the NVIDIA graphics. Then reboot, and select the 3.16 kernel. If everything's correct, you should boot fine. If you get a black screen, then you'll need to disable NVIDIA/enable Intel and come back here for more.

                Comment


                  #38
                  I went into the firmware and enabled discreet graphics. I still got a black screen. I don't see an option to disable the Intel graphics in the firmware. Disabling the discreet graphics only disables the NVidia card.

                  Comment


                    #39
                    What happens if you boot the 3.13 kernel now?

                    Comment


                      #40
                      Seems to run just fine.

                      Comment


                        #41
                        What's the output of
                        Code:
                        lsmod | egrep -i 'intel|i915|nvidia|nouveau'
                        
                        egrep -i 'intel|i915|nvidia|nouveau' /var/log/Xorg.0.log

                        Comment


                          #42
                          lsmod | egrep -i 'intel|nvidia|nouveau'
                          Code:
                          intel_rapl             18773  0 
                          intel_powerclamp       14705  0 
                          kvm_intel             143109  0 
                          kvm                   451552  1 kvm_intel
                          ghash_clmulni_intel    13216  0 
                          aesni_intel            55624  2 
                          aes_x86_64             17131  1 aesni_intel
                          snd_hda_intel          56451  5 
                          lrw                    13286  1 aesni_intel
                          snd_hda_codec         192906  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
                          glue_helper            13990  1 aesni_intel
                          ablk_helper            13597  1 aesni_intel
                          snd_pcm               102099  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
                          snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
                          cryptd                 20359  3 ghash_clmulni_intel,aesni_intel,ablk_helper
                          snd                    69322  21 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
                          egrep -i 'intel|nvidia|nouveau' /var/log/Xorg.0.log
                          Code:
                          [    32.246] (==) Matched intel as autoconfigured driver 0
                          [    32.246] (==) Matched intel as autoconfigured driver 1
                          [    32.246] (II) LoadModule: "intel"
                          [    32.247] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
                          [    32.264] (II) Module intel: vendor="X.Org Foundation"
                          [    32.265] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
                          [    32.265] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
                          [    32.265] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
                          [    32.265] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
                          [    32.265] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20080730
                          [    32.265] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.914-1~exp1ubuntu4 (Maarten Lankhorst <maarten.lankhorst@ubuntu.com>)
                          [    32.265] (II) intel(0): SNA compiled for use with valgrind
                          [    32.266] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4400
                          [    32.266] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2
                          [    32.266] (II) intel(0): Creating default Display subsection in Screen section
                          [    32.266] (==) intel(0): Depth 24, (--) framebuffer bpp 32
                          [    32.266] (==) intel(0): RGB weight 888
                          [    32.266] (==) intel(0): Default visual is TrueColor
                          [    32.266] (II) intel(0): Output eDP1 has no monitor section
                          [    32.266] (--) intel(0): Found backlight control interface acpi_video0 (type 'firmware') for output eDP1
                          [    32.266] (II) intel(0): Output HDMI1 has no monitor section
                          [    32.266] (--) intel(0): Using a maximum size of 64x64 for hardware cursors
                          [    32.266] (II) intel(0): Output VIRTUAL1 has no monitor section
                          [    32.266] (--) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
                          [    32.266] (==) intel(0): TearFree disabled
                          [    32.266] (==) intel(0): DPI set to (96, 96)
                          [    32.275] (II) intel(0): SNA initialized with Haswell (gen7.5, gt2) backend
                          [    32.275] (==) intel(0): Backing store enabled
                          [    32.275] (==) intel(0): Silken mouse enabled
                          [    32.275] (II) intel(0): HW Cursor enabled
                          [    32.275] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
                          [    32.276] (==) intel(0): DPMS enabled
                          [    32.276] (II) intel(0): [DRI2] Setup complete
                          [    32.276] (II) intel(0): [DRI2]   DRI driver: i965
                          [    32.276] (II) intel(0): [DRI2]   VDPAU driver: i965
                          [    32.276] (II) intel(0): direct rendering: DRI2 DRI3 enabled
                          [    32.276] (II) intel(0): hardware support for Present enabled
                          [    32.276] (==) intel(0): display hotplug detection enabled
                          [    32.753] (II) AIGLX: enabled GLX_INTEL_swap_event
                          [    32.756] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
                          [    32.764] (II) intel(0): Setting screen physical size to 508 x 285
                          [    32.820] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=3 (/dev/input/event14)
                          [    32.821] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event13)
                          [    32.821] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=8 (/dev/input/event12)
                          [    32.822] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event10)
                          [    32.822] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event9)
                          [    37.600] (II) intel(0): EDID vendor "LGD", prod id 1022
                          [    37.600] (II) intel(0): Printing DDC gathered Modelines:
                          [    37.600] (II) intel(0): Modeline "1920x1080"x0.0  138.70  1920 1968 2000 2080  1080 1083 1088 1111 -hsync -vsync (66.7 kHz eP)

                          Comment


                            #43
                            Would you try again? I edited my post #41 apparently too late for you to see the change. I've added i915 to each line.

                            Comment


                              #44
                              lsmod | egrep -i 'intel|i915|nvidia|nouveau'
                              Code:
                              intel_rapl             18773  0 
                              intel_powerclamp       14705  0 
                              kvm_intel             143109  0 
                              kvm                   451552  1 kvm_intel
                              ghash_clmulni_intel    13216  0 
                              aesni_intel            55624  2 
                              aes_x86_64             17131  1 aesni_intel
                              snd_hda_intel          56451  5 
                              lrw                    13286  1 aesni_intel
                              snd_hda_codec         192906  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
                              glue_helper            13990  1 aesni_intel
                              ablk_helper            13597  1 aesni_intel
                              snd_pcm               102099  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
                              snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
                              cryptd                 20359  3 ghash_clmulni_intel,aesni_intel,ablk_helper
                              snd                    69322  21 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
                              i915                  783805  5 
                              i2c_algo_bit           13413  1 i915
                              drm_kms_helper         55071  1 i915
                              drm                   303102  4 i915,drm_kms_helper
                              video                  19476  1 i915
                              egrep -i 'intel|i915|nvidia|nouveau' /var/log/Xorg.0.log
                              Code:
                              [    32.246] (==) Matched intel as autoconfigured driver 0
                              [    32.246] (==) Matched intel as autoconfigured driver 1
                              [    32.246] (II) LoadModule: "intel"
                              [    32.247] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
                              [    32.264] (II) Module intel: vendor="X.Org Foundation"
                              [    32.265] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
                                      915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
                              [    32.265] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
                              [    32.265] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
                              [    32.265] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
                              [    32.265] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20080730
                              [    32.265] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.914-1~exp1ubuntu4 (Maarten Lankhorst <maarten.lankhorst@ubuntu.com>)
                              [    32.265] (II) intel(0): SNA compiled for use with valgrind
                              [    32.266] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4400
                              [    32.266] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2
                              [    32.266] (II) intel(0): Creating default Display subsection in Screen section
                              [    32.266] (==) intel(0): Depth 24, (--) framebuffer bpp 32
                              [    32.266] (==) intel(0): RGB weight 888
                              [    32.266] (==) intel(0): Default visual is TrueColor
                              [    32.266] (II) intel(0): Output eDP1 has no monitor section
                              [    32.266] (--) intel(0): Found backlight control interface acpi_video0 (type 'firmware') for output eDP1
                              [    32.266] (II) intel(0): Output HDMI1 has no monitor section
                              [    32.266] (--) intel(0): Using a maximum size of 64x64 for hardware cursors
                              [    32.266] (II) intel(0): Output VIRTUAL1 has no monitor section
                              [    32.266] (--) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
                              [    32.266] (==) intel(0): TearFree disabled
                              [    32.266] (==) intel(0): DPI set to (96, 96)
                              [    32.275] (II) intel(0): SNA initialized with Haswell (gen7.5, gt2) backend
                              [    32.275] (==) intel(0): Backing store enabled
                              [    32.275] (==) intel(0): Silken mouse enabled
                              [    32.275] (II) intel(0): HW Cursor enabled
                              [    32.275] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
                              [    32.276] (==) intel(0): DPMS enabled
                              [    32.276] (II) intel(0): [DRI2] Setup complete
                              [    32.276] (II) intel(0): [DRI2]   DRI driver: i965
                              [    32.276] (II) intel(0): [DRI2]   VDPAU driver: i965
                              [    32.276] (II) intel(0): direct rendering: DRI2 DRI3 enabled
                              [    32.276] (II) intel(0): hardware support for Present enabled
                              [    32.276] (==) intel(0): display hotplug detection enabled
                              [    32.753] (II) AIGLX: enabled GLX_INTEL_swap_event
                              [    32.756] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
                              [    32.764] (II) intel(0): Setting screen physical size to 508 x 285
                              [    32.820] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=3 (/dev/input/event14)
                              [    32.821] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event13)
                              [    32.821] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=8 (/dev/input/event12)
                              [    32.822] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event10)
                              [    32.822] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event9)
                              [    37.600] (II) intel(0): EDID vendor "LGD", prod id 1022
                              [    37.600] (II) intel(0): Printing DDC gathered Modelines:
                              [    37.600] (II) intel(0): Modeline "1920x1080"x0.0  138.70  1920 1968 2000 2080  1080 1083 1088 1111 -hsync -vsync (66.7 kHz eP)

                              Comment


                                #45
                                Your computer is booting with the Intel graphics only. I'd like to see if we can get NVIDIA at least working on 3.13. Let's go looking for those kernel sources. What's the output of
                                Code:
                                ls -al /lib/modules
                                
                                ls -al /lib/modules/*/build
                                
                                ls -al /usr/src

                                Comment

                                Working...
                                X