You are not logged in.

#1 2011-03-21 22:12:56

yodaz
Member
Registered: 2011-03-08
Posts: 41

XBMC, OpenGL and intel GM965 TV-Out

Hi !

I'm trying to set up an XBMC media center based on Arch, and I have some problem to get XBMC working with tv-out.

The media center PC is a laptop with broken LCD screen, so I'm using TV out as main display.

Xorg works fine, so as Chrome browser and other apps, but apps which uses OpenGL only gives me a black screen. I have tested with XBMC and Mednafen OpenGL output, and screen gets black for both. If I use Mednafen standard SDL video output, it works fine.

Hardware is an Intel GM965 chip, here's the lcpi output :

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
05:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)
06:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)

Here is my Xorg log file

I'm using Archlinux LTS kernel :

$ uname -a
Linux myhost 2.6.32-lts #1 SMP Tue Mar 15 09:48:41 CET 2011 x86_64 Intel(R) Celeron(R) CPU 550 @ 2.00GHz GenuineIntel GNU/Linux

The XBMC version is 10.1-1, it's the the one packaged for Arch, from the community repository. I also tried xbmc-git package, but I had the same problem, so I get back to community package.

Is there someone here using this kind of video chip with XBMC on TV-Out ?

Is there a way to tell XBMC to use standard SDL video out instead of using OpenGL (like mednafen does) ?

Is there any options missing at xorg level ?

Thanks in advance for your help.

Offline

#2 2011-03-21 23:58:14

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: XBMC, OpenGL and intel GM965 TV-Out

Post your xorg.conf and the output of

glxinfo | grep OpenGL

glxinfo is in the mesa-demos package. Also, are you in the video group? And any specific reason you're using the lts kernel? For such an old chip I don't think it matters, but who knows. With KMS being used now, the kernel has gotten a lot more important when it comes to graphics.

Offline

#3 2011-03-22 05:12:47

yodaz
Member
Registered: 2011-03-08
Posts: 41

Re: XBMC, OpenGL and intel GM965 TV-Out

Hi !

glxinfo output :

$ glxinfo | grep OpenGL
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 965GM  
OpenGL version string: 2.1 Mesa 7.10.1
OpenGL shading language version string: 1.20
OpenGL extensions:

I don't have xorg.conf, I just have 3 files under /etc/X11/xorg.conf.d :

The two default files 10-evdev.conf and 10-quirks.conf :

$ cat /etc/X11/xorg.conf.d/10-evdev.conf 
#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "XkbLayout"      "fr"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection
# Collection of quirks and blacklist/whitelists for specific devices.


# Accelerometer device, posts data through ABS_X/ABS_Y, making X unusable
# http://bugs.freedesktop.org/show_bug.cgi?id=22442 
Section "InputClass"
        Identifier "ThinkPad HDAPS accelerometer blacklist"
        MatchProduct "ThinkPad HDAPS accelerometer data"
        Option "Ignore" "on"
EndSection

And I have added a file named 10-monitor.conf to force 640x480 resolution to display on old TV CRT monitor :

Section "Monitor"
    Identifier    "TV"
    HorizSync 30-50
    VertRefresh 50
EndSection

Section "Screen"
    Identifier     "Screen_TV"
    Device         "Card0"
    Monitor        "TV"
    DefaultDepth   24
    SubSection "Display"
        Depth          24
        Modes "640x480"
    EndSubSection
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "intel"
    Option      "AccelMethod"                   "uxa"
    Option      "Tiling"                        "true"
EndSection

Section "DRI"
    Mode 0666
EndSection

I tried with and without "DRI" section, but it doesn't change anything

Offline

#4 2011-04-29 22:07:38

yodaz
Member
Registered: 2011-03-08
Posts: 41

Re: XBMC, OpenGL and intel GM965 TV-Out

After last xorg intel driver update, it works !

Offline

Board footer

Powered by FluxBB