FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 10-07-2010, 07:01 PM
James Zuelow
 
Default Monitor detection failure and video display

I'm having a google failure.

I have a kiosk machine that displays a web page to a large monitor.

Everything works fine, unless the monitor is not powered on when the kiosk boots.

In that case, there is no video signal (not even the text console). I can't wake it up with mouse or keyboard activity, and once it's in production it won't have a mouse or keyboard anyway.

This wasn't a problem with Lenny, but it is with Squeeze so I am guessing it has to do with the new video modes in the newer kernels.

How do I tell the system to ALWAYS push video out the VGA port, preferably at 1920x1080, even if it thinks there is no display connected to the port?

Thanks!

James Z

--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4A09477D575C2C4B86497161427DD94C15B0D1F971@city-exchange07">http://lists.debian.org/4A09477D575C2C4B86497161427DD94C15B0D1F971@city-exchange07
 
Old 10-07-2010, 07:58 PM
James Zuelow
 
Default Monitor detection failure and video display

Some additional info.

I tried this:

Section "Device"
Identifier "Device0"
Driver "nouveau"
Option "IgnoreEDID" "true"
EndSection

But I get this in /var/log/Xorg.0.log (actually I get that error if the IgnoreEDID is there or not):

--------8<---snip---8<--------

(--) NOUVEAU(0): Chipset: "NVIDIA NV98"
(**) NOUVEAU(0): Depth 16, (--) framebuffer bpp 16
(==) NOUVEAU(0): RGB weight 565
(==) NOUVEAU(0): Default visual is TrueColor
(==) NOUVEAU(0): Using HW cursor
(II) NOUVEAU(0): Output DVI-I-1 using monitor section Monitor0
(II) NOUVEAU(0): Output VGA-1 has no monitor section
(II) NOUVEAU(0): EDID for output DVI-I-1
(II) NOUVEAU(0): EDID for output VGA-1
(II) NOUVEAU(0): Output DVI-I-1 disconnected
(II) NOUVEAU(0): Output VGA-1 disconnected
(WW) NOUVEAU(0): No outputs definitely connected, trying again...
(II) NOUVEAU(0): Output DVI-I-1 disconnected
(II) NOUVEAU(0): Output VGA-1 disconnected
(WW) NOUVEAU(0): Unable to find initial modes
(--) NOUVEAU(0): Virtual size is 0x0 (pitch 0)
(==) NOUVEAU(0): DPI set to (96, 96)
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib/xorg/modules/libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "exa"
(II) LoadModule: "exa"
(II) Loading /usr/lib/xorg/modules/libexa.so
(II) Module exa: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 2.5.0
ABI class: X.Org Video Driver, version 6.0
(II) Loading sub module "shadowfb"
(II) LoadModule: "shadowfb"
(II) Loading /usr/lib/xorg/modules/libshadowfb.so
(II) Module shadowfb: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x3b) [0x80e7aab]
1: /usr/bin/X (0x8048000+0x610e5) [0x80a90e5]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb778f40c]
3: /usr/bin/X (InitOutput+0xc80) [0x80b8e80]
4: /usr/bin/X (0x8048000+0x1e79b) [0x806679b]
5: /lib/i686/cmov/libc.so.6 (__libc_start_main+0xe6) [0xb74d0c76]
6: /usr/bin/X (0x8048000+0x1e541) [0x8066541]
Segmentation fault at address 0x18

Fatal server error:
Caught signal 11 (Segmentation fault). 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.

--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4A09477D575C2C4B86497161427DD94C15B0D1F973@city-exchange07">http://lists.debian.org/4A09477D575C2C4B86497161427DD94C15B0D1F973@city-exchange07
 
Old 10-08-2010, 05:23 PM
Camaleón
 
Default Monitor detection failure and video display

On Thu, 07 Oct 2010 11:58:51 -0800, James Zuelow wrote:

> Some additional info.
>
> I tried this:
>
> Section "Device"
> Identifier "Device0"
> Driver "nouveau"
> Option "IgnoreEDID" "true"
> EndSection
>
> But I get this in /var/log/Xorg.0.log (actually I get that error if the
> IgnoreEDID is there or not):

Mmm, I don't think that should be the proper way to handle that (unless
you know for sure that EDID information is completey broken with your
monitor and you are then forced to disabled it).

> --------8<---snip---8<--------

(...)

> (WW) NOUVEAU(0): No outputs definitely connected, trying again...
> (II) NOUVEAU(0): Output DVI-I-1 disconnected
> (II) NOUVEAU(0): Output VGA-1 disconnected
> (WW) NOUVEAU(0): Unable to find initial modes

Xorg should not crash because of this. That situation (no available
displays) has to be properly managed by the graphical server. If it can't
and crashes, it's a bug you should report.

> Backtrace:
> 0: /usr/bin/X (xorg_backtrace+0x3b) [0x80e7aab] 1: /usr/bin/X
> (0x8048000+0x610e5) [0x80a90e5] 2: (vdso) (__kernel_rt_sigreturn+0x0)
> [0xb778f40c] 3: /usr/bin/X (InitOutput+0xc80) [0x80b8e80] 4: /usr/bin/X
> (0x8048000+0x1e79b) [0x806679b] 5: /lib/i686/cmov/libc.so.6
> (__libc_start_main+0xe6) [0xb74d0c76] 6: /usr/bin/X (0x8048000+0x1e541)
> [0x8066541] Segmentation fault at address 0x18
>
> Fatal server error:
> Caught signal 11 (Segmentation fault). Server aborting

You even got a backtrace. That's good, because you can attach all this
information to a bug report (or search if there is a similar one already
opened and add your comments there).

In the meantime, you could also try with other drivers ("nv" or "nvidia").

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2010.10.08.17.23.14@gmail.com">http://lists.debian.org/pan.2010.10.08.17.23.14@gmail.com
 
Old 10-08-2010, 05:40 PM
Sven Joachim
 
Default Monitor detection failure and video display

On 2010-10-07 21:58 +0200, James Zuelow wrote:

> Some additional info.
>
> I tried this:
>
> Section "Device"
> Identifier "Device0"
> Driver "nouveau"
> Option "IgnoreEDID" "true"

This option will be ignored, I think. At least I could not find it in
the nouveau source code.

> Backtrace:
> 0: /usr/bin/X (xorg_backtrace+0x3b) [0x80e7aab]
> 1: /usr/bin/X (0x8048000+0x610e5) [0x80a90e5]
> 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb778f40c]
> 3: /usr/bin/X (InitOutput+0xc80) [0x80b8e80]
> 4: /usr/bin/X (0x8048000+0x1e79b) [0x806679b]
> 5: /lib/i686/cmov/libc.so.6 (__libc_start_main+0xe6) [0xb74d0c76]
> 6: /usr/bin/X (0x8048000+0x1e541) [0x8066541]
> Segmentation fault at address 0x18
>
> Fatal server error:
> Caught signal 11 (Segmentation fault). Server aborting

The segfault should be fixed in the experimental version of
xserver-xorg-video-nouveau, as per [1]. I'm not sure if X will actually
work, though.

Sven


1. http://cgit.freedesktop.org/nouveau/xf86-video-nouveau/commit/?id=4b8f1a082069a17555d4142003213cf83d4e5464


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87ocb4r3bj.fsf@turtle.gmx.de">http://lists.debian.org/87ocb4r3bj.fsf@turtle.gmx.de
 
Old 10-08-2010, 06:00 PM
James Zuelow
 
Default Monitor detection failure and video display

----Original Message----
From: Camaleón [mailto:noelamac@gmail.com]
Sent: Friday, October 08, 2010 9:23 AM
To: debian-user@lists.debian.org
Subject: Re: Monitor detection failure and video display

> On Thu, 07 Oct 2010 11:58:51 -0800, James Zuelow wrote:
>
>> Some additional info.
>>
>> I tried this:
>>
>> Section "Device"
>> Identifier "Device0"
>> Driver "nouveau"
>> Option "IgnoreEDID" "true"
>> EndSection
>>
>> But I get this in /var/log/Xorg.0.log (actually I get that error if
>> the IgnoreEDID is there or not):
>
> Mmm, I don't think that should be the proper way to handle that
> (unless you know for sure that EDID information is completey broken
> with your monitor and you are then forced to disabled it).

No, you're right. I was way off, thinking it was xorg failing to get EDID info from a monitor that was causing the video to go blank.

I was just playing with this and it turns out it was pretty simple.

With the new 2.6.32 kernel in Squeeze, KMS is turned on. KMS attempts to autodetect a monitor, and if it doesn't find one video goes blank. The way around this is to override KMS with the video= boot parameter.

So I modified /etc/default/grub and changed the boot options from "quiet" to "quiet video=VGA-1:e"

The "video=VGA-1:e" tells the kernel to enable VGA-1 regardless of what it sees. Then xorg will start. It still won't get EDID info if the monitor is powered off, but I can set a specific mode for the monitor which seems to work.

I have an image I use for kiosks, so after applying the image to a computer I have to tweak the video= kernel option for each one, but that's not really an issue as I have to tweak the xorg.conf mode setting for each monitor anyway. It is just a matter of figuring out which video setting to use, VGA-1 for the VGA ports, or DVI-I-1 for a DVI port. I can't find the code for an S-Video output, which is really handy for display kiosks using a large screen TV as a display unit (especially cause you can push an s-video signal over a 50 or 100 foot cable).

If I wanted to, I could set the display setting in the kernel command line as in "video=VGA-1:1920x1080@52e" This would set the display to 1920x1080 at 52Hz refresh. I might need to do that with some of the bigscreen TV's, and probably have to do that for anything going over the S-video port if the xorg.conf modeline doesn't work for some reason.

Anyway, it is working now, and this should be enough info to get people going on a Google search if they're in the same boat.


James Z

--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4A09477D575C2C4B86497161427DD94C15B0D1F97C@city-exchange07">http://lists.debian.org/4A09477D575C2C4B86497161427DD94C15B0D1F97C@city-exchange07
 
Old 10-08-2010, 06:15 PM
James Zuelow
 
Default Monitor detection failure and video display

----Original Message----
From: Sven Joachim [mailto:svenjoac@gmx.de]
Sent: Friday, October 08, 2010 9:40 AM
To: debian-user@lists.debian.org
Subject: Re: Monitor detection failure and video display

>> Option "IgnoreEDID" "true"
>
> This option will be ignored, I think. At least I could not find it in
> the nouveau source code.
>

I took it out today as it wasn't the direction I needed to go. But good to know, thanks!

>> Backtrace:
>> 0: /usr/bin/X (xorg_backtrace+0x3b) [0x80e7aab]
--------8<---snip---8<--------
>> Segmentation fault at address 0x18
>>
>> Fatal server error:
>> Caught signal 11 (Segmentation fault). Server aborting
>
> The segfault should be fixed in the experimental version of
> xserver-xorg-video-nouveau, as per [1]. I'm not sure if X will
> actually
> work, though.
>
> Sven
>

When I set the "video=VGA-1:e" kernel option, I don't get the segfault and X works.

So that's a workaround if this fix doesn't make it to Squeeze.

>
> 1.
> http://cgit.freedesktop.org/nouveau/xf86-video-nouveau/commit/?id=4b8f1a082069a17555d4142003213cf83d4e5464

Thanks Sven!

James Z

--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4A09477D575C2C4B86497161427DD94C15B0D1F97E@city-exchange07">http://lists.debian.org/4A09477D575C2C4B86497161427DD94C15B0D1F97E@city-exchange07
 

Thread Tools




All times are GMT. The time now is 09:30 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org