From: Robert Noland on
On Thu, 2010-03-11 at 23:48 +0100, Torfinn Ingolfsen wrote:
> Hi,
>
> On Thu, Mar 11, 2010 at 2:44 PM, Martin Wilke <miwi(a)freebsd.org> wrote:
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Call for Testing Xorg 7.5
> >
>
> Works here too.
> For some reason, Xfce doesn't work after the upgrade, xfce4-session core
> dumps when I do 'startxfce4'. (Yes, I have recompiled allt the xfce ports).
> FreeBSD 8.0-stable, xfce-4.6.1_1, vesa driver.
> root(a)kg-v7# uname -a
> FreeBSD kg-v7.kg4.no 8.0-STABLE FreeBSD 8.0-STABLE #0: Sun Mar 7 20:55:51
> CET 2010 root(a)kg-v7.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64
>
> I'm currently using the vesa driver, it seems that it is the only thing that
> supports this "integrated graphics controller" of the Interl Core i3 cpu
> (i3-540) that I have.
> >From /var/log/Xorg.0.log:
> (--) PCI:*(0:0:2:0) 8086:0042:1043:8383 Intel Corporation Core Processor
> Integrated Graphics Controller rev 18, Mem @ 0xfb800000/4194304,
> 0xd0000000/268435456, I/O @ 0x0000dc00/8, BIOS @ 0x????????/65536
> and pciconf:
> root(a)kg-v7# pciconf -lv | grep -A 3 vga
> vgapci0(a)pci0:0:2:0: class=0x030000 card=0x83831043 chip=0x00428086
> rev=0x12 hdr=0x00
> vendor = 'Intel Corporation'
> class = display
> subclass = VGA

Can you try the attached patch and verify that AGP attaches and reports
correctly. I will try and see if I can enable drm on this chip with the
current driver, or import version 2.9.1 of the driver this weekend. You
won't get drm with the 2.9.1 version, but it would be better than vesa.

robert.

> HTH
--
Robert Noland <rnoland(a)FreeBSD.org>
FreeBSD
From: Torfinn Ingolfsen on
On Fri, Mar 12, 2010 at 1:43 AM, Garrett Cooper <yanefbsd(a)gmail.com> wrote:

>
> Did you recompile everything like the instructions state, or at
> the very least libxcb dependent pieces (cairo, et all)? Memory serves
> me correctly cairo and libxcb links into xfce4, and it turns into a
> nasty mess if the ABI mismatches.
>

Yep, I did portupgrade -a (twice, the first run had errors). Sorry for not
writing tha into my first post.
--
Regards,
Torfinn
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Torfinn Ingolfsen on
Hi,

On Fri, Mar 12, 2010 at 12:19 PM, Robert Noland <rnoland(a)freebsd.org> wrote:

>
> Hrm... That presents an interesting issue... While I think we will need
> to get agp fixed up first, the 2.9.1 version of the driver may actually
> support your card. It will not have drm support, but it would be a much
> better solution than vesa.
>
> Please send me the full output of "pciconf -lv", so I can look at the
> agp bridge.
>

As rrequested:
root(a)kg-v7# pciconf -lv
hostb0(a)pci0:0:0:0: class=0x060000 card=0x83831043 chip=0x00408086
rev=0x12 hdr=0x00
vendor = 'Intel Corporation'
class = bridge
subclass = HOST-PCI
vgapci0(a)pci0:0:2:0: class=0x030000 card=0x83831043 chip=0x00428086
rev=0x12 hdr=0x00
vendor = 'Intel Corporation'
class = display
subclass = VGA
ehci0(a)pci0:0:26:0: class=0x0c0320 card=0x83831043 chip=0x3b3c8086
rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
class = serial bus
subclass = USB
hdac0(a)pci0:0:27:0: class=0x040300 card=0x837b1043 chip=0x3b568086
rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
class = multimedia
subclass = HDA
pcib1(a)pci0:0:28:0: class=0x060400 card=0x83831043 chip=0x3b428086
rev=0x06 hdr=0x01
vendor = 'Intel Corporation'
class = bridge
subclass = PCI-PCI
pcib2(a)pci0:0:28:1: class=0x060400 card=0x83831043 chip=0x3b448086
rev=0x06 hdr=0x01
vendor = 'Intel Corporation'
class = bridge
subclass = PCI-PCI
pcib3(a)pci0:0:28:2: class=0x060400 card=0x83831043 chip=0x3b468086
rev=0x06 hdr=0x01
vendor = 'Intel Corporation'
class = bridge
subclass = PCI-PCI
pcib4(a)pci0:0:28:3: class=0x060400 card=0x83831043 chip=0x3b488086
rev=0x06 hdr=0x01
vendor = 'Intel Corporation'
class = bridge
subclass = PCI-PCI
ehci1(a)pci0:0:29:0: class=0x0c0320 card=0x83831043 chip=0x3b348086
rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
class = serial bus
subclass = USB
pcib5(a)pci0:0:30:0: class=0x060401 card=0x83831043 chip=0x244e8086
rev=0xa6 hdr=0x01
vendor = 'Intel Corporation'
device = '82801 Family (ICH2/3/4/5/6/7/8/9,63xxESB) Hub Interface to
PCI Bridge'
class = bridge
subclass = PCI-PCI
isab0(a)pci0:0:31:0: class=0x060100 card=0x83831043 chip=0x3b068086
rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
class = bridge
subclass = PCI-ISA
atapci0(a)pci0:0:31:2: class=0x010601 card=0x83831043 chip=0x3b228086
rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
device = 'IBEX AHCI Controller(6Port)'
class = mass storage
subclass = SATA
ichsmb0(a)pci0:0:31:3: class=0x0c0500 card=0x83831043 chip=0x3b308086
rev=0x06 hdr=0x00
vendor = 'Intel Corporation'
class = serial bus
subclass = SMBus
re0(a)pci0:2:0:0: class=0x020000 card=0x83a31043 chip=0x816810ec rev=0x03
hdr=0x00
vendor = 'Realtek Semiconductor'
device = 'Gigabit Ethernet NIC(NDIS 6.0) (RTL8168/8111)'
class = network
subclass = ethernet
fwohci0(a)pci0:1:0:0: class=0x0c0010 card=0x83131043 chip=0x2380197b
rev=0x00 hdr=0x00
vendor = 'JMicron Technology Corp.'
class = serial bus
subclass = FireWire
root(a)kg-v7#


--
Regards,
Torfinn
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Torfinn Ingolfsen on
On Fri, Mar 12, 2010 at 6:24 PM, Robert Noland <rnoland(a)freebsd.org> wrote:

> Can you try the attached patch and verify that AGP attaches and reports
> correctly. I will try and see if I can enable drm on this chip with the
> current driver, or import version 2.9.1 of the driver this weekend. You
> won't get drm with the 2.9.1 version, but it would be better than vesa.
>

With the patch, AGP reports like this:
root(a)kg-v7# dmesg | grep agp
agp0: <Intel Ironlake (D) SVGA controller> on vgapci0
agp0: detected 32764k stolen memory
agp0: aperture size is 256M

How do I verify that it is reporting correctly?
--
Regards,
Torfinn
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Robert Noland on
On Fri, 2010-03-12 at 20:10 +0100, Torfinn Ingolfsen wrote:
>
>
> On Fri, Mar 12, 2010 at 6:24 PM, Robert Noland <rnoland(a)freebsd.org>
> wrote:
> Can you try the attached patch and verify that AGP attaches
> and reports
> correctly. I will try and see if I can enable drm on this
> chip with the
> current driver, or import version 2.9.1 of the driver this
> weekend. You
> won't get drm with the 2.9.1 version, but it would be better
> than vesa.
>
> With the patch, AGP reports like this:
> root(a)kg-v7# dmesg | grep agp
> agp0: <Intel Ironlake (D) SVGA controller> on vgapci0
> agp0: detected 32764k stolen memory
> agp0: aperture size is 256M
>
> How do I verify that it is reporting correctly?

That looks like it is probably correct. I need to figure out how much
work it is gonna take to enable drm and patch the current driver...
Stay tuned.

robert.

> --
> Regards,
> Torfinn
--
Robert Noland <rnoland(a)FreeBSD.org>
FreeBSD

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"