LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 04-17-2007, 01:46 PM   #16
chip&chop
LQ Newbie
 
Registered: Apr 2007
Posts: 8

Original Poster
Rep: Reputation: 0

Ok, thanks to farslayer now it's alright. To create modelines i used http://www.sh.nu/nvidia/gtf.php it's simpler and avoid wrong input from the user. After adding modes to Monitor section, add them also under resolution in Screen section, just add the "..." part (example: "1152x864_100.00"). I still cant select the modes from Dekstop/Preferences/Screen Resolution menu, but it's all selectable from the menu: Applications/System Tools/NVIDIA X Server Settings/X Server Display Configuration and select what res/refresh you want. Then click "Apply". After a restart i found the refresh set to Auto without knowing which refresh was applied, likely it's the correct one but i dont know. Or you could click "Save to X Configuration File" (nivida panel) (it makes a backup) but it changes your conf, dont know if it's the case, it seems to save modelines tho.
This my current (working) xorg.conf:
Code:
Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/X11R6/lib/X11/fonts/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/X11R6/lib/X11/fonts/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/X11R6/lib/X11/fonts/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"v4l"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"it"
	Option		"XkbVariant"	"---.."
EndSection

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

Section "Device"
	Identifier	"MPC6150"
	Driver		"nvidia"
	BusID		"PCI:0:13:0"
	VideoRam	256000
EndSection

Section "Monitor"
	Identifier	"Viewsonic p97f+"
	Option		"DPMS"
	HorizSync	30-110
	VertRefresh	50-160
	# Modelines generated with http://www.sh.nu/nvidia/gtf.php  
	# remember to add the mode in the Screen section below.(the "1152x864_100.00" part)
	Modeline "1152x864_100.00"  143.47  1152 1232 1360 1568  864 865 868 915  -HSync +Vsync
	Modeline "1280x960_100.00"  178.99  1280 1376 1520 1760  960 961 964 1017  -HSync +Vsync
	Modeline "1024x768_120.00"  139.05  1024 1104 1216 1408  768 769 772 823  -HSync +Vsync
	Modeline "800x600_150.00"  106.90  800 856 944 1088  600 601 604 655  -HSync +Vsync
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"MPC6150"
	Monitor		"Viewsonic p97f+"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1280x960_100.00" "1152x864_100.00" "1024x768_120.00" "800x600_150.00"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
This is the one modified by the nvidia controll panel:

Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder3)  Mon Feb 26 23:39:38 PST 2007

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    RgbPath         "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "ViewSonic P97f+"
    HorizSync       30.0 - 110.0
    VertRefresh     50.0 - 160.0
    ModeLine       "1280x960_100.00" 179.0 1280 1376 1520 1760 960 961 964 1017 -hsync +vsync
    ModeLine       "1152x864_100.00" 143.5 1152 1232 1360 1568 864 865 868 915 -hsync +vsync
    ModeLine       "1024x768_120.00" 139.1 1024 1104 1216 1408 768 769 772 823 -hsync +vsync
    ModeLine       "800x600_150.00" 106.9 800 856 944 1088 600 601 604 655 -hsync +vsync
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6150SE"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "metamodes" "1152x864_100 +0+0; 1152x864_100.00 +0+0; 1024x768_120.00 +0+0; 800x600_150.00 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
I dont know whats metamodes and all that stuff, i'd stick with the original one.

EDIT: so now i have restarted and im using my original conf(the first one above in this post). I set via nvidia cp the refresh, at restart as i said it's set to Auto, BUT i noticed now that it DID save the refresh, since when i select a different one my screen goes black for a moment to change mode, while it doesnt if i select the refresh i previously chosed. Hooray. So, forget that "Save to X Configuration File" crap. Thanks for the help.

Last edited by chip&chop; 04-17-2007 at 01:57 PM.
 
Old 09-28-2007, 02:54 PM   #17
r_avital
LQ Newbie
 
Registered: Oct 2006
Posts: 25

Rep: Reputation: 15
Folks,

Thanks everybody for contributing to this thread, and I hope I can get some assistance from any of you.

Fresh install of Etch, the system has on-board nVidia (GEForce 6500), and I have the driver. Proceeded to install as described above. First it complained that it couldn't find gcc, so installed that. Now it complains that it can't find the "kernel source tree." I have a pretty good idea what that is, but can't find any such thing under the Synaptic Package Manager.

Without that, it won't compile the kernel routines it needs (oh, and it has already tried and failed to find one on the nVidia site).

This is a viewsonic monitor (lcd) and on-board video with capabilities up to 1600x1200 - 60 Hz. It ran at that resolution/refresh under Mandriva, without even having to install the nVidia-downloaded driver.

Any help you can offer is greatly appreciated. My goal is to get it to 1600x1200, and then use randr to rotate the output vertically.

Thanks in advance
 
Old 09-28-2007, 03:33 PM   #18
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,673

Rep: Reputation: 122Reputation: 122
What you need are the packages build-essential and linux-source.
 
Old 09-29-2007, 12:12 AM   #19
r_avital
LQ Newbie
 
Registered: Oct 2006
Posts: 25

Rep: Reputation: 15
Thanks so much for the very prompt reply. I did add the packages you mentioned. The compilation of the driver still complained about bad headers, after it found all the files it was looking for.

I reverted to an older version of the driver (from Jan. 07) and the compilation/install was flawless. Got 1600/1200 color depth 24 at 50 Hz which is lovely.

the randr utility still shows all orientations grayed out. If anyone has any thoughts on how to enable that, I'd love to hear it, but I'm also going to look on my end.

Thanks again
 
Old 11-06-2007, 02:43 PM   #20
alle_meije
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Rep: Reputation: 0
Etch nvidia (also testing and unstable used!!!)

The nvidia packages that I use are the Debian ones from Randall Donald. At some point, when I was using etch just like now, I got a higher kernel version (the sources are now 2.6.18). I recompiled the kernel and installed it, and expected to just do

m-a prepare
m-a a-i nvidia
apt-get install nvidia-glx

and be completely happy.

But not only does my nvidia card not work (which is bad enough), my complete X has stopped working! It says "no devices found" with both the nv and the nvidia driver!!!

Would anyone be able to help me with this? I can login as root (maybe that's the problem so would be able to provide detailed information!

By the way: my card is an oldie: GeForce2 MX 400.

I tried installing nvidia-legacy and nvidia-glx-legacy, but that doesn't work.
In the "stable" branch, I get the message "what is nvidia-legacy?" and in the testing and unstable branches, I get "what is nvidia-glx-legacy?"

The strangest reply I could have predicted was "package not found"...

Any idea on how to get X back (either with nv or with nvidia)?

Thanks!
 
Old 11-06-2007, 08:58 PM   #21
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
I haven't been able to find the legacy package in etch either, and that is definitely what you need for that card. so you need to PURGE the Debian nvidia driver or you will have issues with the one from nvidia.

apt-get --purge remove nvidia-glx
wget http://us.download.nvidia.com/XFree8...43.01-pkg1.run
./NVIDIA-Linux-x86-96.43.01-pkg1.run


make sure your config file calls for the nvidia driver not nv

/etc/init.d/gdm start

That should take care of it..



Oh and when having issues, if you can't find the answer by searching the forum, you really should start a new thread of your own instead of tacking on to the end of an old one..

Last edited by farslayer; 11-06-2007 at 09:00 PM.
 
Old 09-28-2008, 04:10 PM   #22
bloozguy
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Rep: Reputation: 0
Nvidia black screen

I tried the envy route and no go.

If I try the manual route it fails on the "sanity check" but I noticed that when I tried the envyng-gtk way I got a message:

Warning! Cannot do version sanity checking because multiple nvidia.ko modules were found in kernel 2.6.24-19-generic.

How do I "fix" this?
 
Old 09-29-2008, 09:38 AM   #23
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Rep: Reputation: 30
Please post the your /etc/X11/xorg.conf file and list your graphic hardware: pci/pci-e/integrated (if it is the case that you are using the integrated, I don't think it is, let me know if this is intel...)
include you monitor and spcecifications as well, why not, eh?


Also, if you switch you /etc/X11/xorg.conf video driver to "nv" does this work? Did it every work with the Nvidia drivers, say, before a recent update?

Eric.
 
Old 09-30-2008, 09:15 AM   #24
bloozguy
LQ Newbie
 
Registered: Sep 2008
Posts: 4

Rep: Reputation: 0
Nvidia black screen

My machine is AMD64
Motherboard is Gigabyte
Card is 7300 GT (AGP)
Monitor is Benq fp731

This is ONE of many xorgs

Code:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
	Defaultdepth	24
EndSection

Section "Device"
	Identifier	"Configured Video Device"
	Driver		"nv"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
  screen "Default Screen"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Extensions"
EndSection
I also tried this:
http://ubuntuforums.org/showthread.p...hlight=Theimon

This card has never worked in 3D under Linux

I did manage to find the "extra" nvidia.ko file and get past the sanity check to do the manual load but I still get a black screen.

I miss BZFLAG
 
Old 09-30-2008, 10:08 AM   #25
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Rep: Reputation: 30
I suspect that this xorg.conf file does not work; you have not specified the video screen resolutions, pci/agp bus location (lspci should locate it for you)and a few other things.

When you reconfigure X, dpkg-reconfigure -phigh xserver-xorg, with the correct parameters: video card driver as nv (just to be on the safe side)and the screen resolution set correctly, I assume it works? Just not 3D though, no?

And, when you try to install the Nvidia driver, log in as root without starting X. Start the installation and do not let the Nvidia install update your xorg.conf, do that yourself. Edit the xorg.file to include glx, extentions after

Have you tried this route?
Eric.
 
  


Reply

Tags
debian, modeline, monitor, nvidia drivers, refresh


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia drivers 8178 cause black screen (10.0) duncky Suse/Novell 35 03-24-2006 06:18 AM
Black screen after installing nvidia 6106 drivers Doktor Prokt Fedora 7 08-10-2004 04:39 AM
Weird...Riva TNT2 Black Screen Nvidia Drivers... Skorpyo Linux - Newbie 2 01-30-2004 06:53 AM
new nvidia drivers bring black screen brandonloserkid Slackware 4 01-20-2004 08:35 PM
redhat 9 geforce 4 mx 440 nvidia drivers black screen baronsam Linux - Software 9 11-06-2003 07:04 PM


All times are GMT -5. The time now is 10:11 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration