LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-05-2006, 11:51 AM   #1
Bacon_haxor
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Rep: Reputation: 0
Xorg problems


Okay, I wasn't too sure where to post this, and I did search around for answers, but I couldn't find any. So, here goes:

Recently, I reinstalled the Nvidia drivers for my graphics card (GeForce 5700LE), and I found some odd things happening to xorg. For one thing, when I go to play Starcraft on WINE, Xorg switches to 640x480 mode as usual, but the graphics seem kind of distorted and I was experiencing unusual performance loss. I checked my monitor, and it seemed that Xorg was not running in 640x480 at all! It was running in 1280x960, and somehow pretending to be 640x480, which explains my massive performance loss and the distorted graphics.

When I had the old Nvidia drivers installed, I did not have this problem, everything ran fine. Here's my Xorg configuration file that I'm using for the game:

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Wed Mar 29 14:43:26 PST 2006

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath         "/usr/X11R6/lib/X11/rgb"
    ModulePath      "/usr/X11R6/lib/modules"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath        "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath        "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath        "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
    Load           "bitmap"
    Load           "glx"
    Load           "xtrap"
    Load           "record"
    Load           "extmod"
    Load           "xtrap"
    Load           "dbe"
    Load           "vesa"
    Load           "freetype"
    Load           "type1"
    Load 	   "vga"
    Load 	   "vbe"

EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/mouse"
    Option         "ZAxisMapping" "4 5"
    Option	   "Buttons" "10"
EndSection

Section "Monitor"
        Identifier "Monitor0"
        VendorName "Monitor Vendor"
        ModelName "ViewSonic E790"
        DisplaySize 340 270
        HorizSync 30.0 - 95.0
        VertRefresh 50.0 - 200.0
        Option "dpms"
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "NV36 [GeForce FX 5700LE]"
    Option 	   "RenderAccel" "true"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    DefaultDepth    24	
    SubSection     "Display"
        Viewport    0 0
        Depth       1
        Modes      "640x480"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       4
        Modes      "640x480"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       8
        Modes      "640x480"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       15
	Modes      "640x480"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
	Modes       "640x480"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
	Modes       "640x480"
    EndSubSection
EndSection

#Section "Extensions"
#   Option "Composite" "Enable"
#EndSection
I've tried mixing and matching various modules in this custom xorg file, but I've had no success. I also tried using my default xorg file to run the game, but still to no avail.

Does anyone here have any idea as to what I can do? If you need more information, just ask, I'll gladly supply. Thank you for taking the time to read this thread.
 
Old 07-05-2006, 11:29 PM   #2
pddm
Member
 
Registered: Sep 2005
Distribution: Mint 19.2
Posts: 112

Rep: Reputation: 15
If it worked previously it might be a problem in the new driver.
I would roll back to the previous one.
 
Old 07-06-2006, 11:37 AM   #3
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
In your xorg.conf file you have:
Quote:
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
...
SubSection "Display"
Viewport 0 0
Depth 24
Modes "640x480"
EndSubSection
EndSection
The lines 'Modes' in the SubSections of the Screen Section seem erroneous if you want other resolutions for your screen; you should have for example:
Quote:
Modes "1280x960" "1152x864" "1024x768" ... "640x480"
It should contain a list of resolutions beginning with the default one.
I hope this may help you.

Last edited by berbae; 07-06-2006 at 11:38 AM.
 
Old 07-06-2006, 11:45 AM   #4
Bacon_haxor
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks guys, I'll investigate these.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xorg problems mcard2 Slackware 25 09-10-2006 12:47 AM
Xorg 7 problems gyodai Arch 1 02-12-2006 12:35 PM
Xorg problems Tsagadai Linux - General 2 10-21-2005 10:19 AM
xorg-x11 6.8.2 problems... Regulus Linux - Software 4 09-18-2005 10:14 AM
Xorg problems ShastaMaroon Linux - Software 8 01-26-2005 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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