Announcement
Collapse
No announcement yet.
Black screen after GRUB menu
Collapse
This topic is closed.
X
X
-
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.
- Top
- Bottom
-
That's weird, because the output of the dpkg command clearly shows the headers are installed:Originally posted by MoonBlossom View PostI'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
If you type sudo dkms build nvidia-331-updates/331.89 -k and then press Tab four times, what appears on the next line?Code:. . . ii linux-headers-3.13.0-37 3.13.0-37.64 all Header files related to Linux kernel version 3.13.0 . . .
- Top
- Bottom
Leave a comment:
-
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.Originally posted by MoonBlossom View PostI 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.
- Top
- Bottom
Leave a comment:
-
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
- Top
- Bottom
Leave a comment:
-
OK. Just for the sake of completeness, let's build the NVIDIA drivers for that kernel. Please run:
Report back here withCode: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
Code:dkms status
- Top
- Bottom
Leave a comment:
-
yes, here is the output of uname -r
Code:moonblossom@dusk:~$ uname -r 3.13.0-37-generic
- Top
- Bottom
Leave a comment:
-
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...
- Top
- Bottom
Leave a comment:
-
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
- Top
- Bottom
Leave a comment:
-
That's because you need to get the NVIDIA driver reinstalled. Boot the kernel that works and run:
Once that's finished, report back here with the output of: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
Don't reboot just yet.Code:dkms status
- Top
- Bottom
Leave a comment:
-
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.
- Top
- Bottom
Leave a comment:
-
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."
- Top
- Bottom
Leave a comment:
-
I performed the driver cleaning. I don't know if I should restart the Laptop
- Top
- Bottom
Leave a comment:
-
Here is the output before cleaning the Nvidia driver
uname -a
sudo lshw -c DISPLAYCode: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
dpkg -l |egrep -i 'linux-headers|linux-image'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)
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
- Top
- Bottom
Leave a comment:
-
Let's clean the system of all NVIDIA drivers for now:
What's the output ofCode:sudo apt-get purge bbswitch-dkms libcg:amd64 libcg:i386 libcggl:amd64 libcggl:i386 libcuda1-331 nvidia-331 nvidia-cg-dev:amd64 nvidia-cg-toolkit nvidia-libopencl1-331 nvidia-opencl-icd-331 nvidia-prime nvidia-settings
Code:uname -a sudo lshw -c DISPLAY dpkg -l |egrep -i 'linux-headers|linux-image'
- Top
- Bottom
Leave a comment:
-
I have a Sony Vaio F
Output of dpkg -l | egrep -i 'nvidia|nouveau':
dkms statusCode:moonblossom@dusk:~$ dpkg -l | egrep -i 'nvidia|nouveau' ii bbswitch-dkms 0.7-2ubuntu1 amd64 Interface for toggling the power on nVidia Optimus video cards ii libcg:amd64 3.1.0013-1 amd64 Nvidia Cg core runtime library rc libcg:i386 3.1.0013-1 i386 Nvidia Cg core runtime library ii libcggl:amd64 3.1.0013-1 amd64 Nvidia Cg Opengl runtime library rc libcggl:i386 3.1.0013-1 i386 Nvidia Cg Opengl runtime library ii libcuda1-331 331.89-0ubuntu5 amd64 NVIDIA CUDA runtime library ii libdrm-nouveau2:amd64 2.4.56-1 amd64 Userspace interface to nouveau-specific kernel DRM services -- runtime rc libdrm-nouveau2:i386 2.4.56-1 i386 Userspace interface to nouveau-specific kernel DRM services -- runtime rc nvidia-331 331.89-0ubuntu5 amd64 NVIDIA binary driver - version 331.89 ii nvidia-cg-dev:amd64 3.1.0013-1 amd64 Cg Toolkit - GPU Shader Authoring Language (headers) ii nvidia-cg-toolkit 3.1.0013-1 amd64 Cg Toolkit - GPU Shader Authoring Language rc nvidia-libopencl1-331 331.38-0ubuntu7 amd64 NVIDIA OpenCL Driver and ICD Loader library ii nvidia-opencl-icd-331 331.89-0ubuntu5 amd64 NVIDIA OpenCL ICD ii nvidia-prime 0.6.7 amd64 Tools to enable NVIDIA's Prime ii nvidia-settings 331.20-0ubuntu8 amd64 Tool for configuring the NVIDIA graphics driver ii xserver-xorg-video-nouveau 1:1.0.11-1ubuntu2 amd64 X.Org X server -- Nouveau display driver
egrep -i 'nvidia|nouveau' /var/log/Xorg.0.logCode:bbswitch, 0.7, 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
Code:[ 25.715] (==) Matched nvidia as autoconfigured driver 1 [ 25.715] (==) Matched nouveau as autoconfigured driver 2 [ 25.760] (II) LoadModule: "nvidia" [ 25.760] (WW) Warning, couldn't open module nvidia [ 25.760] (II) UnloadModule: "nvidia" [ 25.760] (II) Unloading nvidia [ 25.760] (EE) Failed to load module "nvidia" (module does not exist, 0) [ 25.760] (II) LoadModule: "nouveau" [ 25.760] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so [ 25.783] (II) Module nouveau: vendor="X.Org Foundation" [ 25.808] (==) Matched nvidia as autoconfigured driver 1 [ 25.808] (==) Matched nouveau as autoconfigured driver 2 [ 25.808] (II) LoadModule: "nvidia" [ 25.808] (WW) Warning, couldn't open module nvidia [ 25.808] (II) UnloadModule: "nvidia" [ 25.808] (II) Unloading nvidia [ 25.809] (EE) Failed to load module "nvidia" (module does not exist, 0) [ 25.809] (II) LoadModule: "nouveau" [ 25.809] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so [ 25.809] (II) Module nouveau: vendor="X.Org Foundation" [ 25.809] (II) UnloadModule: "nouveau" [ 25.809] (II) Unloading nouveau [ 25.809] (II) Failed to load module "nouveau" (already loaded, 0) [ 25.810] (II) NOUVEAU driver Date: Thu Aug 28 03:57:48 2014 +0200 [ 25.810] (II) NOUVEAU driver for NVIDIA chipset families : [ 25.810] (II) [drm] nouveau interface version: 1.1.2 [ 25.817] (--) NOUVEAU(G0): Chipset: "NVIDIA NV108" [ 25.817] (==) NOUVEAU(G0): Depth 24, (--) framebuffer bpp 32 [ 25.817] (==) NOUVEAU(G0): RGB weight 888 [ 25.817] (==) NOUVEAU(G0): Default visual is TrueColor [ 25.817] (==) NOUVEAU(G0): Using HW cursor [ 25.817] (==) NOUVEAU(G0): GLX sync to VBlank enabled. [ 25.817] (==) NOUVEAU(G0): Page flipping enabled [ 25.817] (==) NOUVEAU(G0): Swap limit set to 1 [Max allowed 2] [ 25.817] (==) NOUVEAU(G0): Page flipping synced to vblank by kernel. [ 25.817] (==) NOUVEAU(G0): Using gamma correction (1.0, 1.0, 1.0) [ 25.817] (--) NOUVEAU(G0): Virtual size is 1024x768 (pitch 0) [ 25.817] (**) NOUVEAU(G0): Mode "1920x1080": 173.0 MHz (scaled from 0.0 MHz), 67.2 kHz, 60.0 Hz [ 25.817] (II) NOUVEAU(G0): Modeline "1920x1080"x60.0 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync (67.2 kHz) [ 25.817] (==) NOUVEAU(G0): DPI set to (96, 96) [ 25.818] (EE) NOUVEAU(G0): Error creating GPU channel: -19 [ 25.818] (EE) NOUVEAU(G0): Error initialising acceleration. Falling back to NoAccel [ 25.818] (**) NOUVEAU(G0): [COPY] acceleration disabled [ 25.947] (==) NOUVEAU(G0): Backing store enabled [ 25.947] (==) NOUVEAU(G0): Silken mouse enabled [ 25.947] (==) NOUVEAU(G0): DPMS enabled [ 25.947] (II) NOUVEAU(G0): RandR 1.2 enabled, ignore the following RandR disabled message. [ 26.253] (II) NOUVEAU(G0): NVEnterVT is called.
- Top
- Bottom
Leave a comment:
Users Viewing This Topic
Collapse
There are 0 users viewing this topic.
Leave a comment: