LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-22-2007, 02:06 PM   #1
asdflol
LQ Newbie
 
Registered: Jun 2005
Posts: 11

Rep: Reputation: 0
Unhappy Why are xorg.conf modes being ignored?


I'm trying to get into the resolution 1440x900@75, and linux just wont do it. For some reason, it's running in a virtual window, and the virtual resolution is 1152x864. I don't know what the physical window's resolution is at though.

My monitor is an LG194WT, native resolution is 1440x900, it supports it's native resolution at 75hz. Horizontal: 30-83, Vertical: 56-75.

My video card is a nVidia Riva TNT2 with 32MB onboard ram.

I installed NVIDIA-Linux-x86-1.0-7185-pkg1 for my drivers (and I do see the logo when starting up).

This slackware install is pretty new, I installed dropline gnome after installing.


Drumroll, please...

Xorg.conf:

Code:
Section "Module"

    Load        "dbe"  	# Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "freetype"
    Load       "glx"

EndSection

Section "Files"

    FontPath   "/usr/share/fonts/TTF"
    FontPath   "/usr/share/fonts/OTF"
    FontPath   "/usr/share/fonts/Type1"
    FontPath   "/usr/share/fonts/misc"
    FontPath   "/usr/share/fonts/75dpi/:unscaled"
    FontPath   "/usr/lib/X11/fonts/misc/"
    FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/lib/X11/fonts/Speedo/"
    FontPath   "/usr/lib/X11/fonts/Type1/"
    FontPath   "/usr/lib/X11/fonts/TTF/"
    FontPath   "/usr/lib/X11/fonts/OTF/"
    FontPath   "/usr/lib/X11/fonts/cyrillic/"
    FontPath   "/usr/lib/X11/fonts/75dpi/"
    FontPath   "/usr/lib/X11/fonts/100dpi/"

EndSection

Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"	"xorg"
    Option "XkbModel"	"pc104"
    Option "XkbLayout"	"us"

EndSection

Section "InputDevice"

    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "Auto"	# Auto detect
    Option "Device"      "/dev/input/mice"
    Option "ZAxisMapping"   "4 5 6 7"

EndSection

Section "Monitor"

    Identifier  "LG194WT"
    HorizSync   30-83
    VertRefresh 56-75
    Modeline "1440x900_75" 146.10 1440 1472 2024 2056 900 917 928 946
EndSection

Section "Device"
    Identifier  "nVidia graphics card"
    Driver      "nvidia"
    Option "UseEDIDFreq" "FALSE"
    VideoRam    32768
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "nVidia graphics card"
    Monitor     "LG194WT"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1440x900_75" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1440x900_75" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1440x900_75" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"

    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

# Section "DRI"
#    Mode 0666
# EndSection

I want to get rid of the virtual window completely and use my native resolution, I'm completely clueless.
 
Old 08-22-2007, 02:14 PM   #2
ArcLinux
Member
 
Registered: Apr 2005
Location: Fargo, ND
Distribution: Slackware, CentOS
Posts: 87

Rep: Reputation: 20
I haven't check the specs but have you checked to see if you card can handle the widescreen aspect ratio. I have give or take the same card in my work machine and wide screen was not on viable solution at that resolution.
 
Old 08-22-2007, 02:46 PM   #3
asdflol
LQ Newbie
 
Registered: Jun 2005
Posts: 11

Original Poster
Rep: Reputation: 0
I'm pretty sure it does. I've looked online and I've seen people talking about using this card on their 1600x1050(something like that) monitors. I could try to swap this card into my other PC (windows) and see if it will run at 1400x900.
 
Old 08-22-2007, 03:45 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I would rem out the modeline under the Monitor section and change the values of these two lines.
HorizSync 30-90
VertRefresh 56-75

Not sure if that is high enough for that resolution. May have to raise it a bit more.

also leave the 75 off the tail of the resolution line. Change to 1440x900

Brian
 
Old 08-22-2007, 10:15 PM   #5
dennisk
Member
 
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279

Rep: Reputation: 30
One thing you can try is running xorgsetup. It does a pretty good job of configuring X. I suspect that after you do you'll need to edit xorg.conf to put back the nVidia driver.

Dennik
 
Old 08-22-2007, 10:25 PM   #6
asdflol
LQ Newbie
 
Registered: Jun 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Hm. Never used xorgsetup before. I've always used xorgconfig. :P
 
Old 08-23-2007, 12:44 AM   #7
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 50
FWIW I had a habit of using xorgconfig. So much so that I thought it was the only way to go (I'd long since known all of my hardware specs, which driver to use, etc.) I always had nice video, no probs. . . . .

Until Slackware 12.0 came along. I've (did and still do have) a dinasaur Matrox G450 AGP video adapter with 32 megs video memory. It uses the mga driver.

The freakin mga driver wasn't in the database using xorgconfig on Slackware 12.0 (I had no way to assign a correct driver for my video adapter).

I panicked and began googling. Uh oh the new X don't like to work nowadays with mga. Downloaded from Matrox (but never installed/tried or used it).

Then I saw on this forum someone praised xorgsetup

With nothing to lose (that vga driver and 60 Hz refresh on a 19 inch CRT monitor is not much fun though X and KDE did work).

I'll be darn! xorgsetup found and assigned the mga driver!

Why xorgconfig wouldn't show it (mga) for me as a choice, I don't know.

I've now some of the best if not the best video I've ever had. And it's due to merely doing a default run of xorgsetup. And I then compared its xorg.conf file with what I'd formerly grown accustomed to using in xorg.conf

I don't remember if I made any changes to xorg.conf. But if I did, they weren't much.

--
Alan.
 
Old 08-24-2007, 11:55 AM   #8
dennisk
Member
 
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279

Rep: Reputation: 30
xorgsetup has always done a good job for me and it does back up your old xorg.conf just in case.

Also, you'll notice that xorgsetup will set up your keyboard too. In my case the volume controls on my Dell Latitude worked after running xorgsetup and I can set the Caps Lock as an extra CTRL. Sets up scroll mice, too.

If you type xorg <tab>, <tab> at the commandline you'll see your choices for configuring X. xorgsetup is the fastest and most user friendly.

Dennisk
 
Old 08-25-2007, 01:43 PM   #9
asdflol
LQ Newbie
 
Registered: Jun 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Alright, I used xorgsetup, and I guess I made progress. There's no more virtual window, and the resolution is higher, but it's not the one I'm looking for. :/

It goes into 1280x1024. Even after I've listed "1440x900" first inside the modes line. I've even tried changing the default color depth to see if that would do anything.

Is there a command that would make xorg not use autodetected resolutions?
 
  


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
xorg.conf without resolution modes? armandino Linux - General 3 03-07-2007 08:56 AM
Modes Listed in xorg.conf not being used Gamezace Linux - Hardware 4 12-11-2005 02:38 PM
xorg.conf and VESA modes Dark_Helmet Linux - General 2 12-28-2004 10:16 PM
xorg.conf chunlee Linux - Newbie 2 12-27-2004 02:59 PM
Xorg Hard Crashes and corrupts xorg.conf Advocator Linux - General 0 07-15-2004 01:41 PM

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

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