Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg, SiS630/730, Z buffer error [semi-solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mohamed_hagag
n00b
n00b


Joined: 23 Mar 2005
Posts: 56

PostPosted: Sat Mar 04, 2006 9:11 pm    Post subject: Xorg, SiS630/730, Z buffer error [semi-solved] Reply with quote

Xorg, SiS630/730, Z buffer error [semi-solved]

in this article i'll tell u a semi-solution to the :
[sis_alloc.c:154]: Failure to allocate Z buffer.
error.

in few words:
if u have the right xorg.conf as the one included in this article then 3D acceleration should work in 3 steps :
1- goto any VT and killall -9 X gdm kdm or /etc/init.d/xdm stop
2- run X&
3- run gdm or /etc/init.d/xdm start

then gdm will tell u that another X server is running in VT7 & if u sure that u need to start another one in vt8,
choose yes,
NOTE: if u cant c the msg switch to vt8 to c it & choose yes.

another X server will start & another time gdm will tell u that it running it vt8, press OK.
do login

enjoy the 3D accelerated Appz & Games ;) .

NOTE: now u can kill the first X server now, but remeber that if u restart the second one running in vt8 u will lose 3D again :( .

if u know the reason of this unexpected behavor please tell us,
some one told me some day that he thinks that it is a Xorg BUG but i dont think so because fedora and other distros uses Xorg running well with the same card on my box.

dont forget to tell us about the results :).

this is my xorg.conf:

Code:

Section "Files"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/Type1"
        FontPath     "/usr/share/fonts/ttf-bitstream-vera"
        FontPath     "/usr/share/fonts/arabeyes-fonts"
        FontPath     "/usr/share/fonts/corefonts"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/farsi-fonts"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/75dpi"
        FontPath     "/usr/share/fonts/jmk"
        FontPath     "/usr/share/fonts/kacst-fonts"
        FontPath     "/usr/share/fonts/artwiz"
        FontPath     "/usr/share/fonts/lfpfonts-fix"
        FontPath     "/usr/share/fonts/intlfonts"
        FontPath     "/usr/share/fonts/lfpfonts-var"

          RgbPath      "/usr/lib/X11/rgb"
          ModulePath   "/usr/X11R6/lib/modules"
          ModulePath   "/usr/X11R6/lib/modules/dri"
   ModulePath   "/usr/X11R6/lib/modules/extensions"
   ModulePath   "/usr/X11R6/lib/modules/drivers"
   ModulePath   "/usr/X11R6/lib/modules/fonts"
   ModulePath   "/usr/X11R6/lib/modules/input"
   ModulePath   "/usr/X11R6/lib/modules/linux"
#   ModulePath   "/usr/X11R6/lib/modules-extra/gatos"
#   ModulePath   "/usr/X11R6/lib/modules-extra/gatos/drivers"
#   ModulePath   "/usr/X11R6/lib/modules-extra/gatos/multimedia"

EndSection

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

Section "InputDevice"
   Identifier   "Keyboard0"
   Driver      "kbd"
   Option      "CoreKeyboard"
   Option      "XkbModel" "pc104"
   Option       "XkbLayout" "us,ar(digits)"
   Option       "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth 16
   SubSection "Display"
      Depth     1
      Modes     "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     4
      Modes     "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     8
      Modes     "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     15
      Modes     "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     16
                Viewport  0 0
                Virtual   1024 768
      Modes     "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth     24
                Viewport  0 0
                Virtual   1024 768
      Modes     "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier     "auto re-Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "dri"
   Mode 0666
EndSection


Section "InputDevice"
   Identifier   "Mouse0"
   Driver   "mouse"
   Option    "Protocol"    "auto"
   Option "Device"      "/dev/input/mice"
   Option "ZAxisMapping" "4 5"
EndSection
Section "Module"
   Load  "ddc"
        Load  "record"
        Load  "extmod"
        Load  "dbe"
        Load  "dri"
        Load  "drm"
   Load  "glcore"
        Load  "glx"
        Load  "xtrap"
        Load  "freetype"
EndSection

Section "Device"
   Identifier "Card0"
   Driver "sis"
EndSection
Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "SIE"
   ModelName   "SIE0160"
   HorizSync 30 - 54 # DDC-probed
   VertRefresh 50 - 120 # DDC-probed
   # These are the DDC-probed settings reported by your monitor.
   # 1024x768, 75.0Hz; hfreq=60.02, vfreq=75.03
   ModeLine "1024x768"    78.75 1024 1040 1136 1312  768  769  772  800 +hsync +vsync
   # 800x600, 85.0Hz; hfreq=53.67, vfreq=85.06
   ModeLine "800x600"    56.25  800  832  896 1048  600  601  604  631 +hsync +vsync
   # 800x600, 75.0Hz; hfreq=46.88, vfreq=75.00
   ModeLine "800x600"    49.50  800  816  896 1056  600  601  604  625 +hsync +vsync
   # 800x600, 60.0Hz; hfreq=37.88, vfreq=60.32
   ModeLine "800x600"    40.00  800  840  968 1056  600  601  605  628 +hsync +vsync
   # 640x480, 85.0Hz; hfreq=43.27, vfreq=85.01
   ModeLine "640x480"    36.00  640  696  752  832  480  481  484  509 -hsync -vsync
   # 640x480, 75.0Hz; hfreq=37.50, vfreq=75.00
   ModeLine "640x480"    31.50  640  656  720  840  480  481  484  500 -hsync -vsync
   # 640x480, 75.0Hz; hfreq=37.50, vfreq=75.00
   ModeLine "640x480"    31.50  640  656  720  840  480  481  484  500 -hsync -vsync
   # 640x480, 60.0Hz; hfreq=31.47, vfreq=59.94
   ModeLine "640x480"    25.17  640  648  744  784  480  482  484  509 -hsync -vsync
   # Extended modelines with GTF timings
   # 640x480 @ 100.00 Hz (GTF) hsync: 50.90 kHz; pclk: 43.16 MHz
   ModeLine "640x480"  43.16  640 680 744 848  480 481 484 509  -HSync +Vsync
   # 768x576 @ 60.00 Hz (GTF) hsync: 35.82 kHz; pclk: 34.96 MHz
   ModeLine "768x576"  34.96  768 792 872 976  576 577 580 597  -HSync +Vsync
   # 768x576 @ 72.00 Hz (GTF) hsync: 43.27 kHz; pclk: 42.93 MHz
   ModeLine "768x576"  42.93  768 800 880 992  576 577 580 601  -HSync +Vsync
   # 768x576 @ 75.00 Hz (GTF) hsync: 45.15 kHz; pclk: 45.51 MHz
   ModeLine "768x576"  45.51  768 808 888 1008  576 577 580 602  -HSync +Vsync
   # 768x576 @ 85.00 Hz (GTF) hsync: 51.42 kHz; pclk: 51.84 MHz
   ModeLine "768x576"  51.84  768 808 888 1008  576 577 580 605  -HSync +Vsync
   # 768x576 @ 100.00 Hz (GTF) hsync: 61.10 kHz; pclk: 62.57 MHz
   ModeLine "768x576"  62.57  768 816 896 1024  576 577 580 611  -HSync +Vsync
   # 800x600 @ 100.00 Hz (GTF) hsync: 63.60 kHz; pclk: 68.18 MHz
   ModeLine "800x600"  68.18  800 848 936 1072  600 601 604 636  -HSync +Vsync
   # 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
   ModeLine "1024x768"  113.31  1024 1096 1208 1392  768 769 772 814  -HSync +Vsync
   # 1152x864 @ 60.00 Hz (GTF) hsync: 53.70 kHz; pclk: 81.62 MHz
   ModeLine "1152x864"  81.62  1152 1216 1336 1520  864 865 868 895  -HSync +Vsync
   # 1152x864 @ 85.00 Hz (GTF) hsync: 77.10 kHz; pclk: 119.65 MHz
   ModeLine "1152x864"  119.65  1152 1224 1352 1552  864 865 868 907  -HSync +Vsync
   # 1152x864 @ 100.00 Hz (GTF) hsync: 91.50 kHz; pclk: 143.47 MHz
   ModeLine "1152x864"  143.47  1152 1232 1360 1568  864 865 868 915  -HSync +Vsync
   # 1280x960 @ 72.00 Hz (GTF) hsync: 72.07 kHz; pclk: 124.54 MHz
   ModeLine "1280x960"  124.54  1280 1368 1504 1728  960 961 964 1001  -HSync +Vsync
   # 1280x960 @ 75.00 Hz (GTF) hsync: 75.15 kHz; pclk: 129.86 MHz
   ModeLine "1280x960"  129.86  1280 1368 1504 1728  960 961 964 1002  -HSync +Vsync
   # 1280x960 @ 100.00 Hz (GTF) hsync: 101.70 kHz; pclk: 178.99 MHz
   ModeLine "1280x960"  178.99  1280 1376 1520 1760  960 961 964 1017  -HSync +Vsync
   # 1280x1024 @ 100.00 Hz (GTF) hsync: 108.50 kHz; pclk: 190.96 MHz
   ModeLine "1280x1024"  190.96  1280 1376 1520 1760  1024 1025 1028 1085  -HSync +Vsync
   # 1400x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 122.61 MHz
   ModeLine "1400x1050"  122.61  1400 1488 1640 1880  1050 1051 1054 1087  -HSync +Vsync
   # 1400x1050 @ 72.00 Hz (GTF) hsync: 78.77 kHz; pclk: 149.34 MHz
   ModeLine "1400x1050"  149.34  1400 1496 1648 1896  1050 1051 1054 1094  -HSync +Vsync
   # 1400x1050 @ 75.00 Hz (GTF) hsync: 82.20 kHz; pclk: 155.85 MHz
   ModeLine "1400x1050"  155.85  1400 1496 1648 1896  1050 1051 1054 1096  -HSync +Vsync
   # 1400x1050 @ 85.00 Hz (GTF) hsync: 93.76 kHz; pclk: 179.26 MHz
   ModeLine "1400x1050"  179.26  1400 1504 1656 1912  1050 1051 1054 1103  -HSync +Vsync
   # 1400x1050 @ 100.00 Hz (GTF) hsync: 111.20 kHz; pclk: 214.39 MHz
   ModeLine "1400x1050"  214.39  1400 1512 1664 1928  1050 1051 1054 1112  -HSync +Vsync
   # 1600x1200 @ 100.00 Hz (GTF) hsync: 127.10 kHz; pclk: 280.64 MHz
   ModeLine "1600x1200"  280.64  1600 1728 1904 2208  1200 1201 1204 1271  -HSync +Vsync
EndSection
Back to top
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Mon Jul 31, 2006 3:59 pm    Post subject: Reply with quote

i have your video card, and always worked well with Xorg 6.8.x, 7.x, 7.1.x (now i'm using 7.1)
no problem with 3D or other stuff.
_________________
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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