LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Intel 4500HD issues (No opengl, no video overlay) (https://www.linuxquestions.org/questions/linux-hardware-18/intel-4500hd-issues-no-opengl-no-video-overlay-696944/)

iNPUTmice 01-13-2009 04:24 AM

Intel 4500HD issues (No opengl, no video overlay)
 
Hi

I have a notebook with the new Intel GMA 4500HD which of course is supported by the xorg intel driver. I'm running the latest version (2.5.1-r1 from Gentoo/portage) but I'm having some issues with it. I feel they are somehow connected.
First of of all I have no working GLX (or rather opengl or what ever - i cant tell the difference)
Strange thing is that glxinfo | grep direct returns: direct rendering: Yes
And glxgears runs exactly once and reports 1316 frames in 5.0 seconds = 262.839 FPS. When i run this a second and a third time glxgears aboards with Error: couldn't get an RGB, Double-buffered visual
Setting a opengl game like supertux :-) to use opengl causes the game to crash.
(glxinfo still reports the same - so the driver seems not to be crashed or something)

AIGLX didn't worked as well (xorg log reported something like dlysm (or something) then __*something*2005*numbers* didnt worked (I cant remember if needed i will reproduce the error and post the exact output)) however i just turned AIGLX off because that this compiz/berly thing i dont need right now - but would be nice to have this working somewhere in the future. anyway.

But the biggest issue right now is that xvideo doesnt support Video Overlay. Only textured video is available which causes the videos to flicker (I googled it. the problem is called tearing)
xvinfo | grep Adaptor only reports Adaptor #0: "Intel(R) Textured Video" where it should report Adaptor #1: "Intel(R) Video Overlay" as well.

Since they all three problems have something to do with opengl/dri/glx stuff i guess there is one solution for all of them. So please help me fix it. I really need this going. esp the xvideo stuff.

cheers Daniel

PS xorg config looks like this: (i copy pasted and edited it of my deskptop system. so dont mind the nvidia names and the syncmaste monitor name
Code:

Section "ServerLayout"
    Identifier    "Default Layout"
    Screen        "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    Option        "AIGLX" "false"
EndSection

Section "Module"
    Load          "GLcore"
    Load          "glx"
    Load          "dbe"
    Load          "v4l2"
    Load          "extmod"
    Load          "freetype"
    Load          "type1"
    Load          "dri"
EndSection

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "kbd"
    Option        "CoreKeyboard"
    Option        "XkbRules" "xorg"
    Option        "XkbModel" "pc105"
    Option        "XkbLayout" "de"
EndSection

Section "InputDevice"
    Identifier    "Configured Mouse"
    Driver        "mouse"
    Option        "CorePointer"
    Option        "Device" "/dev/input/mice"
    Option        "Protocol" "ImPS/2"
    Option        "Emulate3Buttons" "true"
EndSection
Section "Monitor"
    Identifier    "SyncMaster"
    Option        "DPMS"
EndSection

Section "Device"
    Identifier    "nVidia Corporation NV43 [GeForce 6600 GT]"
    Driver        "intel"
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "nVidia Corporation NV43 [GeForce 6600 GT]"
    Monitor        "SyncMaster"
    DefaultDepth    24
    SubSection    "Display"
        Depth      24
        Modes      "1400x900" "800x600" "720x400" "640x480"
    EndSubSection
EndSection

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

xorg log reported no errors but few warnings
Code:

(WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found
(WW) intel(0): Register 0x61110 (PORT_HOTPLUG_EN) changed from 0x20000120 to 0x38000120
(WW) intel(0): Register 0x61114 (PORT_HOTPLUG_STAT) changed from 0x00000000 to 0x18000000
(WW) intel(0): Register 0x70024 (PIPEASTAT) changed from 0x00000206 to 0x00000000
(WW) intel(0): PIPEASTAT before: status: VSYNC_INT_STATUS SVBLANK_INT_STATUS VBLANK_INT_STATUS
(WW) intel(0): PIPEASTAT after: status:
(WW) intel(0): Register 0x321b (FBC_FENCE_OFF) changed from 0x9e003800 to 0xaf038200
(WW) intel(0): Removed DRI frontbuffer mapping in compatibility mode.
(WW) intel(0): DRIGetDeviceInfo will report incorrect frontbuffer handle.
(WW) intel(0): EXA compatibility mode.  Output rotation rendering performance may suffer


iNPUTmice 01-14-2009 04:33 AM

I've just noticed that I'm using the DRM_I915 driver in my 2.6.28 kernel without patches (just the few gentoo patches)
cat /usr/src/linux/.config | grep -i drm returns CONFIG_DRM_I915=y

Other drivers are not enabled. Now i'm wondering if this is the right driver. Is there a drm_intel one?

please help!

cheers Daniel

edit: I give you the dmesg output as well since all drm stuff is not compiled as a modules
Code:

dmesg | grep intel
[    0.560868] agpgart-intel 0000:00:00.0: Intel Mobile Intel? GM45 Express Chipset
[    0.563968] agpgart-intel 0000:00:00.0: detected 32764K stolen memory
[    0.572203] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
dmesg | grep drm
[    0.788911] [drm] Initialized drm 1.1.0 20060810
[    0.790724] [drm] Initialized i915 1.6.0 20080730 on minor 0



All times are GMT -5. The time now is 04:31 PM.