Skip to main content
Welcome guest. | Register | Login | Post

Xorg, Nvidia, or someting else?

6 replies [Last post]
Offline
Joined: 2006-09-05

Since I have a 32" widescreen I had to create a custom screen resolution that fits for the wide experience.

I edited xorg.conf, added 1360x768, plus I had to ad a line to the "Monitor"-section, something I myself don't understand, so I got help from another guy with this. Anyway, after this the new resolution worked fine, everything looks right and the resolution now looks right.

There is just one thing. Since this change I can't play any form of movies, not in any of my movie applications (VLC, Gxine, Totem).

When I start a clip in VLC I get this error in terminal:

$ vlc
VLC media player 0.8.5 Janus
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 140 (XVideo)
Minor opcode of failed request: 19 ()
Serial number of failed request: 88
Current serial number in output stream: 89

By the way, this is the line I put in xorg.conf in the "Monitor"-section:
ModeLine "1360x768" 85.5 1360 1424 1536 1792 768 771 777 795

Just for sure I have backuped my old xorg.conf which I tried and with the old resolution movies work like a charm.

I'm on Ubuntu 6.06 with GeForce2 MX/MX 400 on a 32" Widescreen Samsung.

Just for the record, I'll also post my xorg.conf here:

# /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "se"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Driver "nv"
BusID "PCI:0:15:0"
EndSection

Section "Monitor"
Identifier "SAMSUNG"
Option "DPMS"
ModeLine "1360x768" 85.5 1360 1424 1536 1792 768 771 777 795
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Monitor "SAMSUNG"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1360x768" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1360x768" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1360x768" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1360x768" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1360x768" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1360x768" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection

a thing's picture
Offline
Joined: 2005-12-20
see old thread
Offline
Joined: 2006-09-05
How is that related to my

How is that related to my problem?

Im not following here Smiling

a thing's picture
Offline
Joined: 2005-12-20
XVideo
Quote:

Major opcode of failed request: 140 (XVideo)

You're using XVideo (xv), which didn't work for me. But then I switched to x11 and it worked.

To switch the video output in VLC, go to Settings>Preferences>Video>Output modules>Check "Advanced options" in the bottom-right corner.

Offline
Joined: 2006-09-05
Ok, where and how do I do

Ok, where and how do I do this change?

a thing's picture
Offline
Joined: 2005-12-20
edited

You probably read my last post before I edited it.

To switch the video output in VLC, go to Settings>Preferences>Video>Output modules>Check "Advanced options" in the bottom-right corner.

Offline
Joined: 2006-09-05
Thanks alot, it worked

Thanks alot, it worked Laughing out loud

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.