Closed vermaden closed 4 years ago
Hi. I think Braswell shouldn't require firmware. gpu-firmware-kmod
only has firmware for Skylake and Kaby Lake, because they need it.
Did i915kms
load successfully? i.e. did you see the screen blink? did the console become high (native) resolution? The important message to see is something like VT: Replacing driver "efifb" with new "fb"
.
If that's all fine, you just need to configure Xorg. Configure the GPU like this in xorg.conf:
Section "Device"
Option "AccelMethod" "glamor"
Option "DRI" "3"
Identifier "Card0"
Driver "modesetting"
BusID "PCI:0:2:0" # might be different
EndSection
Hi,
I have configured Xorg with this below: % cat /usr/local/etc/X11/xorg.conf.d/card0.conf Section "Device" Option "AccelMethod" "glamor" Option "DRI" "3" Identifier "Card0" Driver "modesetting" EndSection
Xorg started but movies playback is very slow (like 1 FPS or less) both with KODI and MPV.
I actually saw the 'Replagin' message: Dec 13 00:30:20 bs kernel: VT: Replacing driver "vga" with new "fb".
Here are logs:
==> dmesg.boot <==
Copyright (c) 1992-2017 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 12.0-CURRENT #0: Sat Nov 4 00:38:39 CET 2017
root@bs.local:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64
FreeBSD clang version 5.0.0 (tags/RELEASE_500/final 312559) (based on LLVM 5.0.0svn)
VT(vga): resolution 640x480
CPU: Intel(R) Celeron(R) CPU N3150 @ 1.60GHz (1599.99-MHz K8-class CPU)
Origin="GenuineIntel" Id=0x406c3 Family=0x6 Model=0x4c Stepping=3
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x43d8e3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,RDRAND>
AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
AMD Features2=0x101<LAHF,Prefetch>
Structured Extended Features=0x2282<TSCADJ,SMEP,ERMS,NFPUSG>
VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
TSC: P-state invariant, performance statistics
real memory = 4294967296 (4096 MB)
avail memory = 3714187264 (3542 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table:
==> messages <==
Dec 13 00:15:49 bs syslogd: kernel boot file is /boot/kernel/kernel
Dec 13 00:15:49 bs kernel: Copyright (c) 1992-2017 The FreeBSD Project.
Dec 13 00:15:49 bs kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Dec 13 00:15:49 bs kernel: The Regents of the University of California. All rights reserved.
Dec 13 00:15:49 bs kernel: FreeBSD is a registered trademark of The FreeBSD Foundation.
Dec 13 00:15:49 bs kernel: FreeBSD 12.0-CURRENT #0: Sat Nov 4 00:38:39 CET 2017
Dec 13 00:15:49 bs kernel: root@bs.local:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64
Dec 13 00:15:49 bs kernel: FreeBSD clang version 5.0.0 (tags/RELEASE_500/final 312559) (based on LLVM 5.0.0svn)
Dec 13 00:15:49 bs kernel: VT(vga): resolution 640x480
Dec 13 00:15:49 bs kernel: CPU: Intel(R) Celeron(R) CPU N3150 @ 1.60GHz (1599.99-MHz K8-class CPU)
Dec 13 00:15:49 bs kernel: Origin="GenuineIntel" Id=0x406c3 Family=0x6 Model=0x4c Stepping=3
Dec 13 00:15:49 bs kernel: Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Dec 13 00:15:49 bs kernel: Features2=0x43d8e3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,RDRAND>
Dec 13 00:15:49 bs kernel: AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
Dec 13 00:15:49 bs kernel: AMD Features2=0x101<LAHF,Prefetch>
Dec 13 00:15:49 bs kernel: Structured Extended Features=0x2282<TSCADJ,SMEP,ERMS,NFPUSG>
Dec 13 00:15:49 bs kernel: VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
Dec 13 00:15:49 bs kernel: TSC: P-state invariant, performance statistics
Dec 13 00:15:49 bs kernel: real memory = 4294967296 (4096 MB)
Dec 13 00:15:49 bs kernel: avail memory = 3714187264 (3542 MB)
Dec 13 00:15:49 bs kernel: Event timer "LAPIC" quality 600
Dec 13 00:15:49 bs kernel: ACPI APIC Table:
==> Xorg.0.log.HDMI <==
[ 650.700]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 650.700] X Protocol Version 11, Revision 0
[ 650.701] Build Operating System: FreeBSD 12.0-CURRENT amd64
[ 650.701] Current Operating System: FreeBSD bs.local 12.0-CURRENT FreeBSD 12.0-CURRENT #0: Sat Nov 4 00:38:39 CET 2017 root@bs.local:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64
[ 650.701] Build Date: 30 November 2017 11:55:55AM
[ 650.701]
[ 650.701] Current version of pixman: 0.34.0
[ 650.701] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 650.702] Markers: (--) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 650.702] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 13 00:51:50 2017
[ 650.703] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[ 650.703] (==) No Layout section. Using the first Screen section.
[ 650.703] (==) No screen section available. Using defaults.
[ 650.703] () |-->Screen "Default Screen Section" (0)
[ 650.703] () | |-->Monitor "
[ 650.710] () modeset(0): claimed PCI slot 0@0:2:0 [ 650.710] (II) modeset(0): using default device [ 650.711] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 650.711] (II) modeset(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 650.711] (==) modeset(0): Depth 24, (==) framebuffer bpp 32 [ 650.711] () modeset(0): Option "AccelMethod" "glamor" [ 650.711] (==) modeset(0): RGB weight 888 [ 650.711] (==) modeset(0): Default visual is TrueColor [ 650.711] (II) Loading sub module "glamoregl" [ 650.711] (II) LoadModule: "glamoregl" [ 650.712] (II) Loading /usr/local/lib/xorg/modules/libglamoregl.so [ 650.730] (II) Module glamoregl: vendor="X.Org Foundation" [ 650.730] compiled for 1.18.4, module version = 1.0.0 [ 650.730] ABI class: X.Org ANSI C Emulation, version 0.4 [ 650.730] (II) glamor: OpenGL accelerated X.org driver based. [ 650.760] (II) glamor: EGL version 1.4 (DRI2): [ 650.764] (II) modeset(0): glamor initialized [ 650.857] (II) modeset(0): Output DP-1 has no monitor section [ 650.864] (II) modeset(0): Output HDMI-1 has no monitor section [ 650.875] (II) modeset(0): Output DP-2 has no monitor section [ 651.775] (II) modeset(0): Output HDMI-2 has no monitor section [ 651.785] (II) modeset(0): Output DP-3 has no monitor section [ 651.792] (II) modeset(0): Output HDMI-3 has no monitor section [ 651.885] (II) modeset(0): EDID for output DP-1 [ 651.891] (II) modeset(0): EDID for output HDMI-1 [ 651.902] (II) modeset(0): EDID for output DP-2 [ 652.795] (II) modeset(0): EDID for output HDMI-2 [ 652.805] (II) modeset(0): EDID for output DP-3 [ 652.811] (II) modeset(0): EDID for output HDMI-3 [ 652.811] (II) modeset(0): Output DP-1 disconnected [ 652.811] (II) modeset(0): Output HDMI-1 disconnected [ 652.811] (II) modeset(0): Output DP-2 disconnected [ 652.811] (II) modeset(0): Output HDMI-2 disconnected [ 652.812] (II) modeset(0): Output DP-3 disconnected [ 652.812] (II) modeset(0): Output HDMI-3 disconnected [ 652.812] (WW) modeset(0): No outputs definitely connected, trying again... [ 652.812] (II) modeset(0): Output DP-1 disconnected [ 652.812] (II) modeset(0): Output HDMI-1 disconnected [ 652.812] (II) modeset(0): Output DP-2 disconnected [ 652.812] (II) modeset(0): Output HDMI-2 disconnected [ 652.812] (II) modeset(0): Output DP-3 disconnected [ 652.812] (II) modeset(0): Output HDMI-3 disconnected [ 652.812] (WW) modeset(0): Unable to find connected outputs - setting 1024x768 initial framebuffer [ 652.812] (II) modeset(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated. [ 652.812] (==) modeset(0): DPI set to (96, 96) [ 652.812] (II) Loading sub module "fb" [ 652.812] (II) LoadModule: "fb" [ 652.813] (II) Loading /usr/local/lib/xorg/modules/libfb.so [ 652.814] (II) Module fb: vendor="X.Org Foundation" [ 652.814] compiled for 1.18.4, module version = 1.0.0 [ 652.814] ABI class: X.Org ANSI C Emulation, version 0.4 [ 652.814] (==) Depth 24 pixmap format is 32 bpp [ 653.104] (==) modeset(0): Backing store enabled [ 653.104] (==) modeset(0): Silken mouse enabled [ 653.104] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message. [ 653.105] (==) modeset(0): DPMS enabled [ 653.105] (WW) modeset(0): Option "DRI" is not used [ 653.106] (II) modeset(0): [DRI2] Setup complete [ 653.106] (II) modeset(0): [DRI2] DRI driver: i965 [ 653.106] (II) modeset(0): [DRI2] VDPAU driver: i965 [ 653.106] (--) RandR disabled [ 653.121] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer [ 653.121] (II) AIGLX: enabled GLX_ARB_create_context [ 653.121] (II) AIGLX: enabled GLX_ARB_create_context_profile [ 653.121] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile [ 653.121] (II) AIGLX: enabled GLX_INTEL_swap_event [ 653.121] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control [ 653.121] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB [ 653.121] (II) AIGLX: enabled GLX_ARB_fbconfig_float [ 653.121] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float [ 653.122] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects [ 653.122] (II) AIGLX: enabled GLX_ARB_create_context_robustness [ 653.122] (II) AIGLX: Loaded and initialized i965 [ 653.122] (II) GLX: Initialized DRI2 GL provider for screen 0 [ 653.123] (II) modeset(0): Damage tracking initialized [ 653.355] (II) config/devd: probing input devices... [ 653.355] (II) config/devd: adding input device (null) (/dev/kbdmux) [ 653.355] (II) LoadModule: "kbd" [ 653.356] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so [ 653.356] (II) Module kbd: vendor="X.Org Foundation" [ 653.356] compiled for 1.18.4, module version = 1.9.0 [ 653.356] Module class: X.Org XInput Driver [ 653.356] ABI class: X.Org XInput driver, version 22.1 [ 653.356] (II) Using input driver 'kbd' for 'kbdmux' [ 653.356] () kbdmux: always reports core events [ 653.357] () kbdmux: always reports core events [ 653.357] () Option "Protocol" "standard" [ 653.357] () Option "XkbRules" "base" [ 653.357] () Option "XkbModel" "pc105" [ 653.357] () Option "XkbLayout" "us" [ 653.357] () Option "config_info" "devd:kbdmux" [ 653.357] (II) XINPUT: Adding extended input device "kbdmux" (type: KEYBOARD, id 6) [ 653.358] (II) config/devd: kbdmux is enabled, ignoring device ukbd0 [ 653.358] (II) config/devd: kbdmux is enabled, ignoring device ukbd1 [ 653.358] (II) config/devd: kbdmux is enabled, ignoring device ukbd2 [ 653.358] (II) config/devd: kbdmux is enabled, ignoring device atkbd0 [ 653.358] (II) config/devd: adding input device (null) (/dev/sysmouse) [ 653.358] (II) LoadModule: "mouse" [ 653.359] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so [ 653.359] (II) Module mouse: vendor="X.Org Foundation" [ 653.359] compiled for 1.18.4, module version = 1.9.2 [ 653.359] Module class: X.Org XInput Driver [ 653.359] ABI class: X.Org XInput driver, version 22.1 [ 653.359] (II) Using input driver 'mouse' for 'sysmouse' [ 653.360] () sysmouse: always reports core events [ 653.360] () Option "Device" "/dev/sysmouse" [ 653.360] (==) sysmouse: Protocol: "Auto" [ 653.360] () sysmouse: always reports core events [ 653.360] (==) sysmouse: Emulate3Buttons, Emulate3Timeout: 50 [ 653.360] () sysmouse: ZAxisMapping: buttons 4 and 5 [ 653.360] () sysmouse: Buttons: 5 [ 653.360] () Option "config_info" "devd:sysmouse" [ 653.360] (II) XINPUT: Adding extended input device "sysmouse" (type: MOUSE, id 7) [ 653.360] () sysmouse: (accel) keeping acceleration scheme 1 [ 653.361] () sysmouse: (accel) acceleration profile 0 [ 653.361] () sysmouse: (accel) acceleration factor: 2.000 [ 653.361] (**) sysmouse: (accel) acceleration threshold: 4 [ 653.361] (II) sysmouse: SetupAuto: hw.iftype is 4, hw.model is 0 [ 653.361] (II) sysmouse: SetupAuto: protocol is SysMouse [ 653.361] (II) config/devd: device /dev/ums0 already opened [ 653.361] (II) config/devd: device /dev/ums1 already opened [ 653.361] (II) config/devd: device /dev/ums2 already opened [ 653.361] (II) config/devd: device /dev/ums3 already opened
==> Xorg.0.log.XFCE.VGA <==
[ 266.764]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 266.764] X Protocol Version 11, Revision 0
[ 266.764] Build Operating System: FreeBSD 12.0-CURRENT amd64
[ 266.765] Current Operating System: FreeBSD bs.local 12.0-CURRENT FreeBSD 12.0-CURRENT #0: Sat Nov 4 00:38:39 CET 2017 root@bs.local:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64
[ 266.765] Build Date: 30 November 2017 11:55:55AM
[ 266.765]
[ 266.765] Current version of pixman: 0.34.0
[ 266.765] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 266.765] Markers: (--) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 266.766] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 13 00:45:27 2017
[ 266.791] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[ 266.829] (==) No Layout section. Using the first Screen section.
[ 266.829] (==) No screen section available. Using defaults.
[ 266.829] () |-->Screen "Default Screen Section" (0)
[ 266.829] () | |-->Monitor "
[ 267.481] () modeset(0): claimed PCI slot 0@0:2:0 [ 267.481] (II) modeset(0): using default device [ 267.481] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 267.498] (II) modeset(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 267.498] (==) modeset(0): Depth 24, (==) framebuffer bpp 32 [ 267.498] () modeset(0): Option "AccelMethod" "glamor" [ 267.498] (==) modeset(0): RGB weight 888 [ 267.498] (==) modeset(0): Default visual is TrueColor [ 267.498] (II) Loading sub module "glamoregl" [ 267.498] (II) LoadModule: "glamoregl" [ 267.499] (II) Loading /usr/local/lib/xorg/modules/libglamoregl.so [ 267.602] (II) Module glamoregl: vendor="X.Org Foundation" [ 267.602] compiled for 1.18.4, module version = 1.0.0 [ 267.602] ABI class: X.Org ANSI C Emulation, version 0.4 [ 267.603] (II) glamor: OpenGL accelerated X.org driver based. [ 268.006] (II) glamor: EGL version 1.4 (DRI2): [ 268.128] (II) modeset(0): glamor initialized [ 268.137] (II) modeset(0): Output DP-1 has no monitor section [ 268.141] (II) modeset(0): Output HDMI-1 has no monitor section [ 268.149] (II) modeset(0): Output DP-2 has no monitor section [ 269.044] (II) modeset(0): Output HDMI-2 has no monitor section [ 269.048] (II) modeset(0): Output DP-3 has no monitor section [ 269.052] (II) modeset(0): Output HDMI-3 has no monitor section [ 269.060] (II) modeset(0): EDID for output DP-1 [ 269.079] (II) modeset(0): EDID for output HDMI-1 [ 269.086] (II) modeset(0): EDID for output DP-2 [ 269.984] (II) modeset(0): EDID for output HDMI-2 [ 269.988] (II) modeset(0): EDID for output DP-3 [ 269.988] (II) modeset(0): Manufacturer: ACR Model: ad46 Serial#: 0 [ 269.988] (II) modeset(0): Year: 2006 Week: 33 [ 269.988] (II) modeset(0): EDID Version: 1.3 [ 269.988] (II) modeset(0): Analog Display Input, Input Voltage Level: 0.700/0.300 V [ 269.988] (II) modeset(0): Sync: Separate [ 269.988] (II) modeset(0): Max Image Size [cm]: horiz.: 34 vert.: 27 [ 269.988] (II) modeset(0): Gamma: 2.20 [ 269.989] (II) modeset(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display [ 269.989] (II) modeset(0): First detailed timing not preferred mode in violation of standard! [ 269.989] (II) modeset(0): redX: 0.641 redY: 0.342 greenX: 0.292 greenY: 0.611 [ 269.989] (II) modeset(0): blueX: 0.147 blueY: 0.070 whiteX: 0.313 whiteY: 0.329 [ 269.989] (II) modeset(0): Supported established timings: [ 269.989] (II) modeset(0): 720x400@70Hz [ 269.989] (II) modeset(0): 640x480@60Hz [ 269.989] (II) modeset(0): 640x480@67Hz [ 269.989] (II) modeset(0): 640x480@72Hz [ 269.989] (II) modeset(0): 640x480@75Hz [ 269.989] (II) modeset(0): 800x600@56Hz [ 269.989] (II) modeset(0): 800x600@60Hz [ 269.989] (II) modeset(0): 800x600@72Hz [ 269.989] (II) modeset(0): 800x600@75Hz [ 269.989] (II) modeset(0): 832x624@75Hz [ 269.989] (II) modeset(0): 1024x768@60Hz [ 269.989] (II) modeset(0): 1024x768@70Hz [ 269.990] (II) modeset(0): 1024x768@75Hz [ 269.990] (II) modeset(0): 1280x1024@75Hz [ 269.990] (II) modeset(0): Manufacturer's mask: 0 [ 269.990] (II) modeset(0): Supported detailed timing: [ 269.990] (II) modeset(0): clock: 108.0 MHz Image Size: 338 x 270 mm [ 269.990] (II) modeset(0): h_active: 1280 h_sync: 1328 h_sync_end 1440 h_blank_end 1688 h_border: 0 [ 269.990] (II) modeset(0): v_active: 1024 v_sync: 1025 v_sync_end 1028 v_blanking: 1066 v_border: 0 [ 269.990] (II) modeset(0): Ranges: V min: 56 V max: 75 Hz, H min: 30 H max: 83 kHz, PixClock max 145 MHz [ 269.990] (II) modeset(0): Monitor name: AL1716A [ 269.990] (II) modeset(0): EDID (in hex): [ 269.990] (II) modeset(0): 00ffffffffffff00047246ad00000000 [ 269.990] (II) modeset(0): 2110010308221b78e82ec5a4574a9c25 [ 269.990] (II) modeset(0): 125054bfef0001010101010101010101 [ 269.990] (II) modeset(0): 010101010101302a009851002a403070 [ 269.990] (II) modeset(0): 1300520e1100001e000000fd00384b1e [ 269.990] (II) modeset(0): 530e000a202020202020000000ff0036 [ 269.991] (II) modeset(0): 33333031313431343031340a000000fc [ 269.991] (II) modeset(0): 00414c31373136410a202020202000f6 [ 269.991] (II) modeset(0): Not using mode "1920x1080" (bad mode clock/interlace/doublescan) [ 269.991] (II) modeset(0): Printing probed modes for output DP-3 [ 269.991] (II) modeset(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz eP) [ 269.991] (II) modeset(0): Modeline "1280x1024"x75.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz e) [ 269.991] (II) modeset(0): Modeline "1024x768"x75.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz e) [ 269.991] (II) modeset(0): Modeline "1024x768"x70.1 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz e) [ 269.991] (II) modeset(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e) [ 269.992] (II) modeset(0): Modeline "832x624"x74.6 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz e) [ 269.992] (II) modeset(0): Modeline "800x600"x72.2 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz e) [ 269.992] (II) modeset(0): Modeline "800x600"x75.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz e) [ 269.992] (II) modeset(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e) [ 269.992] (II) modeset(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz e) [ 269.992] (II) modeset(0): Modeline "640x480"x75.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz e) [ 269.992] (II) modeset(0): Modeline "640x480"x72.8 31.50 640 664 704 832 480 489 492 520 -hsync -vsync (37.9 kHz e) [ 269.992] (II) modeset(0): Modeline "640x480"x66.7 30.24 640 704 768 864 480 483 486 525 -hsync -vsync (35.0 kHz e) [ 269.992] (II) modeset(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e) [ 269.992] (II) modeset(0): Modeline "720x400"x70.1 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz e) [ 269.996] (II) modeset(0): EDID for output HDMI-3 [ 269.996] (II) modeset(0): Output DP-1 disconnected [ 269.996] (II) modeset(0): Output HDMI-1 disconnected [ 269.996] (II) modeset(0): Output DP-2 disconnected [ 269.996] (II) modeset(0): Output HDMI-2 disconnected [ 269.996] (II) modeset(0): Output DP-3 connected [ 269.997] (II) modeset(0): Output HDMI-3 disconnected [ 269.997] (II) modeset(0): Using exact sizes for initial modes [ 269.997] (II) modeset(0): Output DP-3 using initial mode 1280x1024 +0+0 [ 269.997] (II) modeset(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated. [ 269.997] (==) modeset(0): DPI set to (96, 96) [ 269.997] (II) Loading sub module "fb" [ 269.997] (II) LoadModule: "fb" [ 269.998] (II) Loading /usr/local/lib/xorg/modules/libfb.so [ 270.017] (II) Module fb: vendor="X.Org Foundation" [ 270.017] compiled for 1.18.4, module version = 1.0.0 [ 270.017] ABI class: X.Org ANSI C Emulation, version 0.4 [ 270.017] (==) Depth 24 pixmap format is 32 bpp [ 270.357] (==) modeset(0): Backing store enabled [ 270.357] (==) modeset(0): Silken mouse enabled [ 270.359] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message. [ 270.365] (==) modeset(0): DPMS enabled [ 270.366] (WW) modeset(0): Option "DRI" is not used [ 270.366] (II) modeset(0): [DRI2] Setup complete [ 270.366] (II) modeset(0): [DRI2] DRI driver: i965 [ 270.366] (II) modeset(0): [DRI2] VDPAU driver: i965 [ 270.538] (--) RandR disabled [ 270.555] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer [ 270.555] (II) AIGLX: enabled GLX_ARB_create_context [ 270.555] (II) AIGLX: enabled GLX_ARB_create_context_profile [ 270.556] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile [ 270.556] (II) AIGLX: enabled GLX_INTEL_swap_event [ 270.556] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control [ 270.556] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB [ 270.556] (II) AIGLX: enabled GLX_ARB_fbconfig_float [ 270.556] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float [ 270.556] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects [ 270.556] (II) AIGLX: enabled GLX_ARB_create_context_robustness [ 270.556] (II) AIGLX: Loaded and initialized i965 [ 270.557] (II) GLX: Initialized DRI2 GL provider for screen 0 [ 270.610] (II) modeset(0): Damage tracking initialized [ 270.610] (II) modeset(0): Setting screen physical size to 338 x 270 [ 271.363] (II) config/devd: probing input devices... [ 271.363] (II) config/devd: adding input device (null) (/dev/kbdmux) [ 271.363] (II) LoadModule: "kbd" [ 271.364] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so [ 271.374] (II) Module kbd: vendor="X.Org Foundation" [ 271.375] compiled for 1.18.4, module version = 1.9.0 [ 271.375] Module class: X.Org XInput Driver [ 271.375] ABI class: X.Org XInput driver, version 22.1 [ 271.375] (II) Using input driver 'kbd' for 'kbdmux' [ 271.375] () kbdmux: always reports core events [ 271.375] () kbdmux: always reports core events [ 271.375] () Option "Protocol" "standard" [ 271.375] () Option "XkbRules" "base" [ 271.375] () Option "XkbModel" "pc105" [ 271.375] () Option "XkbLayout" "us" [ 271.375] () Option "config_info" "devd:kbdmux" [ 271.375] (II) XINPUT: Adding extended input device "kbdmux" (type: KEYBOARD, id 6) [ 271.376] (II) config/devd: kbdmux is enabled, ignoring device ukbd0 [ 271.376] (II) config/devd: kbdmux is enabled, ignoring device ukbd1 [ 271.376] (II) config/devd: kbdmux is enabled, ignoring device ukbd2 [ 271.376] (II) config/devd: kbdmux is enabled, ignoring device atkbd0 [ 271.377] (II) config/devd: adding input device (null) (/dev/sysmouse) [ 271.377] (II) LoadModule: "mouse" [ 271.377] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so [ 271.405] (II) Module mouse: vendor="X.Org Foundation" [ 271.405] compiled for 1.18.4, module version = 1.9.2 [ 271.405] Module class: X.Org XInput Driver [ 271.405] ABI class: X.Org XInput driver, version 22.1 [ 271.406] (II) Using input driver 'mouse' for 'sysmouse' [ 271.406] () sysmouse: always reports core events [ 271.406] () Option "Device" "/dev/sysmouse" [ 271.406] (==) sysmouse: Protocol: "Auto" [ 271.406] () sysmouse: always reports core events [ 271.406] (==) sysmouse: Emulate3Buttons, Emulate3Timeout: 50 [ 271.406] () sysmouse: ZAxisMapping: buttons 4 and 5 [ 271.406] () sysmouse: Buttons: 5 [ 271.406] () Option "config_info" "devd:sysmouse" [ 271.406] (II) XINPUT: Adding extended input device "sysmouse" (type: MOUSE, id 7) [ 271.407] () sysmouse: (accel) keeping acceleration scheme 1 [ 271.407] () sysmouse: (accel) acceleration profile 0 [ 271.407] () sysmouse: (accel) acceleration factor: 2.000 [ 271.407] (**) sysmouse: (accel) acceleration threshold: 4 [ 271.407] (II) sysmouse: SetupAuto: hw.iftype is 4, hw.model is 0 [ 271.407] (II) sysmouse: SetupAuto: protocol is SysMouse [ 271.407] (II) config/devd: device /dev/ums0 already opened [ 271.408] (II) config/devd: device /dev/ums1 already opened [ 271.408] (II) config/devd: device /dev/ums2 already opened [ 271.408] (II) config/devd: device /dev/ums3 already opened [ 274.999] (II) modeset(0): EDID vendor "ACR", prod id 44358 [ 274.999] (II) modeset(0): EDID quirk: Detailed timing is not preferred, use largest mode at 60Hz [ 274.999] (II) modeset(0): Using EDID range info for horizontal sync [ 274.999] (II) modeset(0): Using EDID range info for vertical refresh [ 274.999] (II) modeset(0): Printing DDC gathered Modelines: [ 274.999] (II) modeset(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz eP) [ 274.999] (II) modeset(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e) [ 274.999] (II) modeset(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz e) [ 274.999] (II) modeset(0): Modeline "640x480"x0.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz e) [ 274.999] (II) modeset(0): Modeline "640x480"x0.0 31.50 640 664 704 832 480 489 492 520 -hsync -vsync (37.9 kHz e) [ 274.999] (II) modeset(0): Modeline "640x480"x0.0 30.24 640 704 768 864 480 483 486 525 -hsync -vsync (35.0 kHz e) [ 274.999] (II) modeset(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e) [ 274.999] (II) modeset(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz e) [ 274.999] (II) modeset(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz e) [ 275.000] (II) modeset(0): Modeline "1024x768"x0.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz e) [ 275.000] (II) modeset(0): Modeline "1024x768"x0.0 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz e) [ 275.000] (II) modeset(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e) [ 275.000] (II) modeset(0): Modeline "832x624"x0.0 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz e) [ 275.000] (II) modeset(0): Modeline "800x600"x0.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz e) [ 275.000] (II) modeset(0): Modeline "800x600"x0.0 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz e) [ 294.842] (II) config/devd: terminating backend... [ 294.844] (II) UnloadModule: "mouse" [ 294.844] (II) UnloadModule: "kbd" [ 294.923] (II) Server terminated successfully (0). Closing log file.
Wow that's a ton of logs :)
So you have accelerated desktop graphics with glamor, that's great.
Try mpv --hwdec=vdpau
, or install libva-intel-driver
and try mpv --hwdec=vaapi
to get accelerated video playback. (also you can add --vo=opengl
but that should be the default)
Install libva-utils
(and libva-intel-driver
of course) and run vainfo
to see what video acceleration your chip supports.
I'm not sure why HDMI doesn't work. All the GPU outputs are detected, but only one is plugged in:
[ 269.996] (II) modeset(0): Output DP-1 disconnected [ 269.996] (II) modeset(0): Output HDMI-1 disconnected [ 269.996] (II) modeset(0): Output DP-2 disconnected [ 269.996] (II) modeset(0): Output HDMI-2 disconnected [ 269.996] (II) modeset(0): Output DP-3 connected [ 269.997] (II) modeset(0): Output HDMI-3 disconnected
Does HDMI work on Linux?
Thank you for suggestions and explanations. Notes have been made.
The HDMI does not work on Linux Mint 18.2 which uses Linux 4.8 kernel, but that does not cheer me up.
For the record, the Mini Jack output (sound output) also does not work on N3150.
On paper his board seems to be almost ideal for the setup I am using, the data on ZFS along with 'TV Role' over HDMI and it uses only 6W for the whole motherboard, and has 4 physical cores at the same time, and supports AESNI. And it even supports low power DIMMs (1.35v instead of 1.5v).
I went back to my WORKING setup, which is MSI H61 Mini-ITX motherboard from 2011 along with Celeron G1610T from 2013. Both HDMI and Mini Jack outputs work. The chipset itself uses about 7W, with additional 15-35W from the CPU, which is several times more then N3150, but as Bitcoin uses more power then entire Denmark I do not care about power that much anymore.
I must now send this N3150 motherboard back to my seller, so I will not be able to test more things.
Regards, vermaden
As no tests are possible, closing this for now.
I still own this motherboard, if You have and 'HDMI' tests then let me know.
OK, it would be great if you could summarize what is working and what is not w/ the current drm-next-kmod. Audio via HDMI, as noted in #19 , may just not work. But does graphics output via HDMI work?
Currently graphics work on the VGA port only, the HDMI port is dead both for audio and graphics. It does not detect attached screen via HDMI.
Its not graphics related, but the mini jack output is also 'dead', probably some /boot/device.hints are needed like with ThinkPad T420s to make it work.
As 'myfreeweb' wrote above, I have 'accelerated desktop graphics with glamor' on that board.
Alright, not working HDMI for graphics is a bug. Let me tag @markjdb into this. Also, if you could give this branch is a spin (newer KMS), that'd be nice.
Are you tried the intel Xorg driver instead of modesetting?
Concerning jacks: yeah, I've always needed to do that with the past 3+ laptops.
Closed FreeBSD bugzilla entry for the same issue: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224257
Is this still relevant?
Will check and let you know.
The HDMI kinda works with /boot/modules/i915kms.ko from drm-next as is loaded but output is cut/moved to the left:
Details here: https://i.imgur.com/CMZAnVt.jpg
Regards.
Which versions are you using?
% freebsd-version -uk
12.1-RELEASE
12.1-RELEASE
% pkg info | grep drm
drm-fbsd12.0-kmod-4.16.g20200221 DRM modules for the linuxkpi-based KMS components
drm-kmod-g20190710 Metaport of DRM modules for the linuxkpi-based KMS components
My bad, the TV was not in the 16:9 ratio but in something different like 'stretch' for movie.
After setting the ratio to 16:9 (default HDMI) the output is OK.
You may close the issue as 'resolved'.
Regards.
Hi,
I have 12.0-CURRENT on Intel SoC from 2015Q1 - N3150 - Brasswell, but HDMI output does not work. VGA output works.
% uname -a FreeBSD bs.local 12.0-CURRENT FreeBSD 12.0-CURRENT #0: Sat Nov 4 00:38:39 CET 2017 root@bs.local:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64
Next I have upgraded all packages to be up to date with 'pkg upg' and then added 'drm-next-kmod' port.
Then I added 'kld_list="/boot/modules/i915kms.ko"' to /etc/rc.conf and rebooted.
Upon boot there are messages that firmware from 'gpu-firmware-kmod' package failed to load so there would be no power management.
After I started X11 then 'XFCE Destop' loaded and is usable, but any 3D application (glxgears/kodi) or movie player (mpv/vlc) ends with Segmentation Fault.
What other information do You need from me to dig the problem further and fix that behavior so there would be working 3D, movies acceleration in hardware and proper power management?
Here is the corresponding BUG submitted to FreeBSD team.
DRM-NEXT does not work - ASRock N3150B-ITX - Celeron N3150 - Braswell https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224257
Regards, vermaden