[mythtv-users] "GLX" missing on display; none of the common solutions work...

Alex Jovovich s1148625 at yahoo.com
Wed Dec 5 04:15:33 UTC 2007


Just got a new Sharp Aquos LCD TV and am in the process of transitioning from my old tube TV (via s-video) to the new digital panel (via VGA).

I was able to find a modeline that enabled the panel's native 1360x768 resolution over VGA with 1:1 pixel mapping. The MythTV Gui looks fantastic at the higher resolution. The problem is, whenever I try to watch LiveTV or previously recorded programs, I get a black screen and the system locks up. I have to SSH in and reboot to get X back up and running.

The weird thing is, if I replace my xorg.conf with my previous xorg.conf for S-Video out and plug the Myth box back into the S-Video port of the new tv, it works flawlessly (although noticeably fuzzier), so it must be some kind of problem with my xorg.conf file. I lack the expertise to figure out what changes need to be made.

I examined the mythfrontend.log, and found several error messages:

2007-12-04 17:22:57.592 Current Schema Version: 1160
2007-12-04 17:22:57.593 mythfrontend version: 0.20.20070821-1 www.mythtv.org
2007-12-04 17:22:57.593 Enabled verbose msgs:  important general
2007-12-04 17:22:58.545 Total desktop dim: 1360x768, with 1 screen[s].
2007-12-04 17:22:58.546 Using screen 0, 1360x768 at 0,0
2007-12-04 17:22:58.546 Switching to wide mode (neon-wide)
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
2007-12-04 17:22:58.556 Using the Qt painter
Xlib:  extension "GLX" missing on display ":0.0".
mythtv: could not connect to socket
mythtv: No such file or directory
lirc_init failed for mythtv, see preceding messages
2007-12-04 17:22:59.012 Removing stale cache dir: /home/mythtv/.mythtv/themecache/retro.old.745.577
2007-12-04 17:22:59.021 Removing stale cache dir: /home/mythtv/.mythtv/themecache/retro.old.745.577/keyboard
2007-12-04 17:22:59.028 Removing stale cache dir: /home/mythtv/.mythtv/themecache/retro.old.745.577/title
2007-12-04 17:22:59.030 Removing stale cache dir: /home/mythtv/.mythtv/themecache/retro.old.745.577/ui
2007-12-04 17:22:59.030 Removing stale cache dir: /home/mythtv/.mythtv/themecache/retro.old.745.577/watermark
Could not initialize /dev/input/js0
open: No such file or directory
ioctl JSIOCGAXES: Bad file descriptor
2007-12-04 17:22:59.834 Loading from: /usr/share/mythtv/themes/neon-wide/base.xml
2007-12-04 17:22:59.884 Loading from: /usr/share/mythtv/themes/default/base.xml
2007-12-04 17:22:59.956 Registering Internal as a media playback plugin.
2007-12-04 17:23:00.015 Registering MythDVD DVD Media Handler as a media handler ext()
2007-12-04 17:23:00.016 Mediamonitor: Adding /dev/cdrom
2007-12-04 17:23:00.037 Mediamonitor: AddDevice() -- Not adding '/dev/hdc', it appears to be a duplicate.
2007-12-04 17:23:00.039 Registering MythDVD VCD Media Handler as a media handler ext()
2007-12-04 17:23:00.094 Registering MythGallery Media Handler 1/2 as a media handler ext()
2007-12-04 17:23:00.094 Registering MythGallery Media Handler 2/2 as a media handler ext(gif,jpg,png)
2007-12-04 17:23:00.094 MonitorRegisterExtensions(0x100, gif,jpg,png)
Failed to run 'cdrecord --scanbus'
Failed to run 'cdrecord --scanbus'
2007-12-04 17:23:03.578 Registering MythMusic Media Handler 1/2 as a media handler ext()
2007-12-04 17:23:03.578 Registering MythMusic Media Handler 2/2 as a media handler ext(ogg,mp3,aac,flac)
2007-12-04 17:23:03.578 MonitorRegisterExtensions(0x40, ogg,mp3,aac,flac)
SIP listening on IP Address 192.168.0.101:5060 NAT address 192.168.0.101
SIP: Cannot register; proxy, username or password not set
2007-12-04 17:23:03.781 Starting media monitor.
2007-12-04 17:23:15.231 XMLParse::LoadTheme using /usr/share/mythtv/themes/neon-wide/ui.xml
2007-12-04 17:23:15.422 Connecting to backend server: 192.168.0.101:6543 (try 1 of 5)
2007-12-04 17:23:15.423 Using protocol version 31
[mpeg @ 0xb735c7f0]Parser not found for Codec Id: 94210 !
0: start_time: 0.036 duration: 329.270
1: start_time: 0.000 duration: -9223372036854.775
2: start_time: 0.017 duration: 329.238
stream: start_time: 0.000 duration: 3658.955 bitrate=3490 kb/s
2007-12-04 17:23:17.744 AFD: Opened codec 0x86a3440, id(MPEG2VIDEO) type(Video)
2007-12-04 17:23:17.772 AFD: Opened codec 0x86a3ae0, id(MP2) type(Audio)
[mpeg @ 0xb735c7f0]Parser not found for Codec Id: 94210 !
0: start_time: 0.036 duration: 329.279
1: start_time: 0.000 duration: -9223372036854.775
2: start_time: 0.017 duration: 329.257
stream: start_time: 0.000 duration: 3659.055 bitrate=3493 kb/s
2007-12-04 17:23:21.870 AFD: Opened codec 0x86a2690, id(MPEG2VIDEO) type(Video)
2007-12-04 17:23:21.870 AFD: Opened codec 0x86a29e0, id(MP2) type(Audio)
[mpeg @ 0xb735c7f0]Parser not found for Codec Id: 94210 !
0: start_time: 0.036 duration: 599.117
1: start_time: 0.000 duration: -9223372036854.775
2: start_time: 0.017 duration: 599.093
stream: start_time: 0.000 duration: 6657.251 bitrate=3496 kb/s
2007-12-04 17:23:23.409 AFD: Opened codec 0x86aeb00, id(MPEG2VIDEO) type(Video)
2007-12-04 17:23:23.409 AFD: Opened codec 0x86a16b0, id(MP2) type(Audio)
[mpeg @ 0xb735c7f0]Parser not found for Codec Id: 94210 !
0: start_time: 0.036 duration: 329.288
1: start_time: 0.000 duration: -9223372036854.775
2: start_time: 0.017 duration: 329.247
stream: start_time: 0.000 duration: 3659.156 bitrate=3495 kb/s
2007-12-04 17:23:24.773 AFD: Opened codec 0x87b4bb0, id(MPEG2VIDEO) type(Video)
2007-12-04 17:23:24.773 AFD: Opened codec 0x823dd20, id(MP2) type(Audio)
2007-12-04 17:23:26.644 New DB connection, total: 2
2007-12-04 17:23:26.644 Connected to database 'mythconverg' at host: localhost
2007-12-04 17:23:26.671 TV: Attempting to change from None to WatchingPreRecorded
[mpeg @ 0xb735c7f0]Parser not found for Codec Id: 94210 !
0: start_time: 0.036 duration: 329.288
1: start_time: 0.000 duration: -9223372036854.775
2: start_time: 0.017 duration: 329.247
stream: start_time: 0.000 duration: 3659.156 bitrate=3495 kb/s
2007-12-04 17:23:26.853 AFD: Opened codec 0x82bcfd0, id(MPEG2VIDEO) type(Video)
2007-12-04 17:23:26.853 AFD: Opened codec 0x8621fd0, id(MP2) type(Audio)
2007-12-04 17:23:26.856 Opening OSS audio device '/dev/dsp'.
2007-12-04 17:23:30.771 VideoOutputXv: XvMCTex: Init failed
2007-12-04 17:23:30.772 VideoOutputXv: XVideo Adaptor Name: 'NV Video Blitter'
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  141
  Minor opcode:  14
  Resource id:  0x17d
2007-12-04 17:23:31.325 Using realtime priority.
2007-12-04 17:23:31.326 TV: Changing from None to WatchingPreRecorded
2007-12-04 17:23:32.575 Video timing method: RTC
2007-12-04 17:23:33.630 NVP: Timed out waiting for free video buffers.
2007-12-04 17:23:35.830 NVP: Timed out waiting for free video buffers.
2007-12-04 17:23:38.029 NVP: Timed out waiting for free video buffers.
2007-12-04 17:23:40.254 NVP: Timed out waiting for free video buffers.
2007-12-04 17:23:42.459 NVP: Timed out waiting for free video buffers.
2007-12-04 17:23:44.662 NVP: Timed out waiting for free video buffers.
2007-12-04 17:23:46.865 NVP: Timed out waiting for free video buffers.
2007-12-04 17:23:49.064 NVP: Timed out waiting for free video buffers.
2007-12-04 17:23:51.264 NVP: Timed out waiting for free video buffers.
2007-12-04 17:23:53.463 NVP: Timed out waiting for free video buffers.
2007-12-04 17:23:55.691 NVP: Timed out waiting for free video buffers.
2007-12-04 17:23:57.894 NVP: Timed out waiting for free video buffers.
2007-12-04 17:24:00.097 NVP: Timed out waiting for free video buffers.
2007-12-04 17:24:02.298 NVP: Timed out waiting for free video buffers.


I've searched for some of the errors in the log, and can't find anything that's helpful. I've tried reinstalling the nvidia drivers, I commented out the load "glx" line in my xorg.conf, and I tried switching between the internal, libmpg2, and xvmc MPEG2 decoders in Myth. I tried adding the following to the end of the xorg.conf file after reading it had fixed the GLX issue in other instances.


Section "Extensions"
Option "Composite" "Disable"
EndSection


None of this has solved the problem. Currently, I have myth configured to use the full screen to play live and recorded TV. Below is a copy of the xorg.conf file that works for 1360x768 but locks up with the above errors when playing live or recorded content.


Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
        InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "ServerFlags"
        Option "AllowMouseOpenFail"  "true"

EndSection

Section "Files"
        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"
# Additional fonts: Locale, Gimp, TTF...
        FontPath     "/usr/share/fonts/X11/cyrillic"
#       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!
        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  "dbe" # Double Buffering Extension, very important.
        Load  "dri" # This shouldn't be available choice if user has selected d$
        Load  "glx" # GLX Extension.
        Load  "freetype" # Freetype fonts.
        Load  "type1"  # Type 1 fonts
        Load  "record" # Developer extension, usually not needed
#       Load  "extmod" # This is okay, but if you look into "man xorg.conf" you$
        SubSection      "extmod"
                Option          "omit xfree86-dga"
        EndSubSection
#       Load  "speedo" # Speedo fonts, this module doesn't exist in Xorg 7.0.17
# The following are deprecated/unstable/unneeded in Xorg 7.0
#       Load  "ddc"  # ddc probing of monitor, this should be never present, as$
#       Load  "GLcore" # This should be never present, as it gets automatically$
#       Load  "bitmap" # Should be never present, as it gets automatically load$
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

# Auto-generated by KNOPPIX mkxf86config

Section "Monitor"
        Identifier      "Monitor0"
        Option  "DPMS"  "true"
        VendorName      "SHP"
        ModelName       "SHP0fea"
        Option "ConnectedMonitor" "CRT"
        Option "NoLogo" "1"
        Option "UseEdidDpi" "FALSE
        Option "DPI" "100 x 100"
        HorizSync 31 - 48 # DDC-probed
        VertRefresh 55 - 76 # DDC-probed
        Modeline "1360x768"     85.50   1360 1476 1588 1776    768  771  777  7$

EndSection

Section "Device"
        ### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
Option "sw_cursor"
        #Option     "hw_cursor"
        #Option     "NoAccel"
        #Option     "ShowCache"
        #Option     "ShadowFB"
        #Option     "UseFBDev"
        #Option     "Rotate"
        Identifier  "Card0"
# The following line is auto-generated by KNOPPIX mkxf86config
        Driver      "nv"
        VendorName  "All"
        BoardName   "All"
#       BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultColorDepth 24
        SubSection "Display"
                Depth     24
                Modes "1360x768"
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection


Does anyone have any ideas? I'd really like to be able to use my new TV!



      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20071204/d2a81634/attachment-0001.htm 


More information about the mythtv-users mailing list