X with NVidia: "(EE) No devices detected"

2002-10-08 Thread Issac Trotts

I recently upgraded my video card to a PNY Verto
sporting a GeForce Ti 4600 chipset.  The first thing
I tried worked for a while: I downloaded the binary
kernel module and GLX server from nvidia.com and
followed the directions.  startx worked fine and I
had nice, accelerated OpenGL.  I even got some binary
nvidia demos for windows to run in WINE.  

But then I rebooted, for a reason that I don't remember,
and since then I have not been able to get X working
with my shiny new NVidia card.  I can still run X if
I plug my old TNT2 card back in, but that's not powerful
enough for the application I'm trying to build.  The
output from startx -- -verbose 5 is attached, along with my
XF86Config-4 file.

Since I rebooted I downloaded the binary debs for the nvidia
kernel module and glx using dselect, but it didn't help.
My kernel is still version 2.2.18 because the 2.4.18 that I compiled
doesn't work properly with my system and I haven't had time
yet to track down the reason.  

Running insmod NVdriver didn't help...

I wonder if I should just back up all my data and do a fresh install
of Debian, or maybe start looking for a less complicated alternative
to X, if such a thing exists.  Usually I don't need to run the application
on a separate machine from the one displaying it.  If I need that
functionality I would be quite happy to incorporate it into the application
I'm writing rather than deal with all the complexity of X.

Anyway, has anyone seen this problem or does anyone know how to
fix it?

Thanks!
Issac



### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
FontPath"unix/:7100"# local font server
# if the local font server has problems, we can fall back on these
FontPath"/usr/lib/X11/fonts/misc"
FontPath"/usr/lib/X11/fonts/cyrillic"
FontPath"/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/Type1"
FontPath"/usr/lib/X11/fonts/Speedo"
FontPath"/usr/lib/X11/fonts/100dpi"
FontPath"/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load"bitmap"
Load"dbe"
Load"ddc"
Load"extmod"
Load"freetype"
Load"glx"
Load"int10"
Load"pex5"
Load"record"
Load"speedo"
Load"type1"
Load"vbe"
Load"xie"
EndSection

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"  "xfree86"
Option  "XkbModel"  "pc104"
Option  "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ImPS/2"
EndSection

Section "Device"
Identifier  "delightful 4600 ti"
Driver  "nvidia"
BusID   "PCI:01:00:00"
VideoRam134217728
EndSection

Section "Monitor"
Identifier  "OQI:324a"
HorizSync   30-100
VertRefresh 50-160
Option  "DPMS"
EndSection

Section "Screen"
Identifier  "Default Screen"
Device  "delightful 4600 ti"
Monitor "OQI:324a"
DefaultDepth24
SubSection "Display"
Depth   1
Modes   "1280x1024" "1280x960" "1024x768" "640x480"
EndSubSection
SubSection "Display"
Depth   4
Modes   "1280x1024" "1280x960" "1024x768" "640x480"
EndSubSection
SubSection "Display"
Depth   8
Modes   "1280x1024" "1280x960" "1024x768" "640x480"
EndSubSection
SubSection "Display"
Depth   15
Modes   "1280x1024" "1280x960" "1024x768" "640x480"
EndSubSection
SubSection "Display"
Depth   16
  

Re: Looking for a special type of editor

2002-10-09 Thread Issac Trotts

I've had a lot of problems with CVS.  If you're just dealing with one file,
you might try RCS.  If you're doing a project with several files, I 
recommend
aegis by Peter Miller.  aegis ensures that any change made to the main
repository doesn't break your program.  CVS allows you (or someone else on
your team) to break everything.  Of course you can still go back to a 
previous
revision in CVS, but the aegis approach gives you the peace of mind that
everything in the repository at least compiles and (optionally) passes a 
suite
of automated tests that you build up over time.  aegis also has better
documentation than CVS.

I hope this helps,
Issac


Sean 'Shaleh' Perry wrote:

>On Wednesday 09 October 2002 12:23, Kent West wrote:
>  
>
>>I am beta testing an application, and I need an easy way of recording (and
>>timestamping) everything I do.  Any ideas?
>>
>>
>
>store the config/source code/etc in cvs.  Lets you roll back a version, give a 
>special name to a version, etc.
>
>
>  
>




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




Re: X with NVidia: "(EE) No devices detected"

2002-10-09 Thread Issac Trotts

It turns out that I had the wrong version of the kernel
module (NVdriver) and NVidia GLX module.  The version I had was 1.0-1541
but I needed 1.0-3023.  I still don't know why it worked the first time...

Earlier, I didn't believe the GLX message that only mentioned boards up 
to GeForce3, but
not GeForce4 Ti 4600.  I thought that of course they wouldn't distribute 
old drivers that
don't work with their new cards.   It was only when I played with the 
source code to the
NVdriver kernel module, after getting a message about not recognizing 
PCI address 0x0250
from "rmmod NVdriver; insmod NVdriver", that I understood the need for an
 up-to-date driver.  

Thanks to you and Jeff for your help.

Issac


David Grant wrote:

> Isaac,
>
> I had this exact same problem that you are having yesterday.  It works 
> when you install from the tarballs the first time, but after 
> rebooting, it doesn't work anymore.
>
> Just make sure that NVdriver is in the 
> /lib/modules/2.4.18-bf2.4/kernel/drivers/video directory, and make 
> sure that NVdrier is there, and make sure that NVdriver is listed in 
> your /etc/modules file.
>
> Now as long as you did the
>
> tar zxvf NVIDIA_kernel
> cd NVIDIA_kernel...
> make install
> cd ..
> tar zxvf NVIDIA_GLX...
> cd NVIDIA_GLX...
> make install
> cd ..
> dpkg-reconfigure xserver-xfree86
>
> On the dpkg-reconfigure step, make sure to de-select the dri and 
> GLcore drivers, and make sure glx is selected.  Also, when asked if 
> you want the dri section created for you, select "NO"!   Also, just 
> make sure you say "NO" when asked about a framebuffer.  And don't 
> forget to select "nvidia" as your driver, instead of "nv".
>
> Then check /lib/modules/2.4.18-bf2.4/kernel/drivers/video directory, 
> and make sure that NVdriver is listed in your /etc/modules file.
>
> Having NVdriver in your /etc/modules file is basically just tells 
> debian to run "insmod NVdriver" on boot.  So if you want, just try 
> typing insmod NVdriver right now, and see if that fixes things.
>
> Let me know if that doesn't work.
>




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




The only thing I miss about Windows

2002-10-10 Thread Issac Trotts

... is being able to capture the contents of a window with something
like Ctrl+PrtScn and then paste it into a Word document.  It was a
nice way to keep track of changes to some graphics software I was
working on.  I wonder if there's a way to do something like this in
X...

Issac




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




Re: The only thing I miss about Windows

2002-10-11 Thread Issac Trotts

Oooh, that's high quality!  It sends the image to stdout for piping.  :)

ijt

martin f krafft wrote:

>also sprach Issac Trotts <[EMAIL PROTECTED]> [2002.10.10.1919 +0200]:
>  
>
>>... is being able to capture the contents of a window with something
>>like Ctrl+PrtScn and then paste it into a Word document.  It was a
>>nice way to keep track of changes to some graphics software I was
>>working on.  I wonder if there's a way to do something like this in
>>X...
>>
>>
>
>man xwd
>
>  
>




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




Re: The only thing I miss about Windows

2002-10-11 Thread Issac Trotts



nate wrote:

>ACK. I *HATED* when people did this. Taking a screenshot, a perfectly
>normal graphics file and shoving it into a word document! Is it so
>hard for people to paste it into Paint and save it as a BMP ? then
>use IE to convert it to JPG?
>
I was keeping a detailed log that happened to contain pictures.  It 
really helped
me understand the progress I had made.

>as for how to do this on linux it really depends on what desktop your
>using. for example, I use afterstep 1.6. and at the top left of each
>window there are 2 buttons, the one on the left side is a "next window"
>button for swapping windows(I never use it except on accident), the
>one on the right has several useful options:
>
>Take a windowshot(captures current window only)
>take a screenshot(captures full screen)
>move
> - to desk #0
> - to desk #1
> - to desk #2
> - to desk #3
>resize
>to foreground
>to background
>Maximize 100%
>Maximize 80%
>kill
>quit
>redraw
>
>real handy set of tools, though I only use the windowshot/screenshot and kill
>features.
>
>as another noted you can use xwd to do this(this is what afterstep calls to do
>the screenshot). then open up gimp or something to convert it to your favorite
>file format. if your in KDE, there used to be an app called kscreenshot I
>think it was which was specifically designed for screenshots. Also "xv" has a
>screenshot feature which can automatically save in various formats. I think
>gimp itself even has a screenshot feature.
>
>nate
>
OK, I'll have a look.

Issac



>  
>


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




Re: The only thing I miss about Windows

2002-10-11 Thread Issac Trotts

Barney Wrightson wrote

>
> PS. God I wish I could use linux on my workstation here, if not for 
> cygwin/vim/gimp I'd go (completely) mad. 


My solution was to quit the job where they forced me to use Windows, and 
take a job where I can use
any operating system I like.  Got lucky...




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




Re: Sed replacement from file

2002-10-19 Thread Issac Trotts

You might try this :

perl -pe 's/^replace-this$/line one\nline two\nline three\n/' file1 file2 

  or

cat some_file | perl -pe 's/^replace-this$/line one\nline two\nline three\n/' 


Oddly enough, perl -ep doesn't work.

-ijt


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




apt-get has turned against me

2002-10-02 Thread Issac Trotts

Ever since I ran apt-get dist-upgrade on my newton installation
(from a Progeny Debian 2.2 CD set), apt-get has been fubarred.  
Here's what's happening.  If anyone has an idea about how to fix
this I would love to hear it:

beech:/home/issac# apt-get install quake2

Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
Sorry, but the following packages have unmet dependencies:
  at: Depends: mail-transport-agent
  elm-me+: Depends: mail-transport-agent
  mailx: Depends: smail but it is not going to be installed or
  mail-transport-agent
  mutt: Depends: exim or
 mail-transport-agent
  progeny-bug: Depends: mail-transport-agent
  quake2: Depends: libsdl1.2debian (> 1.2.3) but it is not going to be 
installed
  Depends: quake2-data but it is not installable
  vm: Depends: smail but it is not going to be installed or
   sendmail but it is not going to be installed or
   mail-transport-agent
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or 
specify a solution).


beech:/home/issac# apt-get -f install

Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  exim libldap2 libpcre3 ucf
The following NEW packages will be installed:
  exim libldap2 libpcre3 ucf
0 packages upgraded, 4 newly installed, 0 to remove and 328 not upgraded.
Need to get 0B/1009kB of archives. After unpacking 2016kB will be used.
Do you want to continue? [Y/n] y
Calling dpkg with the following arguments...
/usr/bin/dpkg --unpack 
/var/cache/apt/archives/libldap2_2.0.23-6_i386.deb 
/var/cache/apt/archives/libpcre3_3.4-1.1_i386.deb 
/var/cache/apt/archives/exim_3.35-1_i386.deb 
/var/cache/apt/archives/ucf_0.07_all.deb
Authenticating /var/cache/apt/archives/libldap2_2.0.23-6_i386.deb ...
debsig: Origin Signature check failed. This deb might not be signed.

dpkg: error processing 
/var/cache/apt/archives/libldap2_2.0.23-6_i386.deb (--unpack):
 Verification on package 
/var/cache/apt/archives/libldap2_2.0.23-6_i386.deb failed!
Authenticating /var/cache/apt/archives/libpcre3_3.4-1.1_i386.deb ...
debsig: Origin Signature check failed. This deb might not be signed.

dpkg: error processing /var/cache/apt/archives/libpcre3_3.4-1.1_i386.deb 
(--unpack):
 Verification on package 
/var/cache/apt/archives/libpcre3_3.4-1.1_i386.deb failed!
Authenticating /var/cache/apt/archives/exim_3.35-1_i386.deb ...
debsig: Origin Signature check failed. This deb might not be signed.

dpkg: error processing /var/cache/apt/archives/exim_3.35-1_i386.deb 
(--unpack):
 Verification on package /var/cache/apt/archives/exim_3.35-1_i386.deb 
failed!
Authenticating /var/cache/apt/archives/ucf_0.07_all.deb ...
debsig: Origin Signature check failed. This deb might not be signed.

dpkg: error processing /var/cache/apt/archives/ucf_0.07_all.deb (--unpack):
 Verification on package /var/cache/apt/archives/ucf_0.07_all.deb failed!
Errors were encountered while processing:
 /var/cache/apt/archives/libldap2_2.0.23-6_i386.deb
 /var/cache/apt/archives/libpcre3_3.4-1.1_i386.deb
 /var/cache/apt/archives/exim_3.35-1_i386.deb
 /var/cache/apt/archives/ucf_0.07_all.deb
Sub-process /usr/bin/dpkg returned an error code (1)
E: Sub-process /usr/bin/dpkg returned an error code (1)



Where do I get the signed debs, or how do I tell apt-get to shut up and
install?

Many thanks,
Issac




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




Re: apt-get has turned against me

2002-10-03 Thread Issac Trotts

Colin Watson wrote:

>On Wed, Oct 02, 2002 at 11:48:50AM -0700, Issac Trotts wrote:
>  
>
>>beech:/home/issac# apt-get -f install
>>
>>Reading Package Lists... Done
>>Building Dependency Tree... Done
>>Correcting dependencies... Done
>>The following extra packages will be installed:
>> exim libldap2 libpcre3 ucf
>>The following NEW packages will be installed:
>> exim libldap2 libpcre3 ucf
>>0 packages upgraded, 4 newly installed, 0 to remove and 328 not upgraded.
>>Need to get 0B/1009kB of archives. After unpacking 2016kB will be used.
>>Do you want to continue? [Y/n] y
>>Calling dpkg with the following arguments...
>>/usr/bin/dpkg --unpack 
>>/var/cache/apt/archives/libldap2_2.0.23-6_i386.deb 
>>/var/cache/apt/archives/libpcre3_3.4-1.1_i386.deb 
>>/var/cache/apt/archives/exim_3.35-1_i386.deb 
>>/var/cache/apt/archives/ucf_0.07_all.deb
>>Authenticating /var/cache/apt/archives/libldap2_2.0.23-6_i386.deb ...
>>debsig: Origin Signature check failed. This deb might not be signed.
>>
>>
>
>Put 'no-debsig' in /etc/dpkg/dpkg.cfg to turn off signature
>verification. It hasn't been deployed in Debian packages yet.
>  
>

It worked:  I made a new file /etc/dpkg/dpkg.cfg with a single line 
'no-debsig'
(without quotes), and now apt-get -f install and apt-get install quake2 
work
just fine.  Thanks for your help, and thanks to all who responded.

Issac







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