View previous topic :: View next topic |
Author |
Message |
edudlive Guru
Joined: 06 Jan 2004 Posts: 557
|
Posted: Wed Feb 25, 2004 12:13 am Post subject: help me with 3D support in Slackware! |
|
|
After getting 3D support in my Gentoo install, I want to get it in my Slackware9.1 install.
They're installed, but no 3D support yet.
Here is my XF86Config:
Code: |
# **********************************************************************
# DRI Section
# **********************************************************************
Section "dri"
Mode 0666
EndSection
# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
Load "glx" # libglx.a
Load "dri" # libdri.a
EndSection
# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************
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/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
# **********************************************************************
# Server flags section.
# **********************************************************************
Section "ServerFlags"
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mice"
EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
Section "Monitor"
Identifier "Monitor0"
HorizSync 30 - 85
VertRefresh 50 - 160
Option "DPMS"
# VGA @ 100Hz
# Modeline "640x480@100" 43.163 640 680 744 848 480 481 484 509 +hsync +vsync
# SVGA @ 100Hz
# Modeline "800x600@100" 68.179 800 848 936 1072 600 601 604 636 +hsync +vsync
# XVGA @ 100Hz
# Modeline "1024x768@100" 113.309 1024 1096 1208 1392 768 769 772 814 +hsync +vsync
# 1152x864 @ 60Hz
# Modeline "1152x864@60" 81.642 1152 1216 1336 1520 864 865 868 895 +hsync +vsync
# 1152x864 @ 85Hz
# Modeline "1152x864@85" 119.651 1152 1224 1352 1552 864 865 868 907 +hsync +vsync
# 1152x864 @ 100Hz
# Modeline "1152x864@100" 143.472 1152 1232 1360 1568 864 865 868 915 +hsync +vsync
# 1280x960 @ 75Hz
# Modeline "1280x960@75" 129.859 1280 1368 1504 1728 960 961 964 1002 +hsync +vsync
# 1280x960 @ 100Hz
# Modeline "1280x960@100" 178.992 1280 1376 1520 1760 960 961 964 1017 +hsync +vsync
# SXGA @ 100Hz
# Modeline "1280x1024@100" 190.960 1280 1376 1520 1760 1024 1025 1028 1085 +hsync +vsync
# SPEA GDM-1950 (60Hz,64kHz,110MHz,-,-): 1280x1024 @ V-freq: 60.00 Hz, H-freq: 63.73 KHz
# Modeline "GDM-1950" 109.62 1280 1336 1472 1720 1024 1024 1026 1062 -hsync -vsync
# 1600x1000 @ 60Hz
# Modeline "1600x1000" 133.142 1600 1704 1872 2144 1000 1001 1004 1035 +hsync +vsync
# 1600x1000 @ 75Hz
# Modeline "1600x1000" 169.128 1600 1704 1880 2160 1000 1001 1004 1044 +hsync +vsync
# 1600x1000 @ 85Hz
# Modeline "1600x1000" 194.202 1600 1712 1888 2176 1000 1001 1004 1050 +hsync +vsync
# 1600x1000 @ 100Hz
# Modeline "1600x1000" 232.133 1600 1720 1896 2192 1000 1001 1004 1059 +hsync +vsync
# 1600x1024 @ 60Hz
# Modeline "1600x1024" 136.385 1600 1704 1872 2144 1024 1027 1030 1060 +hsync +vsync
# 1600x1024 @ 75Hz
# Modeline "1600x1024" 174.416 1600 1712 1888 2176 1024 1025 1028 1069 +hsync +vsync
# 1600x1024 @ 76Hz
# Modeline "1600x1024" 170.450 1600 1632 1792 2096 1024 1027 1030 1070 +hsync +vsync
# 1600x1024 @ 85Hz
# Modeline "1600x1024" 198.832 1600 1712 1888 2176 1024 1027 1030 1075 +hsync +vsync
# 1920x1080 @ 60Hz
# Modeline "1920x1080" 172.798 1920 2040 2248 2576 1080 1081 1084 1118 -hsync -vsync
# 1920x1080 @ 75Hz
# Modeline "1920x1080" 211.436 1920 2056 2264 2608 1080 1081 1084 1126 +hsync +vsync
# 1920x1200 @ 60Hz
# Modeline "1920x1200" 193.156 1920 2048 2256 2592 1200 1201 1203 1242 +hsync +vsync
# 1920x1200 @ 75Hz
# Modeline "1920x1200" 246.590 1920 2064 2272 2624 1200 1201 1203 1253 +hsync +vsync
# 2048x1536 @ 60
# Modeline "2048x1536" 266.952 2048 2200 2424 2800 1536 1537 1540 1589 +hsync +vsync
# 2048x1536 @ 60
# Modeline "2048x1536" 266.952 2048 2200 2424 2800 1536 1537 1540 1589 +hsync +vsync
# 1400x1050 @ 60Hz M9 Laptop mode
# ModeLine "1400x1050" 122.000 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync
# 1920x2400 @ 25Hz for IBM T221, VS VP2290 and compatible display devices
# Modeline "1920x2400@25" 124.620 1920 1928 1980 2048 2400 2401 2403 2434 +hsync +vsync
# 1920x2400 @ 30Hz for IBM T221, VS VP2290 and compatible display devices
# Modeline "1920x2400@30" 149.250 1920 1928 1982 2044 2400 2402 2404 2434 +hsync +vsync
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vesa"
EndSection
# === ATI device section ===
Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
# === disable PnP Monitor ===
#Option "NoDDC"
# === disable/enable XAA/DRI ===
Option "no_accel" "no"
Option "no_dri" "no"
# === FireGL DDX driver module specific settings ===
# === Screen Management ===
Option "DesktopSetup" "0x00000000"
Option "MonitorLayout" "AUTO, AUTO"
Option "IgnoreEDID" "off"
Option "HSync2" "unspecified"
Option "VRefresh2" "unspecified"
Option "ScreenOverlap" "0"
# === TV-out Management ===
Option "NoTV" "yes"
Option "TVStandard" "NTSC-M"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
# === OpenGL specific profiles/settings ===
Option "Capabilities" "0x00000000"
# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
Option "OpenGLOverlay" "off"
# === Center Mode (Laptops only) ===
Option "CenterMode" "off"
# === Pseudo Color Visuals (8-bit visuals) ===
Option "PseudoColorVisuals" "off"
# === QBS Management ===
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
# === FSAA Management ===
Option "FSAAScale" "1"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
# === Misc Options ===
Option "UseFastTLS" "0"
Option "EnablePrivateBackZ" "yes"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "no"
Option "ForceGenericCPU" "no"
BusID "PCI:2:0:0" # vendor=1002, device=4150
Screen 0
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
Section "Screen"
Identifier "Screen0"
Device "ATI Graphics Adapter"
Monitor "Monitor0"
DefaultDepth 24
#Option "backingstore"
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600"
ViewPort 0 0 # initial origin if mode is smaller than desktop
# Virtual 1280 1024
EndSubsection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"
Identifier "Server Layout"
Screen "Screen0"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
### EOF ###
|
Here is the error in the log:
Code: |
(II) fglrx(0): [drm] register handle = 0xe5000000
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENODEV"
(EE) fglrx(0): cannot init AGP
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xe0882000 at 0x4022c000
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *
|
|
|
Back to top |
|
|
orbital n00b
Joined: 11 Dec 2003 Posts: 49 Location: Bremen, Germany
|
Posted: Wed Feb 25, 2004 12:16 am Post subject: |
|
|
You have to comment ou the entire "vesa".
Code: |
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vesa"
EndSection
|
once you comment that out, should have some different results. Your ATI device sec. can't really do anything till yuo get rid of the block above.
Peace,
~ Jon |
|
Back to top |
|
|
edudlive Guru
Joined: 06 Jan 2004 Posts: 557
|
Posted: Wed Feb 25, 2004 12:38 am Post subject: |
|
|
didnt help any |
|
Back to top |
|
|
orbital n00b
Joined: 11 Dec 2003 Posts: 49 Location: Bremen, Germany
|
Posted: Wed Feb 25, 2004 12:51 am Post subject: |
|
|
Okay, next step:
Code: | # cd /usr/src/linux
# grep -e "DRM" .config
|
If you could cut/paste or decipher what you see that would help figure this out. _________________ ~------~
~ Jon |
|
Back to top |
|
|
edudlive Guru
Joined: 06 Jan 2004 Posts: 557
|
Posted: Wed Feb 25, 2004 1:14 am Post subject: |
|
|
zach@konkave:~$ cd /usr/src/linux
zach@konkave:/usr/src/linux$ grep -e "DRM" .config
# CONFIG_DRM is not set |
|
Back to top |
|
|
orbital n00b
Joined: 11 Dec 2003 Posts: 49 Location: Bremen, Germany
|
Posted: Wed Feb 25, 2004 3:35 am Post subject: |
|
|
think you just answered your own question. Goto the kernel and check it off _________________ ~------~
~ Jon |
|
Back to top |
|
|
edudlive Guru
Joined: 06 Jan 2004 Posts: 557
|
Posted: Wed Feb 25, 2004 4:40 am Post subject: |
|
|
I didn't compile DRM as a a module or compile it in. I checked already. |
|
Back to top |
|
|
Dr Gonzo Apprentice
Joined: 31 Jan 2004 Posts: 276 Location: Austin, TX
|
Posted: Wed Feb 25, 2004 6:25 am Post subject: |
|
|
Why not use the same configs for gentoo and slackware? They both will run with the same X config file...
You could also use your gentoo kernel config and sources, unless you use genkernel. I dunno if you can use genkernel under slackware, but I wouldn't be at all surprised if it did work. Not that it's all that great anyway. |
|
Back to top |
|
|
orbital n00b
Joined: 11 Dec 2003 Posts: 49 Location: Bremen, Germany
|
Posted: Wed Feb 25, 2004 10:21 pm Post subject: |
|
|
Just build it in and install that kernel, as well if there is any entry for your ATI card in the menuconfig.
You shouldn't be getting any issues after that.
Good luck. _________________ ~------~
~ Jon |
|
Back to top |
|
|
edudlive Guru
Joined: 06 Jan 2004 Posts: 557
|
Posted: Thu Feb 26, 2004 3:42 am Post subject: |
|
|
docGonzo2000 wrote: | Why not use the same configs for gentoo and slackware? They both will run with the same X config file...
You could also use your gentoo kernel config and sources, unless you use genkernel. I dunno if you can use genkernel under slackware, but I wouldn't be at all surprised if it did work. Not that it's all that great anyway. |
That is my Gentoo XF86Config, it doesn't work in Slack. |
|
Back to top |
|
|
Dr Gonzo Apprentice
Joined: 31 Jan 2004 Posts: 276 Location: Austin, TX
|
Posted: Thu Feb 26, 2004 8:08 am Post subject: |
|
|
I find that odd. It must be a driver problem. Sorry, I have an nVidia card... |
|
Back to top |
|
|
ctford0 l33t
Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Thu Feb 26, 2004 8:39 am Post subject: |
|
|
Is it a different version of X? Your XConfig file should be pretty standard. Maybe trying changing the driver in XF86Config to ati instead of radeon?
chris |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Thu Feb 26, 2004 11:42 am Post subject: |
|
|
Check that you have the kernel AGP module(s) loaded. The ENODEV error means it can't find your AGP chipset for some reason. _________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
|
Dr Gonzo Apprentice
Joined: 31 Jan 2004 Posts: 276 Location: Austin, TX
|
Posted: Thu Feb 26, 2004 9:21 pm Post subject: |
|
|
Are you using hotplug under Slackware? If so, it really should detect AGP on bootup.
Also, and I know this may not be an issue for ATi cards, try taking out the dri module. nVidia requires only the GLX module.
If all else fails, just configure it the old fashioned way -- xf86config |
|
Back to top |
|
|
|