Guru3D.com Forums

Go Back   Guru3D.com Forums > General > Operating Systems
Operating Systems Is Windows 2000, XP or Vista giving you a hard time ? Wanna try out Linux ?


Reply
 
Thread Tools Display Modes
Installing nVidia drivers in LXDE Debian
Old
  (#1)
The Chubu
Maha Guru
 
The Chubu's Avatar
 
Videocard: MSi GTX560 TwinFrozrII OC
Processor: i5 2500K stock
Mainboard: Asus P8P67-M Pro
Memory: 16Gb Patriot G2 1333Mhz
Soundcard: Onboard Realtek
PSU: Satellite SL-8600EPS 600w
Default Installing nVidia drivers in LXDE Debian - 05-21-2012, 01:45 | posts: 2,541 | Location: Look out!

Sup? Well, im trying to install nVidia drivers in this netbook (N450 and ION 2).

First tried the xorg-nvidia package, it didnt worked (nVidia driver didnt installed properly and blacklisted nouveau, so no x server at all).

Now im trying it by hand but im stuck in the first step, disabling LXDE. I found this "/etc/init.d/lxdm stop" but there is no lxdm at all nor any other process that resembles it.

Does anybody knows how to stop LXDE display manager? I assure you that i spend considerable time in google trying to find out but the only leads are those "lxdm stop" that don't work out for me (or people saying "tried the package manager and worked perfectly!" which is not what i want to do )

Though probably im going to get stuck anyway after that so i'll need more help along the way. I guess that once LXDE is disabled, modprobe -r nouveau should do the trick but nVidia's installer isnt prepared for LXDE desktop so something could go wrong after...
   
Reply With Quote
 
Old
  (#2)
deltatux
Don Pinguccino
 
deltatux's Avatar
 
Videocard: XFX Radeon HD 6870
Processor: Intel Core i5 3570K @4.5
Mainboard: GIGABYTE GA-Z77X-UD5H
Memory: Patriot 4 x 4GB DDR3-1600
Soundcard: Auzentech X-Raider 7.1
PSU: OCZ ModXStream Pro 500W
Default 05-22-2012, 16:04 | posts: 18,946 | Location: Toronto, Canada

Download the drivers directly from NVIDIA, run the installer and it'll compile a driver specifically for your system. Ensure that you have compiler tools installed on your system.

This is a sure fire way to have the drivers installed.

http://www.geforce.com/drivers/results/44868

deltatux
   
Reply With Quote
Old
  (#3)
The Chubu
Maha Guru
 
The Chubu's Avatar
 
Videocard: MSi GTX560 TwinFrozrII OC
Processor: i5 2500K stock
Mainboard: Asus P8P67-M Pro
Memory: 16Gb Patriot G2 1333Mhz
Soundcard: Onboard Realtek
PSU: Satellite SL-8600EPS 600w
Default 05-24-2012, 03:15 | posts: 2,541 | Location: Look out!

Quote:
Originally Posted by deltatux View Post
Download the drivers directly from NVIDIA, run the installer and it'll compile a driver specifically for your system. Ensure that you have compiler tools installed on your system.

This is a sure fire way to have the drivers installed.

http://www.geforce.com/drivers/results/44868

deltatux
I thank you for your answer but i already know that. As i said, i need the window manager down before i can even begin to install nVidia drivers, otherwise the nVidia drivers complain that the display manager is running and wont install. Please read what i wrote in my original post.

It says so in the nVidia's readme:
Quote:
Before you begin the installation, exit the X server and terminate all OpenGL applications (note that it is possible that some OpenGL applications persist even after the X server has stopped). You should also set the default run level on your system such that it will boot to a VGA console, and not directly to X.
I dont know how to do that in LXDE. With Gnome for example, a "stop gdm" in init.d would suffice, but in LXDE i dont know how to stop the X server.

Last edited by The Chubu; 05-24-2012 at 03:19.
   
Reply With Quote
Old
  (#4)
deltatux
Don Pinguccino
 
deltatux's Avatar
 
Videocard: XFX Radeon HD 6870
Processor: Intel Core i5 3570K @4.5
Mainboard: GIGABYTE GA-Z77X-UD5H
Memory: Patriot 4 x 4GB DDR3-1600
Soundcard: Auzentech X-Raider 7.1
PSU: OCZ ModXStream Pro 500W
Default 05-24-2012, 04:01 | posts: 18,946 | Location: Toronto, Canada

sudo init 3

That will run Linux into INIT level 3 which is "multiuser, no X server"

Just type sudo init 5 or reboot your system after driver installation to get your X server session back.

deltatux
   
Reply With Quote
 
Old
  (#5)
The Chubu
Maha Guru
 
The Chubu's Avatar
 
Videocard: MSi GTX560 TwinFrozrII OC
Processor: i5 2500K stock
Mainboard: Asus P8P67-M Pro
Memory: 16Gb Patriot G2 1333Mhz
Soundcard: Onboard Realtek
PSU: Satellite SL-8600EPS 600w
Default 05-24-2012, 19:26 | posts: 2,541 | Location: Look out!

Quote:
Originally Posted by deltatux View Post
sudo init 3

That will run Linux into INIT level 3 which is "multiuser, no X server"

Just type sudo init 5 or reboot your system after driver installation to get your X server session back.

deltatux
Thanks. I'll try that when i get back home. Though in Debian it didnt worked last time i tried when i had Gnome 2, it complained that the installer needs to be run from the default runlevel (2 i think) to work. I hear it works on other distros exept in Debian and derivates.

Huh, i was looking at an old forum post (2005) and it says that you can issue the stop command to xdm directly whereas in my netbook it didnt worked before (i tried to "stop" the thing that most resembled an x server thing in init.d lol ). I'll try to switch to other terminal and see if "xdm stop" works from there.

btw, i dont have sudo I just su into root and do all from there, its bad practice i know but by default 90% of the things (even LibreOffice) in Debian cant be opened from a normal user.
   
Reply With Quote
Old
  (#6)
deltatux
Don Pinguccino
 
deltatux's Avatar
 
Videocard: XFX Radeon HD 6870
Processor: Intel Core i5 3570K @4.5
Mainboard: GIGABYTE GA-Z77X-UD5H
Memory: Patriot 4 x 4GB DDR3-1600
Soundcard: Auzentech X-Raider 7.1
PSU: OCZ ModXStream Pro 500W
Default 05-26-2012, 02:45 | posts: 18,946 | Location: Toronto, Canada

Quote:
Originally Posted by The Chubu View Post
Thanks. I'll try that when i get back home. Though in Debian it didnt worked last time i tried when i had Gnome 2, it complained that the installer needs to be run from the default runlevel (2 i think) to work. I hear it works on other distros exept in Debian and derivates.

Huh, i was looking at an old forum post (2005) and it says that you can issue the stop command to xdm directly whereas in my netbook it didnt worked before (i tried to "stop" the thing that most resembled an x server thing in init.d lol ). I'll try to switch to other terminal and see if "xdm stop" works from there.

btw, i dont have sudo I just su into root and do all from there, its bad practice i know but by default 90% of the things (even LibreOffice) in Debian cant be opened from a normal user.
Stop using an ancient distro

Almost all modern distros have sudo installed. Heck, Linux Mint Debian Edition has sudo included by default, so maybe it's best to migrate there?

deltatux
   
Reply With Quote
Old
  (#7)
The Chubu
Maha Guru
 
The Chubu's Avatar
 
Videocard: MSi GTX560 TwinFrozrII OC
Processor: i5 2500K stock
Mainboard: Asus P8P67-M Pro
Memory: 16Gb Patriot G2 1333Mhz
Soundcard: Onboard Realtek
PSU: Satellite SL-8600EPS 600w
Default 05-27-2012, 03:27 | posts: 2,541 | Location: Look out!

Quote:
Originally Posted by deltatux View Post
Stop using an ancient distro

Almost all modern distros have sudo installed. Heck, Linux Mint Debian Edition has sudo included by default, so maybe it's best to migrate there?
i
deltatux
Its nothing i cant fix with Aptitude, besides there are a lot of official Debian ISOs, i just downloaded the first one that had LXDE. There is even some DVD sized ISOs that who knows what ammount of packages they have inside, probably lots of them have sudo. Anyway, i prefer to get the distro to do what i want instead of search for a distro that does what i want out of the box. That way i learn much more about Linux.

To the point. I found out that for some reason, "xdm stop" works now (after googling around what kind of commands could i pass to xdm and how) So a single stop command and X server is out, "xdm start" for getting it back again.

Now, after that i tried to sh the nvidia installer but it failed after accepting the eula with a "Recieved signal SIGTERM: aborting" message. Though i knew what it meant since while i was looking for ways to exit X server, the man page said that if some error appeared or if X Server should be closed, a "SIGTERM" signal was sent to xdm to finish it right away.

I googled "nvidia SIGTERM" and one forum suggested that maybe there was nvidia stuff installed and it was conflicting with the installer. Sure enough, when i looked for nvidia packages in Aptitude, there were like 5 packages that werent removed when i uninstalled the failed xserver-xorg-video-nvidia package (via apt since the GUI was borked by then).

Now with the nVidia leftovers removed and a way to stop X server, i finally could sh the nvidia installer! So its all fine now. I hope i get more battery life out of this eee after this since nouveau doesnt supports GPU downclocking as far as i know whereas nVidia's drivers have 3 power levels for this card (ION 2).

Thanks delta for your answers!
   
Reply With Quote
Old
  (#8)
deltatux
Don Pinguccino
 
deltatux's Avatar
 
Videocard: XFX Radeon HD 6870
Processor: Intel Core i5 3570K @4.5
Mainboard: GIGABYTE GA-Z77X-UD5H
Memory: Patriot 4 x 4GB DDR3-1600
Soundcard: Auzentech X-Raider 7.1
PSU: OCZ ModXStream Pro 500W
Default 05-27-2012, 17:21 | posts: 18,946 | Location: Toronto, Canada

Ya, the open source drivers are still relatively garbage right now. It's best to stick with the proprietary drivers.

deltatux
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com
Copyright (c) 1995-2012, All Rights Reserved. The Guru of 3D, the Hardware Guru, and 3D Guru are trademarks owned by Hilbert Hagedoorn.