Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Mathematica 5.2 redraw errors with X and nvidia graphics card

  • To: mathgroup at smc.vnet.net
  • Subject: [mg71010] Re: [mg70999] Mathematica 5.2 redraw errors with X and nvidia graphics card
  • From: Arturas Acus <acus at mserv.itpa.lt>
  • Date: Sat, 4 Nov 2006 23:07:05 -0500 (EST)
  • References: <200611040908.EAA25102@smc.vnet.net>


On Sat, 4 Nov 2006, chris_s wrote:

> I've recently moved from Fedore Core 4 to Ubuntu linux, in the process
> moving from Xorg 7.1.1 from Xorg 6.9 (ish).  In this new setup, I'm now
> having severe problems with redraw errors with Mathematica 5.2.0.  I'm unable
> to scrollback in the notebook windows (by dragging the window sidebar
> up) when using the hardware acclerated nvidia driver - doing so
> seems to cause a window redraw error.  Scrolling down is fine.
> Triggering a redraw by hiding/exposing the window or by switching
> workspaces corrects the graphics state.  I'm using nvidia-glx 8774,
> BTW.  This problem does not occur with the unaccelerated nv driver or
> using Xnest, and was not seen on the Fedora Xorg 6.X setup on the same
> machine.
>
> Needless to say, this is intensely annoying !  Has anyone else had
> similar problems, and any ideas on a fix ?
>
> Many thanks.
>

Yes, I had this problem with some options/modules included when using 
nvidia driver. Unfortunatelly I don't remember which one exactly caused
the problem. Anyway I insert my current xorg.conf file below, in which the 
problem is resolved. So You can compare with You setup and remove 
offending options (in the first place suspect "Accel" option ).

----------------xorg.conf----------------

Section "ServerLayout"
 	Identifier     "LCD"
 	Screen         "WXGA Screen" 0 0
#	InputDevice    "DualPtMouse" "AlwaysCore"
 	InputDevice    "Keyboard0" "CoreKeyboard"
 	InputDevice    "DevInputMice" "CorePointer"
         InputDevice    "Synaptics Mouse" "AlwaysCore"

EndSection

Section "ServerLayout"
 	Identifier     "CRT"
 	Screen         "VGA Screen" 0 0
#	InputDevice    "DualPtMouse" "AlwaysCore"
 	InputDevice    "Keyboard0" "CoreKeyboard"
 	InputDevice    "DevInputMice" "CorePointer"
EndSection

Section "ServerLayout"
 	Identifier     "NV"
 	Screen         "WXGA Screen with NV driver" 0 0
 	InputDevice    "Keyboard0" "CoreKeyboard"
 	InputDevice    "DevInputMice" "CorePointer"
 	InputDevice    "Synaptics Mouse" "AlwaysCore"

EndSection

Section "Files"
 	RgbPath      "/usr/X11R6/lib/X11/rgb"
#        FontPath   "/usr/X11R6/lib/X11/fonts/local/"
 	FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
         FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
         FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
         FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
#        FontPath   "/usr/X11R6/lib/X11/fonts/CID/"
#        FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
         FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
         FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
         FontPath   "/usr/X11R6/lib/X11/fonts/cyrillic/"
#	FontPath     "unix/:7100"
EndSection

Section "Module"
 	Load  "dbe"
         SubSection  "extmod"
            Option    "omit xfree86-dga"   # don't initialise the DGA extension
 	EndSubSection
##kolkas	Load  "fbdevhw"
 	Load  "glx"
#	Load  "record"
 	Load  "type1"
 	Load  "freetype"
 	Load "synaptics"
#	Load  "speedo"
EndSection

Section "Extensions"
## laikinai Option "Composite" "Enable"
##Option "RENDER" "Enable"
EndSection


Section "InputDevice"
 	Identifier  "Keyboard0"
 	Driver "kbd"
 	Option	    "CoreKeyboard"
 	Option	    "XkbModel" "pc104"
#	Option	    "XkbLayout" "us"
 	Option      "Xkbrules" "xorg"
#        Option "XkbModel"	"inspiron"
##   Option "XkbLayout"	"lt(lt_us),lt(lt_lt)"
#   Option "XkbLayout"	"lt,lt(lt_us)"
    Option "XkbLayout"	"lt_b"

#Option "XkbLayout"	"us,lt" 
#Option "XkbLayout"	"lt_b(pc102)"

#    Option "XkbOptions" "grp:shift_toggle"

#    Option "XkbOptions" "grp:shift_toggle"
     Option "XkbOptions"	"grp:toggle"


EndSection

Section "InputDevice"
 	Identifier  "DevInputMice"
 	Driver      "mouse"
 	Option	    "CorePointer"
 	Option	    "Device" "/dev/input/mice"
 	Option "Protocol"     "ExplorerPS/2"
#   Option "Buttons"      "7"          <b># adding this enables the extra buttons on the MX700</b>
#   Option "ZAxisMapping" "6 7"        <b># adding this maps wheel scrolling events to mouse buttons 6 &amp; 7</b>
#	Option	    "Protocol" "ImPS/2"
#	Option	    "ChordMiddle"
#	Option	    "Emulate3Buttons" "yes"
 	Option	    "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
   Identifier  	"Synaptics Mouse"
   Driver  	"synaptics"
   Option 	"Device"  	"/dev/psaux"
   Option	"Protocol"	"auto-dev"
   Option	"LeftEdge"      "1700"
   Option	"RightEdge"     "5300"
   Option	"TopEdge"       "1700"
   Option	"BottomEdge"    "4200"
   Option	"FingerLow"	"25"
   Option	"FingerHigh"	"30"
   Option	"MaxTapTime"	"180"
   Option	"MaxTapMove"	"220"
   Option	"VertScrollDelta" "100"
   Option	"MinSpeed"	"0.09"
   Option	"MaxSpeed"	"0.58"
#  Option	"MaxSpeed"	"0.18"
#  Option	"AccelFactor"	"0.0015"
   Option	"AccelFactor"	"0.15"
   Option	"SHMConfig"	"on"
   Option	"TouchpadOff" "0"
   Option	"EdgeMotionSpeed" "40"
   Option	"UpDownScrolling" "1"
# 
# 
#  Option	"Repeater"	"/dev/ps2mouse"
EndSection


#Section "InputDevice"
#        Driver      "mouse"
#        Option      "ZAxisMapping" "4 5"
#	Identifier  "DualPtMouse"
#	Option	    "SendCoreEvents" "true"
#	Option	    "Device" "/dev/input/event0"
#	Option	    "Protocol" "auto-dev"
#	Option	    "LeftEdge" "60"
#	Option	    "RightEdge" "830"
#	Option	    "TopEdge" "70"
#	Option	    "BottomEdge" "650"
#	Option	    "FingerLow" "25"
#	Option	    "FingerHigh" "30"
#	Option	    "MaxTapTime" "180"
#	Option	    "MaxTapMove" "110"
#	Option	    "EmulateMidButtonTime" "75"
#	Option	    "VertScrollDelta" "50"
#	Option	    "HorizScrollDelta" "50"
#	Option	    "MinSpeed" "0.2"
#	Option	    "MaxSpeed" "0.5"
#	Option	    "AccelFactor" "0.01"
#	Option	    "SHMConfig" "on"
#	Option	    "EdgeMotionSpeed" "40"
#	Option	    "UpDownScrolling" "1"
#	Option	    "TouchpadOff" "0"
#        Option      "Protocol" "PS/2"
#	Option	    "ChordMiddle"
#	Option	    "Emulate3Buttons" "yes"
#EndSection

Section "Monitor"
      Identifier  "WXGA Monitor"
      HorizSync  28.0 - 110.0
      VertRefresh 43.0 - 90.0
      ModeLine    "1280x800@60" 83.9 1280 1312 1624 1656 800 816 824 841
      ModeLine    "800x600@60"  38.21 800 832 976 1008 600 612 618 631
      Option      "DPMS"
#
# Stuff I've seen in other config's for D800
#     DisplaySize 330 206
EndSection


#Section "Monitor"
#  Modeline "1280x800" 97.18 1280 1296 1552 1664 800 800 808 835 +hsync +vsync
#  Modeline "1024x768" 76.49 1024 1040 1216 1400 768 768 776 802
#  ModeLine "1280x800@60" 83.9 1280 1312 1624 1656 800 816 824 841
#	Identifier   "WXGA Monitor"
#	VendorName   "Dell"
#	ModelName    "Generic Laptop Display Panel 1280x800"
#	DisplaySize  330	210
#	HorizSync    28.0 - 110.0
#	VertRefresh  43.0 - 90.0
#       Modeline     "1280x800" 159.74 1280 1296 1552 1664 800 800 815 835
#	ModeLine     "1280x800" 101.9  1280 1312 1696 1728 800 816 825 841
#
#	HorizSync    28.0 - 110.0
#	VertRefresh  43.0 - 90.0
#	ModeLine     "1280x800@60" 83.9 1280 1312 1624 1656 800 816 824 841
#	ModeLine     "1280x800@70" 101.92 1280 1312 1696 1728 800 816 825 841
#	ModeLine     "800x600@60" 38.21 800 832 976 1008 600 612 618 631
#
# 	Option	    "dpms"
#EndSection

Section "Monitor"
 	Identifier   "DELL P1110"
 	VendorName   "Unknown"
 	ModelName    "Unknown"
 	HorizSync    30.0 - 121.0
 	VertRefresh  48.0 - 160.0
 	ModeLine     "800x600@60" 38.21 800 832 976 1008 600 612 618 631

#	ModeLine     "1400x1050" 184.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
#	ModeLine     "1600x1200" 220.0 1600 1616 1808 2080 1200 1204 1207 1244 +hsync +vsync
#	ModeLine     "1800X1440" 250.0 1800 1896 2088 2392 1440 1441 1444 1490 +hsync +vsync
#	ModeLine     "1920x1200" 230.0 1920 1936 2096 2528 1200 1201 1204 1250 +hsync +vsync
 	Option	    "dpms"
EndSection

Section "Device"
 	Identifier  "GeForce4 Ti 4200 Go AGP 8x DFP"
 	Driver      "nvidia"
#	Driver      "nv"
 	VendorName  "nVidia Corporation"
 	BoardName   "GeForce4 Ti 4200 Go AGP 8x"
 	Option      "RenderAccel" "on"
 	Option	    "NvAGP" "0"
#        Option	    "SWcursor" "on"
         Option	    "HWcursor" "on"
#        Option      "ReqAGPRate"  "4"
 	Option      "NoLogo" "true"
#       Option      "DigitalVibrance" "42"
#	Option	    "UseEdidFreqs" "on"
 	Option	    "UseEdid" "true"
 	Option	    "NoBandWidthTest" "true"
#        Option      "FlatPanelProperties"   "Scaling=aspect-scaled Dithering=enabled"
#labai reik 6.9 Xu 	Option	    "AddARGBGLXVisuals" "true"
 	Option	    "TwinView" "false"
 	Option	    "CursorShadow" "true"
 	Option	    "TripleBuffer" "true"
#	Option	    "SwitchToTextMode" "yes"
#	Option	    "UseDummyXServer" "yes"
 	Option	    "IgnoreDisplayDevices" "TV"
# su 6.9 nereikalinga	Option      "AllowGLXWithComposite" "1"
         Option      "ConnectedMonitor" "DFP"
 	BusID       "PCI:1:0:0"
EndSection

Section "Device"
 	Identifier  "GeForce4 Ti 4200 DFP with NV driver"
 	Driver      "nv"
#	VendorName  "nVidia open driver"
 	BoardName   "GeForce4 Ti 4200 Go AGP 8x"
#        Option	    "SWcursor" "on"
 	Option	    "flatpanel" "1"
# Mathematica nespeja su akseleracija! 
#	Option "Accel" "false"
 	BusID       "PCI:1:0:0"
EndSection


Section "Device"
         Option      "ConnectedMonitor" "CRT"
 	Identifier  "GeForce4 Ti 4200 Go AGP 8x CRT"
#	Driver      "nvidia"
 	Driver      "nv"
 	VendorName  "nVidia Corporation"
 	BoardName   "GeForce4 Ti 4200 Go AGP 8x"
 	Option	    "NvAgp" "0"
#        Option      "ReqAGPRate"  "4"
 	Option      "NoLogo" "false"
 	Option	    "RenderAccel" "on"
#       Option      "DigitalVibrance" "42"
 	Option	    "UseEdidFreqs" "on"
#
         Option      "FlatPanelProperties"   "Scaling=aspect-scaled"
 	Option	    "TwinView" "false"
 	Option	    "CursorShadow" "true"
 	Option	    "IgnoreDisplayDevices" "TV"
 	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
 	Identifier "WXGA Screen"
 	Device     "GeForce4 Ti 4200 Go AGP 8x DFP"
 	Monitor    "WXGA Monitor"
 	DefaultDepth     24
 	SubSection "Display"
 		Depth     16
 		Modes    "1280x800" "nvidia-auto-select" "1024x768" "800x600" "640x480"
 	EndSubSection
 	SubSection "Display"
 		Depth     24
 		Modes    "1280x800" "1024x768" "800x600" "640x480"
#		"1024x768" "800x600" "640x480"
 		Virtual	 2560 1600
 	EndSubSection
 	SubSection "Display"
 		Depth     32
 		Modes    "1280x800@70" "1024x768" "800x600" "640x480"
 	EndSubSection
EndSection

Section "Screen"
 	Identifier "WXGA Screen with NV driver"
 	Device     "GeForce4 Ti 4200 DFP with NV driver"
 	Monitor    "WXGA Monitor"
 	DefaultDepth     24
 	SubSection "Display"
 		Depth     16
 		Modes    "1280x800@70" "1024x768" "800x600" "640x480"
 	EndSubSection
 	SubSection "Display"
 		Depth     24
 		Modes    "1280x800@70" 
#		"1024x768" "800x600" "640x480"
 		Virtual	 2560 1600
 	EndSubSection
 	SubSection "Display"
 		Depth     32
 		Modes    "1280x800@70" "1024x768" "800x600" "640x480"
 	EndSubSection
EndSection


Section "Screen"
 	Identifier "VGA Screen"
 	Device     "GeForce4 Ti 4200 Go AGP 8x CRT"
 	Monitor    "WXGA Monitor"
 	DefaultDepth     24
 	SubSection "Display"
 		Depth     16
 		Modes    "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
 	EndSubSection
 	SubSection "Display"
 		Depth     24
#	Modes    "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
 		Modes    "800x600" "640x480"
 	EndSubSection
 	SubSection "Display"
 		Depth     32
 		Modes    "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
 	EndSubSection
EndSection

Section "DRI"
         Group        0
         Mode         0666
EndSection



  • Prev by Date: RE: Tricky visualization of maximization problem
  • Next by Date: Insertion into sorted list
  • Previous by thread: Mathematica 5.2 redraw errors with X and nvidia graphics card
  • Next by thread: Re: Mathematica 5.2 redraw errors with X and nvidia graphics card