LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-01-2005, 09:12 PM   #16
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30

I posted changes to you config file. If you made those changes than I nned to see you laters config file.
 
Old 12-02-2005, 12:15 AM   #17
d1l2w3
Member
 
Registered: May 2004
Location: Amboy WA USA
Distribution: Mandriva 2007
Posts: 366

Original Poster
Rep: Reputation: 30
The monitor is working.
It's way out of sync though.

This is what I have as of now.
It isn't installed.

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)

# Uncomment the following line to have a single desktop
# Option "Xinerama" "On"
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "/usr/X11R6/lib/modules/extensions/libglx.so"
EndSection


# Change the following to sections for you monitor
Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "EN7600"
HorizSync 30-83
VertRefresh 55-75

# Monitor preferred modeline (75.0 Hz vsync, 80.0 kHz hsync, ratio 5/4)
ModeLine "1280x1024" 135 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Monitor"
Identifier "monitor2"
VendorName "Plug'n Play"
ModelName "Generic"
HorizSync 31.5-57.0
VertRefresh 50.0-90.0

# TV fullscreen mode or DVD fullscreen output.
# Monitor preferred modeline (75.0 Hz vsync, 80.0 kHz hsync, ratio 5/4)
ModeLine "1280x1024" 135 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync

# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616

EndSection

Section "Device"
Identifier "device1"
VendorName "nVidia"
BoardName "NVIDIA GeForce FX (generic)"
Driver "nv"
Screen 0
BusID "PCI:1:0:0"
Option "DPMS"
Option "IgnoreEDID" "1"
EndSection

Section "Device"
Identifier "device2"
VendorName "nVidia"
BoardName "NVIDIA GeForce FX (generic)"
Driver "nv"
Screen 1
BusID "PCI:1:0:0"
Option "DPMS"
Option "IgnoreEDID" "1"
EndSection

Section "Screen"
Identifier "screen0"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 16

Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection

Section "Screen"
Identifier "screen1"
Device "device2"
Monitor "monitor2"
DefaultColorDepth 16

Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen 0 "screen0"
Screen 1 "screen1" RightOf "screen0"
EndSection
 
Old 12-02-2005, 08:00 AM   #18
d1l2w3
Member
 
Registered: May 2004
Location: Amboy WA USA
Distribution: Mandriva 2007
Posts: 366

Original Poster
Rep: Reputation: 30
The above /etc/X11/xorg.conf is installed.
A keyboard and mouse "Input Device" was added.

I get the following errors with 'startx'.
Unable to open /usr/X11R6/lib/modules/extensions/libglk.so
Failed to load /usr/X11R6/lib/modules/extensions/liblk.so (open failed2)

This error on Google meant the Nvidia driver was not installed.
I downloaded the latest Nvidia driver from their web site.
It would not install because of a kernel-source problem.
urpmi kernel-source gave me three files to choose from.
I installed one of them.
It must have been the wrong one because Nvidia still has the kernel-source problem.
urpmi kernel-source says everything is installed now.

Any ideas?

Don
 
Old 12-02-2005, 10:48 AM   #19
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
If you do a uname -r in a shell it will tell what kernel your running. Then you can load the correct kernel source.
To do a double check after install take a look at directory /usr/src
this will tell you what kernel source is installed.

As a trick what I do on some weird monitors I hook up just the single weird monitor on the standard vga port and run XFdrake on a standard config file. Then I have that monitor setting. I do this for each monitor and copy the config file to a name with the monitor identification append to the name. I then edit the config file I sent you and modify the monitor section for each.
 
Old 12-02-2005, 12:04 PM   #20
d1l2w3
Member
 
Registered: May 2004
Location: Amboy WA USA
Distribution: Mandriva 2007
Posts: 366

Original Poster
Rep: Reputation: 30
If you do a uname -r in a shell it will tell what kernel your running.

uname -r tells me the kernel is 2.6.11
/usr/src shows a 2.6.10-3

Then you can load the correct kernel source.

How do I do this? urpmi tells me the kernel is already installed.

When I try to install the nvidia driver I can't because
nvidia tells me to upgrade to 2.6.11.

I think the existing /etc/X11/xorg.conf file is close to being right. If I can get nvidia installed it might work properly.
Both monitors worked. One needed the sync rate set correctly and they both had the same program on.

As of now I'm in text mode.
startx stops with the errors in a former post.

Don
 
Old 12-02-2005, 05:22 PM   #21
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
insted of urpmi run rpmdrake and select the correct kernel-source
 
Old 12-02-2005, 09:02 PM   #22
d1l2w3
Member
 
Registered: May 2004
Location: Amboy WA USA
Distribution: Mandriva 2007
Posts: 366

Original Poster
Rep: Reputation: 30
rpmdrake returns the following error:
Cannot be run in console mode.

All I have right now is text mode.
Do I have to take everything all apart?

Don
 
Old 12-02-2005, 10:30 PM   #23
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
OK if you have your orignal config file put it back and restart the graphics. then try rpmdrake again
 
Old 12-02-2005, 10:55 PM   #24
d1l2w3
Member
 
Registered: May 2004
Location: Amboy WA USA
Distribution: Mandriva 2007
Posts: 366

Original Poster
Rep: Reputation: 30
Reinstalled xorg.conf to use the original setup.
startx worked, tried rpmdrake
Saw nothing in the list refering to a kernel
except kernel-smb

What am I doing wrong?
 
Old 12-03-2005, 01:30 PM   #25
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
I looked up the full name for your kernel-source and I cant find the source for the kernel you given me.

When you did the uname -r did you report the full text?
When I do a uname -r on my system I get 2.6.12-12mdksmp so something dosn't look right


When I took a look for kernel for your system the only kernel & source I can find was
kernel-2.6.11.13mdk-1-1mdk & kernel-source-2.6-2.6.11-13mdk and these are updates so you may need to update.

Updateing the kernel on Mandrive is very easy.
 
Old 12-03-2005, 01:41 PM   #26
d1l2w3
Member
 
Registered: May 2004
Location: Amboy WA USA
Distribution: Mandriva 2007
Posts: 366

Original Poster
Rep: Reputation: 30
uname -r
2.6.11-6mdk

This is all there is.
This is a x86_64 system.
Might that be a problem.

Don
 
Old 12-03-2005, 05:51 PM   #27
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
If your truly on a 64 than this should be the command to update your kernel source
urpmi kernel-source-2.6-2.6.11-6mdk
This should load the kernel source for your kernel.

If is dosen't find it than you will need to setup your sources
 
  


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
Question about monitors and color jimmmac Linux - Hardware 2 07-30-2004 06:17 PM
2 monitors, nvidia, problem with window-size (maximize uses both monitors) meximex Linux - Hardware 1 05-19-2004 04:37 AM
@ monitors setup Question Neomaster Linux - General 1 10-14-2003 05:06 PM
TV's, CRT Monitors, LCD Monitors... refresh rates and other questions MasterC General 13 05-12-2003 04:00 AM
Linux Newbie w/ question on Dual monitors DakotaMan2002 Linux - Newbie 2 01-31-2003 02:47 PM

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

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