You are not logged in.

#1 2009-11-13 16:33:25

sjb933
Member
Registered: 2007-01-18
Posts: 113

Font & Graphical Errors since update

I'm using an IBM T42 with an ATI card and the open source ATI driver.  My Xorg.conf is very minimal, I just modified a few things to increase compiz-fusion performance.  Compiz is also broken since the update.

[shane@arch-laptop Desktop]$ cat /etc/X11/xorg.conf
Section "Module"
  Load  "glx"
  Load  "dri"
  Load  "drm"
EndSection

Section "Device"
 Identifier "ati_card"                     # your alias
 Driver "radeon"
   Option "AGPMode" "4"
       Option "ColorTiling" "on"
Option "AccelMethod" "EXA"
#Option "EnablePageFlip" "on" 
#Option "AGPFastWrite" "yes"

EndSection

That's the entire file.  In the screenshot below notice the fonts on the window list at the top.  After a reboot, it will be fine, but over time the problem gets worse and worse -- it's quite aggravating.  Right now, it's just the y's that is goofed up.

Screenshot.png

Can I get some help here?

Thanks,
Shane

Last edited by sjb933 (2009-11-13 16:34:00)

Offline

#2 2009-11-14 04:50:59

Jacob
Member
Registered: 2005-03-19
Posts: 52

Re: Font & Graphical Errors since update

I too have a T42 with the same problem you have described.  I was able to bring stability back to my system by changing two things.  The first is to use XAA in your xorg.conf, by changing to:

Option "AccelMethod" "XAA"

The second is to add "nomodeset" to your kernel line.  I use Grub so the kernel line exists in my /boot/grub/menu.lst.  If you use Lilo, you'll have to find the kernel line in the lilo.conf, then re-run lilo as root. 

I figure KMS support is still too new, as is our Radeon R100's DRI2 support.  If I disable it and leave EXA enabled, my X.org crashes repeatedly and GDM does nothing to stop it.  So one must disable KMS *and* use XAA for a stable T42.

Offline

#3 2009-11-14 22:27:43

sjb933
Member
Registered: 2007-01-18
Posts: 113

Re: Font & Graphical Errors since update

Thanks, I've implemented both fixes.  I've got to code for a while today, so that should be a sufficient test.  I'll report back if the fix seems to have worked.

Offline

#4 2009-11-14 22:28:45

sjb933
Member
Registered: 2007-01-18
Posts: 113

Re: Font & Graphical Errors since update

BTW, how do you know so much about the low-level gpu features? I've never found any decent documentation on it.  Always seems to be a few people lurking around forums that know, but that's about it.

Thanks Jacob!

Offline

#5 2009-11-15 08:26:30

sjb933
Member
Registered: 2007-01-18
Posts: 113

Re: Font & Graphical Errors since update

Hey Jacob, that did fix my reliability issues, but has caused another to come up.  Now it seems as though some programs aren't updating their graphics correctly.

This is most obvious to me right now in Geany, as I'm using it a lot.  For example, notice the left pane here.

broken.png
It hasn't updated correctly after switching tabs over there and/or messing around in another window.

However after I run my mouse over it, you can see what was supposed to be there:

fixed.png

This is quite annoying, but better than the crashes..

Offline

#6 2009-11-16 03:21:45

Jacob
Member
Registered: 2005-03-19
Posts: 52

Re: Font & Graphical Errors since update

Hmmm... could be an issue with the settings is your xorg.conf.   I've included my xorg.conf below, give it a try. 


    #
    Section "Files"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/local"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/URW"
    FontPath     "/usr/share/fonts/Speedo"
    FontPath     "/usr/share/fonts/PEX"
    FontPath     "/usr/share/fonts/cyrillic"
    FontPath     "/usr/share/fonts/latin2/misc:unscaled"
    FontPath     "/usr/share/fonts/latin2/75dpi:unscaled"
    FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"
    FontPath     "/usr/share/fonts/latin2/Type1"
    FontPath     "/usr/share/fonts/latin7/75dpi:unscaled"
    FontPath     "/usr/share/fonts/baekmuk:unscaled"
    FontPath     "/usr/share/fonts/japanese:unscaled"
    FontPath     "/usr/share/fonts/kwintv"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/uni:unscaled"
    FontPath     "/usr/share/fonts/CID"
    FontPath     "/usr/share/fonts/ucs/misc:unscaled"
    FontPath     "/usr/share/fonts/ucs/75dpi:unscaled"
    FontPath     "/usr/share/fonts/ucs/100dpi:unscaled"
    FontPath     "/usr/share/fonts/hellas/misc:unscaled"
    FontPath     "/usr/share/fonts/hellas/75dpi:unscaled"
    FontPath     "/usr/share/fonts/hellas/100dpi:unscaled"
    FontPath     "/usr/share/fonts/hellas/Type1"
    FontPath     "/usr/share/fonts/misc/sgi:unscaled"
    FontPath     "/usr/share/fonts/xtest"
    FontPath     "/opt/kde3/share/fonts"
    FontPath     "unix/:7100"
    # InputDevices "/dev/gpmdata"
    InputDevices "/dev/input/mice"
    EndSection

    Section "ServerFlags"
    # Option       "AllowMouseOpenFail" "on"
    Option "AutoAddDevices"  "False"
    Option       "DontZap"               "true"
    EndSection

    Section "Module"
    Load         "dbe"    Load         "type1"
    Load         "freetype"
    Load         "extmod"
    Load         "glx"
    Load         "v4l"
    Load         "dri"
    EndSection

    Section "InputDevice"
    Driver       "kbd"
    Identifier   "Keyboard[0]"
    Option       "Protocol" "Standard"
    Option       "XkbLayout" "us"
    Option       "XkbModel" "pc101"
    Option       "XkbRules" "xorg"
    EndSection

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

   Section "InputDevice"
   Identifier "Synaptics Touchpad"
   Driver "synaptics"
   Option "SendCoreEvents" "true"
   Option "Device" "/dev/psaux"
   Option "Protocol" "auto-dev"
   Option      "SHMConfig"         "true"  
   Option      "LeftEdge"          "1700"  # x coord left
   Option      "RightEdge"         "5300"  # x coord right
   Option      "TopEdge"           "1700"  # y coord top
   Option      "BottomEdge"        "4200"  # y coord bottom
   Option      "FingerLow"         "25"    # pressure below this level triggers release
   Option      "FingerHigh"        "30"    # pressure above this level triggers touch
   Option      "MaxTapTime"        "180"   # max time in ms for detecting tap
   Option      "VertEdgeScroll"    "true"  # enable vertical scroll zone
   Option      "HorizEdgeScroll"   "true"  # enable horizontal scroll zone
   Option      "CornerCoasting"    "true"  # enable continuous scroll with finger in corner
   Option      "CoastingSpeed"     "0.30"  # corner coasting speed
   Option      "VertScrollDelta"   "100"   # edge-to-edge scroll distance of the vertical scroll
   Option      "HorizScrollDelta"  "100"   # edge-to-edge scroll distance of the horizontal scroll
   Option      "MinSpeed"          "0.10"  # speed factor for low pointer movement
   Option      "MaxSpeed"          "0.60"  # maximum speed factor for fast pointer movement
   Option      "AccelFactor"       "0.0020"    # acceleration factor for normal pointer movements
   Option      "VertTwoFingerScroll"   "true"    # vertical scroll anywhere with two fingers
   Option      "HorizTwoFingerScroll"  "true"
   EndSection

    Section "Monitor"
    DisplaySize  338 270
    HorizSync    29-83
    Identifier   "Monitor[0]"
    ModelName    "HP L1706"
    Option       "DPMS"
    VendorName   "HWP"
    VertRefresh  43-76
    UseModes     "Modes[0]"
    EndSection

    Section "Modes"
    Identifier   "Modes[0]"
    Modeline     "1024×768" 83.00 1024 1080 1192 1360 768 769 772 803
    Modeline     "1024×768" 76.89 1024 1080 1192 1360 768 769 772 800
    Modeline     "1024×768" 70.50 1024 1072 1104 1184 768 771 775 796 +HSync -Vsync
    Modeline     "1024×768" 70.07 1024 1080 1184 1344 768 769 772 798
    Modeline     "1024×768" 64.11 1024 1080 1184 1344 768 769 772 795
    Modeline     "1024×600" 64.04 1024 1080 1184 1344 600 601 604 627
    Modeline     "1024×600" 58.65 1024 1072 1176 1328 600 601 604 625
    Modeline     "1024×600" 55.00 1024 1072 1104 1184 600 603 613 622 +HSync -Vsync
    Modeline     "1024×600" 54.05 1024 1072 1176 1328 600 601 604 623
    Modeline     "1024×600" 48.96 1024 1064 1168 1312 600 601 604 622
    Modeline     "800×600" 50.32 800 840 928 1056 600 601 604 627
    Modeline     "800×600" 45.93 800 840 920 1040 600 601 604 625
    Modeline     "800×600" 44.75 800 848 880 960 600 603 607 622 +HSync -Vsync
    Modeline     "800×600" 42.33 800 840 920 1040 600 601 604 623
    Modeline     "800×600" 38.22 800 832 912 1024 600 601 604 622
    Modeline     "768×576" 46.12 768 808 888 1008 576 577 580 602
    Modeline     "768×576" 42.06 768 800 880 992 576 577 580 600
    Modeline     "768×576" 41.50 768 816 848 928 576 579 583 597 +HSync -Vsync
    Modeline     "768×576" 38.82 768 800 880 992 576 577 580 599
    Modeline     "768×576" 34.96 768 792 872 976 576 577 580 597
    Modeline     "640×480" 31.13 640 664 728 816 480 481 484 502
    Modeline     "640×480" 29.75 640 688 720 800 480 483 487 498 +HSync -Vsync
    Modeline     "640×480" 28.83 640 664 728 816 480 481 484 500
    Modeline     "640×480" 26.60 640 664 728 816 480 481 484 499
    Modeline     "640×480" 23.86 640 656 720 800 480 481 484 497
    EndSection

    Section "Screen"
    DefaultDepth 24
    SubSection "Display"
    Depth      15
    Modes      "1024×768" "1024×600" "800×600" "768×576" "640×480"
    EndSubSection
    SubSection "Display"
    Depth      16
    Modes      "1024×768" "1024×600" "800×600" "768×576" "640×480"
    EndSubSection
    SubSection "Display"
    Depth      24
    Modes      "1024×768" "1024×600" "800×600" "768×576" "640×480"
    EndSubSection
    SubSection "Display"
    Depth      32
    Modes      "1280x1024" "1024×768" "1024×600" "800×600" "768×576" "640×480"
    EndSubSection
    SubSection "Display"
    Depth      8
    Modes      "1024×768" "1024×600" "800×600" "768×576" "640×480"
    EndSubSection
    Device       "Device[0]"
    Identifier   "Screen[0]"
    Monitor      "Monitor[0]"
    EndSection

    Section "Device"
    BoardName    "Radeon LW"
    BusID        "1:0:0"
    Driver       "radeon"
    Identifier   "Device[0]"
    Option       "CRT2HSync" "31-48"
    Option       "CRT2Position" "Clone"
    Option       "SaXDualOrientation" "LeftOf"
    Option       "SaXDualResolution" "1024×768"
    Option       "SaXDualVSync" "50-60"
    Option       "MetaModes" "1024×768,1024×768;1024×768,1024×768"
    Option       "CRT2VRefresh" "50-60"
    Option       "MonitorLayout" "LVDS,CRT"
    Option       "BIOSHotkeys" "on"
    Option       "IgnoreEDID" "yes"
    Option       "MergedFB" "yes"
    Option       "SaXDualHSync" "31-48"
    Option       "SaXDualHead" ""
    Option       "SaXDualMode" "Clone"
    Option       "SaXDualMonitorModel" "1024X768@60HZ"
    Option       "SaXDualMonitorVendor" "–> VESA"
    VendorName   "ATI"
    Option      "XAANoOffscreenPixmaps" "true"
    Option      "DRI"     "true"
    Option     "AccelDFS" "on"
    Option     "AccelMethod" "XAA"
    Option     "MigrationHeuristic" "smart" # or try "greedy"
    Option    "EnablePageFlip" "on"
    Option    "EnableDepthMoves" "on"
    Option    "ColorTiling" "on"
    Option    "FBTexPercent" "0"
    Option    "RenderAccel" "on"
    EndSection

    Section "ServerLayout"
    Identifier   "Layout[all]"
    InputDevice  "Keyboard[0]" "CoreKeyboard"
    InputDevice "Configured Mouse"
    InputDevice "Synaptics Touchpad"
    #InputDevice  "Mouse[3]" "CorePointer"
    #InputDevice  "Mouse[3]" "SendCoreEvents"
    Option       "Clone" "off"
    Option       "Xinerama" "off"
    Screen       "Screen[0]"
    Option "AIGLX" "true"
    EndSection

    Section "DRI"
    Group      "video"
    Mode       0666
    EndSection

    Section "Extensions"
    Option   "Composite"   "Enable"
    EndSection

Offline

#7 2009-11-27 20:52:32

sjb933
Member
Registered: 2007-01-18
Posts: 113

Re: Font & Graphical Errors since update

Hey Jacob,

I modified some of your xorg file, but it has (at least for now) seemed to fix the problem.  Compiz is also functioning correctly again (if i want to use it).

Thanks a ton!
-Shane

Offline

Board footer

Powered by FluxBB