View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 12 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Sep 13, 2007 7:17 am 
Offline
Joined: Sun Sep 03, 2006 11:03 am
Posts: 15
I am having a problem where over night or for any significant amount of time if the TV is off fluxbox stops running. Or at least I assume thats what is happening.

When I kill off the x-window-manager process for user mythtv the window respawns and everything appears to work perfectly. I can watch TV for hour, watch movies, whatever. I turn off my TV and come back later and the TV is not getting a signal of any kind. I have "video 7" sitting on screen which lets me know it's not receiving any kind of signal.

I am not sure where I should be looking for the cause. I checked all the obvious logs, I have turned off DPMS, and edited fluxbox's startup script to include xset -dpms, and xset s off.

The following is in my .xsession-errors log and led me to believe there may be a permission issue somewhere I am missing:

Failed to read: session.screen0.overlay.capStyle
Setting default value
Failed to read: session.screen0.windowScrollAction
Setting default value
Failed to read: session.screen0.windowScrollReverse
Setting default value
BScreen::BScreen: managing screen 0 using visual 0x23, depth 24
Failed to read: session.ignoreBorder
Setting default value
Failed to read: session.forcePseudoTransparency
Setting default value
Failed to read: session.numLayers
Setting default value
Failed to read: session.tabPadding
Setting default value
Failed to read: session.focusTabMinWidth
Setting default value
Failed to read: session.appsFile
Setting default value
Failed to read: session.tabsAttachArea
Setting default value
Failed to read: session.useMod1
Setting default value
Failed to read: session.screen0.opaqueMove
Setting default value
Failed to read: session.screen0.autoRaise
Setting default value
Failed to read: session.screen0.clickRaises
Setting default value
Failed to read: session.screen0.decorateTransient
Setting default value
Failed to read: session.screen0.resizeMode
Setting default value
Failed to read: session.screen0.windowMenu
Setting default value
Failed to read: session.screen0.tabFocusModel
Setting default value
Failed to read: session.screen0.followModel
Setting default value
Failed to read: session.screen0.window.focus.alpha
Setting default value
Failed to read: session.screen0.window.unfocus.alpha
Setting default value
Failed to read: session.screen0.menu.alpha
Setting default value
Failed to read: session.screen0.menuDelay
Setting default value
Failed to read: session.screen0.menuDelayClose
Setting default value
Failed to read: session.screen0.menuMode
Setting default value
Failed to read: session.screen0.overlay.lineWidth
Setting default value
Failed to read: session.screen0.overlay.lineStyle
Setting default value
Failed to read: session.screen0.overlay.joinStyle
Setting default value
Failed to read: session.screen0.overlay.capStyle
Setting default value
Failed to read: session.screen0.windowScrollAction
Setting default value
Failed to read: session.screen0.windowScrollReverse
Setting default value
Failed to read: session.ignoreBorder
Setting default value
Failed to read: session.forcePseudoTransparency
Setting default value
Failed to read: session.numLayers
Setting default value
Failed to read: session.tabPadding
Setting default value
Failed to read: session.focusTabMinWidth
Setting default value
Failed to read: session.appsFile
Setting default value
Failed to read: session.tabsAttachArea
Setting default value
Failed to read: session.useMod1
Setting default value
Failed to read: session.screen0.opaqueMove
Setting default value
Failed to read: session.screen0.autoRaise
Setting default value
Failed to read: session.screen0.clickRaises
Setting default value
Failed to read: session.screen0.decorateTransient
Setting default value
Failed to read: session.screen0.resizeMode
Setting default value
Failed to read: session.screen0.windowMenu
Setting default value
Failed to read: session.screen0.tabFocusModel
Setting default value
Failed to read: session.screen0.followModel
Setting default value
Failed to read: session.screen0.window.focus.alpha
Setting default value
Failed to read: session.screen0.window.unfocus.alpha
Setting default value
Failed to read: session.screen0.menu.alpha
Setting default value
Failed to read: session.screen0.menuDelay
Setting default value
Failed to read: session.screen0.menuDelayClose
Setting default value
Failed to read: session.screen0.menuMode
Setting default value
Failed to read: session.screen0.overlay.lineWidth
Setting default value
Failed to read: session.screen0.overlay.lineStyle
Setting default value
Failed to read: session.screen0.overlay.joinStyle
Setting default value
Failed to read: session.screen0.overlay.capStyle
Setting default value
Failed to read: session.screen0.windowScrollAction
Setting default value
Failed to read: session.screen0.windowScrollReverse
Setting default value
Failed to read: session.screen0.slit.maxOver
Setting default value
Failed to read: session.screen0.slit.alpha
Setting default value
Failed to read: session.screen0.slit.layer
Setting default value
PORT=5900
mysqldump: Got error: 1086: File '/tmp/videosource.txt' already exists when exec
uting 'SELECT INTO OUTFILE'
/bin/rm: cannot remove `/tmp/videosource.txt': Operation not permitted
Failed to read: session.screen0.toolbar.maxOver
Setting default value
Failed to read: session.screen0.toolbar.visible
Setting default value
Failed to read: session.screen0.toolbar.alpha
Setting default value
Failed to read: session.screen0.toolbar.layer
Setting default value
Failed to read: session.screen0.toolbar.height
Setting default value
Failed to read: session.screen0.toolbar.tools
Setting default value
Failed to read: session.screen0.iconbar.mode
Setting default value
Failed to read: session.screen0.iconbar.deiconifyMode
Setting default value
Failed to read: session.screen0.iconbar.wheelMode
Setting default value
Failed to read: session.screen0.iconbar.alignment
Setting default value
Failed to read: session.screen0.iconbar.iconWidth
Setting default value
Failed to read: session.screen0.iconbar.iconTextPadding
Setting default value
Failed to read: session.screen0.iconbar.usePixmap
Setting default value



Any ideas? I also turned logging on for fluxbox by changing the exec line, but I don't appear to be getting any logs.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 13, 2007 5:13 pm 
Offline
Joined: Sun Sep 03, 2006 11:03 am
Posts: 15
Here is a copy of my xorg.conf as well. I have tried monkeying with this file quite a bit. If anyone recognizes a problem with it please let me know. I have connected my knoppmyth box to the TV via dvi to HDMI cable. My TV is a Sony 55" EDID 1f8.

Section "ServerLayout"

# PS/2 Mouse not detected
# Serial Mouse not detected
Identifier "XFree86 Configured"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "USB Mouse" "CorePointer"
EndSection

Section "Files"

# Additional fonts: Locale, Gimp, TTF...
# FontPath "/usr/share/fonts/X11/latin2/75dpi"
# FontPath "/usr/share/fonts/X11/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc:unscaled"
FontPath "/usr/share/fonts/X11/75dpi:unscaled"
FontPath "/usr/share/fonts/X11/100dpi:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/Speedo"
FontPath "/usr/share/fonts/X11/PEX"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/latex-ttf-fonts"
EndSection

Section "Module"

# Comments: see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346408
# Load "extmod" # This is okay, but if you look into "man xorg.conf" you'
ll find option NOT to include DGA extension with extmod, and for a good reason..
DGA causes instability as it access videoram without consulting X about it.
# The following are deprecated/unstable/unneeded in Xorg 7.0
# Load "ddc" # ddc probing of monitor, this should be never present, as
it gets automatically loaded.
# Load "GLcore" # This should be never present, as it gets automatically
loaded.
# Load "bitmap" # Should be never present, as it gets automatically loade
d. This is a font module, and loading it in xorg.conf makes X try to load it twi
ce.
Load "dbe" # Double Buffering Extension, very important.
Load "dri" # This shouldn't be available choice if user has selected
driver vga, vesa or nv.
Load "glx" # GLX Extension.
Load "freetype" # Freetype fonts.
Load "type1" # Type 1 fonts
Load "record" # Developer extension, usually not needed
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Serial Mouse"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttyS0"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection

Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "auto"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection

Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection

Section "Monitor"

# DDC-probed
# DDC-probed
# These are the DDC-probed settings reported by your monitor.
# 1280x1024, 75.0Hz; hfreq=79.98, vfreq=75.03
Identifier "Monitor0"
VendorName "SAM"
ModelName "SAM01ae"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
Option "DPMS" "true"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"

### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
# The following line is auto-generated by KNOPPIX mkxf86config
# BusID "PCI:1:0:0"
Identifier "Card0"
Driver "fglrx"
Option "UseInternalAGPGART" "no"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "MonitorLayout" "AUTO,AUTO"
VendorName "All"
BoardName "All"
#Option "sw_cursor"
#Option "hw_cursor"
#Option "NoAccel"
#Option "ShowCache"
#Option "ShadowFB"
#Option "UseFBDev"
#Option "Rotate"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Option "UseInternalAGPGART" "no"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "MonitorLayout" "AUTO,AUTO"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection


Section "Extensions"
Option "Composite" "0"
# Option "RENDER" "0"
EndSection


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 14, 2007 2:50 am 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
It might be useful to post your full hardware spec :)

You could try changing
Code:
Driver "fglrx"

to
Code:
Driver "radeon"


in xorg.conf to see if its a problem with the ati driver?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 14, 2007 7:40 am 
Offline
Joined: Sun Sep 03, 2006 11:03 am
Posts: 15
I am running a P4 2.4 Ghz, 1G of RAM, Radeon 9600 XT, Hauppauge PVR-500

I'll try switching to Radeon this evening and see if it helps.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 14, 2007 7:44 am 
Offline
Joined: Sun Sep 03, 2006 11:03 am
Posts: 15
Whats odd is that all the processes seem to be working, i.e. mythbackend, mysql, mythfrontend, even my xsession is still running. No errors are being reported in the Xorg.log.0 file. Upon testing, even switching the input on the TV with the "TV/video" button to switch to another source will cause the display of Knoppmyth to turn off.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 14, 2007 8:15 am 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
Could it actually be a problem with the TV? do you have any other hdmi devices you can test, or try plugging the PC into a different hdmi port?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 14, 2007 11:06 am 
Offline
Joined: Sun Sep 03, 2006 11:03 am
Posts: 15
There is only 1 HDMI port and I don't have another HDMI device, though I could connect the system to a standard LCD monitor, shut it off and then turn it back on and see if I see the same behavior. ATM killing off the xsession causes it to respawn and my display comes back. Annoying for the wife though.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 14, 2007 5:29 pm 
Offline
Joined: Sun Sep 03, 2006 11:03 am
Posts: 15
I checked the connnection to an LCD monitor and it still turns off on the LCD. So same problem.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 14, 2007 7:10 pm 
Offline
Joined: Sun Sep 03, 2006 11:03 am
Posts: 15
Tried using the "radeon" also. The X display won't even come up with that set.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 14, 2007 7:24 pm 
Offline
Joined: Sun Sep 03, 2006 11:03 am
Posts: 15
I did just notice something in my logs I hope will help someone find a solution for me. The instant the display goes dark I see the following in my logs:

Sep 14 20:27:57 mythtv gconfd (mythtv-18872): GConf server is not in use, shutting down.
Sep 14 20:27:57 mythtv gconfd (mythtv-18872): Exiting


Any ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 19, 2007 7:01 pm 
Offline
Joined: Sun Sep 03, 2006 11:03 am
Posts: 15
Any ideas? Cecil?

I have tried everything I can think of and I can't help but think it must be something simple I am missing.

The Gconf server shutting down doesn't seem to have anything to do with it.

The symptoms I have is that the video from the Knoppmyth box stops shortly after the system no longer detects a viable monitor attached to the DVI out on the video card. Killing off the x-window-manager process causes X to respawn and I my display comes back up.

I am at a loss.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 22, 2007 9:42 pm 
Offline
Joined: Sun Sep 03, 2006 11:03 am
Posts: 15
Solved:

It was the ati driver that I had installed with fglrx. It loaded the latest driver. Once I realized I had some debian packages that contained the driver, I removed those and the system then picked up an install of some older drivers I installed from ATI. The display no longer goes blank when I power off the TV or change video inputs.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu