LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 12-18-2006, 04:44 PM   #16
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Formerly Various Linux Distros, Now Fixed on Fedora 32
Posts: 189

Original Poster
Rep: Reputation: 30

OK - Now time for a guilty confession. (Warning - long and boring story!)

<Boring Story>
A few months ago I had a hardware failure (unrelated to this - memory fault I think). I have two hard drives, one with Win98 and one with various linux distros - FC5 being my main one. When the PC turned up its toes I was not overly concerned as I already had a (slightly) newer one which I was planning to bring into service anyway - the old one was going to be a home server. The death of the old one just changed my plans slightly.
I simply removed the second (Linux) HD from the dead machine and put it as a second drive in the newer PC.
All was fine. I just re-installed grub on the /dev/hda partition and away I went...
Now - Gnome complained that the Gnome settings differerd from the Xorg settings but offered me the option of accepting theirs - which I think is what I did. Anyhow - It all worked - INCLUDING apparently xv (Mplayer, Realplayer, AdobeReader - which incidentally won't work on FC6 either - etc. etc.) and it is on this same machine that I have now installed FC6 (on a seperate partition).
So the current xorg.conf is the one created by Anaconda as FC6 detected the hardware and installed FC6, and the old one is (ahem) the one created when FC5 was installed in a slightly different machine (cough!) and then amended by Gnome - But it works!
</Boring Story>

Phew! Glad to get that off my chest...

Note: Both PCs have on board graphics - no sexy NVidia cards...

The current one is described by system-config-display as a "Silicon Integrated Systems [SIS] 65x/M650/740 PCI/AGP VGA Display Adapter"
whereas the dead one was an Intel i810

The new FC6 Xorg.conf (xv not working):
Code:
# Xorg configuration created by pyxf86config

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "gb"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "sis"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection
This one from the (working) FC5 partition:
Code:
# Xorg configuration created by system-config-display

Section "ServerLayout"
	Identifier     "single head configuration"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
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  "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 "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Compaq P910 Color Monitor"
	DisplaySize  350	260
 ### Comment all HorizSync and VertSync values to use DDC:
	HorizSync    30.0 - 108.0
	VertRefresh  50.0 - 140.0
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "sis"
	VendorName  "Videocard vendor"
	BoardName   "Silicon Integrated Systems [SiS] 65x/M650/740 PCI/AGP VGA Display Adapter"
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    "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection
 
Old 12-18-2006, 06:04 PM   #17
Ynot Irucrem
Member
 
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
As you can see in the FC5 xorg.conf, Fedora has figured out that your graphics card has changed and has switched you over to the sis driver.

That FC6 file looks very bare, it seems to me that the new automatic config script FC6 is using (pyxf86config, from the comment up the top) isn't fully mature.

In FC6:
1. Backup your current xorg.conf
2. Run xorgcfg or xorgconfig
3. Reset X (ctrl-alt-backspace)
 
Old 12-20-2006, 09:56 AM   #18
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Formerly Various Linux Distros, Now Fixed on Fedora 32
Posts: 189

Original Poster
Rep: Reputation: 30
OK - So here's what I've tried so far:

Having backed up my xorg.conf I copied the FC5 xorg.conf in its place.

I deleted all the codecs I could find from all the locations scattered over the hard drive and copied the codecs from the FC5 partition into /usr/lib/win32 (where they are in my FC5 distro).

Nothing.

So this is the same machine, running with the same xorg configuration, at the same screen resolution, with the same codecs, trying to play the same clip.

In FC5 it works in FC6 it doesn't.

Sigh...

I think - unless you have any better ideas - I have two choices:
1) Stick with FC5 (not my preferred solution); or
2) Re-install FC6 from scratch and try again. (I am only 4 or 5 days or so into the build and the notes I kept will help me to catch up pretty quickly.)

What do you think?

Thanks again for all your help...

Mark

p.s.

Adobe Reader (My preferred pdf viewer) won't work either - and that works in FC5 (could it be related?)
 
Old 12-22-2006, 05:18 AM   #19
Ynot Irucrem
Member
 
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
Personally, I think anything is better than adobe (kpdf, xpdf, pdftotext | less, less, cat [shift-pgup] ), but to each their own... I would post that in a separate thread though - as you may have noticed, the amount of new people that will look at a thread is inversely proportional to it's length.

Sorry, I think I'm all out of ideas.

Last edited by Ynot Irucrem; 12-22-2006 at 05:19 AM.
 
Old 12-22-2006, 06:02 AM   #20
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Formerly Various Linux Distros, Now Fixed on Fedora 32
Posts: 189

Original Poster
Rep: Reputation: 30
Thanks for all your help. Much appreciated.

Actually the Acroread problem was a separate issue and I just found the solution here

I am going to try a fresh install.

I think I may have made mistakes early on - mixing repositories - not installing compat-libstdc++-33 until after installing Mplayer etc..

So I'll give that a go - having learned from those mistakes. If It still won't work I'll post in the Fedora forum because I suspect it may be a FC6 specific problem.

I'll let you know how I get on.


Many many thanks for all your help.

Best regards

Mark
 
  


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
A strange problem about mplayer 1 pre7 shadkong Linux - Software 5 05-07-2005 07:46 AM
Strange problem with Mplayer!!! AskMe Linux - Newbie 2 10-06-2003 03:14 PM
MPlayer and Codec Problem JC404 Linux - Software 7 08-14-2003 09:57 AM
problem compiling mplayer after adding win32 codec chiyoaiki Linux - Software 1 06-25-2003 01:46 PM
Strange mplayer problem. prophet621 Linux - Software 1 02-19-2003 10:08 PM

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

All times are GMT -5. The time now is 04:10 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