LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 05-28-2007, 11:01 PM   #1
deimya
LQ Newbie
 
Registered: Jun 2003
Location: qc.ca
Distribution: slackware 12.0
Posts: 17

Rep: Reputation: 0
x starting only when monitor plugged on X.org 1.3.0.0. Was working with X6.9.0


Hi,

I have a Latitude C400 laptop with integrated i830M graphics chipset. I had previous working slackware-current (over 10.2 I think) install using X6.9.

I recently upgraded to slackware-current which now use X.org 1.3.0.0 and this strange problem started to happen. If I start X I get a "No valid modes" error in Xorg.0.log. If I plug a monitor to the back of the laptop, X starts without any error and everything works fine on the plugged monitor. It freezes if I try to switch to the laptop lcd with Fn-F7.

What is strange is that I use a (what I thought correctly modified) xorg.conf generated by gentoo livecd 2007.0 with which I can get X.org 1.3.0.0 to work perfectly out of the box Modelines/HorizSync/VertRefresh should thus work, although I feel like they are at fault. The xorg.conf generated by slackware is not working and using the older xorg.conf from my previous slackware install doesn't work either

Any ideas ? I will post my xorg.conf/Xorg.0.log/etc if needed.

Thanks.
 
Old 05-28-2007, 11:26 PM   #2
agentc0re
Member
 
Registered: Apr 2007
Location: SLC, UTAH
Distribution: Slackware
Posts: 200

Rep: Reputation: 32
what does your xorg.conf video section look like? maybe the listed resolutions aren't supported by your laptop screen? (maybe) or color depth? i've had issues with that before.
 
Old 05-28-2007, 11:49 PM   #3
deimya
LQ Newbie
 
Registered: Jun 2003
Location: qc.ca
Distribution: slackware 12.0
Posts: 17

Original Poster
Rep: Reputation: 0
sure, here are the (i think) relevant sections in xorg.conf. I'm sure my laptop takes 1024x768 with depth 24, it's what I used before.

Section "ServerLayout"
Identifier "X.Org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "PS/2 Mouse" "AlwaysCore"
InputDevice "USB Mouse" "AlwaysCore"
InputDevice "Synaptics" "AlwaysCore"
EndSection

Section "Monitor"
Identifier "Monitor0"
HorizSync 31.5 - 90.0
VertRefresh 40.0 - 150.0
EndSection

Section "Device"
Identifier "Card0"
Driver "i810"
VendorName "All"
BoardName "All"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
 
Old 05-29-2007, 12:30 AM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Instead of this:

Code:
HorizSync 31.5 - 90.0
VertRefresh 40.0 - 150.0
Try some lower numbers:

Code:
HorizSync       28.0 - 65.0
VertRefresh     57.0 - 63.0
or something like that.
 
Old 05-29-2007, 09:17 AM   #5
deimya
LQ Newbie
 
Registered: Jun 2003
Location: qc.ca
Distribution: slackware 12.0
Posts: 17

Original Poster
Rep: Reputation: 0
unfortunately it doesn't work. As I said, it works with gentoo livecd 2007.0 which uses the same X.org 1.3.0.0 and their monitor section is

Section "Monitor"
Identifier "Monitor0"
HorizSync 28.0 - 96.0
VertRefresh 50.0 - 75.0
EndSection

Everything else (except for font paths and all) is the same.
 
Old 05-29-2007, 09:38 AM   #6
agentc0re
Member
 
Registered: Apr 2007
Location: SLC, UTAH
Distribution: Slackware
Posts: 200

Rep: Reputation: 32
did you try using that part of the config for slack?
is lsmod showing the correct mod for your vid card and is that being used in the xorg.conf driver section?
 
Old 05-29-2007, 09:47 AM   #7
deimya
LQ Newbie
 
Registered: Jun 2003
Location: qc.ca
Distribution: slackware 12.0
Posts: 17

Original Poster
Rep: Reputation: 0
I did try those setting (and a lot more, some extremely conservatives) for Monitor0 but to no avail. Xorg.0.log correctly reports that it found a i830M chipset.

Also, in Xorg.0.log there is those 4 lines
(II) intel(0): Output VGA using monitor section Monitor0
(II) intel(0): I2C bus "CRTDDC_A" initialized.
(II) intel(0): Output TMDS has no monitor section
(II) intel(0): I2C bus "DVODDC_D" initialized.

Which for me looks like it only detects the VGA head and not the laptop screen. Maybe it could explain why it only works when a monitor is plugged at the back of my laptop. When it tries to detect available modes from Monitor0, it works flawlessly on my crt when plugged but it gets nothing in the other case (monitor unplugged) and bails out with a

(II) intel(0): I2C bus "DVOI2C_E" removed.
(II) intel(0): I2C bus "DVOI2C_E" initialized.
(EE) intel(0): Unable to read from DVOI2C_E Slave 236.
(II) intel(0): I2C bus "DVOI2C_E" removed.
(II) intel(0): I2C bus "DVODDC_D" removed.
(II) intel(0): Output VGA disconnected
(II) intel(0): EDID for output VGA
(II) intel(0): Output VGA disconnected
(EE) intel(0): No valid modes.
...unloading some modules...
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

go figure...

Last edited by deimya; 05-29-2007 at 09:50 AM.
 
Old 05-29-2007, 10:01 AM   #8
deimya
LQ Newbie
 
Registered: Jun 2003
Location: qc.ca
Distribution: slackware 12.0
Posts: 17

Original Poster
Rep: Reputation: 0
Also, I'm currently using an older slackware-current with X 6.9.0 with the exact same xorg.conf and it works flawlessly. It's driving me nuts.

Could it simply be a faulty i810 driver for X.org 1.3.0.0 in slackware-current ?
 
Old 05-29-2007, 01:14 PM   #9
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
It might be. If it works fine in everything but that ... then I think it's quite possible.
 
Old 05-29-2007, 03:13 PM   #10
Petri Kaukasoina
Member
 
Registered: Mar 2007
Posts: 242

Rep: Reputation: 86
Quote:
Originally Posted by deimya
Section "Device"
Identifier "Card0"
Driver "i810"
VendorName "All"
BoardName "All"
EndSection
Try
Code:
Driver   "intel"
instead of i810. And just below that, try adding a line
Code:
Option   "Monitor-TMDS" "Monitor0"
and/or
Code:
Option "Monitor-VGA" "Monitor0"
With those, try changing the HorizSync and VertRefresh values.
 
Old 05-29-2007, 04:23 PM   #11
GregLee
Member
 
Registered: Feb 2004
Location: Waimanalo, HI
Distribution: Slackware 10, Fedora 6
Posts: 308

Rep: Reputation: 30
Quote:
Originally Posted by deimya
(II) intel(0): Output TMDS has no monitor section
It's telling you that you failed to supply a monitor section in your xorg.conf for your second monitor.

What I did is have Xorg generate its conf file: "Xorg -configure".
 
Old 06-12-2007, 09:10 PM   #12
Tonus
LQ Newbie
 
Registered: Jan 2007
Location: France
Distribution: Slackware-current 2.6 ;-)
Posts: 11

Rep: Reputation: 0
same problem with a sony laptop, same graphic chipset.
i tried everything but the last hint...
so it may be a bug, no ?

however, did you managed having an usable desktop manager without an other screen or a downgrade ?

regards,
Tonus.
 
Old 06-13-2007, 02:04 PM   #13
deimya
LQ Newbie
 
Registered: Jun 2003
Location: qc.ca
Distribution: slackware 12.0
Posts: 17

Original Poster
Rep: Reputation: 0
I tried everything in that thread and much more. Still not working so I downgraded to X11R6.9 and somehow managed to get a working slackware-current (but still partial since without x.org 1.3.0.0). I don't really know but I think it most certainly is a bug in this particular version used by slackware-current (for now). I'm waiting for the next update in slackware/x.

I reiterate also that the same x.org 1.3.0.0 from gentoo livecd works without problem, autodetection included, on my laptop.

Bon courage !
 
Old 06-13-2007, 05:09 PM   #14
Tonus
LQ Newbie
 
Registered: Jan 2007
Location: France
Distribution: Slackware-current 2.6 ;-)
Posts: 11

Rep: Reputation: 0
So, thank you.
I think I will downgrade soon, it's a bit hard to deal with forums
forums using lynx and I wonder how to detect the /x renew...
Is there already a related bugtrack ? I found some in Debian
lists but nothing slack-related.
 
Old 06-13-2007, 05:16 PM   #15
deimya
LQ Newbie
 
Registered: Jun 2003
Location: qc.ca
Distribution: slackware 12.0
Posts: 17

Original Poster
Rep: Reputation: 0
browsing forums and google with lynx/links, I sympathize with you my friend.

Unfortunately you're right, I don't know if anyone is doing anything about this. Good luck !

My strategy was simply to install slackware 11 and pay careful attention to slackware/slackware-current/CHANGES_AND_HINTS.TXT (in your favorite slack-current mirror) in order to update mostly everything except /x and have a working, relative slack-current.

Although I'm not yet convinced of my ad-hoc strategy, everything seems fine for now
 
  


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
x starting only when monitor plugged on X.org 1.3.0.0. Was working with X6.9.0 deimya Slackware 1 05-29-2007 11:25 PM
How to detect programatically if a USB device is is plugged-in / plugged out? franc Linux - Software 3 02-01-2007 05:01 AM
X.org will not start without mouse (and multi-monitor support not working) jalsk Linux - Laptop and Netbook 3 08-14-2006 09:22 AM
Problems with USB hub of monitor/mouse plugged to it dreamtheater Linux - Hardware 1 01-10-2005 03:33 PM
Starting xcompmgr right after x.org starts... UnixPhreak1911 Linux - Games 2 10-16-2004 02:36 PM


All times are GMT -5. The time now is 02:50 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration