Hi,

I have an intel abit IL90MV mother board :
 - i945GM chipset
 - intel core2duo t5600
 - 1Gb RAM
The mobo is connected through HDMI to a samsung PDP which is HDReady
(1280x720p and 1920x1080i).


I want to thank you for the big work you are doing on those drivers
and to tell you that I understand the code is "bleeding edge code".
I just want to give you some feedback about what's going on with my hardware.
If you need me to make some more tests, just let me know I'll do my
best to help you.

Distro : gentoo "stable" uptodate

you can find the lscpi at the end of the mail.

currently I'm using Xorg + Xrandr to display video through my HDMI
output (aka TMDS-1)
Except some little problems under X (some synchro error and some
tearing @ 1280x720) everything seems to work fine.
I'm trying to remove the whole XOrg server to replace it by a framebuffer.
Since I have an intel graphic card (GMA950) I'm trying to use the the
drm-modesetting-101 branch to have a correct output (1280x720).
For the moment, I was not able to make it work.

Here is the whole story :

Xorg : some output of the Xorg.log (will be usefull later)
Xorg probe all the outputs of the 945GM : the interesting one is TMDS-1

-- 8< -- TMDS-1 Probe by Xorg -- 8< --
...
(II) intel(0): EDID for output TMDS-1
(II) intel(0): Manufacturer: SAM  Model: 25b  Serial#: 0
(II) intel(0): Year: 2006  Week: 20
(II) intel(0): EDID Version: 1.3
(II) intel(0): Digital Display Input
(II) intel(0): Max H-Image Size [cm]: horiz.: 16  vert.: 9
(II) intel(0): Gamma: 2.20
(II) intel(0): No DPMS capabilities specified; RGB/Color Display
(II) intel(0): First detailed timing is preferred mode
(II) intel(0): redX: 0.640 redY: 0.330   greenX: 0.300 greenY: 0.600
(II) intel(0): blueX: 0.150 blueY: 0.060   whiteX: 0.312 whiteY: 0.329
(II) intel(0): Supported VESA Video Modes:
(II) intel(0): [EMAIL PROTECTED]
(II) intel(0): Manufacturer's mask: 0
(II) intel(0): Supported additional Video Mode:
(II) intel(0): clock: 74.2 MHz   Image Size:  160 x 90 mm
(II) intel(0): h_active: 1280  h_sync: 1720  h_sync_end 1760
h_blank_end 1980 h_border: 0
(II) intel(0): v_active: 720  v_sync: 725  v_sync_end 730 v_blanking:
750 v_border: 0
(II) intel(0): Supported additional Video Mode:
(II) intel(0): clock: 74.2 MHz   Image Size:  160 x 90 mm
(II) intel(0): h_active: 1920  h_sync: 2448  h_sync_end 2492
h_blank_end 2640 h_border: 0
(II) intel(0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking:
562 v_border: 0
(II) intel(0): Ranges: V min: 50  V max: 65 Hz, H min: 28  H max: 48
kHz, PixClock max 80 MHz
(II) intel(0): Monitor name: SAMSUNG PDP
(II) intel(0): Number of EDID sections to follow: 1
(II) intel(0): EDID (in hex):
(II) intel(0):  00ffffffffffff004c2d5b0200000000
(II) intel(0):  14100103801009780aee91a3544c9926
(II) intel(0):  0f505420000001010101010101010101
(II) intel(0):  010101010101011d00bc52d01e20b828
(II) intel(0):  5540a05a0000001e011d80d0721c1620
(II) intel(0):  102c2580a05a0000009e000000fd0032
(II) intel(0):  411c3008000a202020202020000000fc
(II) intel(0):  0053414d53554e47205044500a200140
(II) intel(0): EDID vendor "SAM", prod id 603
...
(II) intel(0): Printing probed modes for output TMDS-1
(II) intel(0): Modeline "1280x720"x50.0   74.25  1280 1720 1760 1980
720 725 730 750 +hsync +vsync (37.5 kHz)
(II) intel(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480
490 492 525 -hsync -vsync (31.5 kHz)
...
(II) intel(0): Output TMDS-1 connected
...
(II) intel(0): Output TMDS-1 using initial mode 1280x720
-- 8< --

Once Xorg has been initilised I use Xrandr to finish the hardware set up :

-- 8< --
xrandr  --output TMDS-1  --preferred
xrandr --output LVDS --off
-- 8< --

Everything works like a charm.

Now, about the DRM modesetting stuff

Yesterday I tried to set up the drm / intelfb by checking out the
latest git modesetting-101.
Compilation works fine, initialisation seems ok except that EDID Probe
does not work :

-- 8< -- DRM Probe -- 8< --
Oct  2 00:32:12 coreduo [drm] Initialized drm 1.1.0 20060810
Oct  2 00:32:17 coreduo PCI: Setting latency timer of device 0000:00:02.0 to 64
Oct  2 00:32:17 coreduo setting up 8122368 bytes of VRAM space
Oct  2 00:32:17 coreduo setting up 260313088 bytes of TT space
Oct  2 00:32:18 coreduo i2c-adapter i2c-4: unable to read EDID block.
Oct  2 00:32:18 coreduo i2c-adapter i2c-4: unable to read EDID block.
Oct  2 00:32:18 coreduo i2c-adapter i2c-4: unable to read EDID block.
Oct  2 00:32:18 coreduo i915 0000:00:02.0: LVDS: no EDID data
Oct  2 00:32:18 coreduo (SDVO_CMD_GET_DEVICE_CAPS)
Oct  2 00:32:18 coreduo 04 AC 00 01 01 01 01 00 (Success)
Oct  2 00:32:18 coreduo 00                      (SDVO_CMD_SET_TARGET_INPUT)
Oct  2 00:32:18 coreduo (Success)
Oct  2 00:32:18 coreduo (SDVO_CMD_GET_INPUT_PIXEL_CLOCK_RANGE)
Oct  2 00:32:18 coreduo C4 09 74 40             (Success)
Oct  2 00:32:18 coreduo (SDVO_CMD_GET_ATTACHED_DISPLAYS)
Oct  2 00:32:18 coreduo 01 00                   (Success)
Oct  2 00:32:18 coreduo 02
(SDVO_CMD_SET_CONTROL_BUS_SWITCH)
Oct  2 00:32:18 coreduo i2c-adapter i2c-4: sendbytes: error - bailout.
Oct  2 00:32:18 coreduo i2c-adapter i2c-4: unable to read EDID block.
Oct  2 00:32:19 coreduo i915 0000:00:02.0: TMDS-1: no EDID data
Oct  2 00:32:19 coreduo allocated 640x480 fb: 0x00020000, bo f59a4a80
Oct  2 00:32:19 coreduo fb0: intelfb frame buffer device
Oct  2 00:32:19 coreduo 00 00                   (SDVO_CMD_SET_ACTIVE_OUTPUTS)
Oct  2 00:32:19 coreduo (??? 238)
Oct  2 00:32:19 coreduo [drm] TMDS-1: set mode 640x480
Oct  2 00:32:19 coreduo 01 00                   (SDVO_CMD_SET_TARGET_OUTPUT)
Oct  2 00:32:19 coreduo (??? 238)
Oct  2 00:32:19 coreduo D8 09 80 A0 20 E0 2D 10
(SDVO_CMD_SET_OUTPUT_TIMINGS_PART1)
Oct  2 00:32:19 coreduo (??? 238)
Oct  2 00:32:19 coreduo 00                      (SDVO_CMD_SET_TARGET_INPUT)
Oct  2 00:32:19 coreduo (??? 238)
Oct  2 00:32:19 coreduo D8 09 80 A0 20 E0 2D 10
(SDVO_CMD_SET_INPUT_TIMINGS_PART1)
Oct  2 00:32:19 coreduo (??? 238)
Oct  2 00:32:19 coreduo 08                      (SDVO_CMD_SET_CLOCK_RATE_MULT)
Oct  2 00:32:19 coreduo (??? 238)
Oct  2 00:32:19 coreduo (SDVO_CMD_GET_TRAINED_INPUTS)
Oct  2 00:32:20 coreduo D3                      (Power on)
Oct  2 00:32:20 coreduo 01 00                   (SDVO_CMD_SET_ACTIVE_OUTPUTS)
Oct  2 00:32:20 coreduo (??? 238)
Oct  2 00:32:20 coreduo [drm] Initialized i915 1.10.0 20070209 on minor 0

-- 8< --

intelfb is created, my screen changes but nothing is displayed on it
except some coloured snow.
I tried to mplayer something on it (using vo fbdev / vo fbdev2),
mplayer does not complain but nothing appears on the screen (TMDS-1).

-- 8< --
mplayer -vo fbdev movie.avi
-- 8< --

Anyway, I tried to force the probing by "hacking into the code" :

replaced in drm_crtc.c :

        { DRM_MODE("640x480", DRM_MODE_TYPE_DEFAULT, 25200, 640, 656,
                   752, 800, 0, 480, 490, 492, 525, 0,
                   V_NHSYNC | V_NVSYNC) }, /* [EMAIL PROTECTED] */

by the modeline value found with Xorg

        { DRM_MODE("1280x720", DRM_MODE_TYPE_DEFAULT, 74250, 1280, 1720,
                   1760, 1980, 0, 720, 725, 730, 750, 0,
                   V_PHSYNC | V_PVSYNC) }, /* 720p */

to force the drm to set the graphic card in 720p mode

-- 8< -- hacked DRM Probe -- 8< --

Oct  2 00:54:38 coreduo [drm] Initialized drm 1.1.0 20060810
Oct  2 00:54:50 coreduo PCI: Setting latency timer of device 0000:00:02.0 to 64
Oct  2 00:54:50 coreduo setting up 8122368 bytes of VRAM space
Oct  2 00:54:50 coreduo setting up 260313088 bytes of TT space
Oct  2 00:54:50 coreduo i2c-adapter i2c-4: unable to read EDID block.
Oct  2 00:54:51 coreduo i2c-adapter i2c-4: unable to read EDID block.
Oct  2 00:54:51 coreduo i2c-adapter i2c-4: unable to read EDID block.
Oct  2 00:54:51 coreduo i915 0000:00:02.0: LVDS: no EDID data
Oct  2 00:54:51 coreduo (SDVO_CMD_GET_DEVICE_CAPS)
Oct  2 00:54:51 coreduo 04 AC 00 01 01 01 01 00 (Success)
Oct  2 00:54:51 coreduo 00                      (SDVO_CMD_SET_TARGET_INPUT)
Oct  2 00:54:51 coreduo (Success)
Oct  2 00:54:51 coreduo (SDVO_CMD_GET_INPUT_PIXEL_CLOCK_RANGE)
Oct  2 00:54:51 coreduo C4 09 74 40             (Success)
Oct  2 00:54:51 coreduo (SDVO_CMD_GET_ATTACHED_DISPLAYS)
Oct  2 00:54:51 coreduo 01 00                   (Success)
Oct  2 00:54:51 coreduo 02
(SDVO_CMD_SET_CONTROL_BUS_SWITCH)
Oct  2 00:54:51 coreduo i2c-adapter i2c-4: sendbytes: error - bailout.
Oct  2 00:54:51 coreduo i2c-adapter i2c-4: unable to read EDID block.
Oct  2 00:54:51 coreduo i915 0000:00:02.0: TMDS-1: no EDID data
Oct  2 00:54:51 coreduo allocated 1280x720 fb: 0x00020000, bo f6c9c3c0
Oct  2 00:54:51 coreduo fb0: intelfb frame buffer device
Oct  2 00:54:51 coreduo 00 00                   (SDVO_CMD_SET_ACTIVE_OUTPUTS)
Oct  2 00:54:52 coreduo (??? 238)
Oct  2 00:54:52 coreduo [drm] TMDS-1: set mode 1280x720
Oct  2 00:54:52 coreduo 01 00                   (SDVO_CMD_SET_TARGET_OUTPUT)
Oct  2 00:54:52 coreduo (??? 238)
Oct  2 00:54:52 coreduo 01 1D 00 BC 52 D0 1E 20
(SDVO_CMD_SET_OUTPUT_TIMINGS_PART1)
Oct  2 00:54:52 coreduo (??? 238)
Oct  2 00:54:52 coreduo 00                      (SDVO_CMD_SET_TARGET_INPUT)
Oct  2 00:54:52 coreduo (??? 238)
Oct  2 00:54:52 coreduo 01 1D 00 BC 52 D0 1E 20
(SDVO_CMD_SET_INPUT_TIMINGS_PART1)
Oct  2 00:54:52 coreduo (??? 238)
Oct  2 00:54:52 coreduo 02                      (SDVO_CMD_SET_CLOCK_RATE_MULT)
Oct  2 00:54:52 coreduo (??? 238)
Oct  2 00:54:52 coreduo (SDVO_CMD_GET_TRAINED_INPUTS)
Oct  2 00:54:52 coreduo 01                      (Power on)
Oct  2 00:54:52 coreduo 01 00                   (SDVO_CMD_SET_ACTIVE_OUTPUTS)
Oct  2 00:54:53 coreduo (??? 238)
Oct  2 00:54:53 coreduo [drm] Initialized i915 1.10.0 20070209 on minor 0
-- 8< --

after init, my screen shows : "Mode is not supported". If I switch
using fbset to 640x480 the coloured snow appears again. If I switch
back to 1280x720 I got the "Mode is not supported"

I don't know what to do now.
Could you please give me an idea of what to do next to provide you
some usefull information ?

Thank you for everything you are doing.

Philippe

-- lspci --

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and
945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile
945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML
Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High
Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
UHCI #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
UHCI #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2
EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GHM (ICH7-M DH) LPC
Interface Bridge (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family)
Serial ATA Storage Controller AHCI (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet
Controller
03:05.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)

-- lspci -v / only the graphic card part --

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and
945GT Express Memory Controller Hub (rev 03)
        Subsystem: ABIT Computer Corp. Unknown device 1075
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information

00:02.0 VGA compatible controller: Intel Corporation Mobile
945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
(prog-if 00 [VGA])
        Subsystem: ABIT Computer Corp. Unknown device 1075
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at fde80000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at ff00 [size=8]
        Memory at d0000000 (32-bit, prefetchable) [size=256M]
        Memory at fdf80000 (32-bit, non-prefetchable) [size=256K]
        Capabilities: [90] Message Signalled Interrupts: Mask- 64bit-
Queue=0/0 Enable-
        Capabilities: [d0] Power Management version 2

00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML
Express Integrated Graphics Controller (rev 03)
        Subsystem: ABIT Computer Corp. Unknown device 1075
        Flags: fast devsel
        Memory at fdf00000 (32-bit, non-prefetchable) [disabled] [size=512K]
        Capabilities: [d0] Power Management version 2

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to