LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-30-2004, 04:55 PM   #16
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30

you don't need the kernel source...you need the kernel headers

Code:
apt-get install kernel-headers-$(uname -r)
the slick "uname -r" command automatically fills in the kernel version that you are running.
 
Old 07-30-2004, 06:21 PM   #17
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
SOrry about that I am a bit of a kernel noob. I didn't know what u mean by installing kernel headers. Well I got that done (not so painful) I got the script to run and i get the lovely nvidia log now this is hwhat i did for any that see this post on a search

apt-get install kernel-headers-2.4.25

this shows a list and you choose which ever u need the run the same thing with kernel-headers-2.4.25-your stuff here

bad news is my screen resolution still blows. I was expecting it to be like windows (shame on me) and after the drivers are install allow differant resoulutions.

I ran xf86config and ran through that. I had gotten the specs of my monitor of the internet before going through that. Now I am at a loss. What else is there to try to get better screen resoultions? I am running it at 800x600 and it only goes down from there.

Help on this would be very greatly appreciated.
 
Old 07-30-2004, 06:28 PM   #18
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
I didn't see that slick command post or I woulda definatly tried that 1st I appreacaite all the help you guys are giving. Once I get this resolution thing licked i think i will love debian. I am so amazed by the apt-get. Its ownage.
 
Old 07-30-2004, 08:09 PM   #19
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
open up your x config file

Code:
su -c "gedit /etc/X11/XF86Config"
go down to the 'Section "screen"'

determine what your 'DefaultDepth' is

and in that section, add the resolutions that your monitor is capable of "1600x1200" "1280x1024" etc. the x server defaults to the first depth listed. save the file.

i think you need to restart the desktop manager before you will see a change.

if you are running the gnome desktop manager, switch to virtual console 1 (press CTRL-ALT-F1), login as the 'root' user and do

Code:
/etc/init.d/gdm restart
if ur running kdm or xdm, replace gdm with kdm or xdm in that command.

Last edited by zero79; 07-30-2004 at 08:19 PM.
 
Old 07-30-2004, 09:42 PM   #20
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
No joy.

following is my Xf86Config-4 file (no Xf86Config)

# XF86Config-4 (XFree86 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 XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
# md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
# dpkg-reconfigure xserver-xfree86
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/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "Module"
# Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
# Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
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"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28-50
VertRefresh 43-75
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection



If i jacked it up or something please let me know so I can correct it. I needs me some better resolution
 
Old 07-31-2004, 01:49 AM   #21
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Debian has a unique method for setup of the X-server. Do dpkg-reconfigure xserver-xfree86. When you get to the section dealing with the refresh rates use the advanced method.
 
Old 07-31-2004, 11:13 AM   #22
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
still no luck. I ran that and I tried the Nvidia drivers and NV drivers. I did the advanced and the simple monitor settings. I got no difference in resolution. I can not change any higher than 800x600. Any ideas on this? Would video drivers have anything to do with this? I was sure i had the right ones installed but I am going to double check.

I checked and all is good. I read the read me for the drivers. It says to make sure the dri and GLcore are taken out. They are commented out. glx is laoding and nv has been replaced by nvidia. I have checked my Xf86Config-4 file and editied ti and now has the 1280x1024 in front of the 800x600. I still can't go past 800x600 i did the restart as described in earlier post. If you guys need me to post anything let me know.

Last edited by gonus; 07-31-2004 at 11:31 AM.
 
Old 07-31-2004, 12:04 PM   #23
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Check /var/log/XFree86.0.log. It will give you the reason why its not working. Also try using a Knoppix cd and see what it picks up for your system. I know with mine I get higher resolutions than I do in Winblows
 
Old 07-31-2004, 02:41 PM   #24
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
24-bit (32-bit windows equivilent) color depth may be out of the range for your monitor.

try changing change 'DefaultDepth' to 16

also, try using "1024x768" as the first resolution (there are also some other possible resolutions like "1280x768", "11--x---", etc (i don't know them by heart)...your monitor may only be capable of displaying some of those) what resolution were you using in windows? what type of monitor do you have? what is the max resolution?

Last edited by zero79; 07-31-2004 at 02:43 PM.
 
Old 08-01-2004, 10:53 AM   #25
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
Guys I finally got it. I was trying 1024x768 at 24. I had triedit at 15 and 16 as well but noine was working. I googled common screen resolutions and tried thjose and put those inmy xf86 config-4 file. All works and i got god screen resolution. Thanx. During this fun time i also learned how to use the command line apt-get and apt-cache. Was a great time thanx all who helped.
 
Old 08-01-2004, 10:58 AM   #26
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Nothing like working through a problem to gain experience. Glad we were able to help.
 
Old 08-13-2004, 09:13 AM   #27
quentusrex
Member
 
Registered: Aug 2004
Location: Seattle, Washington
Posts: 101

Rep: Reputation: 15
Please post your moniter specs and what modifications you made to the file. I have been following this post for a while and am also stuck. here are my specs:
Pentium 4 2.53 Ghz
Daewoo F227B LCD moniter
Nvidia Geforce 4 ti 4600 128Mb RAM
1.5 Gig of RAM for the processor
Debian network install Kernel 2.4.26 and 2.6.7, and Windows XP Pro, Redhat 9
80 Gig hard drive with 30 gig in fat32 for transfering files.

I was somehow able to get the nvidia splash screen when i boot up with the debian 2.4.26 kernel but i'm stuck with the 800x600 resolution. but my debian kernel 2.6.7 has not let me install the nvidia drivers.

Would someone please tell me what I need to post here to get useful help. I have been working with RH 9 linux for over a year now and have just installed debian for the first successful time. I will give detailed logs and specs if that is needed for detailed answers.

Thank you ahead of time for all the help. (And you all did a great job with the guy who started this post.)
 
Old 08-13-2004, 09:39 AM   #28
quentusrex
Member
 
Registered: Aug 2004
Location: Seattle, Washington
Posts: 101

Rep: Reputation: 15
hey, i just posted a moment ago... and i feel dumb... i got the Nvidia drivers to work with my 2.6.7 kernel. the thing was i was bringing debian to init 2 rather than init 1. Somewhere i had read you had to bring it to 2.

here's an idea, does someone want to take a few minutes and write out a step by step how to install the drivers for debian? even the little things(for those who are brand new to debian and even linux). thanks for all the help. now i just have to see if i can get a larger resolution...
 
Old 08-13-2004, 09:54 AM   #29
quentusrex
Member
 
Registered: Aug 2004
Location: Seattle, Washington
Posts: 101

Rep: Reputation: 15
Sorry for the really long post... but here is the part of the Xfree86.0.log file that i think might be important... from what i think, there might be a setting that has been misconfigured. something with debian is mistaking one or more of my moniter's settings. I have gotten this LCD moniter to accept a much higher resolution in Windows. Thanks again...

here is a link to the online PDF version of the user's manual. It has all the info about the resolutions and specs.

http://www.datuspc.com/F227B-Manual.pdf

it's on page 10/22



(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
compiled for 4.3.0.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.6
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xE8000000
(--) NVIDIA(0): MMIO registers at 0xF8000000
(II) NVIDIA(0): NVIDIA GPU detected as: GeForce4 Ti 4600
(--) NVIDIA(0): VideoBIOS: 04.25.00.27.00
(--) NVIDIA(0): VideoRAM: 131072 kBytes
(II) NVIDIA(0): Connected display device(s): CRT-1
(--) NVIDIA(0): Detected TV Encoder: Philips 7108
(--) NVIDIA(0): Display device CRT-1: maximum pixel clock at 8 bpp: 350 MHz
(--) NVIDIA(0): Display device CRT-1: maximum pixel clock at 16 bpp: 350 MHz
(--) NVIDIA(0): Display device CRT-1: maximum pixel clock at 32 bpp: 350 MHz
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Reloading /usr/X11R6/lib/modules/libddc.a
(II) NVIDIA(0): Generic Monitor: Using hsync range of 31.00-80.00 kHz
(II) NVIDIA(0): Generic Monitor: Using vrefresh range of 56.00-75.00 Hz
(II) NVIDIA(0): Clock range: 12.00 to 350.00 MHz
(II) NVIDIA(0): Not using default mode "640x350" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "320x175" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "640x400" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "320x200" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "720x400" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "360x200" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "640x480" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "320x240" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "800x600" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "400x300" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "1024x768" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "512x384" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "1280x960" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x480" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1280x1024" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x512" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "800x600" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1792x1344" (hsync out of range)
(II) NVIDIA(0): Not using default mode "896x672" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1792x1344" (hsync out of range)
(II) NVIDIA(0): Not using default mode "896x672" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1856x1392" (hsync out of range)
(II) NVIDIA(0): Not using default mode "928x696" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1856x1392" (hsync out of range)
(II) NVIDIA(0): Not using default mode "928x696" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (hsync out of range)
(II) NVIDIA(0): Not using default mode "960x720" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (hsync out of range)
(II) NVIDIA(0): Not using default mode "960x720" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1152x768" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "576x384" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "1400x1050" (hsync out of range)
(II) NVIDIA(0): Not using default mode "700x525" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (hsync out of range)
(II) NVIDIA(0): Not using default mode "960x720" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "1024x768" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (width too large for virtual size)
(II) NVIDIA(0): Not using default mode "1400x1050" (width too large for virtual size)
(II) NVIDIA(0): Not using default mode "1280x1024" (width too large for virtual size)
(II) NVIDIA(0): Not using default mode "1280x1024" (width too large for virtual size)
(II) NVIDIA(0): Not using default mode "1280x960" (width too large for virtual size)
(II) NVIDIA(0): Not using default mode "1152x864" (width too large for virtual size)
(II) NVIDIA(0): Not using default mode "1024x768" (width too large for virtual size)
(II) NVIDIA(0): Not using default mode "1024x768" (width too large for virtual size)
(II) NVIDIA(0): Not using default mode "1024x768" (width too large for virtual size)
(II) NVIDIA(0): Not using default mode "832x624" (width too large for virtual size)
(WW) NVIDIA(0): Not using mode "800x600" (height 1200 is larger than
(WW) NVIDIA(0): EDID-specified maximum 1024)
(WW) NVIDIA(0): Not using mode "700x525" (height 1050 is larger than
(WW) NVIDIA(0): EDID-specified maximum 1024)
(**) NVIDIA(0): Validated modes for display device CRT-1:
(**) NVIDIA(0): Default mode "800x600": 49.5 MHz, 46.9 kHz, 75.0 Hz
(**) NVIDIA(0): Default mode "640x480": 31.5 MHz, 37.5 kHz, 75.0 Hz
(**) NVIDIA(0): Default mode "800x600": 50.0 MHz, 48.1 kHz, 72.2 Hz
(**) NVIDIA(0): Default mode "800x600": 40.0 MHz, 37.9 kHz, 60.3 Hz
(**) NVIDIA(0): Default mode "800x600": 36.0 MHz, 35.2 kHz, 56.2 Hz
(**) NVIDIA(0): Default mode "640x512": 67.5 MHz, 80.0 kHz, 75.0 Hz (D)
(**) NVIDIA(0): Default mode "640x512": 54.0 MHz, 64.0 kHz, 60.0 Hz (D)
(**) NVIDIA(0): Default mode "640x480": 31.5 MHz, 37.9 kHz, 72.8 Hz
(**) NVIDIA(0): Default mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
(**) NVIDIA(0): Default mode "640x480": 54.0 MHz, 60.0 kHz, 60.0 Hz (D)
(**) NVIDIA(0): Default mode "576x432": 54.0 MHz, 67.5 kHz, 75.0 Hz (D)
(**) NVIDIA(0): Default mode "512x384": 39.4 MHz, 60.1 kHz, 75.1 Hz (D)
(**) NVIDIA(0): Default mode "512x384": 37.5 MHz, 56.5 kHz, 70.1 Hz (D)
(**) NVIDIA(0): Default mode "512x384": 32.5 MHz, 48.4 kHz, 60.0 Hz (D)
(**) NVIDIA(0): Default mode "416x312": 28.6 MHz, 49.7 kHz, 74.7 Hz (D)
(**) NVIDIA(0): Default mode "400x300": 24.8 MHz, 46.9 kHz, 75.1 Hz (D)
(**) NVIDIA(0): Default mode "400x300": 25.0 MHz, 48.1 kHz, 72.2 Hz (D)
(**) NVIDIA(0): Default mode "400x300": 20.0 MHz, 37.9 kHz, 60.3 Hz (D)
(**) NVIDIA(0): Default mode "400x300": 18.0 MHz, 35.2 kHz, 56.3 Hz (D)
(**) NVIDIA(0): Default mode "320x240": 15.8 MHz, 37.5 kHz, 75.0 Hz (D)
(**) NVIDIA(0): Default mode "320x240": 15.8 MHz, 37.9 kHz, 72.8 Hz (D)
(**) NVIDIA(0): Default mode "320x240": 12.6 MHz, 31.5 kHz, 60.1 Hz (D)
(II) NVIDIA(0): Virtual screen size determined to be 800 x 600
(--) NVIDIA(0): Display dimensions: (330, 270) mm
(--) NVIDIA(0): DPI set to (61, 56)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
compiled for 4.3.0.1, module version = 1.0.0
ABI class: XFree86 ANSI C Emulation, version 0.2
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
 
Old 08-13-2004, 03:45 PM   #30
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Original Poster
Rep: Reputation: 30
I believe all u need to do is

su root
password:

xf86config

this will bring up a list of questions. answer them and when u get to the monitor part put in what your lcd says it is (the 50-100 mhz stuff, there are 2 horizontal and vertical)
 
  


Reply



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
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Software 4 05-06-2007 10:27 AM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Distributions 0 10-13-2004 11:01 AM
How to update nvidia drivers on mandrake? sweet*amber Mandriva 14 05-16-2004 01:45 PM
how to update to 4349 nvidia drivers (slackware) neenee Slackware 4 04-02-2003 02:21 AM
kernek update and nvidia drivers kernel() Linux - General 2 02-05-2003 05:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:24 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration