LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 03-09-2007, 02:57 PM   #1
Prestaul
LQ Newbie
 
Registered: Mar 2007
Location: Denver, CO
Distribution: KnoppMyth
Posts: 7

Rep: Reputation: 0
fglrx ATI Driver Issues


I'm running KnoppMyth and trying to install an ATI Radeon X300 SE graphics card. I installed the proprietary ATI drivers v8.34.8 using the installer but the driver will not load. Loading X shows this error:
Code:
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Mar  8 00:31:04 2007
(==) Using config file: "/etc/X11/xorg.conf"
dlopen: libstdc++.so.5: cannot open shared object file: No such file or directory
(EE) Failed to load /usr/lib/xorg/modules/drivers/fglrx_drv.so
(EE) Failed to load module "fglrx" (loader failed, 7)
I tried compiling the drivers myself and the script fails with this error:
Code:
root@mythtv:/lib/modules/fglrx/build_mod# sh make.sh
ATI module generator V 2.0
==========================
initializing...
cat: /lib/modules/2.6.18-chw-13/build/include/linux/version-*.h: No such file or directory
make.sh: line 525: [: =: unary operator expected
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
 Assuming default VMAP API
 Assuming default munmap API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.18-chw-13/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.18-chw-13'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/usr/src/linux-headers-2.6.18-chw-13'
make: *** [kmod_build] Error 2
build failed with return value 2
Any help is appreciated. Being a Linux nubie I'm completely lost on how to go about resolving this.
 
Old 03-10-2007, 12:04 PM   #2
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Did you install the kernel headers/sources first? It looks as if the installer can't find them.
 
Old 03-11-2007, 10:26 AM   #3
Prestaul
LQ Newbie
 
Registered: Mar 2007
Location: Denver, CO
Distribution: KnoppMyth
Posts: 7

Original Poster
Rep: Reputation: 0
Success!! Thank you so much!

Now that fglrx drivers have loaded I'm getting a great picture on my monitor, but when I use TV out to watch video the picture is stretched vertically and I loose about a third of the picture off the bottom of the screen. Only when watching video and only on the TV. Video is perfect on the monitor and anything that isn't video looks great on both...

I may have to move this to a new thread/forum. Thanks in advance for any help.
 
Old 03-11-2007, 10:32 AM   #4
Prestaul
LQ Newbie
 
Registered: Mar 2007
Location: Denver, CO
Distribution: KnoppMyth
Posts: 7

Original Poster
Rep: Reputation: 0
Let me post my xorg.conf file because I'm 90% sure that this is where my problem is. I was getting an error loading DRI so I commented it out. I don't think I'm getting any errors now.
Code:
# Auto-generated by KNOPPIX mkxf86config

Section "ServerLayout"

# PS/2 Mouse not detected
        Identifier     "XFree86 Configured"
        Screen      0  "aticonfig-Screen[0]" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Serial Mouse" "CorePointer"
        InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "Files"

# Additional fonts: Locale, Gimp, TTF...
#       FontPath     "/usr/share/fonts/X11/latin2/75dpi"
#       FontPath     "/usr/share/fonts/X11/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/X11/misc:unscaled"
        FontPath     "/usr/share/fonts/X11/75dpi:unscaled"
        FontPath     "/usr/share/fonts/X11/100dpi:unscaled"
        FontPath     "/usr/share/fonts/X11/Type1"
        FontPath     "/usr/share/fonts/X11/Speedo"
        FontPath     "/usr/share/fonts/X11/PEX"
        FontPath     "/usr/share/fonts/X11/cyrillic"
        FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath     "/usr/share/fonts/truetype"
        FontPath     "/usr/share/fonts/latex-ttf-fonts"
EndSection

Section "Module"

# Comments: see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346408
#       Load  "extmod" # This is okay, but if you look into "man xorg.conf" you'll find option NOT to include DGA extension with extmod, and for a good reason.. DGA causes instability as it access videoram without consulting X about it.
#       Load  "speedo" # Speedo fonts, this module doesn't exist in Xorg 7.0.17
# The following are deprecated/unstable/unneeded in Xorg 7.0
#       Load  "ddc"  # ddc probing of monitor, this should be never present, as it gets automatically loaded.
#       Load  "GLcore" # This should be never present, as it gets automatically loaded.
#       Load  "bitmap" # Should be never present, as it gets automatically loaded. This is a font module, and loading it in xorg.conf makes X try to load it twice.
        Load  "dbe" # Double Buffering Extension, very important.
#       Load  "dri" # This shouldn't be available choice if user has selected driver vga, vesa or nv.
        Load  "glx" # GLX Extension.
        Load  "freetype" # Freetype fonts.
        Load  "type1"  # Type 1 fonts
        Load  "record" # Developer extension, usually not needed
        SubSection "extmod"
                Option      "omit xfree86-dga"
        EndSubSection
EndSection

Section "ServerFlags"
        Option      "AllowMouseOpenFail" "true"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "CoreKeyboard"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Serial Mouse"
        Driver      "mouse"
        Option      "Protocol" "Microsoft"
        Option      "Device" "/dev/ttyS0"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout" "70"
        Option      "SendCoreEvents" "true"
EndSection

Section "InputDevice"
        Identifier  "PS/2 Mouse"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "ZAxisMapping" "4 5"
        Option      "Device" "/dev/psaux"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout" "70"
        Option      "SendCoreEvents" "true"
EndSection

Section "InputDevice"
        Identifier  "USB Mouse"
        Driver      "mouse"
        Option      "Device" "/dev/input/mice"
        Option      "SendCoreEvents" "true"
        Option      "Protocol" "IMPS/2"
        Option      "ZAxisMapping" "4 5"
        Option      "Buttons" "5"
EndSection

Section "Monitor"

 # DDC-probed
 # DDC-probed
        # These are the DDC-probed settings reported by your monitor.
        # 1152x864, 75.0Hz; hfreq=67.50, vfreq=75.00
        Identifier   "Monitor0"
        VendorName   "DEL"
        ModelName    "DELd005"
        HorizSync    30.0 - 70.0
        VertRefresh  50.0 - 160.0
        ModeLine     "1152x864" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
        ModeLine     "1024x768" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
        ModeLine     "1024x768" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
        ModeLine     "800x600" 56.2 800 832 896 1048 600 601 604 631 +hsync +vsync
        ModeLine     "800x600" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
        ModeLine     "800x600" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
        ModeLine     "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
        ModeLine     "640x480" 31.5 640 656 720 840 480 481 484 500 -hsync -vsync
        ModeLine     "640x480" 25.2 640 648 744 784 480 482 484 509 -hsync -vsync
        ModeLine     "640x480" 43.2 640 680 744 848 480 481 484 509 -hsync +vsync
        ModeLine     "768x576" 35.0 768 792 872 976 576 577 580 597 -hsync +vsync
        ModeLine     "768x576" 42.9 768 800 880 992 576 577 580 601 -hsync +vsync
        ModeLine     "768x576" 45.5 768 808 888 1008 576 577 580 602 -hsync +vsync
        ModeLine     "768x576" 51.8 768 808 888 1008 576 577 580 605 -hsync +vsync
        ModeLine     "768x576" 62.6 768 816 896 1024 576 577 580 611 -hsync +vsync
        ModeLine     "800x600" 68.2 800 848 936 1072 600 601 604 636 -hsync +vsync
        ModeLine     "1024x768" 113.3 1024 1096 1208 1392 768 769 772 814 -hsync +vsync
        ModeLine     "1152x864" 81.6 1152 1216 1336 1520 864 865 868 895 -hsync +vsync
        ModeLine     "1152x864" 119.7 1152 1224 1352 1552 864 865 868 907 -hsync +vsync
        ModeLine     "1152x864" 143.5 1152 1232 1360 1568 864 865 868 915 -hsync +vsync
        ModeLine     "1280x960" 124.5 1280 1368 1504 1728 960 961 964 1001 -hsync +vsync
        ModeLine     "1280x960" 129.9 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
        ModeLine     "1280x960" 179.0 1280 1376 1520 1760 960 961 964 1017 -hsync +vsync
        ModeLine     "1280x1024" 191.0 1280 1376 1520 1760 1024 1025 1028 1085 -hsync +vsync
        ModeLine     "1400x1050" 122.6 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
        ModeLine     "1400x1050" 149.3 1400 1496 1648 1896 1050 1051 1054 1094 -hsync +vsync
        ModeLine     "1400x1050" 155.8 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
        ModeLine     "1400x1050" 179.3 1400 1504 1656 1912 1050 1051 1054 1103 -hsync +vsync
        ModeLine     "1400x1050" 214.4 1400 1512 1664 1928 1050 1051 1054 1112 -hsync +vsync
        ModeLine     "1600x1200" 280.6 1600 1728 1904 2208 1200 1201 1204 1271 -hsync +vsync
        ModeLine     "1920x1200" 193.2 1920 2048 2256 2592 1200 1201 1204 1242 +hsync -hsync
        Option      "DPMS" "true"
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[0]"
        VendorName   "ATI Proprietary Driver"
        ModelName    "Generic Autodetecting Monitor"
        Option       "DPMS" "true"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]"
        Driver      "fglrx"
        Option      "UseFBDev" "false"
        Option      "VideoOverlay" "on"
        Option      "OpenGLOverlay" "off"
        Option      "TVFormat" "NTSC-M"
        Option      "TVStandard" "VIDEO"
#       Option      "TVOverscan" "on"
        Option      "TexturedVideo" "on"
        Option      "TexturedVideoSync" "off"
#       Option      "DesktopSetup" "clone"
#       Option      "MonitorLayout" "AUTO,AUTO"
#       Option      "ForceMonitors" "crt,tv"
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]"
        Device     "aticonfig-Device[0]"
        Monitor    "aticonfig-Monitor[0]"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "800x600"
        EndSubSection
EndSection

Section "DRI"
        Mode         0666
EndSection
 
  


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
New ATI fglrx driver and SuSE 10.1 again riba43 Suse/Novell 2 10-25-2006 03:20 AM
ATI fglrx Driver RavenFrost Slackware 1 04-11-2006 07:46 AM
fglrx-driver vs ATI kernel driver for ATI Radeon 9200 in Debian Debian_Poland Debian 3 02-01-2006 01:10 PM
ATI fglrx driver trouble Alexey Andriyanov Linux - Hardware 4 08-17-2005 01:35 AM
ati fglrx 8.10.19 driver help please micker Linux - Software 7 03-13-2005 08:44 PM


All times are GMT -5. The time now is 11:39 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration