Re: newcons(vt) can't work at Intel HD4400

2014-01-05 Thread Adrian Chadd
That just adds the IDs, it doesn't add the support code. :(



-a

On 5 January 2014 20:50, 乔楚  wrote:
> I found there have patchs for Haswell which posted by Neel Chauhan.
>
> http://lists.freebsd.org/pipermail/freebsd-current/2013-September/044727.html
> http://lists.freebsd.org/pipermail/freebsd-current/2013-November/046520.html
>
> If there has a patch for current svn version, I'll test it.
>
>
> 2014/1/4 Aleksandr Rybalko :
>> On Fri, 03 Jan 2014 17:26:09 +0100
>> Claude Buisson  wrote:
>>
>>> On 01/03/2014 16:27, 乔楚 wrote:
>>> > As you said, it's used vesa driver, and error on drm.
>>> >
>>>
>>> 
>>>
>>> According to https://wiki.freebsd.org/Graphics, Haswell GPU are not
>>> supported by FreeBSD DRM/KMS drivers.
>>>
>>> Claude Buisson
>>>
>>>
>>>
>>
>> Right.
>> Thank you Claude for comment.
>> And thanks 乔楚 for report. (Not sure I use your name right way :) )
>> Anyway you should wait for vt(9) VESA driver or drm2 Haswell support,
>> whatever come first.
>>
>> Thanks!
>>
>> WBW
>> --
>> Aleksandr Rybalko 
> ___
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: newcons(vt) can't work at Intel HD4400

2014-01-05 Thread 乔楚
I found there have patchs for Haswell which posted by Neel Chauhan.

http://lists.freebsd.org/pipermail/freebsd-current/2013-September/044727.html
http://lists.freebsd.org/pipermail/freebsd-current/2013-November/046520.html

If there has a patch for current svn version, I'll test it.


2014/1/4 Aleksandr Rybalko :
> On Fri, 03 Jan 2014 17:26:09 +0100
> Claude Buisson  wrote:
>
>> On 01/03/2014 16:27, 乔楚 wrote:
>> > As you said, it's used vesa driver, and error on drm.
>> >
>>
>> 
>>
>> According to https://wiki.freebsd.org/Graphics, Haswell GPU are not
>> supported by FreeBSD DRM/KMS drivers.
>>
>> Claude Buisson
>>
>>
>>
>
> Right.
> Thank you Claude for comment.
> And thanks 乔楚 for report. (Not sure I use your name right way :) )
> Anyway you should wait for vt(9) VESA driver or drm2 Haswell support,
> whatever come first.
>
> Thanks!
>
> WBW
> --
> Aleksandr Rybalko 
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: newcons(vt) can't work at Intel HD4400

2014-01-03 Thread Aleksandr Rybalko
On Fri, 03 Jan 2014 17:26:09 +0100
Claude Buisson  wrote:

> On 01/03/2014 16:27, 乔楚 wrote:
> > As you said, it's used vesa driver, and error on drm.
> >
> 
> 
> 
> According to https://wiki.freebsd.org/Graphics, Haswell GPU are not
> supported by FreeBSD DRM/KMS drivers.
> 
> Claude Buisson
> 
> 
> 

Right.
Thank you Claude for comment.
And thanks 乔楚 for report. (Not sure I use your name right way :) )
Anyway you should wait for vt(9) VESA driver or drm2 Haswell support,
whatever come first.

Thanks!

WBW
-- 
Aleksandr Rybalko 
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: newcons(vt) can't work at Intel HD4400

2014-01-03 Thread Claude Buisson

On 01/03/2014 16:27, 乔楚 wrote:

As you said, it's used vesa driver, and error on drm.





According to https://wiki.freebsd.org/Graphics, Haswell GPU are not supported by 
FreeBSD DRM/KMS drivers.


Claude Buisson



___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: newcons(vt) can't work at Intel HD4400

2014-01-03 Thread Aleksandr Rybalko
"乔楚"  написав(ла):
>Upgrade from ThinkPad x201i to ThinkPad E430C, newcons work well.
>Video card is Intel HD4000.
>
>Upgrade from E430C to x240, newcons can;t work.
>Video card is Intel HD4400.
>
>I can press Alt+Ctrl+F1 to switch tty1, but there only has one cursor
>blinking, no other content.
>I can press Alt_Ctrl+F7 to switch X.
>
>#uname -a
>FreeBSD x201i.honestqiao.com 11.0-CURRENT FreeBSD 11.0-CURRENT #0
>r260159: Wed Jan  1 17:10:24 CST 2014
>r...@x201i.honestqiao.com:/usr/obj/usr/src/sys/HonestQiaoKernel11
>amd64
>
>#pciconv -lv
>vgapci0@pci0:0:2:0: class=0x03 card=0x221417aa chip=0x0a168086
>rev=0x09 hdr=0x00
>vendor = 'Intel Corporation'
>device = 'Haswell-ULT Integrated Graphics Controller'
>class  = display
>subclass   = VGA
>
>#dmesg
>vgapci0:  port 0x4000-0x403f mem
>0xf000-0xf03f,0xe000-0xefff irq 16 at device 2.0 on
>pci0
>acpi_video0:  on vgapci0
>found Internal/Integrated Digital Flat Panel(400), idx#0, port#0, head
>#0
>vgapci0: Boot video device
>
>#kldstat
>101 0x8131f000 7488 acpi_video.ko
>171 0x81385000 6be8 acpi_ibm.ko
>181 0x8138c000 d28  acpi_call.ko
>331 0x81449000 5eff7i915kms.ko
>
>#sysctl -a
>kern.vt.enable_altgr: 1
>kern.vt.debug: 0
>kern.vt.deadtimer: 15
>kern.vt.suspendswitch: 1
>device  vt
>device  vt_vga
>___
>freebsd-current@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-current
>To unsubscribe, send any mail to
>"freebsd-current-unsubscr...@freebsd.org"

Hi 乔楚,

Can you please send dmesg and XOrg log to me?

Think it is due XOrg use vesa driver, but not drm2.

Thanks!
WBW
--
Aleksandr Rybalko 


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: newcons(vt) can't work at Intel HD4400

2014-01-03 Thread 乔楚
I can't visit pastbin, so I paste the log to this mail.

Xorg.0.log:

X.Org X Server 1.12.4
Release Date: 2012-08-27
[47.884] X Protocol Version 11, Revision 0
[47.884] Build Operating System: FreeBSD 11.0-CURRENT amd64
[47.884] Current Operating System: FreeBSD x201i.honestqiao.com
11.0-CURRENT FreeBSD 11.0-CURRENT #0 r260159: Wed Jan  1 17:10:24 CST
2014 r...@x201i.honestqiao.com:/usr/obj/usr/src/sys/HonestQiaoKernel11
amd64
[47.884] Build Date: 29 December 2013  09:45:52PM
[47.884]
[47.884] Current version of pixman: 0.32.4
[47.884] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[47.884] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[47.884] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan  3
23:00:20 2014
[47.966] (==) Using config file: "/etc/X11/xorg.conf"
[47.966] (==) Using system config directory
"/usr/local/share/X11/xorg.conf.d"
[47.973] (==) ServerLayout "X.org Configured"
[47.973] (**) |-->Screen "Screen0" (0)
[47.973] (**) |   |-->Monitor "Monitor0"
[47.990] (**) |   |-->Device "Card0"
[47.990] (**) |-->Screen "Screen1" (1)
[47.990] (**) |   |-->Monitor "Monitor1"
[47.990] (**) |   |-->Device "Card1"
[47.990] (**) |-->Screen "Screen2" (2)
[47.990] (**) |   |-->Monitor "Monitor2"
[47.990] (**) |   |-->Device "Card2"
[47.990] (**) |-->Input Device "Mouse0"
[47.990] (**) |-->Input Device "Keyboard0"
[47.990] (**) Option "AIGLX" "True"
[47.990] (**) Option "AutoAddDevices" "Off"
[47.990] (**) Option "DRI2" "True"
[47.990] (**) Not automatically adding devices
[47.990] (==) Not automatically enabling devices
[48.330] (**) FontPath set to:
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF/,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/,
/usr/local/lib/X11/fonts/URW/,
/usr/local/lib/X11/fonts/wqy,
/usr/local/lib/X11/fonts/Droid/,
/usr/local/lib/X11/fonts/dejavu/,
/usr/local/lib/X11/fonts/MS/,
/usr/local/lib/X11/fonts/Liberation/,
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF/,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/
[48.330] (**) ModulePath set to "/usr/local/lib/xorg/modules"
[48.330] (**) Extension "Composite" is enabled
[48.330] (II) Loader magic: 0x7b53d0
[48.330] (II) Module ABI versions:
[48.330] X.Org ANSI C Emulation: 0.4
[48.330] X.Org Video Driver: 12.1
[48.330] X.Org XInput driver : 16.0
[48.330] X.Org Server Extension : 6.0
[48.330] (--) PCI:*(0:0:2:0) 8086:0a16:17aa:2214 rev 9, Mem @
0xf000/4194304, 0xe000/268435456, I/O @ 0x4000/64, BIOS @
0x/65536
[48.330] (II) "extmod" will be loaded. This was enabled by default
and also specified in the config file.
[48.330] (II) "dbe" will be loaded. This was enabled by default
and also specified in the config file.
[48.330] (II) "glx" will be loaded. This was enabled by default
and also specified in the config file.
[48.330] (II) "record" will be loaded. This was enabled by default
and also specified in the config file.
[48.330] (II) "dri" will be loaded. This was enabled by default
and also specified in the config file.
[48.330] (II) "dri2" will be loaded. This was enabled by default
and also specified in the config file.
[48.330] (II) LoadModule: "record"
[48.388] (II) Loading /usr/local/lib/xorg/modules/extensions/librecord.so
[48.391] (II) Module record: vendor="X.Org Foundation"
[48.391] compiled for 1.12.4, module version = 1.13.0
[48.391] Module class: X.Org Server Extension
[48.391] ABI class: X.Org Server Extension, version 6.0
[48.391] (II) Loading extension RECORD
[48.391] (II) LoadModule: "dri2"
[48.392] (II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so
[48.416] (II) Module dri2: vendor="X.Org Foundation"
[48.416] compiled for 1.12.4, module version = 1.2.0
[48.416] ABI class: X.Org Server Extension, version 6.0
[48.416] (II) Loading extension DRI2
[48.416] (II) LoadModule: "glx"
[48.417] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[48.450] (II) Module glx: vendor="X.Org Foundation"
[48.450] compiled for 1.12.4, module version = 1.0.0
[48.450] ABI class: X.Org Server Extension, version 6.0
[48.455] (**) AIGLX enabled
[48.455] (II) Loading extension GLX
[48.455] (II) LoadModule: "dri"
[48.456] (II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so
[48.457] (II) Module dri: vendor="X.Org Foundation"
[48.457] compiled for 1.12.4, module version = 1.0.0
[48.457] ABI class: X.Org Server Extension, version 6.0
[48.457]