LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Xorg problems (https://www.linuxquestions.org/questions/linux-general-1/xorg-problems-461231/)

Bacon_haxor 07-05-2006 11:51 AM

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.

pddm 07-05-2006 11:29 PM

If it worked previously it might be a problem in the new driver.
I would roll back to the previous one.

berbae 07-06-2006 11:37 AM

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.

Bacon_haxor 07-06-2006 11:45 AM

Thanks guys, I'll investigate these.


All times are GMT -5. The time now is 06:26 PM.