LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-28-2006, 09:20 PM   #1
vezril
LQ Newbie
 
Registered: Mar 2005
Location: Montreal, Canada
Distribution: Slackware
Posts: 28

Rep: Reputation: 15
Little xorg.conf question


for starters i am not an expert in getting video drivers working unde linux so dont flame please. Well anyway, i'm trying to get my ATI video card to work under FC5. I've tried many different things and none of them have worked. now while looking around for some help i found this post

http://www.linuxquestions.org/questi...d.php?t=402003

i've been following this, all the way until he talks about editing the xorg.conf
i have the "glx" and "dri" module loaded like he said but when he talks about the graphics device section he wrote this:

Code:
      Section "Device"
    Identifier  "Intel 810"
    Driver      "i810"
    VideoRam    65536
    Option    "XVideo"        "On"
    Option    "MonitorLayout"        "LFP,CRT"
    Option    "DevicePresence"    "On"    
    # Insert Clocks lines here if appropriate
EndSection
but when i look in my xorg i see this:

Code:
Section "Device"
	Identifier  "Videocard0"
	Driver      "radeon"
	VendorName  "Videocard vendor"
	BoardName   "ATI Technologies Inc ATI Radeon XPRESS 200M 5955 (PCIE)"
EndSection
i'm clearly missing the VideoRam and the 3 Option lines which got me rather worried. Like i said i am no expert in this subject so if someone could help me out with this little question (or even help me out with my video problems :P) i would appreciate it a lot.

oh, i'm on a HP Pavilion zv6100 and i have an ATI Radeon Xpress 200M (128 megs of memory) and its PCIE, its a laptop so dont tell me to switch video cards

Thanks

~Vezril~
 
Old 08-28-2006, 09:42 PM   #2
shuuhen
Member
 
Registered: Jun 2004
Distribution: Mac OS X 10.6.6, Gentoo Linux, FreeBSD 6.0
Posts: 127

Rep: Reputation: 20
Could you post the output from when you try to use startx? I'd like to see the errors you're getting.
 
Old 08-28-2006, 09:45 PM   #3
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
I'm an nVidia guy myself, but the four lines that are different are all "optional".

From the xorg.conf manual...
Quote:
VideoRam mem
This optional entry specifies the amount of video ram that is installed on the graphics board. This is measured in kBytes. In most cases this is not required because the Xorg server probes the graphics board to determine this quantity. The driver-specific documentation should indicate when it might be needed.
Quote:
Options
Option flags may be specified in the Device sections. These include driver-specific options and driver-independent options. The former are described in the driver-specific documentation. Some of the latter are described below in the section about the Screen section, and they may also be included here.
I say they're "optional" because they're not globally needed, but maybe for your specific situation. I have to have an "option" set in my device section or I can't see my mouse cursor. Not really optional in my book.

Anyway, sorry I can't help with your exact setup. BTW, here is the xorg.conf manual.
 
Old 08-29-2006, 12:13 AM   #4
vezril
LQ Newbie
 
Registered: Mar 2005
Location: Montreal, Canada
Distribution: Slackware
Posts: 28

Original Poster
Rep: Reputation: 15
ah thank you very much arow, i was actually looking for that manual...hehe guess i'm still a newb after 3 years of using linux

and to answer shuuhen, well my X is already started and i get visual and all but here is the output

Code:
xauth:  creating new authority file /root/.serverauth.7181


Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.
now i got another question after looking trough the xorg logs i noticed this

Code:
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID pci:0000:01:05.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card2
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed

[note] this continues all the way to here:

drmOpenDevice: node name is /dev/dri/card253
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card254
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
(EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
[dri] Disabling DRI.
so my guess is i'm having trouble with drm :P

which is one of the modules i need to get these working

the other one which is not loaded to my knowledge (after doing modprobe) is agpgart, which i have no idea how to get and load, same thing with drm

any suggestions?
 
Old 08-29-2006, 07:10 PM   #5
vezril
LQ Newbie
 
Registered: Mar 2005
Location: Montreal, Canada
Distribution: Slackware
Posts: 28

Original Poster
Rep: Reputation: 15
/bump

anyone?
 
Old 08-30-2006, 10:58 PM   #6
shuuhen
Member
 
Registered: Jun 2004
Distribution: Mac OS X 10.6.6, Gentoo Linux, FreeBSD 6.0
Posts: 127

Rep: Reputation: 20
All I can find is someone saying to check that the libraries relevant to your card are in the right place. What exactly are you trying to get working (if X is starting)?
 
Old 08-31-2006, 02:00 AM   #7
Narcosys
LQ Newbie
 
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
I've been scolded by the linuxquestions.org bot for not having enough posts to include outside websites, but this should help - it's the ATI wiki for FC5

web address:
wiki.cchtml.com (slash) index.php (slash) Fedora_Core_5_Installation_Guide

hope this helps


Here are the revelant parts of my xorg.con
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. RV350 AS [Radeon 9600]"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
EndSection

Section "DRI"
Mode 0666
EndSection

## need to disable for ATI cards
Section "Extensions"
Option "Composite" "Disable"
EndSection
 
Old 09-02-2006, 03:03 PM   #8
vezril
LQ Newbie
 
Registered: Mar 2005
Location: Montreal, Canada
Distribution: Slackware
Posts: 28

Original Poster
Rep: Reputation: 15
to answer shuuhen I'm trying to get my video drivers working
...but how do i check the libs to see if they are there?

and for Narcosys, well i've tryed that before but it totaly screwed up my X, fortunatly i made my laptop start under run level 3 so i was able to remove those


well i'm all out of possibilitys....so i'll post my xorg.conf, maybe there is something in there that i'm misssing that you guys can tell me =/

Code:
# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "Synaptics" "CorePointer"
	InputDevice    "Mouse0" "AlwaysCore"
EndSection

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
	FontPath     "unix/:7100"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
	Load  "glx"
	Load  "record"
	Load  "freetype"
	Load  "type1"
	Load  "synaptics"
	Load  "dri"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#	Option	"Xleds"		"1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#	Option	"XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#	Option	"XkbModel"	"pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#	Option	"XkbModel"	"microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#	Option	"XkbLayout"	"de"
# or:
#	Option	"XkbLayout"	"de"
#	Option	"XkbVariant"	"nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#	Option	"XkbOptions"	"ctrl:swapcaps"
# Or if you just want both to be control, use:
#	Option	"XkbOptions"	"ctrl:nocaps"
#
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
	Identifier  "Synaptics"
	Driver      "synaptics"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "auto-dev"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "LCD Panel 1280x800"
 ### Comment all HorizSync and VertSync values to use DDC:
	HorizSync    31.5 - 90.0
	VertRefresh  60.0 - 60.0
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "radeon"
	VendorName  "Videocard vendor"
	BoardName   "ATI Technologies Inc ATI Radeon XPRESS 200M 5955 (PCIE)"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1280x800"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection

Last edited by vezril; 09-02-2006 at 03:05 PM.
 
Old 09-02-2006, 08:17 PM   #9
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Quote:
Originally Posted by Narcosys
I've been scolded by the linuxquestions.org bot for not having enough posts to include outside websites
Just FYI - there is a 2 post minimum required before a registered LQ'er can post URL's. The only reason for this is to prevent spammers from flooding the forums with garbage. The minimum is a minor and temporary restriction, and disappears almost instantly for all LQ'ers whose real interest is Linux, not spamming
 
  


Reply



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
xorg.conf question ministre Linux - Software 1 03-12-2006 08:25 PM
xorg.conf question - also a hello :) Dirtnap Slackware 7 09-23-2005 06:32 AM
xorg.conf coldsalmon Slackware 12 04-18-2005 01:57 AM
xorg.conf question. rsamurti Slackware - Installation 8 08-23-2004 12:15 AM
Xorg Hard Crashes and corrupts xorg.conf Advocator Linux - General 0 07-15-2004 01:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:34 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
Open Source Consulting | Domain Registration