Re: Is there any X driver for Panfrost on PBP ?
- Reply: Emmanuel Vadot : "Re: Is there any X driver for Panfrost on PBP ?"
- In reply to: Greg V : "Re: Is there any X driver for Panfrost on PBP ?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Feb 2022 12:22:19 UTC
Hi, Greg ! On Mon, 21 Feb 2022 09:06:49 +0900, Greg V wrote: > > > > On February 21, 2022 1:26:26 AM GMT+03:00, KIRIYAMA Kazuhiko <kiri@truefc.org> wrote: > >Hi, lists > > Hi, > > [..] > > >rk_drm0: Cannot find port with phandle 10 > > (hopefully this one is harmless..) > > >But I could not found panfrot X driver. Is there any panfrost > >X driver for FreeBSD ? > > Please forget about the notion of hardware specific X drivers and just run startx. > > There is *one* relevant X video driver – xf86-video-modesetting – and it is built in. > > (Ok, -amdgpu is somewhat relevant but that's just -modesetting with TearFree hacks. Meanwhile -intel is a terrible pile of abandonware that mostly causes problems.) > I set Driver to "modesetting" in Device section : kiri@kazu:~[1002]% cat /usr/local/share/X11/xorg.conf.d/30-driver-mali.conf Section "Device" Identifier "Card1" Driver "modesetting" EndSection kiri@kazu:~[1003]% and then `startx', X started :-) kiri@kazu:~[1003]% cat /var/log/Xorg.0.log [ 47449.405] X.Org X Server 1.20.13 X Protocol Version 11, Revision 0 [ 47449.405] Build Operating System: FreeBSD 14.0-CURRENT arm64 [ 47449.405] Current Operating System: FreeBSD kazu.tfc 14.0-CURRENT FreeBSD 14.0-CURRENT #0 n252641-3f106af0cd92-dirty: Wed Jan 26 22:41:41 JST 2022 root@tbedfc:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC-DRM arm64 [ 47449.407] Build Date: 03 February 2022 10:24:33PM [ 47449.407] [ 47449.407] Current version of pixman: 0.40.0 [ 47449.407] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 47449.407] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 47449.408] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 21 20:21:12 2022 [ 47449.410] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d" [ 47449.411] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d" [ 47449.413] (==) No Layout section. Using the first Screen section. [ 47449.413] (==) No screen section available. Using defaults. [ 47449.413] (**) |-->Screen "Default Screen Section" (0) [ 47449.413] (**) | |-->Monitor "<default monitor>" [ 47449.416] (==) No device specified for screen "Default Screen Section". Using the first device section listed. [ 47449.416] (**) | |-->Device "Card1" [ 47449.416] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 47449.416] (==) Automatically adding devices [ 47449.416] (==) Automatically enabling devices [ 47449.416] (==) Not automatically adding GPU devices [ 47449.416] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 47449.417] (WW) The directory "/usr/local/share/fonts/stix/" does not exist. [ 47449.417] Entry deleted from font path. [ 47449.417] (WW) `fonts.dir' not found (or not valid) in "/usr/local/share/fonts/std.ja_JP/". [ 47449.417] Entry deleted from font path. [ 47449.417] (Run 'mkfontdir' on "/usr/local/share/fonts/std.ja_JP/"). [ 47449.419] (**) FontPath set to: /usr/local/share/fonts/cyrillic/, /usr/local/share/fonts/bitstream-vera/, /usr/local/share/fonts/misc/, /usr/local/share/fonts/TTF/, /usr/local/share/fonts/OTF/, /usr/local/share/fonts/Type1/, /usr/local/share/fonts/100dpi/, /usr/local/share/fonts/75dpi/, catalogue:/usr/local/etc/X11/fontpath.d [ 47449.419] (==) ModulePath set to "/usr/local/lib/xorg/modules" [ 47449.419] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 47449.419] (II) Loader magic: 0x43c3f8 [ 47449.419] (II) Module ABI versions: [ 47449.419] X.Org ANSI C Emulation: 0.4 [ 47449.419] X.Org Video Driver: 24.1 [ 47449.419] X.Org XInput driver : 24.1 [ 47449.419] X.Org Server Extension : 10.0 [ 47449.419] (II) LoadModule: "glx" [ 47449.421] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so [ 47449.431] (II) Module glx: vendor="X.Org Foundation" [ 47449.431] compiled for 1.20.13, module version = 1.0.0 [ 47449.431] ABI class: X.Org Server Extension, version 10.0 [ 47449.431] (II) LoadModule: "modesetting" [ 47449.432] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so [ 47449.440] (II) Module modesetting: vendor="X.Org Foundation" [ 47449.440] compiled for 1.20.13, module version = 1.20.13 [ 47449.440] Module class: X.Org Video Driver [ 47449.440] ABI class: X.Org Video Driver, version 24.1 [ 47449.440] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 47449.441] (--) Using syscons driver with X support (version 35887507610533890.0) [ 47449.441] (--) using VT number 9 [ 47449.441] (WW) Falling back to old probe method for modesetting [ 47449.450] (II) modeset(0): using default device [ 47449.450] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 47449.451] (II) modeset(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 47449.451] (==) modeset(0): Depth 24, (==) framebuffer bpp 32 [ 47449.451] (==) modeset(0): RGB weight 888 [ 47449.451] (==) modeset(0): Default visual is TrueColor [ 47449.451] (II) Loading sub module "glamoregl" [ 47449.451] (II) LoadModule: "glamoregl" [ 47449.453] (II) Loading /usr/local/lib/xorg/modules/libglamoregl.so [ 47449.573] (II) Module glamoregl: vendor="X.Org Foundation" [ 47449.574] compiled for 1.20.13, module version = 1.0.1 [ 47449.574] ABI class: X.Org ANSI C Emulation, version 0.4 [ 47452.771] (II) modeset(0): Refusing to try glamor on llvmpipe [ 47452.815] (EE) modeset(0): glamor initialization failed [ 47452.815] (II) modeset(0): ShadowFB: preferred NO, enabled NO [ 47452.820] (II) modeset(0): Output eDP-1 has no monitor section [ 47452.824] (II) modeset(0): EDID for output eDP-1 [ 47452.827] (II) modeset(0): Printing probed modes for output eDP-1 [ 47452.827] (II) modeset(0): Modeline "1920x1080"x60.0 141.40 1920 1968 2000 2142 1080 1083 1089 1100 +hsync -vsync (66.0 kHz eP) [ 47452.827] (II) modeset(0): Modeline "1920x1080"x48.0 113.12 1920 1968 2000 2142 1080 1083 1089 1100 +hsync -vsync (52.8 kHz e) [ 47452.827] (II) modeset(0): Output eDP-1 connected [ 47452.827] (II) modeset(0): Using exact sizes for initial modes [ 47452.827] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0 [ 47452.827] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0) [ 47452.827] (==) modeset(0): DPI set to (96, 96) [ 47452.827] (II) Loading sub module "fb" [ 47452.827] (II) LoadModule: "fb" [ 47452.829] (II) Loading /usr/local/lib/xorg/modules/libfb.so [ 47452.835] (II) Module fb: vendor="X.Org Foundation" [ 47452.835] compiled for 1.20.13, module version = 1.0.0 [ 47452.835] ABI class: X.Org ANSI C Emulation, version 0.4 [ 47452.855] (==) modeset(0): Backing store enabled [ 47452.855] (==) modeset(0): Silken mouse enabled [ 47452.883] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc. [ 47452.886] (==) modeset(0): DPMS enabled [ 47452.888] (II) Initializing extension Generic Event Extension [ 47452.894] (II) Initializing extension SHAPE [ 47452.898] (II) Initializing extension MIT-SHM [ 47452.903] (II) Initializing extension XInputExtension [ 47452.911] (II) Initializing extension XTEST [ 47452.916] (II) Initializing extension BIG-REQUESTS [ 47452.921] (II) Initializing extension SYNC [ 47452.928] (II) Initializing extension XKEYBOARD [ 47452.934] (II) Initializing extension XC-MISC [ 47452.938] (II) Initializing extension SECURITY [ 47452.942] (II) Initializing extension XFIXES [ 47452.949] (II) Initializing extension RENDER [ 47452.953] (II) Initializing extension RANDR [ 47452.961] (II) Initializing extension COMPOSITE [ 47452.965] (II) Initializing extension DAMAGE [ 47452.969] (II) Initializing extension MIT-SCREEN-SAVER [ 47452.975] (II) Initializing extension DOUBLE-BUFFER [ 47452.979] (II) Initializing extension RECORD [ 47452.983] (II) Initializing extension DPMS [ 47452.987] (II) Initializing extension Present [ 47452.991] (II) Initializing extension DRI3 [ 47452.991] (II) Initializing extension X-Resource [ 47452.995] (II) Initializing extension XVideo [ 47453.002] (II) Initializing extension XVideo-MotionCompensation [ 47453.002] (II) Initializing extension GLX [ 47453.008] (II) AIGLX: Screen 0 is not DRI2 capable [ 47453.432] (II) IGLX: Loaded and initialized swrast [ 47453.432] (II) GLX: Initialized DRISWRAST GL provider for screen 0 [ 47453.432] (II) Initializing extension XFree86-VidModeExtension [ 47453.436] (II) Initializing extension XFree86-DGA [ 47453.440] (II) Initializing extension XFree86-DRI [ 47453.440] (II) Initializing extension DRI2 [ 47453.445] (II) modeset(0): Damage tracking initialized [ 47453.445] (II) modeset(0): Setting screen physical size to 508 x 285 [ 47454.785] (II) config/udev: Adding input device System mouse (/dev/input/event0) [ 47454.785] (**) System mouse: Applying InputClass "libinput pointer catchall" [ 47454.785] (II) LoadModule: "libinput" [ 47454.788] (II) Loading /usr/local/lib/xorg/modules/input/libinput_drv.so [ 47454.938] (II) Module libinput: vendor="X.Org Foundation" [ 47454.938] compiled for 1.20.13, module version = 0.30.0 [ 47454.938] Module class: X.Org XInput Driver [ 47454.938] ABI class: X.Org XInput driver, version 24.1 [ 47454.940] (II) Using input driver 'libinput' for 'System mouse' [ 47454.940] (**) System mouse: always reports core events [ 47454.941] (**) Option "Device" "/dev/input/event0" [ 47454.944] (**) Option "_source" "server/udev" [ 47455.076] (II) event0 - System mouse: is tagged by udev as: Mouse [ 47455.084] (II) event0 - System mouse: device is a pointer [ 47455.095] (II) event0 - System mouse: device removed [ 47455.096] (**) Option "config_info" "udev:/dev/input/event0" [ 47455.096] (II) XINPUT: Adding extended input device "System mouse" (type: MOUSE, id 6) [ 47455.098] (**) Option "AccelerationScheme" "none" [ 47455.098] (**) System mouse: (accel) selected scheme none/0 [ 47455.098] (**) System mouse: (accel) acceleration factor: 2.000 [ 47455.098] (**) System mouse: (accel) acceleration threshold: 4 [ 47455.111] (II) event0 - System mouse: is tagged by udev as: Mouse [ 47455.119] (II) event0 - System mouse: device is a pointer [ 47455.127] (II) config/udev: Adding input device System keyboard multiplexer (/dev/input/event1) [ 47455.128] (**) System keyboard multiplexer: Applying InputClass "Evdev keyboard" [ 47455.128] (**) System keyboard multiplexer: Applying InputClass "libinput keyboard catchall" [ 47455.128] (II) Using input driver 'libinput' for 'System keyboard multiplexer' [ 47455.128] (**) System keyboard multiplexer: always reports core events [ 47455.128] (**) Option "Device" "/dev/input/event1" [ 47455.128] (**) Option "_source" "server/udev" [ 47455.142] (II) event1 - System keyboard multiplexer: is tagged by udev as: Keyboard [ 47455.146] (II) event1 - System keyboard multiplexer: device is a keyboard [ 47455.158] (II) event1 - System keyboard multiplexer: device removed [ 47455.159] (**) Option "config_info" "udev:/dev/input/event1" [ 47455.159] (II) XINPUT: Adding extended input device "System keyboard multiplexer" (type: KEYBOARD, id 7) [ 47455.159] (**) Option "xkb_rules" "evdev" [ 47455.609] (II) event1 - System keyboard multiplexer: is tagged by udev as: Keyboard [ 47455.613] (II) event1 - System keyboard multiplexer: device is a keyboard [ 47455.626] (II) config/udev: Adding input device HAILUCK CO. (/dev/input/event2) [ 47455.626] (**) HAILUCK CO.: Applying InputClass "Evdev keyboard" [ 47455.626] (**) HAILUCK CO.: Applying InputClass "libinput keyboard catchall" [ 47455.626] (II) Using input driver 'libinput' for 'HAILUCK CO.' [ 47455.626] (**) HAILUCK CO.: always reports core events [ 47455.627] (**) Option "Device" "/dev/input/event2" [ 47455.627] (**) Option "_source" "server/udev" [ 47455.639] (II) event2 - HAILUCK CO.,LTD USB KEYBOARD, class 0/0, rev 1.10/1.00, addr 2: is tagged by udev as: Keyboard [ 47455.643] (II) event2 - HAILUCK CO.,LTD USB KEYBOARD, class 0/0, rev 1.10/1.00, addr 2: device is a keyboard [ 47455.663] (II) event2 - HAILUCK CO.,LTD USB KEYBOARD, class 0/0, rev 1.10/1.00, addr 2: device removed [ 47455.663] (**) Option "config_info" "udev:/dev/input/event2" [ 47455.663] (II) XINPUT: Adding extended input device "HAILUCK CO." (type: KEYBOARD, id 8) [ 47455.663] (**) Option "xkb_rules" "evdev" [ 47455.677] (II) event2 - HAILUCK CO.,LTD USB KEYBOARD, class 0/0, rev 1.10/1.00, addr 2: is tagged by udev as: Keyboard [ 47455.681] (II) event2 - HAILUCK CO.,LTD USB KEYBOARD, class 0/0, rev 1.10/1.00, addr 2: device is a keyboard [ 47455.701] (II) config/udev: Adding input device HAILUCK CO. (/dev/input/event3) [ 47455.701] (**) HAILUCK CO.: Applying InputClass "libinput pointer catchall" [ 47455.701] (II) Using input driver 'libinput' for 'HAILUCK CO.' [ 47455.701] (**) HAILUCK CO.: always reports core events [ 47455.701] (**) Option "Device" "/dev/input/event3" [ 47455.702] (**) Option "_source" "server/udev" [ 47455.714] (II) event3 - HAILUCK CO.,LTD USB KEYBOARD, class 0/0, rev 1.10/1.00, addr 2: is tagged by udev as: Mouse [ 47455.722] (II) event3 - HAILUCK CO.,LTD USB KEYBOARD, class 0/0, rev 1.10/1.00, addr 2: device is a pointer [ 47455.734] (II) event3 - HAILUCK CO.,LTD USB KEYBOARD, class 0/0, rev 1.10/1.00, addr 2: device removed [ 47455.734] (**) Option "config_info" "udev:/dev/input/event3" [ 47455.734] (II) XINPUT: Adding extended input device "HAILUCK CO." (type: MOUSE, id 9) [ 47455.736] (**) Option "AccelerationScheme" "none" [ 47455.736] (**) HAILUCK CO.: (accel) selected scheme none/0 [ 47455.736] (**) HAILUCK CO.: (accel) acceleration factor: 2.000 [ 47455.736] (**) HAILUCK CO.: (accel) acceleration threshold: 4 [ 47455.748] (II) event3 - HAILUCK CO.,LTD USB KEYBOARD, class 0/0, rev 1.10/1.00, addr 2: is tagged by udev as: Mouse [ 47455.756] (II) event3 - HAILUCK CO.,LTD USB KEYBOARD, class 0/0, rev 1.10/1.00, addr 2: device is a pointer [ 47473.793] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event4) [ 47473.793] (**) Logitech USB Receiver: Applying InputClass "libinput pointer catchall" [ 47473.793] (II) Using input driver 'libinput' for 'Logitech USB Receiver' [ 47473.793] (**) Logitech USB Receiver: always reports core events [ 47473.793] (**) Option "Device" "/dev/input/event4" [ 47473.793] (**) Option "_source" "server/udev" [ 47473.807] (II) event4 - Logitech USB Receiver, class 0/0, rev 2.00/30.00, addr 6: is tagged by udev as: Mouse [ 47473.816] (II) event4 - Logitech USB Receiver, class 0/0, rev 2.00/30.00, addr 6: device is a pointer [ 47473.828] (II) event4 - Logitech USB Receiver, class 0/0, rev 2.00/30.00, addr 6: device removed [ 47473.829] (**) Option "config_info" "udev:/dev/input/event4" [ 47473.829] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: MOUSE, id 10) [ 47473.831] (**) Option "AccelerationScheme" "none" [ 47473.832] (**) Logitech USB Receiver: (accel) selected scheme none/0 [ 47473.832] (**) Logitech USB Receiver: (accel) acceleration factor: 2.000 [ 47473.832] (**) Logitech USB Receiver: (accel) acceleration threshold: 4 [ 47473.846] (II) event4 - Logitech USB Receiver, class 0/0, rev 2.00/30.00, addr 6: is tagged by udev as: Mouse [ 47473.854] (II) event4 - Logitech USB Receiver, class 0/0, rev 2.00/30.00, addr 6: device is a pointer [ 47892.921] (EE) event4 - Logitech USB Receiver, class 0/0, rev 2.00/30.00, addr 6: client bug: event processing lagging behind by 23ms, your system is too slow [ 47948.174] (EE) event4 - Logitech USB Receiver, class 0/0, rev 2.00/30.00, addr 6: client bug: event processing lagging behind by 11ms, your system is too slow [ 47951.197] (EE) event4 - Logitech USB Receiver, class 0/0, rev 2.00/30.00, addr 6: client bug: event processing lagging behind by 41ms, your system is too slow [ 47988.409] (EE) event4 - Logitech USB Receiver, class 0/0, rev 2.00/30.00, addr 6: client bug: event processing lagging behind by 15ms, your system is too slow [ 48004.732] (EE) event4 - Logitech USB Receiver, class 0/0, rev 2.00/30.00, addr 6: client bug: event processing lagging behind by 37ms, your system is too slow [ 48004.732] (EE) event4 - Logitech USB Receiver, class 0/0, rev 2.00/30.00, addr 6: WARNING: log rate limit exceeded (5 msgs per 60min). Discarding future messages. I tried to run firefox and viewed sevral YouTube channels, then suddenly crashed with : kiri@kazu:~[1008]% firefox Crash Annotation GraphicsCriticalError: |[0][GFX1-]: No GPUs detected via PCI (t=5.25465) [GFX1-]: No GPUs detected via PCI Crash Annotation GraphicsCriticalError: |[0][GFX1-]: No GPUs detected via PCI (t=5.25465) |[1][GFX1-]: glxtest: process failed (received signal 11) (t=5.2565) [GFX1-]: glxtest: process failed (received signal 11) But now stable ;-) Anyway thanx ! --- Kiriyama Kazuhiko <kiri@truefc.org>