[ubuntu-jp] Xineramaモードで起動しないアプリケーションがある

OKAMURA Leona leona at simasima.org
Sun Nov 19 06:08:27 GMT 2006


おかむらです


nVidiaのVGAボードをAGP,PCIに一枚ずつ差し,デュアルモニタ環境
にして使用しています.

Dapper DrakeではXineramaモードで問題無く使えていたのですが,
Edgyに乗り換えたら,以前と同じ /etc/X11/xorg.conf を使っていても,
いくつかのアプリケーションが起動しなくなりました.

以下にエラー出力を貼ります.

> % gnome-terminal
> The program 'gnome-terminal' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadValue (integer parameter out of range for operation)'.
>   (Details: serial 108 error_code 2 request_code 78 minor_code 0)
>   (Note to programmers: normally, X errors are reported asynchronously;
>    that is, you will receive the error a while after causing it.
>    To debug your program, run it with the --sync command line
>    option to change this behavior. You can then get a meaningful
>    backtrace from your debugger if you break on the gdk_x_error() function.)

> % rdesktop hoge                                                   
> X Error of failed request:  BadValue (integer parameter out of range for operation)
>   Major opcode of failed request:  78 (X_CreateColormap)
>   Value in failed request:  0x20e
>   Serial number of failed request:  7
>   Current serial number in output stream:  8


Xineramaではなく,TwinViewを使うようにすると,どちらも正常に起動します.
しかし,設定が悪いのか,TwinViewでは私の望むようにならない(2560x1024の
一つのスクリーンとして扱いたい)ようですので,Xineramaでこれらの問題を
解決する方法がありましたら,御教示ください.


以下に XineramaとTwinViewモードの xorg.confを示します.

Xineramaモード
> # nvidia-xconfig: X configuration file generated by nvidia-xconfig
> # nvidia-xconfig:  version 1.0  (buildd at rothera)  Thu Jan  5 15:32:31 UTC 2006
> 
> # /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 "ServerLayout"
>     Identifier     "Default Layout"
>     Screen         "Screen0" 0 0
>     Screen         "Screen1" RightOf "Screen0"
>     InputDevice    "Generic Keyboard"
>     InputDevice    "Configured Mouse"
>     InputDevice    "stylus" "SendCoreEvents"
>     InputDevice    "cursor" "SendCoreEvents"
>     InputDevice    "eraser" "SendCoreEvents"
>     Option         "Xinerama" "True"
> EndSection
> 
> Section "Files"
> 
>         # path to defoma fonts
>     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"
>     FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
> EndSection
> 
> Section "Module"
>     Load           "i2c"
>     Load           "bitmap"
>     Load           "ddc"
>     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" "pc104"
>     Option         "XkbLayout" "us"
> 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"
>                                                       # /dev/input/event
>                                                       # for USB
>     Identifier     "stylus"
>     Driver         "wacom"
>     Option         "Device" "/dev/wacom"          # Change to
>     Option         "Type" "stylus"
>     Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
> EndSection
> 
> Section "InputDevice"
>                                                       # /dev/input/event
>                                                       # for USB
>     Identifier     "eraser"
>     Driver         "wacom"
>     Option         "Device" "/dev/wacom"          # Change to
>     Option         "Type" "eraser"
>     Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
> EndSection
> 
> Section "InputDevice"
>                                                      # /dev/input/event
>                                                       # for USB
>     Identifier     "cursor"
>     Driver         "wacom"
>     Option         "Device" "/dev/wacom"          # Change to
>     Option         "Type" "cursor"
>     Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
> EndSection
> 
> Section "Monitor"
>     Identifier     "Monitor0"
>     HorizSync       28.0 - 51.0
>     VertRefresh     43.0 - 60.0
>     Option         "DPMS"
> EndSection
> 
> Section "Monitor"
>     Identifier     "Monitor1"
>     HorizSync       28.0 - 51.0
>     VertRefresh     43.0 - 60.0
>     Option         "DPMS"
> EndSection
> 
> Section "Device"
>     Identifier     "FX5200"
>     Driver         "nvidia"
>     BusID          "PCI:1:0:0"
> EndSection
> 
> Section "Device"
>     Identifier     "NVPCI"
>     Driver         "nvidia"
>     BusID          "PCI:2:9:0"
> EndSection
> 
> Section "Screen"
>     Identifier     "Screen0"
>     Device         "FX5200"
>     Monitor        "Monitor0"
>     DefaultDepth    24
>     Option         "NvAGP" "1"
>     SubSection     "Display"
>         Depth       24
>         Modes      "1280x1024"
>     EndSubSection
> EndSection
> 
> Section "Screen"
>     Identifier     "Screen1"
>     Device         "NVPCI"
>     Monitor        "Monitor1"
>     DefaultDepth    24
>     SubSection     "Display"
>         Depth       24
>         Modes      "1280x1024" "1024x768" "800x600" "640x480"
>     EndSubSection
> EndSection



TwinViewモード
> # nvidia-xconfig: X configuration file generated by nvidia-xconfig
> # nvidia-xconfig:  version 1.0  (buildd at rothera)  Thu Jan  5 15:32:31 UTC 2006
> 
> # /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 "ServerLayout"
>     Identifier     "Default Layout"
>     Screen         "Screen0" 0 0
>     Screen         "Screen1" RightOf "Screen0"
>     InputDevice    "Generic Keyboard"
>     InputDevice    "Configured Mouse"
>     InputDevice    "stylus" "SendCoreEvents"
>     InputDevice    "cursor" "SendCoreEvents"
>     InputDevice    "eraser" "SendCoreEvents"
>     Option         "TwinView"
> EndSection
> 
> Section "Files"
>     # path to defoma fonts
>     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"
>     FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
> EndSection
> 
> Section "Module"
>     Load           "i2c"
>     Load           "bitmap"
>     Load           "ddc"
>     Load           "extmod"
>     Load           "freetype"
>     Load           "glx"
>     Load           "int10"
>     Load           "type1"
>     Load           "vbe"
> EndSection
> 
> Section "ServerFlags"
>     Option         "Xinerama" "false"
> EndSection
> 
> Section "InputDevice"
>     Identifier     "Generic Keyboard"
>     Driver         "kbd"
>     Option         "CoreKeyboard"
>     Option         "XkbRules" "xorg"
>     Option         "XkbModel" "pc104"
>     Option         "XkbLayout" "us"
> 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"
>                                                       # /dev/input/event
>                                                       # for USB
>     Identifier     "stylus"
>     Driver         "wacom"
>     Option         "Device" "/dev/wacom"          # Change to
>     Option         "Type" "stylus"
>     Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
> EndSection
> 
> Section "InputDevice"
>                                                       # /dev/input/event
>                                                       # for USB
>     Identifier     "eraser"
>     Driver         "wacom"
>     Option         "Device" "/dev/wacom"          # Change to
>     Option         "Type" "eraser"
>     Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
> EndSection
> 
> Section "InputDevice"
>                                                       # /dev/input/event
>                                                       # for USB
>     Identifier     "cursor"
>     Driver         "wacom"
>     Option         "Device" "/dev/wacom"          # Change to
>     Option         "Type" "cursor"
>     Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
> EndSection
> 
> Section "Monitor"
>     Identifier     "Monitor0"
>     HorizSync       28.0 - 51.0
>     VertRefresh     43.0 - 60.0
>     Option         "DPMS"
> EndSection
> 
> Section "Monitor"
>     Identifier     "Monitor1"
>     HorizSync       28.0 - 51.0
>     VertRefresh     43.0 - 60.0
>     Option         "DPMS"
> EndSection
> 
> Section "Device"
> #   ChipID      0x0322
>     Option      "MetaModes" "1280x1024,1280x1024"
>     Option      "TwinViewOrientation"   "RightOf"
>     Option      "SecondMonitorHorizSync"    "28-51"
>     Option      "SecondMonitorVertSync"     "43-60"
>     Option      "ConnectedMonitor"      "DFP,DFP"
>     Identifier     "FX5200"
>     Driver         "nvidia"
>     BusID          "PCI:1:0:0"
> EndSection
> 
> Section "Device"
> #   ChipID      0x0322
>     Option      "TwinView"
>     Option      "MetaModes" "1280x1024,1280x1024"
>     Option      "TwinViewOrientation"   "LeftOf"
>     Option      "SecondMonitorHorizSync"    "28-51"
>     Option      "SecondMonitorVertSync"     "43-60"
>     Option      "ConnectedMonitor"      "DFP,DFP"
>     Identifier     "NVPCI"
>     Driver         "nvidia"
>     BusID          "PCI:2:9:0"
> EndSection
> 
> Section "Screen"
>     Identifier     "Screen0"
>     Device         "FX5200"
>     Monitor        "Monitor0"
>     DefaultDepth    24
>     Option         "NvAGP" "1"
>     Option         "TwinView"
>     SubSection     "Display"
>         Depth       24
>         Modes      "1280x1024"
>     EndSubSection
> EndSection
> 
> Section "Screen"
>     Identifier     "Screen1"
>     Device         "NVPCI"
>     Monitor        "Monitor1"
>     DefaultDepth    24
>     SubSection     "Display"
>         Depth       24
>         Modes      "1280x1024" "1024x768" "800x600" "640x480"
>     EndSubSection
> EndSection





> % apt-cache showpkg nvidia-glx | head -3                             
> Package: nvidia-glx
> Versions:
> 1.0.8776+2.6.17.6-1 (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_edgy-security_restricted_binary-i386_Packages) (/var/lib/dpkg/status)
> 


-- 
OKAMURA, Leona






More information about the ubuntu-jp mailing list