Re: Get display back?

2007-08-05 Thread Douglas Allan Tutty
Keep the reply on the list please.

On Sun, Aug 05, 2007 at 02:44:45PM +1200, Jeff wrote:
 Douglas Allan Tutty wrote:
 Another way to get into the box is to boot the install CD in rescue
 mode.  From the menus, you can get a shell that is chrooted into the
 box.  From there, you can either edit xorg.conf or you may even be able
 to run dpkg-reconfigure xserver-xorg.
 
 Also, there's an option inbetween a normal boot and an init=/bin/sh,
 that is 's', for single.  This will run through the /etc/rcS.d scripts
 and prompt for the root password.
   
 Thanks for that! I booted the single user mode from the Grub Menu and 
 got the command prompt from there.
 Ran dpkg-reconfigure xserver-xorg as root then changed the driver back 
 to nv and the display is back.
 
 
So, on to why the nvidia driver isn't working for you.  Are you running
Etch with stock kernel and have the matching nvidia kernel package,
nvidia-xconfig, and nvidia-glx?  How did you try to set it up before?

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Get display back?

2007-08-05 Thread Ross Boylan
On Sun, 2007-08-05 at 12:12 +1200, Jeff wrote:
 I am a new Debian user . Had Etch installed and tried to install the 
 Nvidia driver without success. Now i cannot get the display working when 
 i boot Etch ! Just a blank screen? Can someone tell me how to get the 
 display back from boot up please?
 Thanks jeff
 
Do you have X installed (xorg)?
Do you have an X greeter installed (xdm/kdm/gdm)?
If so, looking in /var/log/Xorg.0.log should be revealing; check the
time stamp of the file to see if it corresponds to your last attempt
(vs. being from long ago, which would mean X may not have even tried
starting).

I have an nVidia card that just doesn't work with the free (nv) driver,
but does work with the proprietary (nvidia-glx and others) drivers.
This might be the case for you.  Also, the proprietary drivers are not
available for 2.6.21 kernels (for now), but if you're using etch that
shouldn't be an issue.

Ross


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Get display back?

2007-08-05 Thread Jeff

Douglas Allan Tutty wrote:

Keep the reply on the list please.

On Sun, Aug 05, 2007 at 02:44:45PM +1200, Jeff wrote:
  

Douglas Allan Tutty wrote:


Another way to get into the box is to boot the install CD in rescue
mode.  From the menus, you can get a shell that is chrooted into the
box.  From there, you can either edit xorg.conf or you may even be able
to run dpkg-reconfigure xserver-xorg.

Also, there's an option inbetween a normal boot and an init=/bin/sh,
that is 's', for single.  This will run through the /etc/rcS.d scripts
and prompt for the root password.
 
  
Thanks for that! I booted the single user mode from the Grub Menu and 
got the command prompt from there.
Ran dpkg-reconfigure xserver-xorg as root then changed the driver back 
to nv and the display is back.



 
So, on to why the nvidia driver isn't working for you.  Are you running

Etch with stock kernel and have the matching nvidia kernel package,
nvidia-xconfig, and nvidia-glx?  How did you try to set it up before?

Doug.

I am using kernel 26.18.-4-K7, card is nvidia FX 5200 . I used a step by step 
guide from a website (which i cant find now) I would need to use an easy better 
guide. Any suggestions?

Jeff
 
  



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Get display back?

2007-08-05 Thread Professor Wagstaff
Found a better guide with build-essential /m-a prepare  which has worked
(i think) as i got the display back when i rebooted X.   Is there an easy
way to test whether the nvidia  driver is working?


On 8/6/07, Douglas Allan Tutty [EMAIL PROTECTED] wrote:

 Keep the reply on the list please.

 On Sun, Aug 05, 2007 at 02:44:45PM +1200, Jeff wrote:
  Douglas Allan Tutty wrote:
  Another way to get into the box is to boot the install CD in rescue
  mode.  From the menus, you can get a shell that is chrooted into the
  box.  From there, you can either edit xorg.conf or you may even be able
  to run dpkg-reconfigure xserver-xorg.
  
  Also, there's an option inbetween a normal boot and an init=/bin/sh,
  that is 's', for single.  This will run through the /etc/rcS.d scripts
  and prompt for the root password.
  
  Thanks for that! I booted the single user mode from the Grub Menu and
  got the command prompt from there.
  Ran dpkg-reconfigure xserver-xorg as root then changed the driver back
  to nv and the display is back.
 

 So, on to why the nvidia driver isn't working for you.  Are you running
 Etch with stock kernel and have the matching nvidia kernel package,
 nvidia-xconfig, and nvidia-glx?  How did you try to set it up before?

 Doug.


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]




-- 
Whatever it is, I'm against it!


Re: Get display back?

2007-08-05 Thread Sudev Barar
On 06/08/07, Professor Wagstaff [EMAIL PROTECTED] wrote:
 Found a better guide with build-essential /m-a prepare  which has worked
 (i think) as i got the display back when i rebooted X.   Is there an easy
 way to test whether the nvidia  driver is working?

You can create a copy of /etc/X11/xorg.conf and modify this to specify
nVidia driver. Log in from virt-console 1 (Alt+Ctrl+F1) and do a
startx specifying this file to be used. man startx for more details

HTH
-- 
Regards,
Sudev Barar

See you at 'Freed.in - freedom in technology  software' - India's
leading free and open source community event. 28- 29 September 2007,
New Delhi. Entry free, on first come basis. Register at
http://Freed.in


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Get display back?

2007-08-05 Thread Douglas Allan Tutty
On Mon, Aug 06, 2007 at 09:03:42AM +1200, Jeff wrote:
 
 So, on to why the nvidia driver isn't working for you.  Are you running
 Etch with stock kernel and have the matching nvidia kernel package,
 nvidia-xconfig, and nvidia-glx?  How did you try to set it up before?
 
 
 I am using kernel 26.18.-4-K7, card is nvidia FX 5200 . I used a step by 
 step guide from a website (which i cant find now) I would need to use an 
 easy better guide. Any suggestions?

I'm assuming Etch then.  You don't need a website, you don't need
module-assistant.  If you downloaded the driver from nvidia and ran
their installer, then you have nvidia polution in your filesystem that
you'll have to get out somehow (never did it, don't know how, but
remember threads here bemoaning it).

Then you should have the following packages installed:

i  linux-image-2.6-k7   always depends on latest kernel for the k7
iA linux-image-2.6.18-4-K7  the latest kernel, which you have
installed

i  nvidia-glx   Read its docs to ensure that your
card is supported.  If not, try the
'-legacy' series of glx and kernel
modules.

i  nvidia-kernel-2.6-k7 always depends on latest nvidia module
iA nvidia-kernel-2.6.18-4-K7latest nvidia module for the K7
iA nvidia-kernel-common

i  nvidia-xconfig

Now get X working with the free nv driver.

cp xorg.conf xorg.conf.nv.works

Then update the man-db (as root, run /etc/cron.daily/man-db), apropos
nvidia and read all the man pages and all the documentation in
/usr/share/doc/nvidia*

Get the system so that it boots to command line rather than X.  This
generally means temporarily disabling the startup of your display
manager (gdm or whatever, never used one).

You should just have to run nvidia-xconfig.  This will alter your
xorg.conf file for use of the driver.  Note that it does more than
change 'nv' to 'nvidia'.  

cp xorg.conf xorg.conf.nvidia.test1

Test X with startx.  

You may need to fitz with parameters to nvidia-xconfig.

Once its working, if you use a display manager, re-enable it.

cp xorg.conf xorg.conf.nvidia.works

Good luck,

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Get display back?

2007-08-04 Thread Jeff
I am a new Debian user . Had Etch installed and tried to install the 
Nvidia driver without success. Now i cannot get the display working when 
i boot Etch ! Just a blank screen? Can someone tell me how to get the 
display back from boot up please?

Thanks jeff


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Get display back?

2007-08-04 Thread Kent West

Jeff wrote:
I am a new Debian user . Had Etch installed and tried to install the 
Nvidia driver without success. Now i cannot get the display working 
when i boot Etch ! Just a blank screen? Can someone tell me how to get 
the display back from boot up please?


Try Ctrl-Alt-F1 to switch to Virtual Terminal 1 (VT1); if that works, 
you can make repairs from there. (I won't go into the repair process; 
let us know if you can get to this point.)


If that doesn't work, does Crlt-Alt-Backspace do anything for you?

If neither of those get you to a text-based VT, you'll have to boot into 
a safer mode; there are several ways to do this, but I'll wait to see 
if one of the above methods gets you farther along.


--
Kent



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Get display back?

2007-08-04 Thread Kent West

Jeff wrote:

Kent West wrote:

Jeff wrote:
I am a new Debian user . Had Etch installed and tried to install the 
Nvidia driver without success. Now i cannot get the display working 
when i boot Etch ! Just a blank screen? Can someone tell me how to 
get the display back from boot up please?


Try Ctrl-Alt-F1 to switch to Virtual Terminal 1 (VT1); if that works, 
you can make repairs from there. (I won't go into the repair process; 
let us know if you can get to this point.)


If that doesn't work, does Crlt-Alt-Backspace do anything for you?

If neither of those get you to a text-based VT, you'll have to boot 
into a safer mode; there are several ways to do this, but I'll wait 
to see if one of the above methods gets you farther along.



No sadly those two methods did not work.


Let me encourage you to keep the responses on-list; this way, others can 
benefit from the (archived and on-going) conversation, and others who 
are more knowledgeable than I can toss in their two-cents.


I also should have mentioned 
Ctrl-Alt-plus-or-minus-on-the-numeric-keypad to try and change 
resolution, but if the first two methods didn't work, that's fairly 
indicative that the either the video system or the system as a whole is 
locked up.


I don't know anything about getting the proprietary Nvidia stuff going, 
but we should be able to get you back to SVGA or Debian's 
non-proprietary nv driver.


When you're at the grub prompt (LILO, perhaps, but doubtful), do you 
have an option for safe or recovery mode, or some-such? If so, 
choose it; if not, choose the option to change the boot parameters, and 
add the text init=/bin/bash. Either of these cases will get you to a 
virtual terminal (assuming you haven't secured your box more than the 
default; if you have, you'll have to use a boot medium, such as the 
installation CD or a Knoppix LiveCD).


Once into a virtual terminal (the init=/bin/bash option will give you 
a bare minimum setup), you may have to mount relevant partitions 
(depending on how you partitioned your drive) so that you can get into 
the /etc/init.d directory. Once in that directory, you'll need to 
disable the automatic start-up of X by deactivating gdm or wdm or xdm or 
kdm (most likely gdm, then second likely kdm). If you see any of these 
files, edit them (using vi or nano) and add exit 0 as the first 
non-comment line in the file. Save the file, and restart the computer. 
(There are other methods for doing the recovery, but this is probably 
the easiest to explain based on guesses about your setup.)


Once you reboot, you should have a normal, non-X environment. Now you 
can edit /etc/X11/xorg.conf (or run dpkg-reconfigure xorg-server (I 
believe)) and change the line that says something like Driver 'NVidia' 
to Driver 'nv' or Driver 'svga'. After saving the file, test it with 
startx. Once X is running again, you can reactive the automatic 
startup of X if you like by commenting out or removing the exit 0 
line(s) you made in /etc/init.d/[xgwk]dm.


I know it seems complex, but you can do it.

--
Kent


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Get display back?

2007-08-04 Thread Kent West

Kent West wrote:
... that's fairly indicative that the either the video system or the 
system as a whole is locked up.


If your CAPS lock or Numlock indicator toggles when you press on the 
corresponding key, that's indicative that the entire system is not 
locked up; you might can ssh into your box from another box and make 
your changes without having to do the boot-up hacks I mentioned in the 
previous email. That would probably be easier. If you can ssh in, you 
can just manually fix the /etc/X11/xorg.conf file without killing the 
/etc/init.d/[gxwk]dm script first. (Of course, you could bypass this 
step anyway and just edit the xorg.conf file in your recovery boot.)



--
Kent


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Get display back?

2007-08-04 Thread Douglas Allan Tutty
On Sat, Aug 04, 2007 at 08:42:15PM -0500, Kent West wrote:
 Kent West wrote:
 ... that's fairly indicative that the either the video system or the 
 system as a whole is locked up.
 
 If your CAPS lock or Numlock indicator toggles when you press on the 
 corresponding key, that's indicative that the entire system is not 
 locked up; you might can ssh into your box from another box and make 
 your changes without having to do the boot-up hacks I mentioned in the 
 previous email. That would probably be easier. If you can ssh in, you 
 can just manually fix the /etc/X11/xorg.conf file without killing the 
 /etc/init.d/[gxwk]dm script first. (Of course, you could bypass this 
 step anyway and just edit the xorg.conf file in your recovery boot.)
 

Another way to get into the box is to boot the install CD in rescue
mode.  From the menus, you can get a shell that is chrooted into the
box.  From there, you can either edit xorg.conf or you may even be able
to run dpkg-reconfigure xserver-xorg.

Also, there's an option inbetween a normal boot and an init=/bin/sh,
that is 's', for single.  This will run through the /etc/rcS.d scripts
and prompt for the root password.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]