openSUSE Forums > Archives > SF Archives > ARCHIVES - PPC » Dri On Imac G3 Is Possible

Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - PPC
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - PPC Questions specific to PowerPC systems running SUSE Linux
(Questions that apply to both PPC and non-PPC systems should be posted in the appropriate mixed architecture forums)

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 28-Feb-2007, 19:19
algarues
Guest
 
Posts: n/a
Default

Dear All
I have just installed opensuse 10.2 on my Imac G3 with a ATI Rage128 (16MB video ram)
With my big disappointment i found that in this distribution it is not possible to enable DRI
HOWEVER i have also installed on the same computer Mandriva ppc 2005 LE, which runs an older version of Xorg and it allows DRI.
How is that possible? Because if you enable DRI on SUSE or its Xorg version the X server will die.
Is it possible to install an older version of Xorg?
At the bottom of this post i have enclosed my whole xorg.conf file.
I would like to point out that it was possible for me to enable DRI also on Kubuntu installed on the same computer just by using this xorg.conf file and editing only the input device section.
And this was obtained even if kubuntu had a newer version of Xorg
However this did not work in SUSE
I think that the major point is relative to this line in the "modules" section
Load "/usr/X11R6/lib/modules/extensions/libglx.a"
If i look at the /usr/X11R6/lib/modules/extensions directory in mandriva, it is full of files, whereas usr/X11R6/lib is completely empty in SUSE.
So, my first question is how do you install modules for Xorg?
And this module in particular?
Another issue is that at the installation level mandriva asks if the user want to use Xorg from boot
How do you set this up in general?
So the issue with the Imac and Xorg does not seem to relate to the hardware, but rather to the presence or not of certain modules in the X server

Anyway, for whoever might be so kind to give me an answer here below is my Xorg file from Mandriva

# File generated by XFdrake.

# ************************************************** ********************
# Refer to the XF86Config man page for details about the format of
# this file.
# ************************************************** ********************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
Load "dri" # direct rendering
Load "/usr/X11R6/lib/modules/extensions/libglx.a"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "en_US"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Apple"
ModelName "iMac/PowerBook 1024x768"
HorizSync 30.0-70.0
VertRefresh 50.0-160.0

# Apple iMac modes
ModeLine "1024x768" 78.525 1024 1049 1145 1312 768 769 772 800 +hsync +vsync
ModeLine "800x600" 62.357 800 821 901 1040 600 601 604 632 +hsync +vsync
ModeLine "640x480" 49.886 640 661 725 832 480 481 484 514 +hsync +vsync

# Apple monitors tend to do 832x624
ModeLine "832x624" 57 832 876 940 1152 624 625 628 667 -hsync -vsync

# Apple PowerBook G3
ModeLine "800x600" 100 800 816 824 840 600 616 624 640 -hsync -vsync

# Apple TI Powerbook
ModeLine "1152x768" 78.741 1152 1173 1269 1440 768 769 772 800 +vsync +vsync

# Pismo Firewire G3
ModeLine "1024x768" 65 1024 1032 1176 1344 768 771 777 806 -hsync -vsync

# iBook2
ModeLine "1024x768" 65 1024 1048 1184 1344 768 771 777 806 -hsync -vsync

# 17" Apple Studio Display
ModeLine "1024x768" 112.62 1024 1076 1248 1420 768 768 780 808 +hsync +vsync

# HiRes Apple Studio Display
ModeLine "1280x1024" 135 1280 1288 1392 1664 1024 1027 1030 1064

# Another variation
ModeLine "1280x1024" 134.989 1280 1317 1429 1688 1024 1025 1028 1066 +hsync +vsync
EndSection

Section "Device"
Identifier "device1"
VendorName "ATI"
BoardName "ATI Rage 128"
Driver "r128"
BusID "PCI:0:16:0"
Option "DPMS"
Option "UseFBDev" "1"
Option "UseCCEFor2D" "false"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 16

Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection


 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2