LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-21-2005, 10:56 PM   #1
gongli
Member
 
Registered: Apr 2003
Posts: 32

Rep: Reputation: 15
xf85config-4 1920x1200 problem?


hi

i have a dell inspiron 9300, which has a 1920x1200 display. debian 3.1 (sarge testing), during its x-windows installation, asks if i have a 1920x1440, which i said yes, but then
it apparently switches to something lower; i suspect 1600x1200. when i edited the xf86config-4 and changed 1920x1440 to 1920x1200 everywhere, it didnt improve the display; i still see black bars on either side of the x windows system.

how can i get it to recognize my 1920x1200 display? here's my xf86config-4, unaltered by me.

thanks for any tips

-gong

# 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"
Load "xtt"
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/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1920x1440" "1856x1392" "1792x1344" "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1920x1440" "1856x1392" "1792x1344" "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1920x1440" "1856x1392" "1792x1344" "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1920x1440" "1856x1392" "1792x1344" "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1920x1440" "1856x1392" "1792x1344" "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1920x1440" "1856x1392" "1792x1344" "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

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

Section "DRI"
Mode 0666
EndSection

Identifier "Generic Video Card"
Driver "vesa"
VideoRam 128000
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 30-90
VertRefresh 50-75
Option "DPMS"
 
Old 04-22-2005, 12:21 AM   #2
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Your using Generic Video and Monitor drivers for your display. Was this autodetected at install or did you manually enter Video Drv, Ram HorizSync and Refresh?

You may want to do some searching to try and find a more compatible driver, I'm sure there is something better then the Generic.

KC
 
Old 04-22-2005, 07:56 PM   #3
gongli
Member
 
Registered: Apr 2003
Posts: 32

Original Poster
Rep: Reputation: 15
does putting in a better driver make it able to switch to 1920x1200? ive tried the ati and radeon drivers that ship with debian, and i found a webpage which gives extraordinarily convoluted directions to build a driver from source (involving recompiling the kernel and a few other things). i dont really care about 2d/3d acceleration right now, since im not much into gaming, however i would very much like to be able to use the full resolution of my screen.

thanks
-gong
 
Old 04-23-2005, 01:20 PM   #4
gongli
Member
 
Registered: Apr 2003
Posts: 32

Original Poster
Rep: Reputation: 15
ok incase anybody comes across this problem later. debian 3.1 sarge, dell inspiron 9300. 1920x1200 ati radeon mobility x300. what i did was download the driver deb package from http://xoomer.virgilio.it/flavio.sta...installer.html the instructions are inordinately complex, but actually all you have to do is download the flgrx-driver.deb package corresponding to your kernel. (as of this time, the debian 2.6.8 kernel doesnt work with the sata on this machine, so im waiting for the next 2.6 series kernel to try again and meanwhile have 2.4.27). then do dpkg -i fglrx-driver.deb, then add the ATI device section as shown on the page to XF86Config-4, then add the monitor and display as shown, and add the 1920x1200 modeline to the display section. very sharp and fast now; apparently no 3d accelerationwithout the kernel package which i wont bother with for now.
 
Old 04-23-2005, 04:40 PM   #5
golan69
Member
 
Registered: Apr 2003
Location: Louisiana
Distribution: Yellow Dog 4.0.1
Posts: 56

Rep: Reputation: 15
Have You Tried

In KDE OR what ever xwindows set up you are using there should be a display setting allowing you to change your desktop reolution as well as desktop colors such as 16 and 32 bit color REMINDER setting these settings too high is risky because if your monitor OR video card doesnot support these setting , it wont work at all besides that it takes alot of video memory to run these higher settings so why waste the performance?
 
Old 05-14-2005, 04:41 PM   #6
Democrite
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
Post a late reply

I was in the same situation (inspiron 9300 and low resolution with sarge).
What I did was to change this line :

HorizSync 30-90

With this one :

HorizSync 30-150

In the file /etc/X11/XF86Config-4 ,and I magically got the holy 1920x1200 resolution.

Feedback is welcome if anyone manage to install the wifi on a ipw2200 ! Help !
 
Old 05-19-2005, 05:55 AM   #7
Zipcat
LQ Newbie
 
Registered: May 2005
Posts: 1

Rep: Reputation: 0
Re: a late reply

Quote:
Originally posted by Democrite
I was in the same situation (inspiron 9300 and low resolution with sarge).
What I did was to change this line :

HorizSync 30-90

With this one :

HorizSync 30-150

In the file /etc/X11/XF86Config-4 ,and I magically got the holy 1920x1200 resolution.

Feedback is welcome if anyone manage to install the wifi on a ipw2200 ! Help !
You got it!?

Please please post your XF86Config-4 file

I can't KDE to show me a 1920x1200 resolution no matter what I've tried so far, even what you said about the 150 Hz did not help.

Thanks,

Charles
 
Old 05-19-2005, 07:04 AM   #8
Democrite
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
By the way, my video card is a nvidia geforce 6800, so maybe this is the issue, as you have the ati driver, and me the nvidia one.

Could you switch "1920x1440" to "1920x1200" in the "mode" part of your config file ? this may help.

Last edited by Democrite; 05-19-2005 at 09:30 AM.
 
Old 05-21-2005, 09:58 PM   #9
gongli
Member
 
Registered: Apr 2003
Posts: 32

Original Poster
Rep: Reputation: 15
hi i was wondering if the person who did the 150hz set the bios option which causes the screen to be automatically stretched to fit the screen. before i turned that off i thought i had 1920x1200 but i didnt; the machine was just stretching the screen to fit.=. i needed to use the fglrx driver as mentioned earlier in the thread, then it worked. if anyone gets sound running, please let me know i have very flaky sound under debian sarge 2.4 kernel (cant use the stock sarge 2.6 kernel since it doesnt detect my sata 80g drive.) the relevant sections of my xf86config are

Section "Device"
Identifier "ATI"
Driver "fglrx"
EndSection


Section "Screen"
Identifier "Default Screen"
Device "ATI"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1200" "1856x1392" "1792x1344" "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
 
Old 05-23-2005, 06:09 AM   #10
Democrite
LQ Newbie
 
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
You are right gongli, it looks like the generic driver can't reach high resolutions.
The definite fix was to switch to the nvidia driver in my case.

Did you try to change your grub menu.lst file to get your hard drive working ?
I changed /dev/hdax to /dev/sdax and then it booted just fine with the 2.6.10 kernel, but my cd-rom drive is not accessible, I need to compile a new kernel ( .
 
  


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
Laptop and TV-Out at 1920x1200 (Dell 24") brsseb Linux - Laptop and Netbook 1 11-22-2005 07:08 PM
can't get x11 to run at 1920x1200 GUIPenguin Linux - General 1 11-06-2005 03:00 PM
1920x1200 on a laptop davidmcw Fedora - Installation 0 11-18-2004 01:26 PM
1920x1200 framebuffer supported ? Reefcrazed Linux - Laptop and Netbook 0 08-29-2004 12:31 PM
NVidia 1920x1200 res exedos Linux - Newbie 1 04-29-2004 08:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:55 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