Probably something else. These seem to be two components to i915kms.
A console framebuffer driver and the xorg component
This allows you to have separate console resolutions and xorg resolutions.
scfb and xf86-video-intel both can only use the same resolution in xorg and console framebuffer.
So if you use gop set (from the loader prompt) the same resolution is used in xorg as with the console.
All of that depends on the machine running in UEFI mode.
Pause at Beastie Screen and press #3 for loader prompt.
Mess around with gop. Just type gop will give you the options.
gop list/set/something
gop list shows available resolutions.
It seems to be tied to available "Monitor" resolutions. For example gop list might show different settings on different monitors.
Board might support 1920x1080 but monitor does not. So you will not see that resolution.
You should be able to find out if you are running LegacyBIOS or UEFI mode BIOS settings with gop.
This shell command will also show you: sysctl machdep.bootmethod
Some provided clues with base port: xrandr --listproviders
name:modesetting
FreeBSD did not gain UEFI for 32 Bit platforms until recently. So it was a lifeline for FreeBSD-15 to support i386.
Isn't the T7400 Mini-Mac IA32 UEFI?
Right that is showing BIOS bootmeth.
So that might be whats going on. The UEFI framebuffer part is failing because it is LegacyBIOS and it is expecting UEFI.
But i915kms is working in Xorg.
What is surprising is that I thought a port like i915kms would be linked to a version ABI. Not interchangeable just by compiling.
I need drm-510-kmod to keep baytrail alive with Xorg so I might see if I can get it going.
You are right. I realized that I forgot to add myself to 'video' group. After doing so here's what I get:
rz@sunny:~ % glxinfo -B
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Mesa Project (0x8086)
Device: i915 (chipset: 945GM) (0x27a2)
Version: 24.1.7
Accelerated: yes
Video memory: 192MB
Unified memory: yes
Preferred profile: compat (0x2)
Max core profile version: 0.0
Max compat profile version: 2.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 2.0
OpenGL vendor string: Mesa Project
OpenGL renderer string: i915 (chipset: 945GM)
OpenGL version string: 2.1 Mesa 24.1.7
OpenGL shading language version string: 1.20
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 24.1.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
rz@sunny:~ % glmark2 --fullscreen
=======================================================
glmark2 2023.01
=======================================================
OpenGL Information
GL_VENDOR: Mesa Project
GL_RENDERER: i915 (chipset: 945GM)
GL_VERSION: 2.1 Mesa 24.1.7
Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0
Surface Size: 1280x800 fullscreen
=======================================================
[build] use-vbo=false:'-avx512er' is not a recognized feature for this target (ignoring feature)
FPS: 57 FrameTime: 17.733 ms
=======================================================
glmark2 Score: 56
=======================================================
The score is higher than with pure software rendering, but not that much. Yet I noticed that some GL games (DreamChess) are much more responsive.
I did some further investigation and here's what I've found (could be some obvious things, but not for me):
1. If you have xf86-video-intel driver installed (intel_drv.ko), like I do, it pulls up i915kms.ko automagically soon as Xorg starts, so you do not need to add it to kld_list.
2. Without i915kms.ko only VESA (Int 10h) driver works on this setup, scfb is not working! VESA driver provides 1024x768 max resolution, while with i915kms.ko I have 1280x800 now.
3. With VESA driver I have "glmark2 Score: 17". So, Installing i915kms.ko improvided things a lot, even with software renderer!
4. Xorg can bind to i915kms.ko directly without intel_drv.ko (just uninstall xf86-video-intel, or rename intel_drv.ko) and that is recommended configuration on some Linux forums. But when I tested it, I faced a number of aftifacts: missing hardware mouse cursor, some fonts are not rendered. So, I switched back to intel_drv.ko.
5. With i915kms.ko installed video subsystem suspends and resumes correctly. Without it I always have blank black screen on resume.
I'm pretty much satisfied with the result. Once and again FreeBSD did not let me down. This old MacBook works fine, even Youtube is rendered more or less... The only thing left to do is to change dead battery.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.