Results 1 to 10 of 11
I know this is far from a unique problem as others have sought advice on the same topic...
I want to be able to install Nvidia drivers appropriate to my ...
- 12-21-2010 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 11
Nvidia Installation problem
I know this is far from a unique problem as others have sought advice on the same topic...
I want to be able to install Nvidia drivers appropriate to my new Dell Notebook XPS 15.
I have read enough to realize two main installation methods exist. (1) install the “Debian” way or (2) install using the nvidia-installer. I would prefer #1, but am starting to think about #2. Nevertheless, the nvidia-installer procedure for someone with my limited Linux knowledge would, no doubt, be a challenge as well.
Here are the facts. I have a Dell XPS 15 which I have arranged to dual boot Windows 7 and Debian Squeeze. My video card is an Nvidia Geforce GT M435. It is 1080p and looks great when booted up in Windows. I would love that capability for my Debian Squeeze OS too!
Uname -a provides the following:
Linux debianXPS15 2.6.32-5-amd64 #1 SMP Fri Dec 10 15:35:08 UTC 2010 x86_64 GNU/Linux
reed9 provided the following suggestion on March 7 1010.
I tried this but did not meet with any success. I realize the suggestion below is for a standard (non-custom) kernel which is what I imagine I have.
su -
apt-get install module-assistant nvidia-kernel-common
m-a auto-install nvidia-kernel${VERSION}-source
apt-get install nvidia-glx${VERSION}
apt-get install nvidia-xconfig
nvidia-xconfig
This procedure succeeds in generating a xorg.conf file which leads to a blinking cursor on my screen and no more. Any suggestions? I need help. Any thoughts would be appreciated...
- 12-23-2010 #2Linux Newbie
- Join Date
- Apr 2007
- Posts
- 119
Have you installed a window manager already? If so, just type initx at the prompt.
- 12-23-2010 #3Just Joined!
- Join Date
- Jun 2009
- Posts
- 11
Nvidia Installlation Problem
Thank you for taking the time to think about my problem.
I am embarrassed to say I am not quite sure what a "windows manager" is. Is "X" considered a "windows manager"? How would I determine whether I have a "windows manager" installed or not?
As to using the command initx, do I do that with X running or not?
Thank you.
- 12-23-2010 #4Linux Newbie
- Join Date
- Apr 2007
- Posts
- 119
No problem. When you boot up initally and log in, are you looking at a black screen with a command prompt, or do you see a windows type look?
I had assumed command prompt, but now we need to make sure.
- 12-23-2010 #5Just Joined!
- Join Date
- Jun 2009
- Posts
- 11
Nvidia Installlation Problem
Upon bootup I am most definitely placed in a windows environment. That is the problem - without access to the nvidia drivers I only have 600 x 800 pixel resolution. The laptop is capable of 1080 p resolution - at least in Windows 7.
- 12-23-2010 #6Where there any errors with this?su -
apt-get install module-assistant nvidia-kernel-common
m-a auto-install nvidia-kernel${VERSION}-source
apt-get install nvidia-glx${VERSION}
apt-get install nvidia-xconfig
nvidia-xconfig
Please post the contents of your /etc/X11/xorg.conf file.
- 12-23-2010 #7Just Joined!
- Join Date
- Jun 2009
- Posts
- 11
Nvidia Installation Problem
Thank you for taking your time to look at this...
I run into problems at step 2: m-a auto-install nvidia-kernel${VERSION}-source
I get the following error:
Bad luck, the kernel headers for the target kernel version could
│ not be found
│ and you did not specify other valid kernel headers to use.
I am doing all this in a windows environment in case that makes any difference. I think I have to stop X at some point don't I?
Here is my xorg.conf:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildd@barber) Sun Jun 13 12:08:56 UTC 2010
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
#Section "Device"
# Identifier "Device0"
# Driver "nvidia"
# VendorName "NVIDIA Corporation"
#EndSectionLast edited by tenderfootlinux; 12-23-2010 at 05:25 PM. Reason: include xorg.conf file
- 12-23-2010 #8
Please use code tags when posting snippets like the above. Makes it easier to read.
There is a handy script which can help out with this stuff.
Press CTRL+ALT+F1 to drop to the console. Then
This will download a script called sgfxi to /usr/local/bin and run it. You can rerun it in the future simply by typing the nameCode:su - cd /usr/local/bin && wget -Nc smxi.org/sgfxi && chmod +x sgfxi && sgfxi -d
The -d flag tells it to use the distribution packages for the driver. If that continues to fail, run it without the d flag to install straight from nvidia.Code:sgfxi -d
It should also configure xorg.conf.Code:sgfxi
sgfxi manual page :: Debian/Ubuntu/Arch install script for nvidia, fglrx, and xorg drivers
- 12-23-2010 #9Just Joined!
- Join Date
- Jun 2009
- Posts
- 11
Nvidia Installlation Problem
That is a quite an interesting series of commands...
The main upshot is the:
ERROR: (194) m-a build failed for package: debian-nvidia
It generated a log file which I have (hopefully) attached.
As an aside: I can drop down to the console by CNTRL+ALT+F4. Unfortunately, I can not get back. I thought CNTRL+ALT+F7 or CNTRL+ALT+F8 was supposed to return me to a windows environment.
I don't think I was able to successfully upload the sgfxi.log file so I will append it below attempting to use the code tags feature:
[code]
================================================== =======
START sgfxi LOGGING:
================================================== =======
Script started: 2010-12-23-11:54:24
Video Card Information: nVidia Corporation Device 0df2 (rev a1)
Video Card Type: 10de
Video Card Number: 0df2
Xorg Version: 1.7
Installing driver to kernel: 2.6.32-5-amd64
sgfxi script version: 4.15.27
sgfxi start options: -d
SYSTEM_BASE: debian
SYSTEM_CODENAME: testing
DISTRIB_CODENAME: testing
DISTRIB_ID: debian
DISTRIB_RELEASE:
FG_DISTRIB_CODENAME: sid
FG_DISTRIB_ID: Debian
APT_TYPE: aptitude
================================================== =======
INSTALL_TO_KERNEL:
KERNEL_VERSION: 2.6.32-5-amd64
KERNEL_BASE: 2.6
KERNEL_THREE: 2.6.32
KERNEL_THIRD: 32
B_IS_XEN: true
Function: create_x_conf - Primary: Start
xorg is present with xorg.conf file
Function: create_x_conf - Primary: End
Function: check_package_manager_updated - Utility: Start
sizeWorking: 15
Function: check_package_manager_updated - Utility: End
Function: set_driver_install_version - Primary: Start
Function: print_information_continue - Utility: Start
Args: info You are using the following options:
-d - Install distro packaged driver.
Function: print_information_continue - Utility: End
Function: print_information_continue - Utility: Start
Args: standard The graphics installer will be installing the nvidia driver: debian-nvidia
Function: print_information_continue - Utility: End
Installing this driver: debian-nvidia
Function: set_driver_install_version - Primary: End
Function: driver_support_tests - Utility: Start
Args: supported-driver
Function: driver_support_tests - Utility: End
Function: check_kernel_headers - Utility: Start
Function: check_package_status - Utility: Start
Args: linux-headers-2.6.32-5-amd64 i
Package Version: 2.6.32-29
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
Args: linux-headers-2.6.32-5-amd64 c
Package Version: 2.6.32-29
Function: check_package_status - Utility: End
headerName: linux-headers-2.6.32-5-amd64
headerInstalled: 2.6.32-29
headerAvailable: 2.6.32-29
headerFile:
Function: check_kernel_headers - Utility: End
Function: x_start_stop_master - Primary: Start
Args: stop
Function: start_stop_x - Utility: Start
Args: stop
default runlevel: 2
dmanCommand: service gdm3 stop
Function: x_is_running - Utility: Start
Function: x_is_running - Utility: End
Function: start_stop_x - Utility: End
Function: x_start_stop_master - Primary: End
Function: check_driver_install_tools - Primary: Start
Function: check_package_status - Utility: Start
Args: module-assistant i
Package Version: 0.11.3
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
Args: build-essential i
Package Version: 11.5
Function: check_package_status - Utility: End
Function: check_driver_install_tools - Primary: End
Function: prep_install - Primary: Start
Function: prep_install - Primary: End
Function: preinstall_cleanup - Primary: Start
nvidia.ko files:
Function: list_installed_packages - Utility: Start
Args: nvidia (modalias|libvdpau|nvidia-bl-dkms|nvidia-cg-toolkit)
packageList: nvidia-glx
nvidia-kernel-common
nvidia-kernel-source
Function: list_installed_packages - Utility: End
(Reading database ... 132272 files and directories currently installed.)
Removing nvidia-glx ...
Purging configuration files for nvidia-glx ...
Removing nvidia-kernel-common ...
Purging configuration files for nvidia-kernel-common ...
Removing nvidia-kernel-source ...
Function: remove_module - Primary: Start
Args: nvidia
operation outcome: unset
Function: remove_module - Primary: End
Function: remove_module - Primary: Start
Args: nouveau
operation outcome: unset
Function: set_modesetting_off - Primary: End
Function: add_grub_nomodeset_blacklist_item - Utility: Start
Args: nouveau
Function: get_active_grub_files - Utility: Start
grub files: /boot/grub/grub.cfg /etc/default/grub
Function: get_active_grub_files - Utility: End
file updated to add nouveau nomodeset: /boot/grub/grub.cfg /etc/default/grub
file updated to add nouveau nomodeset: /etc/default/grub
Function: add_grub_nomodeset_blacklist_item - Utility: End
Function: add_modprobe_d_blacklist_item - Utility: Start
Args: nouveau
file updated to add nouveau blacklist: /etc/modprobe.d/kms-sg-blacklist.conf
Function: add_modprobe_d_blacklist_item - Utility: End
Function: update_initramfs - Primary: Start
Args: remove-nouveau
Function: update_initramfs - Primary: End
Function: set_modesetting_off - Primary: Start
Args: nouveau unset
Function: remove_module - Primary: End
Function: list_installed_packages - Utility: Start
Args: fglrx modalias
packageList:
Function: list_installed_packages - Utility: End
Function: remove_module - Primary: Start
Args: fglrx
operation outcome: unset
Function: remove_module - Primary: End
Function: clean_dkms - Primary: Start
Function: clean_dkms - Primary: End
Function: preinstall_cleanup - Primary: End
Function: update_to_nonfree_sources - Primary: Start
Function: update_to_nonfree_sources - Primary: End
Function: install_distro_drivers - Primary: Start
Function: clean_up_fglrx_junk - Utility: Start
Function: clean_up_fglrx_junk - Utility: End
Function: install_package - Utility: Start
Args: nvidia-kernel-common
Function: install_package - Utility: End
Function: install_package - Utility: Start
Args: nvidia-settings
Function: install_package - Utility: End
Function: install_package - Utility: Start
Args: nvidia-kernel-source
Function: install_package - Utility: End
[1;25r[4l[?25l[?1c[0;10m[37m[40m[1;25r[H[J[1;1H[1m[37m[44m[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K
[K[1;1H[10;3H[0;10m[30m[47m┌────────────────────┤ [31mUpdating cached package data[30m ├─────────────────────┐[11;3H│ Reading apt-cache output... │[1m[37m[40m [12;3H[0;10m[30m[47m│ │[1m[37m[40m [13;3H[0;10m[30m[47m│ │[1m[37m[40m [14;3H[0;10m[30m[47m│ [14;40H[1m[37m[44m0%[14;75H[0;10m[30m[47m │[1m[37m[40m [15;3H[0;10m[30m[47m│ │[1m[37m[40m [16;3H[0;10m[30m[47m└────────────────────────────────────────────── ───────────────────────────┘[1m[37m[40m [17;4H [14;38H[14;6H[41m [14;40H[44m2[14;38H[11;5H[0;10m[30m[47m [14;7H[1m[37m[41m [14;40H[44m5[14;38H[14;9H[41m [14;40H[44m8[14;38H[14;11H[41m [14;39H[44m10[14;38H[14;12H[41m [14;40H[44m2[14;38H[14;14H[41m [14;40H[44m5[14;38H[14;16H[41m [14;40H[44m8[14;38H[14;18H[41m [14;39H[44m20[14;38H[14;19H[41m [14;40H[44m2[14;38H[14;21H[41m [14;40H[44m5[14;38H[14;23H[41m [14;40H[44m8[14;38H[14;25H[41m [14;39H[44m30[14;38H[14;26H[41m [14;40H[44m2[14;38H[14;28H[41m [14;40H[44m5[14;38H[14;30H[41m [14;40H[44m8[14;38H[14;32H[41m [14;39H[44m40[14;38H[14;33H[41m [14;40H[44m2[14;38H[14;34H[41m [44m 45[14;38H[41m [44m48[14;38H[14;39H[41m5[44m0[14;38H[14;40H[41m2[14;38H[14;40H5% [14;38H[14;40H8% [14;38H[14;39H60[14;46H [14;38H[14;40H2[14;47H [14;38H[14;40H5[14;48H [14;38H[14;40H8[14;50H [14;38H[14;39H70[14;52H [14;38H[14;40H2[14;54H [14;38H[14;40H5[14;55H [14;38H[14;40H8[14;57H [14;38H[14;39H80[14;59H [14;38H[14;40H2[14;61H [14;38H[14;40H5[14;62H [14;38H[14;40H8[14;64H [14;38H[14;39H90[14;66H [14;38H[14;40H2[14;68H [14;38H[14;40H5[14;69H [14;38H[14;40H8[14;71H [14;38H100[14;73H [14;38H[?25h[?0c[25;1H[0;10m[37m[40m[0;10m[39;49m
[K
Updated infos about 40 packages
Getting source for kernel version: 2.6.32-5-amd64
apt-get install linux-headers-2.6.32-5-amd64
Reading package lists...
Building dependency tree...
Reading state information...
linux-headers-2.6.32-5-amd64 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
apt-get install build-essential
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Done!
[7m
Bad luck, the kernel headers for the target kernel version could not be found
and you did not specify other valid kernel headers to use.
[27m
[7m
However, you can install the header files for your kernel which are provided by
the linux-headers-2.6.32-5-amd64 package. For most modules packages, these
files are perfectly sufficient without having the original kernel source.
To install the package, run:
module-assistant prepare
or
apt-get install linux-headers-2.6.32-5-amd64
[27m
ERROR: (194) m-a build failed for package: debian-nvidia
- 12-23-2010 #10
You forgot the closing [/code]
I would have thought it installed the necessary headers, but simple enoughHowever, you can install the header files for your kernel which are provided by
the linux-headers-2.6.32-5-amd64 package. For most modules packages, these
files are perfectly sufficient without having the original kernel source.
Code:sudo aptitude install linux-headers-$(uname -r)


Reply With Quote
