(another) Intel driver change needs testing.

classic Classic list List threaded Threaded
32 messages Options
12
Reply | Threaded
Open this post in threaded view
|

(another) Intel driver change needs testing.

Owain Ainsworth-2
The diff found at http://xenocara.org/xvmc.diff could do with some
testing.

This is some stuff that I didn't backport back to 2.9.1 when I did the
intial intel driver backport pile. This contains a huge cleanup of the
XVMC code (and enabled it on 965+ by default, it is still there by an
option on lower). Otherwise there are a few small changes, but the vast
majority of it is xvmc.

With this the intel driver renderer is equal to just after intel 2.11
upstream.  Please test and report to myself and matthieu@, good feedback
or bad, when i've got this and one more thing out of the way I plan to
work on radeon dri2.

For those of you new here, or termnally adsent minded, instructions
follow:

make sure your xenocara tree is up to date.

$ cd /usr/xenocara/driver/xf86-video-intel
$ patch -E < /path/to/xvmc.diff
$ make -f Makefile.bsd-wrapper obj
$ make -f Makefile.bsd-wrapper build

restart X and robert is your mother's brother.

Cheers,

-0-
--
Abstainer, n.:
        A weak person who yields to the temptation of denying himself a
pleasure.
                -- Ambrose Bierce, "The Devil's Dictionary"

Reply | Threaded
Open this post in threaded view
|

Re: (another) Intel driver change needs testing.

Dave Del Debbio-2
I applied the patch.  It shows up as expected:

(**) intel(0): DPMS enabled
(==) intel(0): Intel XvMC decoder enabled
(II) intel(0): Set up textured video
(II) intel(0): [XvMC] xvmc_vld driver initialized.

Is there anything else you want done to test?  I am not aware of any
package (such as mplayer which specifically supports XvMC) which we
could use...

Dave.

Reply | Threaded
Open this post in threaded view
|

Re: (another) Intel driver change needs testing.

Marco Peereboom
In reply to this post by Owain Ainsworth-2
(==) intel(0): Intel XvMC decoder enabled
(II) intel(0): Set up textured video
(II) intel(0): [XvMC] xvmc_vld driver initialized.
(II) intel(0): direct rendering: DRI2 Enabled

groovy,...

up to the second amd64 on gcc4.

On Mon, May 17, 2010 at 10:16:54PM +0100, Owain Ainsworth wrote:

> The diff found at http://xenocara.org/xvmc.diff could do with some
> testing.
>
> This is some stuff that I didn't backport back to 2.9.1 when I did the
> intial intel driver backport pile. This contains a huge cleanup of the
> XVMC code (and enabled it on 965+ by default, it is still there by an
> option on lower). Otherwise there are a few small changes, but the vast
> majority of it is xvmc.
>
> With this the intel driver renderer is equal to just after intel 2.11
> upstream.  Please test and report to myself and matthieu@, good feedback
> or bad, when i've got this and one more thing out of the way I plan to
> work on radeon dri2.
>
> For those of you new here, or termnally adsent minded, instructions
> follow:
>
> make sure your xenocara tree is up to date.
>
> $ cd /usr/xenocara/driver/xf86-video-intel
> $ patch -E < /path/to/xvmc.diff
> $ make -f Makefile.bsd-wrapper obj
> $ make -f Makefile.bsd-wrapper build
>
> restart X and robert is your mother's brother.
>
> Cheers,
>
> -0-
> --
> Abstainer, n.:
> A weak person who yields to the temptation of denying himself a
> pleasure.
> -- Ambrose Bierce, "The Devil's Dictionary"

Reply | Threaded
Open this post in threaded view
|

Re: (another) Intel driver change needs testing.

J.C. Roberts-3
In reply to this post by Owain Ainsworth-2
On Mon, 17 May 2010 22:16:54 +0100 Owain Ainsworth
<[hidden email]> wrote:
> For those of you new here, or termnally adsent minded, instructions
> follow:
>

You've got be careful with those "termnally adsent" folks. ;)

With the 845G and a minimal xorg.conf (only "NoTrapSignals") I get
the expected:

        (II) intel(0): DPMS enabled
        (==) intel(0): Intel XvMC decoder disabled
        (II) intel(0): Set up overlay video
        (II) intel(0): direct rendering: DRI2 Enabled

When using:
        Option "XvMC" "true"

It seems to become enabled, but really doesn't do anything.

        (II) intel(0): DPMS enabled
        (==) intel(0): Intel XvMC decoder disabled
        (II) intel(0): Set up overlay video
        (II) intel(0): direct rendering: DRI2 Enabled

Trying to test xvmc with `mplayer -vo xvmc` just results in:

        Error opening/initializing the selected video_out (-vo) device.

Whether enabled or disabled in xorg.conf, (so far) it seems to have no
effect on the occasional/intermittent screen corruption bug seen by
dcoppa (915GM) and me (845G).

--
The OpenBSD Journal - http://www.undeadly.org

Reply | Threaded
Open this post in threaded view
|

Re: (another) Intel driver change needs testing.

David Coppa
On Tue, May 18, 2010 at 4:40 PM, J.C. Roberts <[hidden email]> wrote:

> Whether enabled or disabled in xorg.conf, (so far) it seems to have no
> effect on the occasional/intermittent screen corruption bug seen by
> dcoppa (915GM) and me (845G).

The occasional/intermittent screen corruption bug seems to have
disappeared for me with latest xenocara -current + the "experimental"
Mesa 7.8 update.

cheers,
david

Reply | Threaded
Open this post in threaded view
|

Re: (another) Intel driver change needs testing.

Ted Roby
In reply to this post by J.C. Roberts-3
On Tue, May 18, 2010 at 8:40 AM, J.C. Roberts <[hidden email]>wrote:

> On Mon, 17 May 2010 22:16:54 +0100 Owain Ainsworth
> <[hidden email]> wrote:
> > For those of you new here, or termnally adsent minded, instructions
> > follow:
> >
>
> You've got be careful with those "termnally adsent" folks. ;)
>
>
absinthe-minded?



>
> Whether enabled or disabled in xorg.conf, (so far) it seems to have no
> effect on the occasional/intermittent screen corruption bug seen by
> dcoppa (915GM) and me (845G).
>
>
I have a corruption artifact that affects my pidgin IM window, and
pop-up windows like my mozilla-firefox URL history in the address bar.

It did NOT exist in a April 28 snapshot build with GEM kernel and
intel-current.tgz drivers. I never experienced this artifact until the
GEM commit on May 10th.

At that time, I also installed a new system.
Pidgin, xfce4 (my wm) and gcc have also been modified since the
April 28 snapshot. I just now noticed the May 13th snapshot, but
have not tested with it. My build was on May 11th after GEM commit,
and again this morning before diff test.

I can re-create this artifact by alt-tabbing between another
non-fullscreen window, and the pidgin IM (message) window.
Tabbing between fullscreen mozilla-firefox and then pidgin IM
window clears the bug. Tabbing between non-fullscreen
mozilla-firefox and the pidgin IM window recreates the artifact
as expected. I have full window compositing turned on, and
semi-transparency set for all windows not in primary focus.

Here's a screenshot:
http://devio.us/~roby/images/artifact001.jpg

Here's my dmesg, hw.sensors, xorg.conf and Xorg.log

OpenBSD 4.7-current (bsd.build) #0: Tue May 18 07:18:35 MDT 2010
    [hidden email]:/tmp/bsd.build
cpu0: Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz ("GenuineIntel" 686-class)
2.20
 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3
,CX16,xTPR,PDCM
real mem  = 3184046080 (3036MB)
avail mem = 3089182720 (2946MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/29/05, SMBIOS rev. 2.4 @ 0xe0000
(43 en
tries)
bios0: vendor Apple Inc. version "MB31.88Z.008E.B02.0803051832" date
03/05/08
bios0: Apple Inc. MacBook3,1
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP HPET APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT SSDT
SSDT
acpi0: wakeup devices ADP1(S3) LID0(S3) ARPT(S3) GIGE(S3) UHC1(S3) UHC2(S3)
UHC3
(S3) UHC4(S3) UHC5(S3) EHC1(S3) EHC2(S3) EC__(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz ("GenuineIntel" 686-class)
2.20
 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3
,CX16,xTPR,PDCM
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (RP05)
acpiprt2 at acpi0: bus 3 (RP06)
acpiprt3 at acpi0: bus 4 (PCIB)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "15253732082930497" type 15253732284385612 oem
"15
253732284387396"
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: LCD_
acpivout1 at acpivideo0: VGA_
acpivout2 at acpivideo0: TV__
bios0: ROM list: 0xc0000/0xee00!
cpu0: Enhanced SpeedStep 2195 MHz: speeds: 2200, 2000, 1800, 1600, 1400,
1200, 8
00 MHz
memory map conflict 0xf00f8000/0x1000
memory map conflict 0xfed1c000/0x4000
memory map conflict 0xfffa0000/0x30000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xc0000000, size 0x10000000
inteldrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at inteldrm0
"Intel GM965 Video" rev 0x03 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 20
(irq
10)
uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 16
(irq
11)
ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 21
(irq
9)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: apic 1
int 2
0 (irq 10)
azalia0: RIRB time out
azalia0: codecs: Realtek ALC885
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03: apic 1 int 16
(irq
255)
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 4 "Intel 82801H PCIE" rev 0x03: apic 1 int 16
(irq
255)
pci2 at ppb1 bus 2
"Broadcom BCM4321" rev 0x03 at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 5 "Intel 82801H PCIE" rev 0x03: apic 1 int 17
(irq
255)
pci3 at ppb2 bus 3
mskc0 at pci3 dev 0 function 0 "Marvell Yukon 88E8058" rev 0x13, Yukon-2 EC
Ultr
a rev. B0 (0x3): apic 1 int 17 (irq 7)
msk0 at mskc0 port A: address 00:1b:63:ad:0b:ee
eephy0 at msk0 phy 0: 88E1149 Gigabit PHY, rev. 1
uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 16
(irq
11)
uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 18
(irq
5)
uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x03: apic 1 int 21
(irq
9)
ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 20
(irq
10)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf3
pci4 at ppb3 bus 4
"AT&T/Lucent FW322 1394" rev 0x61 at pci4 dev 3 function 0 not configured
ichpcib0 at pci0 dev 31 function 0 "Intel 82801HBM LPC" rev 0x03: PM
disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x03: DMA,
channel 0
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVDRW GSA-S10N, BP10> ATAPI 5/cdrom
rem
ovable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801HBM SATA" rev 0x03: DMA,
channel 0
 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 1 int 18 (irq 5) for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <SAMSUNG HM250JI>
wd0: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x03: apic 1 int
20 (
irq 10)
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
spdmem1 at iic0 addr 0x52: 2GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uvideo0 at uhub1 port 4 configuration 1 interface 0 "Micron Built-in iSight"
rev
 2.00/1.84 addr 2
video0 at uvideo0
uhidev0 at uhub2 port 1 configuration 1 interface 0 "Apple Computer ADB
device"
rev 2.00/19.65 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub2 port 1 configuration 1 interface 1 "Apple Computer ADB
device"
rev 2.00/19.65 addr 2
uhidev1: iclass 3/1
ums0 at uhidev1: 5 buttons
wsmouse0 at ums0 mux 0
uhidev2 at uhub6 port 1 configuration 1 interface 0 "Apple Computer, Inc. IR
Rec
eiver" rev 2.00/0.16 addr 2
uhidev2: iclass 3/0, 38 report ids
uhid0 at uhidev2 reportid 36: input=4, output=0, feature=0
uhid1 at uhidev2 reportid 37: input=4, output=0, feature=0
uhid2 at uhidev2 reportid 38: input=4, output=0, feature=0
uhidev3 at uhub6 port 2 configuration 1 interface 0 "Apple Computer Apple
Intern
al Keyboard / Trackpad" rev 2.00/0.07 addr 3
uhidev3: iclass 3/1
ukbd1 at uhidev3: 8 modifier keys, 5 key codes, country code 33
wskbd1 at ukbd1 mux 1
wskbd1: connecting to wsdisplay0
uhidev4 at uhub6 port 2 configuration 1 interface 1 "Apple Computer Apple
Intern
al Keyboard / Trackpad" rev 2.00/0.07 addr 3
uhidev4: iclass 3/1, 5 report ids
ums1 at uhidev4 reportid 2: 3 buttons
wsmouse1 at ums1 mux 0
ums2 at uhidev4 reportid 5
ums2: mouse has no X report
uhidev5 at uhub6 port 2 configuration 1 interface 2 "Apple Computer Apple
Intern
al Keyboard / Trackpad" rev 2.00/0.07 addr 3
uhidev5: iclass 3/0
uhid3 at uhidev5: input=1, output=0, feature=0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
hw.sensors.acpiac0.indicator0=On (power supply)
hw.sensors.acpibat0.volt0=10.95 VDC (voltage)
hw.sensors.acpibat0.volt1=12.55 VDC (current voltage)
hw.sensors.acpibat0.watthour0=42.02 Wh (last full capacity)
hw.sensors.acpibat0.watthour1=0.25 Wh (warning capacity)
hw.sensors.acpibat0.watthour2=0.10 Wh (low capacity)
hw.sensors.acpibat0.watthour3=41.72 Wh (remaining capacity), OK
hw.sensors.acpibat0.raw0=0 (battery idle), OK
hw.sensors.acpibat0.raw1=0 (rate)
hw.sensors.cpu0.temp0=61.00 degC


 Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/X11R6/lib/modules"
    FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath     "/usr/X11R6/lib/X11/fonts/OTF"
    FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
    Load  "dbe"
    Load  "dri"
    Load  "dri2"
    Load  "extmod"
    Load  "glx"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "wsmouse"
    Option        "Device" "/dev/wsmouse"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel"
    BoardName   "GM965 Video"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

(--) checkDevMem: using aperture driver /dev/xf86
(--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version
3.32)

X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: OpenBSD 4.7 i386
Current Operating System: OpenBSD kramer.my.domain 4.7 bsd.build#0 i386
Build Date: 18 May 2010  09:27:15AM

    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue May 18 10:04:41 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Not automatically adding devices
(==) Not automatically enabling devices
(**) FontPath set to:
    /usr/X11R6/lib/X11/fonts/misc/,
    /usr/X11R6/lib/X11/fonts/TTF/,
    /usr/X11R6/lib/X11/fonts/OTF,
    /usr/X11R6/lib/X11/fonts/Type1/,
    /usr/X11R6/lib/X11/fonts/100dpi/,
    /usr/X11R6/lib/X11/fonts/75dpi/,
    /usr/X11R6/lib/X11/fonts/misc/,
    /usr/X11R6/lib/X11/fonts/TTF/,
    /usr/X11R6/lib/X11/fonts/OTF,
    /usr/X11R6/lib/X11/fonts/Type1/,
    /usr/X11R6/lib/X11/fonts/100dpi/,
    /usr/X11R6/lib/X11/fonts/75dpi/
(**) ModulePath set to "/usr/X11R6/lib/modules"
(II) Loader magic: 0x7ec0
(II) Module ABI versions:
    X.Org ANSI C Emulation: 0.4
    X.Org Video Driver: 5.0
    X.Org XInput driver : 4.0
    X.Org Server Extension : 2.0
(II) Loader running on openbsd
(--) PCI:*(0:0:2:0) 8086:2a02:106b:00a1 Intel GM965 Video rev 3, Mem @
0xd0100000/1048576, 0xc0000000/268435456, I/O @ 0x00003110/8
(--) PCI: (0:0:2:1) 8086:2a03:106b:00a1 Intel GM965 Video rev 3, Mem @
0xd0200000/1048576
(II) System resource ranges:
    [0] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[B]
    [1] -1    0    0x000c0000 - 0x000effff (0x30000) MX[B]
    [2] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[B]
    [3] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[B]
    [4] -1    0    0x00000000 - 0x000000ff (0x100) IX[B]
(II) "extmod" will be loaded. This was enabled by default and also specified
in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in
the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in
the config file.
(II) "dri" will be loaded. This was enabled by default and also specified in
the config file.
(II) "dri2" will be loaded. This was enabled by default and also specified
in the config file.
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
    compiled for 1.6.5, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
    compiled for 1.6.5, module version = 1.0.0
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/X11R6/lib/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
    compiled for 1.6.5, module version = 1.1.0
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
    compiled for 1.6.5, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
    compiled for 1.6.5, module version = 1.0.0
    ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "intel"
(II) Loading /usr/X11R6/lib/modules/drivers//intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
    compiled for 1.6.5, module version = 2.9.1
    Module class: X.Org Video Driver
    ABI class: X.Org Video Driver, version 5.0
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
    compiled for 1.6.5, module version = 1.4.0
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 4.0
(II) LoadModule: "kbd"
(II) Loading /usr/X11R6/lib/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
    compiled for 1.6.5, module version = 1.3.2
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 4.0
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
    i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
    E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
    965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
    4 Series, G45/G43, Q45/Q43, G41, B43, Clarkdale, Arrandale
(II) Primary Device is: PCI 00@00:02:0
(II) resource ranges after probing:
    [0] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[B]
    [1] -1    0    0x000c0000 - 0x000effff (0x30000) MX[B]
    [2] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[B]
    [3] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[B]
    [4] -1    0    0x00000000 - 0x000000ff (0x100) IX[B]
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules//libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
    compiled for 1.6.5, module version = 0.1.0
    ABI class: X.Org Video Driver, version 5.0
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
drmOpenDevice: node name is /dev/drm0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/drm0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: drmOpenMinor returns 10
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(==) intel(0): Depth 24, (--) framebuffer bpp 32
(==) intel(0): RGB weight 888
(==) intel(0): Default visual is TrueColor
(II) intel(0): Integrated Graphics Chipset: Intel(R) 965GM
(--) intel(0): Chipset: "965GM"
(--) intel(0): Linear framebuffer at 0xC0000000
(--) intel(0): IO registers at addr 0xD0100000 size 1048576
(WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB
(II) intel(0): the SDVO device with slave addr 70 is found on DVO 1 port
(II) intel(0): 2 display pipes available.
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Module "ddc" already built-in
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Module "i2c" already built-in
(II) intel(0): Output VGA using monitor section Monitor0
(II) intel(0): Output LVDS has no monitor section
(II) intel(0): I2C bus "LVDSDDC_C" initialized.
(II) intel(0): Attempting to determine panel fixed mode.
(II) intel(0): I2C device "LVDSDDC_C:E-EDID segment register" registered at
address 0x60.
(II) intel(0): I2C device "LVDSDDC_C:ddc2" registered at address 0xA0.
(II) intel(0): EDID vendor "APP", prod id 40028
(II) intel(0): I2C bus "SDVOCTRL_E for SDVOB" initialized.
(II) intel(0): I2C device "SDVOCTRL_E for SDVOB:SDVO Controller B"
registered at address 0x70.
(II) intel(0): I2C bus "SDVOB DDC Bus" initialized.
(II) intel(0): Output TMDS-1 has no monitor section
(II) intel(0): SDVOB: device VID/DID: 04:AA.03, clock range 25.0MHz -
165.0MHz
(II) intel(0): SDVOB: 1 input channel
(II) intel(0): SDVOB: TMDS0 output reported
(II) intel(0): I2C bus "SDVOCTRL_E for SDVOC" initialized.
(II) intel(0): I2C device "SDVOCTRL_E for SDVOC:SDVO Controller C"
registered at address 0x72.
(II) intel(0): No SDVO device found on SDVOC
(II) intel(0): I2C device "SDVOCTRL_E for SDVOC:SDVO Controller C" removed.
(II) intel(0): I2C bus "SDVOCTRL_E for SDVOC" removed.
(II) intel(0): Output TV has no monitor section
(II) intel(0): Current clock rate multiplier: 1
(==) intel(0): Write-combining range (0xa0000,0x10000) was already clear
(II) intel(0): EDID vendor "APP", prod id 40028
(II) intel(0): Output VGA disconnected
(II) intel(0): Output LVDS connected
(II) intel(0): Output TMDS-1 disconnected
(II) intel(0): Output TV disconnected
(II) intel(0): Using exact sizes for initial modes
(II) intel(0): Output LVDS using initial mode 1280x800
(==) intel(0): Write-combining range (0xa0000,0x10000) was already clear
(II) intel(0): detected 512 kB GTT.
(II) intel(0): detected 15868 kB stolen memory.
(==) intel(0): video overlay key set to 0x101fe
(==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
(==) intel(0): DPI set to (96, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
    compiled for 1.6.5, module version = 1.0.0
    ABI class: X.Org ANSI C Emulation, version 0.4
(==) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
    [0] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[B]
    [1] -1    0    0x000c0000 - 0x000effff (0x30000) MX[B]
    [2] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[B]
    [3] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[B]
    [4] -1    0    0x00000000 - 0x000000ff (0x100) IX[B]
(II) intel(0): Kernel reported 1006592 total, 0 used
(II) intel(0): I830CheckAvailableMemory: 4026368 kB available
(II) intel(0): [DRI2] Setup complete
(**) intel(0): Framebuffer compression disabled
(**) intel(0): Tiling enabled
(**) intel(0): SwapBuffers wait enabled
(==) intel(0): VideoRam: 262144 KB
(II) intel(0): Attempting memory allocation with tiled buffers.
(II) intel(0): Tiled allocation successful.
(II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is
0x0000
(==) intel(0): Write-combining range (0xa0000,0x10000) was already clear
(II) UXA(0): Driver registered support for the following operations:
(II)         solid
(II)         copy
(II)         composite (RENDER acceleration)
(II)         put_image
(==) intel(0): Backing store disabled
(==) intel(0): Silken mouse enabled
(II) intel(0): Initializing HW Cursor
(II) intel(0): Current clock rate multiplier: 1
(II) intel(0): Fixed memory allocation layout:
(II) intel(0): 0x00000000-0x00000fff: power context (4 kB)
(II) intel(0): 0x00f7f000:            end of stolen memory
(II) intel(0): 0x00f7f000-0x0fffffff: DRI memory manager (246276 kB)
(II) intel(0): 0x10000000:            end of aperture
(II) intel(0): BO memory allocation layout:
(II) intel(0): 0x00f7f000:            start of memory manager
(II) intel(0): 0x00f9f000-0x01386fff: front buffer (4000 kB) X tiled
(II) intel(0): 0x0139f000-0x0139ffff: overlay registers (4 kB)
(II) intel(0): 0x013a0000-0x013a9fff: HW cursors (40 kB)
(II) intel(0): 0x10000000:            end of memory manager
(II) intel(0): Selecting standard 18 bit TMDS pixel format.
(II) intel(0): Output configuration:
(II) intel(0):   Pipe A is off
(II) intel(0):   Display plane A is now disabled and connected to pipe A.
(II) intel(0):   Pipe B is on
(II) intel(0):   Display plane B is now enabled and connected to pipe B.
(II) intel(0):   Output VGA is connected to pipe none
(II) intel(0):   Output LVDS is connected to pipe B
(II) intel(0):   Output TMDS-1 is connected to pipe none
(II) intel(0):   Output TV is connected to pipe none
(II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled
message.
(II) intel(0): DPMS enabled
(==) intel(0): Intel XvMC decoder enabled
(II) intel(0): Set up textured video
(II) intel(0): Set up overlay video
(II) intel(0): [XvMC] i965_xvmc driver initialized.
(II) intel(0): direct rendering: DRI2 Enabled
(--) RandR disabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
(II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
(II) AIGLX: Loaded and initialized /usr/X11R6/lib/modules/dri/i965_dri.so
(II) GLX: Initialized DRI2 GL provider for screen 0
(II) intel(0): Setting screen physical size to 286 x 179
(**) Option "Protocol" "wsmouse"
(**) Mouse0: Protocol: wsmouse
(**) Option "CorePointer"
(**) Mouse0: always reports core events
(**) Option "Device" "/dev/wsmouse"
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5 6 7"
(**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7
(**) Mouse0: Buttons: 11
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(**) Mouse0: (accel) keeping acceleration scheme 1
(**) Mouse0: (accel) filter chain progression: 2.00
(**) Mouse0: (accel) filter stage 0: 20.00 ms
(**) Mouse0: (accel) set acceleration profile 0
(**) Option "CoreKeyboard"
(**) Keyboard0: always reports core events
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(--) Keyboard0: using wscons layout us
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard0: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Keyboard0: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) AIGLX: Suspending AIGLX clients for VT switch
(II) AIGLX: Resuming AIGLX clients after VT switch
(II) intel(0): Fixed memory allocation layout:
(II) intel(0): 0x00000000-0x00000fff: power context (4 kB)
(II) intel(0): 0x00f7f000:            end of stolen memory
(II) intel(0): 0x00f7f000-0x0fffffff: DRI memory manager (246276 kB)
(II) intel(0): 0x10000000:            end of aperture
(II) intel(0): BO memory allocation layout:
(II) intel(0): 0x00f7f000:            start of memory manager
(II) intel(0): 0x01702000-0x01ae9fff: front buffer (4000 kB) X tiled
(II) intel(0): 0x0129b000-0x0129bfff: overlay registers (4 kB)
(II) intel(0): 0x01282000-0x0128bfff: HW cursors (40 kB)
(II) intel(0): 0x10000000:            end of memory manager
(II) intel(0): Selecting standard 18 bit TMDS pixel format.
(II) intel(0): Output configuration:
(II) intel(0):   Pipe A is off
(II) intel(0):   Display plane A is now disabled and connected to pipe A.
(II) intel(0):   Pipe B is on
(II) intel(0):   Display plane B is now enabled and connected to pipe B.
(II) intel(0):   Output VGA is connected to pipe none
(II) intel(0):   Output LVDS is connected to pipe B
(II) intel(0):   Output TMDS-1 is connected to pipe none
(II) intel(0):   Output TV is connected to pipe none

Reply | Threaded
Open this post in threaded view
|

Re: (another) Intel driver change needs testing.

J.C. Roberts-3
In reply to this post by David Coppa
On Tue, 18 May 2010 16:52:11 +0200 David Coppa <[hidden email]> wrote:

> On Tue, May 18, 2010 at 4:40 PM, J.C. Roberts
> <[hidden email]> wrote:
>
> > Whether enabled or disabled in xorg.conf, (so far) it seems to have
> > no effect on the occasional/intermittent screen corruption bug seen
> > by dcoppa (915GM) and me (845G).
>
> The occasional/intermittent screen corruption bug seems to have
> disappeared for me with latest xenocara -current + the "experimental"
> Mesa 7.8 update.

That's good news! I don't have the "experimental" mesa patch, but if you
want me to test it, mail it to me off list.

I'm still trying to track down what kernel drm change between April 19
and April 24 (inclusive) is responsible for regular xv failing to work
any more with the i845G. When I did the initial test of the new intel
driver, it worked on the 19th, but when I rebuilt the (GEM) kernel on
the 24th, xv stopped working.

        jcr

--
The OpenBSD Journal - http://www.undeadly.org

Reply | Threaded
Open this post in threaded view
|

Re: (another) Intel driver change needs testing.

J.C. Roberts-3
In reply to this post by J.C. Roberts-3
On Tue, 18 May 2010 07:40:23 -0700 "J.C. Roberts"
<[hidden email]> wrote:
> It seems to become enabled, but really doesn't do anything.
>
> (II) intel(0): DPMS enabled
> (==) intel(0): Intel XvMC decoder disabled
                                          ^^^^^^^^
copy-n-paste snafu. should read "enabled"

--
The OpenBSD Journal - http://www.undeadly.org

Reply | Threaded
Open this post in threaded view
|

Re: (another) Intel driver change needs testing.

Owain Ainsworth-2
In reply to this post by J.C. Roberts-3
On Tue, May 18, 2010 at 07:40:23AM -0700, J.C. Roberts wrote:
> On Mon, 17 May 2010 22:16:54 +0100 Owain Ainsworth
> <[hidden email]> wrote:
> > For those of you new here, or termnally adsent minded, instructions
> > follow:
> >
>
> You've got be careful with those "termnally adsent" folks. ;)

Feh, typo ;).

>
> With the 845G and a minimal xorg.conf (only "NoTrapSignals") I get
> the expected:
>
> (II) intel(0): DPMS enabled
> (==) intel(0): Intel XvMC decoder disabled
> (II) intel(0): Set up overlay video
> (II) intel(0): direct rendering: DRI2 Enabled
>
> When using:
> Option "XvMC" "true"
>
> It seems to become enabled, but really doesn't do anything.
>
> (II) intel(0): DPMS enabled
> (==) intel(0): Intel XvMC decoder disabled
> (II) intel(0): Set up overlay video
> (II) intel(0): direct rendering: DRI2 Enabled

All that actually does is say that the option is turned on (defaults to
yes for 965+, no for the rest). an extra message from the decoding code
comes up in the case where it actually does something (915+ only, i'm
afraid). It is a rather stupid message, I agree.

>
> Trying to test xvmc with `mplayer -vo xvmc` just results in:
>
> Error opening/initializing the selected video_out (-vo) device.

mplayer in ports doesn't support xvmc. I really ought to check what
does. Then again, it may not be hard to enable.

Thanks for testing (to everyone who has done so so far).

-0-
--
When the speaker and he to whom he is speaks do not understand, that is
metaphysics.
                -- Voltaire

Reply | Threaded
Open this post in threaded view
|

Re: (another) Intel driver change needs testing.

Owain Ainsworth-2
In reply to this post by Ted Roby
On Tue, May 18, 2010 at 11:01:29AM -0600, Ted Roby wrote:

> On Tue, May 18, 2010 at 8:40 AM, J.C. Roberts <[hidden email]>wrote:
>
> > On Mon, 17 May 2010 22:16:54 +0100 Owain Ainsworth
> > <[hidden email]> wrote:
> > > For those of you new here, or termnally adsent minded, instructions
> > > follow:
> > >
> >
> > You've got be careful with those "termnally adsent" folks. ;)
> >
> >
> absinthe-minded?
>

Hard to get decent Absinthe in the UK, i'm afraid.

> >
> > Whether enabled or disabled in xorg.conf, (so far) it seems to have no
> > effect on the occasional/intermittent screen corruption bug seen by
> > dcoppa (915GM) and me (845G).
> >
> >
> I have a corruption artifact that affects my pidgin IM window, and
> pop-up windows like my mozilla-firefox URL history in the address bar.
>
> It did NOT exist in a April 28 snapshot build with GEM kernel and
> intel-current.tgz drivers. I never experienced this artifact until the
> GEM commit on May 10th.

There were three, could you confirm which one you mean?

Also, can you please retest with current, i commited a diff today that
may help.

-0-
--
f u cn rd ths, itn tyg h myxbl cd.

Reply | Threaded
Open this post in threaded view
|

Re: (another) Intel driver change needs testing.

Sviatoslav Chagaev-2
In reply to this post by Owain Ainsworth-2
On Mon, 17 May 2010 22:16:54 +0100
Owain Ainsworth <[hidden email]> wrote:

> The diff found at http://xenocara.org/xvmc.diff could do with some
> testing.
>
> This is some stuff that I didn't backport back to 2.9.1 when I did the
> intial intel driver backport pile. This contains a huge cleanup of the
> XVMC code (and enabled it on 965+ by default, it is still there by an
> option on lower). Otherwise there are a few small changes, but the vast
> majority of it is xvmc.
>
> With this the intel driver renderer is equal to just after intel 2.11
> upstream.  Please test and report to myself and matthieu@, good feedback
> or bad, when i've got this and one more thing out of the way I plan to
> work on radeon dri2.
>
> For those of you new here, or termnally adsent minded, instructions
> follow:
>
> make sure your xenocara tree is up to date.
>
> $ cd /usr/xenocara/driver/xf86-video-intel
> $ patch -E < /path/to/xvmc.diff
> $ make -f Makefile.bsd-wrapper obj
> $ make -f Makefile.bsd-wrapper build
>
> restart X and robert is your mother's brother.
>
> Cheers,
>
> -0-
> --
> Abstainer, n.:
> A weak person who yields to the temptation of denying himself a
> pleasure.
> -- Ambrose Bierce, "The Devil's Dictionary"
>

Installed latest snapshot (from May 12, judging by the kernel),
updated /usr/xenocara, applied patch, built the driver.

Everything seems to be okay. After I enabled XVMC in xorg.conf, it says
in Xorg.log that XVMC is enabled.

Checked out the latest source of mplayer and built it with
--enable-xvmc, this is what it says when I try to play a video with
-vo xvmc:

s@d400:0:tmp$ /usr/local/mplayer-svn/bin/mplayer -vo xvmc video.mp4
MPlayer SVN-r31179-3.3.5 (C) 2000-2010 MPlayer Team

Playing video.mp4.
libavformat file format detected.
Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. You may try recompiling using gcc >= 4.2.
Do not report crashes to FFmpeg developers.
[lavf] stream 0: audio (aac), -aid 0, -alang und
[lavf] stream 1: video (h264), -vid 0
VIDEO:  [H264]  480x360  24bpp  25.000 fps  501.0 kbps (61.2 kbyte/s)
Clip info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: isomavc1mp42
vo_xvmc: X-Video extension 2.2
vo_xvmc: No X-Video MotionCompensation Extension on :0.0
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 125.6 kbit/8.90% (ratio: 15698->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/sound: Device busy
ao2: 44100 Hz  2 chans  s16le [0x9]
[AO SUN] Can't open audio device /dev/audio, Device busy  -> nosound.
DVB card number must be between 1 and 4
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...

Exiting... (Quit)


But from your mail to J. C. Roberts I gather it's supposed to be like
this.

Also, after your previous request to test GEM (like when we needed to
recompile a kernel with an option), from some later snapshot
onwards, I started having two problems:
- Screen corruption, easiest way to get it was to scroll a webpage fast
in Firefox, when this screen corruption happened -- errors would appear
on the console from drm

With this current software combination -- I don't see this problem
anymore.

- Second problem is that if I put something like `bgs image.jpg` in
my .xinitrc, then when I run X, the background is never changed
and remains to be that default X b/w pattern and the screen/window
repainting gets completely messed up: the windows are simply not drawn.
I run xterm, the cursor changes to text-cursor when I hover the mouse
over the area where the window should be. I can start programs from
this xterm, but the window is simply invisible. Same for any other
program windows.

My .xinitrc:

bgs .fluxbox/backgrounds/space_005.jpg
exec cwm

If I comment out the bgs line, and run it manually after starting X,
everything's fine.

Also, I think this might be connected to this issue, when I type
startx, when the mode is set and the screen is filled with X's default
pattern, for approximately 0.4~0.6 seconds, in the lower right edge of
the screen I see a black rectangle, about 1/3 of the screen's width and
of ~4 pixels height, after that it disappears and I see the X pattern
in this area as I normally should have.


########################################################################
# dmesg                                                                #
########################################################################
OpenBSD 4.7-current (GENERIC) #643: Wed May 12 02:00:04 MDT 2010
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1400MHz ("GenuineIntel" 686-class)
 1.40 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACP
I,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2
real mem  = 535023616 (510MB)
avail mem = 508817408 (485MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/28/05, BIOS32 rev. 0 @ 0xffe90,
 SMBIOS rev. 2.3 @ 0xf8cf0 (61 entries)
bios0: vendor Dell Computer Corporation version "A08" date 06/28/2005
bios0: Dell Computer Corporation Latitude D400
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP ASF!
acpi0: wakeup devices LID_(S3) PBTN(S4) PCI0(S3) USB0(S1) USB1(S1) USB2(
S1) USB3(S1) MODM(S3) PCIE(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PCIE)
acpicpu0 at acpi0: C3, C3, C2, C1, PSS
acpitz0 at acpi0: critical temperature 99 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "DELL 0006T0" serial 2021 type LION oem "S
anyo"
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpidock0 at acpi0: GDCK not docked (0)
acpivideo0 at acpi0: VID_
acpivout0 at acpivideo0: TV__
acpivout1 at acpivideo0: CRT_
acpivout2 at acpivideo0: LCD_
acpivout3 at acpivideo0: DVI_
acpivideo1 at acpi0: VID2
bios0: ROM list: 0xc0000/0xd800! 0xcd800/0x800! 0xce000/0x800 0xce800/0x
800 0xcf000/0x800 0xcf800/0x800
cpu0 at mainbus0: (uniprocessor)
cpu0: Enhanced SpeedStep 1399 MHz: speeds: 1400, 1400, 1400, 1400, 1200,
 1000, 800, 600 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82855GM Host" rev 0x02
"Intel 82855GM Memory" rev 0x02 at pci0 dev 0 function 1 not configured
"Intel 82855GM Config" rev 0x02 at pci0 dev 0 function 3 not configured
vga1 at pci0 dev 2 function 0 "Intel 82855GM Video" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xf0000000, size 0x8000000
inteldrm0 at vga1: irq 11
drm0 at inteldrm0
"Intel 82855GM Video" rev 0x02 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x01: irq 11
uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x01: irq 11
uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x01: irq 11
ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x01: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb0 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x81
pci1 at ppb0 bus 1
bge0 at pci1 dev 0 function 0 "Broadcom BCM5705M" rev 0x01, BCM5705 A1 (
0x3001): irq 11, address 00:0f:1f:ab:e2:2a
brgphy0 at bge0 phy 1: BCM5705 10/100/1000baseT PHY, rev. 1
cbb0 at pci1 dev 1 function 0 "TI PCI7510 CardBus" rev 0x01: irq 11, Car
dBus support disabled
cbb1 at pci1 dev 1 function 1 "TI PCI7610 CardBus (Smart Card mode)" rev
 0x01: irq 11, CardBus support disabled
"TI PCI7(4-6)10 FireWire" rev 0x00 at pci1 dev 1 function 2 not configur
ed
vendor "TI", unknown product 0x8204 (class system subclass miscellaneous
, rev 0x00) at pci1 dev 1 function 3 not configured
cardslot0 at cbb0 slot 0 flags 0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 "Intel 82801DBM LPC" rev 0x01
pciide0 at pci0 dev 31 function 1 "Intel 82801DBM IDE" rev 0x01: DMA, ch
annel 0 configured to compatibility, channel 1 configured to compatibili
ty
wd0 at pciide0 channel 0 drive 0: <IC25N030ATMR04-0>
wd0: 16-sector PIO, LBA48, 28615MB, 58605120 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 disabled (no drives)
auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97" rev 0x01: irq 11,
ICH4 AC97
ac97: codec id 0x83847650 (SigmaTel STAC9750/51)
ac97: codec features headphone, 20 bit DAC, 20 bit ADC, SigmaTel 3D
audio0 at auich0
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask ed6d netmask ed6d ttymask ffff
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
uhidev0 at uhub3 port 1 configuration 1 interface 0 "Logitech USB Optica
l Mouse" rev 2.00/43.01 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse1 at ums0 mux 0
########################################################################
# cat /var/log/Xorg.0.log                                              #
########################################################################
(--) checkDevMem: using aperture driver /dev/xf86
(--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (versi
on 3.32)

X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: OpenBSD 4.7 i386
Current Operating System: OpenBSD d400 4.7 GENERIC#643 i386
Build Date: 12 May 2010  03:08:07AM
 
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed May 19 01:26:05 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor LVDS"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "BlankTime" "0"
(**) Option "StandbyTime" "0"
(**) Option "SuspendTime" "0"
(**) Option "OffTime" "10"
(==) Not automatically adding devices
(==) Not automatically enabling devices
(WW) The directory "/usr/local/lib/X11/fonts/jmk/" does not exist.
        Entry deleted from font path.
(WW) The directory "/usr/local/lib/X11/fonts/artwiz-aleczapka" does not
exist.
        Entry deleted from font path.
(WW) The directory "/usr/local/lib/X11/fonts/hack" does not exist.
        Entry deleted from font path.
(**) FontPath set to:
        /usr/X11R6/lib/X11/fonts/misc/,
        /usr/local/lib/X11/fonts/mscorefonts,
        /usr/local/lib/X11/fonts/terminus,
        /usr/local/lib/X11/fonts/local,
        /usr/X11R6/lib/X11/fonts/TTF/,
        /usr/X11R6/lib/X11/fonts/OTF,
        /usr/X11R6/lib/X11/fonts/Type1/,
        /usr/X11R6/lib/X11/fonts/100dpi/,
        /usr/X11R6/lib/X11/fonts/75dpi/,
        /usr/X11R6/lib/X11/fonts/misc/,
        /usr/X11R6/lib/X11/fonts/TTF/,
        /usr/X11R6/lib/X11/fonts/OTF,
        /usr/X11R6/lib/X11/fonts/Type1/,
        /usr/X11R6/lib/X11/fonts/100dpi/,
        /usr/X11R6/lib/X11/fonts/75dpi/
(**) ModulePath set to "/usr/X11R6/lib/modules"
(II) Loader magic: 0x7ec0
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
        X.Org Video Driver: 5.0
        X.Org XInput driver : 4.0
        X.Org Server Extension : 2.0
(II) Loader running on openbsd
(--) PCI:*(0:0:2:0) 8086:3582:1028:0139 Intel 82855GM Video rev 2, Mem @
 0xf0000000/134217728, 0xfaf80000/524288, I/O @ 0x0000c000/8
(--) PCI: (0:0:2:1) 8086:3582:1028:0139 Intel 82855GM Video rev 2, Mem @
 0xe8000000/134217728, 0xfaf00000/524288
(II) System resource ranges:
        [0] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
        [1] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
        [2] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [3] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
        [4] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) "extmod" will be loaded. This was enabled by default and also speci
fied in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specifie
d in the config file.
(II) "glx" will be loaded. This was enabled by default and also specifie
d in the config file.
(II) "dri" will be loaded. This was enabled by default and also specifie
d in the config file.
(II) "dri2" will be loaded. This was enabled by default and also specifi
ed in the config file.
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.0.0
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.0.0
        ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "dri2"
(II) Loading /usr/X11R6/lib/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.1.0
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "freetype"
(WW) Warning, couldn't open module freetype
(II) UnloadModule: "freetype"
(EE) Failed to load module "freetype" (module does not exist, 0)
(II) LoadModule: "intel"
(II) Loading /usr/X11R6/lib/modules/drivers//intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 2.9.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 5.0
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.4.0
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 4.0
(II) LoadModule: "kbd"
(II) Loading /usr/X11R6/lib/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.3.2
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 4.0
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
        E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview
G,
        965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
        4 Series, G45/G43, Q45/Q43, G41, B43, Clarkdale, Arrandale
(II) Primary Device is: PCI 00@00:02:0
(II) resource ranges after probing:
        [0] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
        [1] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
        [2] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [3] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
        [4] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules//libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 0.1.0
        ABI class: X.Org Video Driver, version 5.0
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
drmOpenDevice: node name is /dev/drm0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/drm0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: drmOpenMinor returns 10
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(**) intel(0): Depth 24, (--) framebuffer bpp 32
(==) intel(0): RGB weight 888
(==) intel(0): Default visual is TrueColor
(**) intel(0): Option "XvMC" "True"
(II) intel(0): Integrated Graphics Chipset: Intel(R) 855GM
(--) intel(0): Chipset: "852GM/855GM"
(--) intel(0): Linear framebuffer at 0xF0000000
(--) intel(0): IO registers at addr 0xFAF80000 size 524288
(WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB
(II) intel(0): No SDVO device is found in VBT
(II) intel(0): 2 display pipes available.
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Module "ddc" already built-in
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Module "i2c" already built-in
(II) intel(0): Output VGA using monitor section Monitor VGA
(**) intel(0): Option "Enable" "False"
(II) intel(0): Output LVDS using monitor section Monitor LVDS
(**) intel(0): Option "Position" "0 0"
(II) intel(0): I2C bus "LVDSDDC_C" initialized.
(II) intel(0): Attempting to determine panel fixed mode.
(II) intel(0): I2C device "LVDSDDC_C:E-EDID segment register" registered
 at address 0x60.
(II) intel(0): I2C device "LVDSDDC_C:ddc2" registered at address 0xA0.
(II) intel(0): EDID vendor "IDT", prod id 8902
(II) intel(0): I2C bus "DVODDC_D" initialized.
(II) Loading sub module "sil164"
(II) LoadModule: "sil164"
(II) Loading /usr/X11R6/lib/modules/drivers//sil164.so
(II) Module sil164: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.0.0
        ABI class: X.Org Video Driver, version 5.0
(II) intel(0): I2C bus "DVOI2C_E" initialized.
(II) Loading sub module "ch7xxx"
(II) LoadModule: "ch7xxx"
(II) Loading /usr/X11R6/lib/modules/drivers//ch7xxx.so
(II) Module ch7xxx: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.0.0
        ABI class: X.Org Video Driver, version 5.0
(II) intel(0): I2C bus "DVOI2C_E" removed.
(II) intel(0): I2C bus "DVOI2C_E" initialized.
(II) intel(0): Detected CH7009B chipset, vendor/device ID 0x85/0x17
(II) intel(0): I2C device "DVOI2C_E:CH7xxx TMDS Controller" registered a
t address 0xEC.
(II) intel(0): Output TMDS has no monitor section
(==) intel(0): Write-combining range (0xa0000,0x10000) was already clear
(II) intel(0): I2C bus "CRTDDC_A" initialized.
(II) intel(0): I2C bus "CRTDDC_A" removed.
(II) intel(0): EDID vendor "IDT", prod id 8902
(II) intel(0): Output VGA disconnected
(II) intel(0): Output LVDS connected
(II) intel(0): Output TMDS disconnected
(II) intel(0): Using user preference for initial modes
(II) intel(0): Output LVDS using initial mode 1024x768
(==) intel(0): Write-combining range (0xa0000,0x10000) was already clear
(II) intel(0): detected 128 kB GTT.
(II) intel(0): detected 892 kB stolen memory.
(==) intel(0): video overlay key set to 0x101fe
(==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
(++) intel(0): DPI set to (79, 79)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.4
(==) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
        [0] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
        [1] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
        [2] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [3] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
        [4] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
(II) intel(0): Kernel reported 112640 total, 0 used
(II) intel(0): I830CheckAvailableMemory: 450560 kB available
(II) intel(0): [DRI2] Setup complete
(**) intel(0): Framebuffer compression enabled
(**) intel(0): Tiling enabled
(**) intel(0): SwapBuffers wait enabled
(==) intel(0): VideoRam: 131072 KB
(II) intel(0): Attempting memory allocation with tiled buffers.
(WW) intel(0): xf86AllocateGARTMemory: allocation of 1536 pages failed
        (Cannot allocate memory)
(WW) intel(0): Allocation error, framebuffer compression disabled
(WW) intel(0): xf86AllocateGARTMemory: allocation of 10 pages failed
        (Cannot allocate memory)
(II) intel(0): Tiled allocation successful.
(II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is
0x0000
(==) intel(0): Write-combining range (0xa0000,0x10000) was already clear
(II) UXA(0): Driver registered support for the following operations:
(II)         solid
(II)         copy
(II)         composite (RENDER acceleration)
(II)         put_image
(==) intel(0): Backing store disabled
(==) intel(0): Silken mouse enabled
(II) intel(0): Initializing HW Cursor
(II) intel(0): adjusting plane->pipe mappings to allow for framebuffer c
ompression
(II) intel(0): xf86BindGARTMemory: bind key 40 at 0x079f4000 (pgoffset 3
1220)
(II) intel(0): xf86BindGARTMemory: bind key 41 at 0x079f5000 (pgoffset 3
1221)
(II) intel(0): xf86BindGARTMemory: bind key 42 at 0x079f9000 (pgoffset 3
1225)
(II) intel(0): xf86BindGARTMemory: bind key 43 at 0x079fa000 (pgoffset 3
1226)
(II) intel(0): xf86BindGARTMemory: bind key 44 at 0x079fe000 (pgoffset 3
1230)
(II) intel(0): Fixed memory allocation layout:
(II) intel(0): 0x000df000:            end of stolen memory
(II) intel(0): 0x000df000-0x079f3fff: DRI memory manager (123988 kB)
(II) intel(0): 0x079f4000-0x079f4fff: Core cursor (4 kB, 0x000000001ae1e
000 physical
)
(II) intel(0): 0x079f5000-0x079f8fff: ARGB cursor (16 kB, 0x000000000ec5
7000 physical
)
(II) intel(0): 0x079f9000-0x079f9fff: Core cursor (4 kB, 0x0000000010367
000 physical
)
(II) intel(0): 0x079fa000-0x079fdfff: ARGB cursor (16 kB, 0x000000000ecd
a000 physical
)
(II) intel(0): 0x079fe000-0x079fefff: overlay registers (4 kB, 0x0000000
01b9cd000 physical
)
(II) intel(0): 0x08000000:            end of aperture
(II) intel(0): BO memory allocation layout:
(II) intel(0): 0x000df000:            start of memory manager
(II) intel(0): 0x00400000-0x007fffff: front buffer (4096 kB) X tiled
(II) intel(0): 0x079f4000:            end of memory manager
(II) intel(0): using SSC reference clock of 66 MHz
(WW) intel(0): Chosen PLL clock of 66.5 Mhz more than 2% away from desir
ed 65.0 Mhz
(II) intel(0): Selecting standard 18 bit TMDS pixel format.
(II) intel(0): Output configuration:
(II) intel(0):   Pipe A is off
(II) intel(0):   Display plane B is now disabled and connected to pipe A
.
(WW) intel(0):   Hardware claims pipe A is on while software believes it
 is off
(II) intel(0):   Pipe B is on
(II) intel(0):   Display plane A is now enabled and connected to pipe B.
(II) intel(0):   Output VGA is connected to pipe none
(II) intel(0):   Output LVDS is connected to pipe B
(II) intel(0):   Output TMDS is connected to pipe none
(II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled me
ssage.
(**) Option "dpms" "True"
(**) intel(0): DPMS enabled
(**) intel(0): Intel XvMC decoder enabled
(II) intel(0): Set up overlay video
(II) intel(0): direct rendering: DRI2 Enabled
(WW) intel(0): Option "XvMCSurfaces" is not used
(WW) intel(0): Option "Position" is not used
(--) RandR disabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
(II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
(II) AIGLX: Loaded and initialized /usr/X11R6/lib/modules/dri/i915_dri.s
o
(II) GLX: Initialized DRI2 GL provider for screen 0
(II) intel(0): Setting screen physical size to 329 x 246
(**) Option "Protocol" "wsmouse"
(**) Mouse0: Protocol: wsmouse
(**) Option "CorePointer"
(**) Mouse0: always reports core events
(**) Option "Device" "/dev/wsmouse"
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5 6 7"
(**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7
(**) Mouse0: Buttons: 11
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(**) Mouse0: (accel) keeping acceleration scheme 1
(**) Mouse0: (accel) filter chain progression: 2.00
(**) Mouse0: (accel) filter stage 0: 20.00 ms
(**) Mouse0: (accel) set acceleration profile 0
(**) Option "CoreKeyboard"
(**) Keyboard0: always reports core events
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Option "XkbModel" "pc104"
(**) Keyboard0: XkbModel: "pc104"
(**) Option "XkbLayout" "lv,ru"
(**) Keyboard0: XkbLayout: "lv,ru"
(**) Option "XkbVariant" ",winkeys"
(**) Keyboard0: XkbVariant: ",winkeys"
(**) Option "XkbOptions" "grp:caps_toggle,eurosign:5"
(**) Keyboard0: XkbOptions: "grp:caps_toggle,eurosign:5"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) 3rd Button detected: disabling emulate3Button
########################################################################
# xvinfo                                                               #
########################################################################
X-Video Extension version 2.2
screen #0
  Adaptor #0: "Intel(R) Video Overlay"
    number of ports: 1
    port base: 80
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x21
    number of attributes: 5
      "XV_COLORKEY" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 66046)
      "XV_BRIGHTNESS" (range -128 to 127)
              client settable attribute
              client gettable attribute (current value is -19)
      "XV_CONTRAST" (range 0 to 255)
              client settable attribute
              client gettable attribute (current value is 75)
      "XV_SATURATION" (range 0 to 1023)
              client settable attribute
              client gettable attribute (current value is 146)
      "XV_PIPE" (range -1 to 1)
              client settable attribute
              client gettable attribute (current value is -1)
    maximum XvImage size: 2048 x 2048
    Number of image formats: 4
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
########################################################################
# xdpyinfo                                                             #
########################################################################
name of display:    :0.0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    10605000
X.Org version: 1.6.5
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0x60000d, revert to PointerRoot
number of extensions:    25
    BIG-REQUESTS
    Composite
    DAMAGE
    DOUBLE-BUFFER
    DPMS
    DRI2
    GLX
    Generic Event Extension
    MIT-SCREEN-SAVER
    MIT-SHM
    RANDR
    RENDER
    SGI-GLX
    SHAPE
    SYNC
    X-Resource
    XC-MISC
    XFIXES
    XFree86-DGA
    XFree86-VidModeExtension
    XINERAMA
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1024x768 pixels (329x246 millimeters)
  resolution:    79x79 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0xbf
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store NO, save-unders NO
  largest cursor:    64x64
  current input event mask:    0xda003c
    ButtonPressMask          ButtonReleaseMask        EnterWindowMask  
       
    LeaveWindowMask          StructureNotifyMask      SubstructureNotify
Mask  
    SubstructureRedirectMask PropertyChangeMask       ColormapChangeMask
       
  number of visuals:    36
  default visual id:  0x21
  visual:
    visual id:    0x21
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x22
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x9d
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x9e
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x9f
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xa0
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xa1
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xa2
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xa3
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xa4
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xa5
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xa6
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xa7
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xa8
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xa9
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xaa
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xab
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xac
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xad
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xae
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xaf
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb0
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb1
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb2
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb3
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb4
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb5
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb6
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb7
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb8
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb9
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xba
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xbb
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xbc
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xbd
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x54
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
########################################################################
# glxinfo                                                              #
########################################################################
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pi
xmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer
,
    GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_contex
t,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory
,
    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control
,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_contex
t,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer
,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_video_sync,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_grou
p,
    GLX_EXT_texture_from_pixmap
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 852GM/855GM GEM 20090418 2009Q
1 x86/MMX/SSE2
OpenGL version string: 1.3 Mesa 7.4.1
OpenGL extensions:
    GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_pixel_buffer_object,
 
    GL_ARB_point_parameters, GL_ARB_texture_border_clamp,
    GL_ARB_texture_compression, GL_ARB_texture_cube_map,
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
    GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle,
    GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
    GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
    GL_EXT_blend_color, GL_EXT_blend_equation_separate,
    GL_EXT_blend_func_separate, GL_EXT_blend_logic_op, GL_EXT_blend_minm
ax,
    GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, GL_EXT_cull_vertex,
    GL_EXT_compiled_vertex_array, GL_EXT_copy_texture,
    GL_EXT_draw_range_elements, GL_EXT_framebuffer_object, GL_EXT_fog_co
ord,
    GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil,
    GL_EXT_packed_pixels, GL_EXT_pixel_buffer_object, GL_EXT_point_param
eters,
    GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color
,
    GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, GL_EXT_subtextu
re,
    GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
    GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
    GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_recta
ngle,
    GL_EXT_vertex_array, GL_3DFX_texture_compression_FXT1,
    GL_APPLE_client_storage, GL_APPLE_packed_pixels,
    GL_ATI_blend_equation_separate, GL_IBM_rasterpos_clip,
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
    GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_MESA_window_pos,
    GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_point_sprite,
    GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_NV_vertex_progr
am,
    GL_NV_vertex_program1_1, GL_OES_read_format, GL_SGIS_generate_mipmap
,
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
    GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays

36 GLX Visuals
   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x21 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x22 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x9d 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x9e 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x9f 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0xa0 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0xa1 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0xa2 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0xa3 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xa4 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xa5 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xa6 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xa7 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xa8 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xa9 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xaa 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xab 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xac 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xad 24 dc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0xae 24 dc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0xaf 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0xb0 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0xb1 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0xb2 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0xb3 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xb4 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xb5 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xb6 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xb7 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xb8 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xb9 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xba 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xbb 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xbc 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xbd 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x54 32 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None

72 GLXFBConfigs:
   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x55  0 tc  0 16  0 r  .  .  5  6  5  0  0  0  0  0  0  0  0  0 0 None
0x56  0 tc  0 16  0 r  .  .  5  6  5  0  0  0  0 16 16 16  0  0 0 Slow
0x57  0 tc  0 16  0 r  y  .  5  6  5  0  0  0  0  0  0  0  0  0 0 None
0x58  0 tc  0 16  0 r  y  .  5  6  5  0  0  0  0 16 16 16  0  0 0 Slow
0x59  0 tc  0 16  0 r  y  .  5  6  5  0  0  0  0  0  0  0  0  0 0 None
0x5a  0 tc  0 16  0 r  y  .  5  6  5  0  0  0  0 16 16 16  0  0 0 Slow
0x5b  0 tc  0 16  0 r  .  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x5c  0 tc  0 16  0 r  .  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x5d  0 tc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x5e  0 tc  0 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x5f  0 tc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x60  0 tc  0 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x61  0 tc  0 16  0 r  .  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x62  0 tc  0 16  0 r  .  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
0x63  0 tc  0 16  0 r  y  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x64  0 tc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
0x65  0 tc  0 16  0 r  y  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x66  0 tc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
0x67  0 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x68  0 tc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x69  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x6a  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x6b  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x6c  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x6d  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x6e  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x6f  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x70  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x71  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x72  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x73  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x74  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x75  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x76  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x77  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x78  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x79  0 dc  0 16  0 r  .  .  5  6  5  0  0  0  0  0  0  0  0  0 0 None
0x7a  0 dc  0 16  0 r  .  .  5  6  5  0  0  0  0 16 16 16  0  0 0 Slow
0x7b  0 dc  0 16  0 r  y  .  5  6  5  0  0  0  0  0  0  0  0  0 0 None
0x7c  0 dc  0 16  0 r  y  .  5  6  5  0  0  0  0 16 16 16  0  0 0 Slow
0x7d  0 dc  0 16  0 r  y  .  5  6  5  0  0  0  0  0  0  0  0  0 0 None
0x7e  0 dc  0 16  0 r  y  .  5  6  5  0  0  0  0 16 16 16  0  0 0 Slow
0x7f  0 dc  0 16  0 r  .  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x80  0 dc  0 16  0 r  .  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x81  0 dc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x82  0 dc  0 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x83  0 dc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x84  0 dc  0 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x85  0 dc  0 16  0 r  .  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x86  0 dc  0 16  0 r  .  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
0x87  0 dc  0 16  0 r  y  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x88  0 dc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
0x89  0 dc  0 16  0 r  y  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x8a  0 dc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
0x8b  0 dc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x8c  0 dc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x8d  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x8e  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x8f  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x90  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x91  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x92  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x93  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x94  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x95  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x96  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x97  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x98  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x99  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x9a  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x9b  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x9c  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow

Reply | Threaded
Open this post in threaded view
|

Re: (another) Intel driver change needs testing.

Ted Roby
In reply to this post by Owain Ainsworth-2
On Tue, May 18, 2010 at 3:04 PM, Owain Ainsworth <[hidden email]>wrote:

>
> > absinthe-minded?
> >
>
> Hard to get decent Absinthe in the UK, i'm afraid.
>
>
Sorry.


>
> There were three, could you confirm which one you mean?
>
>
(II) Loading extension GLX
(II) LoadModule: "intel"
(II) Loading /usr/X11R6/lib/modules/
drivers//intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
    compiled for 1.6.5, module version = 2.9.1
    Module class: X.Org Video Driver
    ABI class: X.Org Video Driver, version 5.0



> Also, can you please retest with current, i commited a diff today that
> may help.
>
>
If you mean sys/dev/pci/drm/i915_drv.c
already tested when I saw it.
No change.

If you mean the additions and updates to Xenocara, I was about to.

Reply | Threaded
Open this post in threaded view
|

Re: (another) Intel driver change needs testing.

Owain Ainsworth-2
On Tue, May 18, 2010 at 05:02:42PM -0600, Ted Roby wrote:

> >
> > There were three, could you confirm which one you mean?
> >
> >
> (II) Loading extension GLX
> (II) LoadModule: "intel"
> (II) Loading /usr/X11R6/lib/modules/
> drivers//intel_drv.so
> (II) Module intel: vendor="X.Org Foundation"
>     compiled for 1.6.5, module version = 2.9.1
>     Module class: X.Org Video Driver
>     ABI class: X.Org Video Driver, version 5.0

I was referring to which of the three drm commits on the 10th.

>
>
>
> > Also, can you please retest with current, i commited a diff today that
> > may help.
> >
> >
> If you mean sys/dev/pci/drm/i915_drv.c
> already tested when I saw it.
> No change.

Damn.

-0-
--
The first myth of management is that it exists.  The second myth of
management is that success equals skill.
                -- Robert Heller

Reply | Threaded
Open this post in threaded view
|

Re: (another) Intel driver change needs testing.

Ted Roby
On Tue, May 18, 2010 at 5:25 PM, Owain Ainsworth <[hidden email]>wrote:

>
> I was referring to which of the three drm commits on the 10th.
>
>
Oh. They were all applied.
Unfortunately, I built everything late that night and early on the 11th.
So, I never determined which patch caused it.

I was watching with great hopefulness from the time you
attached pineview  to the time I saw this:

Log message:
unifdef INTELDRM_GEM.

Reply | Threaded
Open this post in threaded view
|

Re: (another) Intel driver change needs testing.

Owain Ainsworth-2
On Tue, May 18, 2010 at 05:42:09PM -0600, Ted Roby wrote:

> On Tue, May 18, 2010 at 5:25 PM, Owain Ainsworth <[hidden email]>wrote:
>
> >
> > I was referring to which of the three drm commits on the 10th.
> >
> >
> Oh. They were all applied.
> Unfortunately, I built everything late that night and early on the 11th.
> So, I never determined which patch caused it.
>
> I was watching with great hopefulness from the time you
> attached pineview  to the time I saw this:
>
> Log message:
> unifdef INTELDRM_GEM.

Can you please use cvs to bisect which commit caused the problem? (it is
only three commits, will not take long). It may help me fix it to know
what caused it.

-0-
--
Life is like a bowl of soup with hairs floating on it.  You have to
eat it nevertheless.
                -- Flaubert

Reply | Threaded
Open this post in threaded view
|

Re: (another) Intel driver change needs testing.

David Coppa
In reply to this post by J.C. Roberts-3
On Tue, 18 May 2010, J.C. Roberts wrote:

> On Tue, 18 May 2010 16:52:11 +0200 David Coppa <[hidden email]> wrote:
> > On Tue, May 18, 2010 at 4:40 PM, J.C. Roberts
> > <[hidden email]> wrote:
> >
> > > Whether enabled or disabled in xorg.conf, (so far) it seems to have
> > > no effect on the occasional/intermittent screen corruption bug seen
> > > by dcoppa (915GM) and me (845G).
> >
> > The occasional/intermittent screen corruption bug seems to have
> > disappeared for me with latest xenocara -current + the "experimental"
> > Mesa 7.8 update.
>
> That's good news! I don't have the "experimental" mesa patch, but if you
> want me to test it, mail it to me off list.

I've spoken too soon!
The problem now has changed, but it's still here.

Now the screen goes blank but not turn off (a black
screen): no crashes or artifacts, but it's totally
unresponsive and I need to switch to text console and
kill X.

The sad is that this error is unrecoverable: when I try
to restart X, X starts with a blank screen again, with
the message:

assertion "(gttentry & PTE_VALID) != 0" failed: file "/usr/xenocara/driver/xf86-video-intel/src/i830_memory.c", line 520, function "i830_get_gtt_physical"
giving up.

I need to reboot the system to have a working X...

One time, it was also accompanied by the following
messages from the kernel:
 
render error detected, EIR: 0x00000010
page table error
  PGTBL_ER: 0x00000010
render error detected, EIR: 0x00000010
page table error
  PGTBL_ER: 0x00000010
no reset function for chipset.
no reset function for chipset.
error: [drm:pid24688:inteldrm_lastclose] *ERROR* failed to idle hardware: 5

kernel and xenocara are -current from yesterday.

I have purchased an UltraBase for my X41 on eBay (for the
serial port). What can I do to further debug this problem?
Building a kernel with DRMDEBUG can help?

ciao,
david

-----

X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: OpenBSD 4.7 i386
Current Operating System: OpenBSD x41.dacolab.dom 4.7 GENERIC#0 i386
Build Date: 18 May 2010  10:24:52AM
 
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed May 19 08:24:47 2010
(--) PCI:*(0:0:2:0) 8086:2592:1014:0582 Intel 82915GM Video rev 3, Mem @ 0xa0080000/524288, 0xc0000000/268435456, 0xa0000000/262144, I/O @ 0x00001800/8
(--) PCI: (0:0:2:1) 8086:2792:1014:0582 Intel 82915GM Video rev 3, Mem @ 0x00000000/524288
(==) Using default built-in configuration (21 lines)
(==) ServerLayout "Builtin Default Layout"
(**) |-->Screen "Builtin Default intel Screen 0" (0)
(**) |   |-->Monitor "<default monitor>"
(**) |   |-->Device "Builtin Default intel Device 0"
(==) No monitor specified for screen "Builtin Default intel Screen 0".
        Using a default monitor configuration.
(**) |-->Screen "Builtin Default vesa Screen 0" (1)
(**) |   |-->Monitor "<default monitor>"
(**) |   |-->Device "Builtin Default vesa Device 0"
(==) No monitor specified for screen "Builtin Default vesa Screen 0".
        Using a default monitor configuration.
(==) Not automatically adding devices
(==) Not automatically enabling devices
(==) FontPath set to:
        /usr/X11R6/lib/X11/fonts/misc/,
        /usr/X11R6/lib/X11/fonts/TTF/,
        /usr/X11R6/lib/X11/fonts/OTF,
        /usr/X11R6/lib/X11/fonts/Type1/,
        /usr/X11R6/lib/X11/fonts/100dpi/,
        /usr/X11R6/lib/X11/fonts/75dpi/
(==) ModulePath set to "/usr/X11R6/lib/modules"
(==) |-->Input Device "<default pointer>"
(==) |-->Input Device "<default keyboard>"
(==) The core pointer device wasn't specified explicitly in the layout.
        Using the default mouse configuration.
(==) The core keyboard device wasn't specified explicitly in the layout.
        Using the default keyboard configuration.
(II) Loading /usr/X11R6/lib/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.0.0
(==) AIGLX enabled
(II) Loading /usr/X11R6/lib/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.1.0
(II) Loading /usr/X11R6/lib/modules/drivers//intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 2.9.1
(II) Loading /usr/X11R6/lib/modules/drivers//vesa_drv.so
(II) Module vesa: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 2.2.1
(II) Loading /usr/X11R6/lib/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.4.0
(II) Loading /usr/X11R6/lib/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.3.2
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
        E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
        965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
        4 Series, G45/G43, Q45/Q43, G41, B43, Clarkdale, Arrandale
(II) VESA: driver for VESA chipsets: vesa
(WW) Falling back to old probe method for vesa
(II) Loading /usr/X11R6/lib/modules//libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 0.1.0
(II) intel(0): Creating default Display subsection in Screen section
        "Builtin Default intel Screen 0" for depth/fbbpp 24/32
(==) intel(0): Depth 24, (--) framebuffer bpp 32
(==) intel(0): RGB weight 888
(==) intel(0): Default visual is TrueColor
(II) intel(0): Integrated Graphics Chipset: Intel(R) 915GM
(--) intel(0): Chipset: "915GM"
(--) intel(0): Linear framebuffer at 0xC0000000
(--) intel(0): IO registers at addr 0xA0080000 size 524288
(WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB
(II) intel(0): No SDVO device is found in VBT
(II) intel(0): 2 display pipes available.
(II) intel(0): Output VGA has no monitor section
(II) intel(0): Output LVDS has no monitor section
(II) intel(0): I2C bus "LVDSDDC_C" initialized.
(II) intel(0): Attempting to determine panel fixed mode.
(II) intel(0): I2C device "LVDSDDC_C:E-EDID segment register" registered at address 0x60.
(II) intel(0): I2C device "LVDSDDC_C:ddc2" registered at address 0xA0.
(II) intel(0): Output TV has no monitor section
(==) intel(0): Write-combining range (0xa0000,0x10000) was already clear
(II) intel(0): I2C bus "CRTDDC_A" initialized.
(II) intel(0): I2C bus "CRTDDC_A" removed.
(II) intel(0): Output VGA disconnected
(II) intel(0): Output LVDS connected
(II) intel(0): Output TV disconnected
(II) intel(0): Using exact sizes for initial modes
(II) intel(0): Output LVDS using initial mode 1024x768
(==) intel(0): Write-combining range (0xa0000,0x10000) was already clear
(II) intel(0): detected 256 kB GTT.
(II) intel(0): detected 7932 kB stolen memory.
(==) intel(0): video overlay key set to 0x101fe
(==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
(==) intel(0): DPI set to (96, 96)
(II) Loading /usr/X11R6/lib/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 1.0.0
(II) Unloading /usr/X11R6/lib/modules/drivers//vesa_drv.so
(==) Depth 24 pixmap format is 32 bpp
(II) intel(0): Kernel reported 491520 total, 0 used
(II) intel(0): [DRI2] Setup complete
(**) intel(0): Framebuffer compression enabled
(**) intel(0): Tiling enabled
(**) intel(0): SwapBuffers wait enabled
(==) intel(0): VideoRam: 262144 KB
(II) intel(0): Attempting memory allocation with tiled buffers.
(II) intel(0): Tiled allocation successful.
(==) intel(0): Write-combining range (0xa0000,0x10000) was already clear
(II) UXA(0): Driver registered support for the following operations:
(II)         solid
(II)         copy
(II)         composite (RENDER acceleration)
(II)         put_image
(==) intel(0): Backing store disabled
(==) intel(0): Silken mouse enabled
(II) intel(0): Initializing HW Cursor
(II) intel(0): adjusting plane->pipe mappings to allow for framebuffer compression
(II) intel(0): Fixed memory allocation layout:
(II) intel(0): 0x00000000-0x005fffff: compressed frame buffer (6144 kB, 0x000000007f800000 physical
)
(II) intel(0): 0x00600000-0x00600fff: compressed ll buffer (4 kB, 0x000000007fe00000 physical
)
(II) intel(0): 0x00601000-0x0060afff: HW cursors (40 kB, 0x000000007fe01000 physical
)
(II) intel(0): 0x0060b000-0x0060bfff: overlay registers (4 kB, 0x000000007fe0b000 physical
)
(II) intel(0): 0x007bf000:            end of stolen memory
(II) intel(0): 0x007bf000-0x0f9f3fff: DRI memory manager (248020 kB)
(II) intel(0): 0x10000000:            end of aperture
(II) intel(0): BO memory allocation layout:
(II) intel(0): 0x007bf000:            start of memory manager
(II) intel(0): 0x00800000-0x00bfffff: front buffer (4096 kB) X tiled
(II) intel(0): 0x0f9f4000:            end of memory manager
(II) intel(0): using SSC reference clock of 100 MHz
(II) intel(0): Selecting standard 18 bit TMDS pixel format.
(II) intel(0): Output configuration:
(II) intel(0):   Pipe A is off
(II) intel(0):   Display plane B is now disabled and connected to pipe A.
(II) intel(0):   Pipe B is on
(II) intel(0):   Display plane A is now enabled and connected to pipe B.
(II) intel(0):   Output VGA is connected to pipe none
(II) intel(0):   Output LVDS is connected to pipe B
(II) intel(0):   Output TV is connected to pipe none
(II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(II) intel(0): DPMS enabled
(==) intel(0): Intel XvMC decoder disabled
(II) intel(0): Set up textured video
(II) intel(0): Set up overlay video
(II) intel(0): direct rendering: DRI2 Enabled
(--) RandR disabled
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
(II) AIGLX: Loaded and initialized /usr/X11R6/lib/modules/dri/i915_dri.so
(II) GLX: Initialized DRI2 GL provider for screen 0
(II) intel(0): Setting screen physical size to 270 x 203
(WW) <default pointer>: No Device specified, looking for one...
(II) <default pointer>: found Device "/dev/wsmouse"
(**) <default pointer>: Protocol: WSMouse
(**) <default pointer>: always reports core events
(==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
(**) <default pointer>: ZAxisMapping: buttons 4 and 5
(**) <default pointer>: Buttons: 9
(II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE)
(**) <default pointer>: (accel) keeping acceleration scheme 1
(**) <default pointer>: (accel) filter chain progression: 2.00
(**) <default pointer>: (accel) filter stage 0: 20.00 ms
(**) <default pointer>: (accel) set acceleration profile 0
(**) <default keyboard>: always reports core events
(**) <default keyboard>: Protocol: standard
(--) <default keyboard>: using wscons layout us
(**) <default keyboard>: XkbRules: "xorg"
(**) <default keyboard>: XkbModel: "pc105"
(**) <default keyboard>: XkbLayout: "us"
(**) <default keyboard>: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "<default keyboard>" (type: KEYBOARD)

Reply | Threaded
Open this post in threaded view
|

Re: (another) Intel driver change needs testing.

J.C. Roberts-3
On Wed, 19 May 2010 09:36:14 +0200 David Coppa <[hidden email]> wrote:

> > > The occasional/intermittent screen corruption bug seems to have
> > > disappeared for me with latest xenocara -current + the
> > > "experimental" Mesa 7.8 update.
> >
> > That's good news! I don't have the "experimental" mesa patch, but
> > if you want me to test it, mail it to me off list.
>
> I've spoken too soon!
> The problem now has changed, but it's still here.
>
> Now the screen goes blank but not turn off (a black
> screen): no crashes or artifacts, but it's totally
> unresponsive and I need to switch to text console and
> kill X.
>
> The sad is that this error is unrecoverable: when I try
> to restart X, X starts with a blank screen again, with
> the message:
>

When testing code controlling video/graphics hardware, you should
power off the system after hitting an error. The reason is simple; the
hardware/memory is no longer in a know state, so you no longer know
what you are testing, and hence, you may not be able to isolate
*repeatable* errors.

Given that the Intel video chips are a shared memory design, you may
also want to waste the time to do a full memory clear/check at boot.
Typically, you would want to disable the "Fast Boot" or similarly named
option in your BIOS, as well as the "Show Logo" option, then let it
ever so slowly count/test/clear memory on boot.

With video/graphics chipsets using dedicated memory (e.g. RAM on the
graphics card), the safe bet is to unplug the power (or main battery in
the case of a laptop), and then hold down the power button for 20-30
seconds. This will turn off the residual power to the PCI bus as well
as discharge the caps.

Sure, the above is a pain in the ass and takes more time, but it's as
close as you'll get to clearing everything without removing the
BIOS/CMOS battery. I expect some novice to say that (corrupted) memory
cannot survive a normal cold boot, but in reality, it actually can.

Yes, it is good to attempt restarting X just to test if a crash is
recoverable, but don't be surprised when it doesn't work, and also
don't expect the core resulting from the second crash to be very
useful for finding the real problem, since the restart may have failed
because things were *already* in an unknown, corrupted state.

> assertion "(gttentry & PTE_VALID) != 0" failed: file
> "/usr/xenocara/driver/xf86-video-intel/src/i830_memory.c", line 520,
> function "i830_get_gtt_physical" giving up.
>
> I need to reboot the system to have a working X...
>
> One time, it was also accompanied by the following
> messages from the kernel:
>  
> render error detected, EIR: 0x00000010
> page table error
>   PGTBL_ER: 0x00000010
> render error detected, EIR: 0x00000010
> page table error
>   PGTBL_ER: 0x00000010
> no reset function for chipset.
> no reset function for chipset.
> error: [drm:pid24688:inteldrm_lastclose] *ERROR* failed to idle
> hardware: 5
>
> kernel and xenocara are -current from yesterday.
>
> I have purchased an UltraBase for my X41 on eBay (for the
> serial port). What can I do to further debug this problem?
> Building a kernel with DRMDEBUG can help?
>
> ciao,
> david


I suck badly at debugging cores in UNIX, and I suck even worse at live
debugging in UNIX, but if I can capture a core file and all relevant
logs, then I have something potentially useful to others.

The following may not be the best way to do it (or even perfectly
correct), but it is how I'm testing over here.

$ grep console /etc/fbtab
/dev/ttyC0 0666 /dev/console

$ grep console /etc/syslog.conf
# console: be aware that this could create lots of output.
*.err;auth.notice;authpriv.none;kern.debug;mail.crit    /dev/console

$ grep 'xterm -C' ~/.xinitrc
xterm -C -fg '#ff0040' -geometry 106x42+0+0 &

$ grep xdbg ~/.kshrc
        alias xdbg='startx -- /usr/X11R6/bin/X -keepPriv 2>&1 | tee
-a .xdbg.txt > /dev/console'

$ grep nosuid /etc/sysctl.conf
kern.nosuidcoredump=2           # 2=Put suid coredumps in /var/crash

$ cat /etc/X11/xorg.conf
   Section "ServerFlags"
        Option  "NoTrapSignals" "true"
   EndSection

$ grep 'DEBUG=' /usr/src/sys/conf/GENERIC
makeoptions     DEBUG="-g"      # compile full symbol table

$ cat /usr/src/sys/arch/i386/conf/GENERIC_DRMDEBUG
# GENERIC with INTELDRM_GEM
include         "arch/i386/conf/GENERIC"
option          DRMDEBUG
option          DRMLOCKDEBUG


NOTE_TO_SELF: Check is DRMLOCKDEBUG is still relevant.


As mentioned in xenocara/README, you need to run your handy new 'xdbg'
alias as root to get a core. I don't know if you have your /etc/sudoers
configured to keep the environment but since capturing a core of X
requires running as root, this can be real convenient. The slightly
excessive permissions on /dev/console help to get around the fact
you'll be running as two different users, starting as root, and also
probably using su(1) within X to access particular applications as your
normal user (email, browser, ...).

Though you will capture a good deal of the console output to
your .xdbg.txt file as well as be able to see it from within X without
VT switching, you will not capture everything. Some relevant messages
like the infamous "GPU Hung!" will still go to /var/log/messages.

If luck is on your side, you'll get a core file in /var/crash if X
crashes. The trouble is, often you'll only get screen corruption but X
will not actually crash, so there's no core to inspect. With the i845G,
I've found that once I get screen corruption (often with "GPU Hung!"), a
VT switch will sometimes make the X server actually crash, but then the
trouble is whether or not the crash is relevant to the corruption?

The above may not be perfect, but it works well for me.

        jcr

--
The OpenBSD Journal - http://www.undeadly.org

Reply | Threaded
Open this post in threaded view
|

Re: (another) Intel driver change needs testing.

Mark Kettenis
> Date: Wed, 19 May 2010 09:30:22 -0700
> From: "J.C. Roberts" <[hidden email]>
>
> On Wed, 19 May 2010 09:36:14 +0200 David Coppa <[hidden email]> wrote:
> > > > The occasional/intermittent screen corruption bug seems to have
> > > > disappeared for me with latest xenocara -current + the
> > > > "experimental" Mesa 7.8 update.
> > >
> > > That's good news! I don't have the "experimental" mesa patch, but
> > > if you want me to test it, mail it to me off list.
> >
> > I've spoken too soon!
> > The problem now has changed, but it's still here.
> >
> > Now the screen goes blank but not turn off (a black
> > screen): no crashes or artifacts, but it's totally
> > unresponsive and I need to switch to text console and
> > kill X.
> >
> > The sad is that this error is unrecoverable: when I try
> > to restart X, X starts with a blank screen again, with
> > the message:
> >
>
> When testing code controlling video/graphics hardware, you should
> power off the system after hitting an error. The reason is simple; the
> hardware/memory is no longer in a know state, so you no longer know
> what you are testing, and hence, you may not be able to isolate
> *repeatable* errors.

Sorry, J.C. but you're wrong here.  While it is possible to get
hardware in a state that requires a full powercycle to get into a sane
state, the intel video stuff will work fine again after a reboot.

Reply | Threaded
Open this post in threaded view
|

Re: (another) Intel driver change needs testing.

J.C. Roberts-3
On Wed, 19 May 2010 20:10:49 +0200 (CEST) Mark Kettenis
<[hidden email]> wrote:
> > When testing code controlling video/graphics hardware, you should
> > power off the system after hitting an error. The reason is simple;
> > the hardware/memory is no longer in a know state, so you no longer
> > know what you are testing, and hence, you may not be able to isolate
> > *repeatable* errors.
>
> Sorry, J.C. but you're wrong here.  While it is possible to get
> hardware in a state that requires a full powercycle to get into a sane
> state, the intel video stuff will work fine again after a reboot.

Yep, I might be wrong in some cases. You could be right regarding the
newer intel Gen3/Gen4/Gen5 (915) and above stuff where a warm reboot
will suffice, but the early Gen1/810/815 and Gen2/830/845/85x/865
designs are just ugly. After a hard crash, a warm reboot (or worse even
cold reboot) will occasionally show "ghosting" of what was previously on
the display prior to the crash. It's pretty rare, but it happens, and
it's a know issue.

Though you can probably get away with a warm reboot some of the time on
some of the implementations of some of the intel chipsets, it just makes
sense to be cautious while testing. It doesn't make any sense to waste
my time (or worse, wasting someone else's time) with a bad core caused
by *me* failing to do everything I could to make sure the hardware was
in a good known state at the start. --If I sent you or matthieu@ or oga@
or whoever a bad core file caused by my mistake, you'd make me regret
it when it came time to pay for the beer. ;)

        jcr
--
The OpenBSD Journal - http://www.undeadly.org

Reply | Threaded
Open this post in threaded view
|

Re: (another) Intel driver change needs testing.

J.C. Roberts-3
In reply to this post by David Coppa
On Wed, 19 May 2010 09:36:14 +0200 David Coppa <[hidden email]> wrote:

> > That's good news! I don't have the "experimental" mesa patch, but
> > if you want me to test it, mail it to me off list.
>
> I've spoken too soon!
> The problem now has changed, but it's still here.
>
> Now the screen goes blank but not turn off (a black
> screen): no crashes or artifacts, but it's totally
> unresponsive and I need to switch to text console and
> kill X.
>
> The sad is that this error is unrecoverable: when I try
> to restart X, X starts with a blank screen again, with
> the message:

Testing with the "experimental" Mesa 7.8 on i845, I have similar
results. After VT switching a few times to and from text/graphics mode,
the screen goes black and you can't even get back to the text console.

The monitor itself shows loss of input signal, so intel is completely
stuffed.

The system is still up and I can ssh into it and see X and all X apps
still happily running as if there's nothing wrong. There is absolutely
nothing in /var/log/messages, Xorg.0.log or even in the console
capture. Ugghh! No core No cookie.

        jcr
--
The OpenBSD Journal - http://www.undeadly.org

12