Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Opengl apps can't change my resolution.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Frostwarrior
Apprentice
Apprentice


Joined: 02 Mar 2007
Posts: 165

PostPosted: Sun Mar 22, 2009 6:06 pm    Post subject: Opengl apps can't change my resolution. Reply with quote

Hello everyone.

I have a problem since the first installation of gentoo.
The fact is games with 1024x768 res doesn't work when im with 800x600, and this error is displayed:

Code:
$ sauerbraten_client-bin
init: sdl
init: enet
init: video: mode
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  136 (XFree86-VidModeExtension)
  Minor opcode of failed request:  10 (XF86VidModeSwitchToMode)
  Value in failed request:  0xc1
  Serial number of failed request:  118
  Current serial number in output stream:  120


Not only games, everything needing another resolution than the mine gives this error.

Here is my xrandr:
Code:
$ xrandr
Screen 0: minimum 320 x 175, current 800 x 600, maximum 1024 x 768
default connected 800x600+0+0 0mm x 0mm
   1024x768       70.0     60.0     87.0 
   832x624        75.0 
   800x600        85.0*    75.0     72.0     60.0     56.0 
   720x400        85.0 
   640x480        85.0     75.0     73.0     60.0 
   640x400        85.0 
   640x350        85.0 
   576x384        55.0 
   512x384        70.0     60.0     87.0 
   416x312        75.0 
   400x300        85.0     75.0     72.0     60.0     56.0 
   360x200        84.0 
   320x240        85.0     74.0     73.0     60.0 
   320x200        85.0 
   320x175        85.0 


And lspci:
Code:
# lspci
00:00.0 Host bridge: nVidia Corporation nForce2 IGP2 (rev a2)
00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev a2)
00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev a2)
00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev a2)
00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev a2)
00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev a2)
00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1)
00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)
00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3)
00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev a2)
01:08.0 Modem: ALi Corporation SmartLink SmartPCI561 56K Modem
02:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX - nForce GPU] (rev a3)


There is my xorg.conf:
Code:
$ cat /etc/X11/xorg.conf | sed 's/[#].*//' | grep [a,z]
Section "Module"
    Load        "dbe"     
    SubSection  "extmod"
      Option    "omit xfree86-dga"   
    EndSubSection
   Load   "freetype"
   Load   "glx"
   Load   "extmod"
EndSection
Section "Files"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/75dpi/"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
    Identifier   "Keyboard1"
    Driver   "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"   "us"
    Option "XkbVariant"   "intl"
EndSection
Section "InputDevice"
    Identifier   "Mouse1"
    Driver   "mouse"
    Option "Protocol"    "IMPS/2"   
    Option "Device"      "/dev/psaux"
    Option "ZAxisMapping"   "4 5 6 7"
EndSection
Section "Monitor"
    Identifier  "Samsung 550v"
    HorizSync   30.0 - 57.0
    VertRefresh 55-130
EndSection
Section "Device"
    Identifier   "Standard VGA"
    VendorName   "Unknown"
    BoardName   "Unknown"
    Driver     "vga"
EndSection
Section "Device"
    Identifier  "GeForce4 MX"
    Driver      "nvidia"
   Option   "ignoreEDID"      "true"
   Option   "useEDID"      "false"
   Option   "nologo"      "true"
   Option   "DynamicTwinView"   "false"
EndSection
Section "Screen"
   Identifier  "Screen 1"
   Device      "GeForce4 MX"
   Monitor     "Samsung 550v"
   DefaultDepth 24
   Option  "AddARGBGLXVisuals"     "True"
EndSection
Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "Extensions"
        Option      "Composite"   "enable"
EndSection


And my driver:
Code:
[I] x11-drivers/nvidia-drivers
     Available versions:  71.86.06!s 71.86.07!s ~71.86.08!s 96.43.07!s 96.43.09!s ~96.43.10!s [m]100.14.19!s [m]173.14.09!s [m]~173.14.12!s [m]173.14.15!s [m]~173.14.16!s [m]~177.80!s [m]177.82!s [m]~180.22!s [m]~180.27!s [m]~180.29!s {acpi custom-cflags gtk kernel_FreeBSD kernel_linux multilib userland_BSD}
     Installed versions:  96.43.09!s(01:39:37 AM 03/22/2009)(acpi gtk kernel_linux -custom-cflags -kernel_FreeBSD -multilib -userland_BSD)
     Homepage:            http://www.nvidia.com/
     Description:         NVIDIA X11 driver and GLX libraries


Can anyone give me a tip?

Thanks in advance.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum