LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-27-2009, 11:34 AM   #1
dogbird
Member
 
Registered: Nov 2004
Location: oklahoma
Distribution: slackware 9.0
Posts: 98

Rep: Reputation: 15
Unhappy openchrome and xorg


I upgraded to 13.0 slackware. Xorg compiles. Openchrome compiles. no errors. BUT I cannot find the openchrome executable/*.so in addition I cant figure out how to modify Xorg.conf the default is no help at all and I dont really understand the process. it is new to me. so help please.
 
Old 11-28-2009, 01:46 PM   #2
janhe
Member
 
Registered: Jul 2007
Location: Belgium
Distribution: slackware64 14.2, slackware 13.1
Posts: 371

Rep: Reputation: 54
The xorg config file isn't needed that much anymore.
Try to run "startx" whithout a xorg.conf

then post the contents of /var/log/Xorg.0.log
 
Old 11-29-2009, 04:26 AM   #3
dogbird
Member
 
Registered: Nov 2004
Location: oklahoma
Distribution: slackware 9.0
Posts: 98

Original Poster
Rep: Reputation: 15
X.Org X Server 1.6.3
Release Date: 2009-7-31
X Protocol Version 11, Revision 0
Build Operating System: Slackware 13.0 Slackware Linux Project
Current Operating System: Linux gryphon's 2.6.29.6-smp #2 SMP Mon Aug 17 00:52:54 CDT 2009 i686
Build Date: 03 August 2009 06:51:50PM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
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: Sun Nov 29 22:19:34 2009
(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 9 of section Files in file /etc/X11/xorg.conf
Ignoring obsolete keyword "RgbPath".
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "Monitor0"
(**) | |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/X11R6/lib/X11/fonts/CID/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/local" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/CID" does not exist.
Entry deleted from font path.
(**) FontPath set to:
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/75dpi/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/share/fonts/TTF,
/usr/share/fonts/OTF,
/usr/share/fonts/Type1,
/usr/share/fonts/misc,
/usr/share/fonts/75dpi/:unscaled,
/usr/share/fonts/100dpi/:unscaled,
/usr/share/fonts/75dpi,
/usr/share/fonts/100dpi,
/usr/share/fonts/cyrillic,
built-ins
(**) ModulePath set to "/usr/X11R6/lib/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loader magic: 0x1de0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 5.0
X.Org XInput driver : 4.0
X.Org Server Extension : 2.0
(II) Loader running on linux
(--) using VT number 7

(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) System resource ranges:
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri2" will be loaded by default.
(II) LoadModule: "record"
(WW) Warning, couldn't open module record
(II) UnloadModule: "record"
(EE) Failed to load module "record" (module does not exist, 0)
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.6.3, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.6.3, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.6.3, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.6.3, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "xtrap"
(WW) Warning, couldn't open module xtrap
(II) UnloadModule: "xtrap"
(EE) Failed to load module "xtrap" (module does not exist, 0)
(II) LoadModule: "type1"
(WW) Warning, couldn't open module type1
(II) UnloadModule: "type1"
(EE) Failed to load module "type1" (module does not exist, 0)
(II) LoadModule: "freetype"
(WW) Warning, couldn't open module freetype
(II) UnloadModule: "freetype"
(EE) Failed to load module "freetype" (module does not exist, 0)
(II) LoadModule: "freetype"
(WW) Warning, couldn't open module freetype
(II) UnloadModule: "freetype"
(EE) Failed to load module "freetype" (module does not exist, 0)
(II) LoadModule: "dri2"
(II) Loading /usr/X11R6/lib/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.6.3, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "ati"
(II) Loading /usr/X11R6/lib/modules/drivers//ati_drv.so
(II) Module ati: vendor="X.Org Foundation"
compiled for 1.6.2, module version = 6.12.2
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 5.0

Backtrace:
0: /usr/bin/X(xorg_backtrace+0x3b) [0x812d22b]
1: /usr/bin/X(xf86SigHandler+0x51) [0x80bc721]
2: [0xffffe400]
3: /usr/X11R6/lib/libpciaccess.so.0(pci_device_find_by_slot+0x43) [0xb7ec6b93]
4: /usr/X11R6/lib/modules/drivers//ati_drv.so(ati_gdev_subdriver+0x136) [0xb7ed5826]
5: /usr/X11R6/lib/modules/drivers//ati_drv.so [0xb7ed5b91]
6: /usr/bin/X [0x80abf15]
7: /usr/bin/X(xf86LoadModules+0xc5) [0x80a7075]
8: /usr/bin/X(InitOutput+0x4da) [0x80a8f5a]
9: /usr/bin/X(main+0x1e1) [0x806c281]
10: /lib/libc.so.6(__libc_start_main+0xe5) [0xb7ac96a5]
11: /usr/bin/X [0x806b911]

Fatal server error:
Caught signal 11. Server aborting


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.

it really looks like it is trying to open my OLD ati driver (not present anymore)

and I really have NO IDEA how to fix this or even attack the problem.
 
Old 11-29-2009, 03:36 PM   #4
MartinS
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Rep: Reputation: 0
It looks like X is trying to load the ati driver. Be aware that I'm not a Slackware user. You could try to uninstall the xf86-video-ati package (or whatever it is called in Slackware).
Another possibility would be to create a new xorg.conf. From a shell type the the following commands as a root user:
Code:
# X -configure
# mv xorg.config.new /etc/X11/xorg.conf
Edit the newly created xorg.conf and make sure that you use "openchrome" as driver in the "device" section.
I suggest that you comment out
Code:
#InputDevice    "Mouse0" "CorePointer"
#InputDevice    "Keyboard0" "CoreKeyboard"
in the "ServerLayout" section. Make sure that you have loaded the driver "evdev":
Code:
# modprobe evdev
Hope this helps with your problem.
 
Old 11-29-2009, 09:14 PM   #5
dogbird
Member
 
Registered: Nov 2004
Location: oklahoma
Distribution: slackware 9.0
Posts: 98

Original Poster
Rep: Reputation: 15
the basic problem is evdev I think this the video driver for openchrome. but that is just my guess
It is not loaded and I dont know how to dothat. I get the same stuff as before but now it wants somethine else and I dont know how to create that.

The Error is
ERROR ON LINE 71 in section DEVICE in /etc/X11/xorg.conf
there is must be an identifier line
 
Old 11-30-2009, 02:00 AM   #6
MartinS
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Rep: Reputation: 0
Hello,
evdev is the driver for your keyboard and mouse. On my system the package containing the driver is called xf86-input-evdev. But you can also use the "kbd" and "mouse" driver, just uncomment the lines I mentioned before:
Code:
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
For your problem with your "xorg.conf" I would guess, that you perhaps forgot some quotation marks. Can you post the section where it complains?

Why do you try to compile the driver yourself, isn't there a package for Slackware? Can you describe the steps you do for compiling the driver?
 
Old 11-30-2009, 03:32 AM   #7
janhe
Member
 
Registered: Jul 2007
Location: Belgium
Distribution: slackware64 14.2, slackware 13.1
Posts: 371

Rep: Reputation: 54
Quote:
Originally Posted by dogbird View Post
Xorg compiles.
I read over that the first time.

Why do you compile Xorg yourself? Have you tried using the slackware stock Xorg?

Using the stock Xorg, you should be able to startx without a Xorg.conf Most of the things are configured automatically.

Then you can add the lines that are needed. My Xorg.conf is 8 lines. 4 lines for setting the resolution when using a external CRT, 4 for using nvidia driver, the rest is autoconfig.

Please try this with the stock Xorg, otherwise I cannot guess what causes the troubles.
 
Old 11-30-2009, 04:16 PM   #8
dogbird
Member
 
Registered: Nov 2004
Location: oklahoma
Distribution: slackware 9.0
Posts: 98

Original Poster
Rep: Reputation: 15
ok I compiled Xorg because the system I had had an obsolete version. it was non compus mentis. I compiled the driver because I was trying to get the latest driver available. I know that slack 13.0 had Xorg. all I was doing was trying to find the peices.

I need to configure my system. black box we do everything for you is my problem. I wanted to know how to do it. what was the current idea behind it. and the error I got was

just what you see. NO OTHER INFORMATION is available. look at the large printout. and tell me how to recover and fix it. I only wanted to know how it worked. and what the VIA freechrome drive was and where was it stored. then how do I configure it so I can bring up X windows. the old tools are not used anymore and I cant figure out how the system is supposed to work. Running a startx with default Xorg is not information. I read and printed the old information about Xorg. and I know its mechanism has changed. and there was NO via openchrome on the 13.0 disk because I looked for it.
 
Old 11-30-2009, 04:56 PM   #9
raconteur
Member
 
Registered: Dec 2007
Location: Slightly left of center
Distribution: slackware
Posts: 276
Blog Entries: 2

Rep: Reputation: 44
Quote:
Originally Posted by dogbird View Post
[...]and there was NO via openchrome on the 13.0 disk because I looked for it.
I'm afraid I have to disagree.

Openchrome drivers do indeed exist on the installation DVD and are installed if they are selected in the installation (they are selected by default).

They are installed in /usr/lib/xorg/modules/drivers/ and are named openchrome_drv.la and openchrome_drv.so, as usual for xorg drivers.

There are several methods for selecting the drivers -- modify the Device section of /etc/X11/xorg.conf manually and specify "openchrome" in the Driver field (then add other variables as desired), or you can use the preferred method of running xorgsetup from the shell as root. That should detect the chipset and fill in the necessary fields.

I've found that the current openchrome drivers work well with newer VIA graphics chips but older ones (notably the CX700 series) will have some problems.

I haven't rebuilt X, I use the default slackware implementation. I have rebuilt the openchrome drivers from the svn snapshots and haven't encountered any difficulties other than those already noted above.
 
Old 11-30-2009, 08:48 PM   #10
dogbird
Member
 
Registered: Nov 2004
Location: oklahoma
Distribution: slackware 9.0
Posts: 98

Original Poster
Rep: Reputation: 15
I found those once I had the right kind of search. the thing I am too dense to understand is the implication that the system will automagically come up. it did not and I could not figure out how to ask it to do so.

still cannot get the tools to work. xorgsetup deletes the "bad" file but does not create a new one

Xorg -configure fails.

modprobe will not load the openchrome_drv.so file says all files are not found for any file.

startx defaults to XF86Config with attendent errors.

so my syntax is bad or I am just plain stupid but nothing seems to work right.
 
Old 12-01-2009, 01:30 AM   #11
MartinS
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Rep: Reputation: 0
Delete your old xorg.conf, then create a new one with:
Code:
X -configure
and copy the newly created file to /etc/X11/xorg.conf or whereever the xorg.conf goes in Slackware.

Be aware that it's X -configure not Xorg -configure.

Make sure that the Driver in the Device section is set to openchrome:
Code:
Driver "openchrome"
If it still fails post the contents of /var/log/Xorg.0.log
 
Old 12-01-2009, 12:46 PM   #12
raconteur
Member
 
Registered: Dec 2007
Location: Slightly left of center
Distribution: slackware
Posts: 276
Blog Entries: 2

Rep: Reputation: 44
I understand your desire to get up close and personal with the elements of the distribution, that is a prime personality trait of slackware users and one I personally share.
Recompiling xorg-server is certainly something that can be accomplished, but it is a non-trivial task.

In your shoes, I would take smaller steps... first, start by using the default slackware implementation of xorg-server and the openchrome drivers.
If that doesn't work, try using the VESA driver (again in the default xorg implementation).
If that doesn't work for you, then there are problems that need to be addressed before attempting to use the openchrome drivers.

If that does work, then obtain and rebuild the openchrome drivers and make sure they work before attempting to rebuild xorg-server.
Before rebuilding xorg-server, generate and save an Xorg.0.log for later comparison.

When you do tackle compiling xorg-server, pay particular attention to the slack-build notes for compilation options.
Once you've built and installed it, try configuring it as above (using xorgsetup) and starting it.
If it fails, then examine the resulting Xorg.0.log to see if you can determine a failing module.
There are dozens of modules in the X implementation, and they all have to get along.

hth
 
1 members found this post helpful.
Old 12-01-2009, 01:59 PM   #13
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Quote:
Originally Posted by MartinS View Post
Delete your old xorg.conf, then create a new one with:
Code:
X -configure
and copy the newly created file to /etc/X11/xorg.conf or whereever the xorg.conf goes in Slackware.

Be aware that it's X -configure not Xorg -configure.

Make sure that the Driver in the Device section is set to openchrome:
Code:
Driver "openchrome"
If it still fails post the contents of /var/log/Xorg.0.log
Or you can still use
Code:
xorgsetup
For me, it seems simpler
 
Old 12-01-2009, 05:43 PM   #14
dogbird
Member
 
Registered: Nov 2004
Location: oklahoma
Distribution: slackware 9.0
Posts: 98

Original Poster
Rep: Reputation: 15
X -configure and xorgsetup BOTH say NO DEVICES TO CONFIGURE...

I know the chrome9 is built in dont know how to fix that problem. maybe there is no video --- but wait what is the logon screen. some of this is just plain wrong

I compiled Xorg because I did not know about the builtin Xorg. I compiled the openchrome because I had crome9HC on both of my machines. but that should not have unset the hardware.

and I need to understand the new initialization script setup. so I can install the video default drivers

plus I dont know how the default screens work.
 
Old 12-02-2009, 05:05 AM   #15
janhe
Member
 
Registered: Jul 2007
Location: Belgium
Distribution: slackware64 14.2, slackware 13.1
Posts: 371

Rep: Reputation: 54
a few questions (please answer them):
-are you using the stock xorg packages now?
-are you sure you uninstalled the version you compiled?
-have you reinstalled all the slackware X packages?
 
  


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
Xorg Problems - Via Chip with OpenChrome - After Update via Synaptic deathawaits Debian 4 09-24-2008 09:31 PM
OpenChrome on Solaris Express munchkins Solaris / OpenSolaris 1 04-08-2008 04:37 PM
Why no Openchrome Debian package ? roemisch Debian 2 01-29-2008 07:21 PM
openchrome installed, X+via blank, X+vesa okay Shadow_7 Linux - Software 5 06-11-2007 11:03 AM
System freezes using Openchrome drivers 3x3cut0r Linux - Hardware 0 01-06-2007 01:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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