LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2004, 01:42 PM   #1
Matt72127
LQ Newbie
 
Registered: Jul 2004
Distribution: Slackware 10
Posts: 6

Rep: Reputation: 0
Unhappy Again Ati driver and problems with starting X.org


I know that most of you are bored by such threads but it's quite important for me. As far as I'm starting with Linux (a few days ago - exactly 4 ) I decided to post it at Newbie forum not Slackware.
So my config is Slackware 10 (Full CD install) with KDE ( I know Gnome is more adequate for Slack but KDE is easier for me . Kernel 2.4.26, X.org server (6.8.0 ? I don't know how to check :/ but it's just the one came with CD) and Ati driver fglrx-4.3.0-3.12.0.i386.rpm. Everything is working fine with it except of course hardware 3d acceleration. Last 2 days I was browsing LQ forums and I used Heema's solution:
Quote:
open terminal.
su
cd into directory containing the drivers you just downloaded
rpm2tgz fglrx****.rpm
installpkg fglrx****.tgz
cd /lib/modules/fglrx/build_mod
sh make.sh
cd ..
sh make_install.sh
fglrxconfig
rename /etc/X11/XF86Config-4 to xorg.conf (backup your xorg.conf first)
reboot or restart x server
open terminal
glxinfo it should say near the top direct rendering YES. (which means hardware opengl working)
No problems while doing instructions above but when I tried to startx it failed. After researching that fglrxconfig gives me a file which don't load keyboard properly I just replaced my original xorg.conf Devices section with that generated by fglrxconfig. And now situation is worst - I just don't know what to do with such error:
(exceptions from Xorg.0.log)

Code:
(II) Primary Device is: PCI 02:00:0
(WW) fglrx: No matching Device section for instance (BusID PCI:2:0:1) found
Code:
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
 Screen to screen bit blits
 Solid filled rectangles
 8x8 mono pattern filled rectangles
 Solid Lines
 Dashed Lines
 Offscreen Pixmaps
 Setting up tile and stipple cache:
  30 128x128 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): X context handle = 0x00000001
(II) fglrx(0): [DRI] installation complete
(II) fglrx(0): Direct rendering enabled
(II) Loading extension FGLRXEXTENSION
(II) Loading extension ATITVOUT
(==) RandR enabled
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0

   *** If unresolved symbols were reported above, they might not
   *** be the reason for the server aborting.

Fatal server error:
Caught signal 11.  Server aborting
I also can submit my xorg.conf of course, also full Xorg log. I don't have any idea how to fix it and get HW acceleration on my FireGL X1 card :/. Maybe anyone can help
 
Old 09-23-2004, 02:23 PM   #2
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
Yeah, im not really sure how compatible these ATI drivers are, after i installed them (on a debian) it wouldnt do startx anymore, i just really want to be able to use a resolution of 1024*768 in GNOME, but i gave up, i tried rerunning the config utilities but i gave up and reinstalled my OS again. Gonna see if i can find more info about this, good luck.
 
Old 09-23-2004, 02:52 PM   #3
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
I find a good method is this. If you have X working nicely (but no 3d acceleration) before you install the ATI drivers, make a copy of your xorg.conf. Install the drivers, and run fglrxconfig. Then, copy the ModeLines from your old xorg.conf into the new one. startx. Hopefully X will start up. If not, look at the error message printed to stdout and copy what seems to be the relevant section from the old xorg.conf to the new (for example, when I installed ATI drivers on Slack 10 I needed to copy the font paths from my old config file). Repeat until X works.
 
Old 09-23-2004, 03:05 PM   #4
Matt72127
LQ Newbie
 
Registered: Jul 2004
Distribution: Slackware 10
Posts: 6

Original Poster
Rep: Reputation: 0
Maybe my part of my post about xorg.conf is not clear but first I just generated Xf86conf and renamed it to xorg.conf (saving original xorg.conf) - this gave me errors with keyboard. So I went back to original xorg.conf replacing Devices section with that one from file generated by fglrxconfig. So now xorg.conf is just copy of original not accelerated Xorg configuration but with changed Devices section to Fglrx driver to get some acceleration and it looks like that:
Code:
Section "ServerLayout"
Identifier     "X.org Configured"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath      "/usr/X11R6/lib/X11/rgb"
ModulePath   "/usr/X11R6/lib/modules"
FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load  "record"
Load  "extmod"
Load  "dbe"
# loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

Load  "dri"
Load  "glx"
Load  "xtrap"
Load  "freetype"
Load  "type1"
Load  "freetype"
Load  "speedo"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "keyboard"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option     "Protocol" "PS/2"
Option     "Device" "/dev/mouse"
EndSection

Section "Monitor"
#DisplaySize   370   270 # mm
Identifier   "Monitor0"
VendorName   "NEC"
ModelName    "NEC FE991SB"
HorizSync    30.0 - 96.0
# HorizSync    66.0 - 0.0
VertRefresh  50.0 - 120.0
Option	    "DPMS"
EndSection

Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor  ===
    #Option                              "NoDDC"
# === disable/enable XAA/DRI ===
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
# === misc DRI settings ===
    Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### 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 "FSAAEnable"                 "no"
    Option "FSAAScale"                  "4"
    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 "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "no"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:2:0:0"    # vendor=1002, device=4e47
    Screen 0
EndSection

Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1280x1024"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1280 1024
    EndSubsection
EndSection
 
Old 09-23-2004, 03:31 PM   #5
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
What does it print to the screen when you attempt to start X? I'm not convinced the excerpts from your log file have anything to do with the problem.
 
Old 09-23-2004, 03:39 PM   #6
Matt72127
LQ Newbie
 
Registered: Jul 2004
Distribution: Slackware 10
Posts: 6

Original Poster
Rep: Reputation: 0
When I try to start screen blinks a few times and then it prints exactly the same what I attached from log file (I think log file is a copy of these messages printed on screen while trying to run X.org, isn't it ?).
 
Old 09-23-2004, 04:56 PM   #7
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
I notice you have no ModeLines in there. I don't know whether that matters or not. They go in the Monitor section. You could try copying them in from the file that fglrxconfig created.
 
Old 10-06-2004, 08:11 AM   #8
drewski207
LQ Newbie
 
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
I recently upgraded my X and in the process found out that my current X config file had a keyboard error like yours and would not start. I solved it by logging in as root (su will not do, you must LOGIN as root) and running xorgsetup which gererated a config file that worked.

HTH
Andrew
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X.org ati driver crashes system only loading KDE dulles Linux - Laptop and Netbook 4 12-12-2005 05:39 PM
Driver for x.org on ATI Radeon Mobility card bgreg Linux - Laptop and Netbook 2 10-15-2005 01:50 PM
ATI driver update for SUSE LINUX 9.2..NVIDIA Installer HOWTO... RPM packages of X.Org coolbreeze7000 SUSE / openSUSE 17 02-08-2005 05:50 PM
2.6.3 + ATI 3.7.6 driver problems marvin2k Linux - Hardware 3 03-16-2004 02:46 PM
More ATI driver problems aes12 Slackware 3 10-30-2003 11:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration