LinuxQuestions.org
Latest LQ Deal: Linux Power User 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 07-07-2004, 05:56 PM   #1
jdier
Member
 
Registered: May 2004
Location: US
Distribution: Ubuntu - 12.04 LTS
Posts: 54

Rep: Reputation: 15
Question configure X windows for new video card


OK, I am super new to all of this.

I just changed my MOBO and have on board video. X windows will not start. I get command line only and the error I get is

(EE) No devices detected

fatal server error:
no screens found

I am so new that I do not really understand how to open or view a conf file or how to edit it.

My motherboard is amd with all via KM400 chipset stuff. The VGA is described as "UniChrome 2D/3D graphics with motion compensation" and elsewhere described as "VIA KM400 Onboard Display"

Any help getting x started would be a great help.

(please assume that I am a complete dumbass when suggesting ideas.)

Thanks,

Jim
 
Old 07-07-2004, 06:55 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Commonly there's at least three distro-independent ways
of re-configuring X (and no, I don't know FC's way).

1. configure automagically
Code:
XFree86 -configure
and test-drive with
Code:
XFree86 -xf86config /root/XF86Config.new
2. configure interactively using graphical tool
Code:
xf86cfg
3. configure manually
Code:
xf86config

Good luck!

Cheers,
Tink
 
Old 07-07-2004, 08:22 PM   #3
jdier
Member
 
Registered: May 2004
Location: US
Distribution: Ubuntu - 12.04 LTS
Posts: 54

Original Poster
Rep: Reputation: 15
Thanks for the reply, I tried all of those (as root and as user) and I get command not found

Then I tried # Xorg -configure

which ran something as my screen flickered and returned with :

Xorg is not able to detect your mouse.
Edit the file and correct the Device.

Then I ran X -xf86config /root/xorg.conf.new

and I get


[root@linuxbox jdier]# X -xf86config /root/xorg.conf.new
Release Date: 18 December 2003
X Protocol Version 11, Revision 0, Release 6.7
Build Operating System: Linux 2.4.21-14.ELsmp i686 [ELF]
Current Operating System: Linux linuxbox 2.6.6-1.427 #1 Thu Jun 10 09:33:46 EDT 2004 i686
Build Date: 07 May 2004
Build Host: tweety.build.redhat.com

Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.6-1.427 (bhcompile@tweety.build.redhat.com) (gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)) #1 Thu Jun 10 09:33:46 EDT 2004
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul 7 20:32:47 2004
(++) Using config file: "/root/xorg.conf.new"
FATAL: Module agpgart not found.
[drm] failed to load kernel module "agpgart"
FATAL: Module via not found.
[drm] failed to load kernel module "via"
(EE) VIA(0): [dri] DRIScreenInit failed. Disabling DRI.

Wed Jul 7 20:32:49 2004
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5900
vncext: created VNC server for screen 0
(EE) xf86OpenSerial: Cannot open device /dev/mouse
No such file or directory.
(EE) Mouse0: cannot open input device
(EE) PreInit failed for input device "Mouse0"
No core pointer

Fatal server error:
failed to initialize core devices

Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.


Last edited by jdier; 07-07-2004 at 08:35 PM.
 
Old 07-07-2004, 08:39 PM   #4
jdier
Member
 
Registered: May 2004
Location: US
Distribution: Ubuntu - 12.04 LTS
Posts: 54

Original Poster
Rep: Reputation: 15
fyi, this is my xorg.conf.new

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 "xtrap"
Load "vnc"
Load "extmod"
Load "record"
Load "dbe"
Load "dri"
Load "glx"
Load "type1"
Load "speedo"
Load "freetype"
EndSection

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

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

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "A2" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "HWCursor" # [<bool>]
#Option "SWCursor" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "Rotate" # [<str>]
#Option "UseBIOS" # [<bool>]
#Option "VideoRAM" # <i>
#Option "ActiveDevice" # [<str>]
#Option "LCDDualEdge" # [<bool>]
#Option "BusWidth" # [<str>]
#Option "Center" # [<bool>]
#Option "PanelSize" # [<str>]
#Option "TVDotCrawl" # [<bool>]
#Option "TVType" # [<str>]
#Option "TVOutput" # [<str>]
#Option "TVVScan" # [<str>]
#Option "TVHScale" # [<str>]
#Option "TVEncoder" # [<str>]
#Option "Refresh" # <i>
#Option "DisableVQ" # [<bool>]
#Option "NoDDCValue" # [<bool>]
#Option "Cap0Deinterlace" # [<str>]
#Option "Cap1Deinterlace" # [<str>]
#Option "Cap0FieldSwap" # [<bool>]
#Option "DRIXINERAMA" # [<bool>]
Identifier "Card0"
Driver "via"
VendorName "Unknown Vendor"
BoardName "Unknown Board"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection


Last edited by jdier; 07-07-2004 at 08:41 PM.
 
Old 07-08-2004, 01:01 PM   #5
jdier
Member
 
Registered: May 2004
Location: US
Distribution: Ubuntu - 12.04 LTS
Posts: 54

Original Poster
Rep: Reputation: 15
Thumbs up solved

I think I have this nailed.

I entered su to get on as root

I cd to /etc/X11

# emacs xorg.conf

in the device section i entered:

Section "Device"
Identifier "CLE266"
Driver "via"
BoardName "Unknown"

Saved and rebooted.

Looked like I had the same problem but this time when I ran (as root)

# setup

It took me to the right screens and I was able to get up and running.

On a side note, if I look at xorg.conf now it looks like this:


Section "Device"
Identifier "Videocard0"
Driver "vesa"
VendorName "Videocard vendor"
BoardName "VESA driver (generic)"
EndSection


If anyone else had this problem, I hope this helps!

Jim
 
  


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
please help to configure video card in FC3 nick1 Fedora 1 04-05-2005 09:44 AM
New Video Card, how to configure? jbrush Mandriva 4 03-13-2005 11:29 AM
How to configure mutiple video input card Anayet Linux - Hardware 2 08-29-2004 01:44 AM
Can't figure out how to configure Video Card chuckbrenn Linux - Hardware 3 08-03-2003 04:11 PM
X windows configuration on video card Matrox G400 yunliu Linux - Newbie 1 10-21-2002 02:00 AM


All times are GMT -5. The time now is 07:52 PM.

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