Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beta3 loads wrong i915kms.ko #21

Closed
jgroenveld opened this issue Oct 1, 2018 · 4 comments
Closed

beta3 loads wrong i915kms.ko #21

jgroenveld opened this issue Oct 1, 2018 · 4 comments

Comments

Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
@jgroenveld
Copy link

@jgroenveld jgroenveld commented Oct 1, 2018

Not sure why beta3 ships two i915kms.ko:
root@trident:~john # find /boot/ -name "i915kms.ko" -exec openssl md5 {} \;
MD5(/boot/kernel/i915kms.ko)= 61fe84a47cd360a36363bf919865c0a5
MD5(/boot/modules/i915kms.ko)= 69aca72b0f1a67066155f7875d8e160c

Out of the box, beta3's i915 driver does loads but seems to be close to a NOP:
Xorg will only run with SCFB driver.

loader(8) says /boot/kernel has precedence.
Removing /boot/kernel/i915kms.ko and rebooting works.

John
groenveld@acm.org
@RodMyers
Copy link

@RodMyers RodMyers commented Oct 1, 2018

which video driver? EFI or BIOS?

@jgroenveld
Copy link
Author

@jgroenveld jgroenveld commented Oct 1, 2018

``

> which video driver? EFI or BIOS?

Sorry about the missing info.
# pkg install trueos-utils
# about

===================
General information
===================

boot environment now (N) … 12.0-CURRENT-up-20180929_104757 NR 2018-09-29
       after restart (R) … 12.0-CURRENT-up-20180929_104757 NR 2018-09-29
boot loader …………………………………… BSD
            type ……………………… EFI
CPU ………………………………………………………… Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
    number of cores ……………… 8
host ……………………………………………………… w650rc
memory ………………………………………………… 16384 MB available, 10009 MB free
OS git branch ……………………………………………………………………………………… Mon
OS git revision ………………………………………………………………………………… Mon
OS kernel build time ………………………………………………………… Sep root@poseidon:/usr/obj/usr/src_tmp/amd64.amd64/sys/GENERIC 24 21:00:29 UTC 2018
OS kernel identity …………………………………………… (uname -i) GENERIC
OS platform (architecture) ……………………… (uname -m) amd64
OS release level ………………………………………………… (uname -r) 12.0-CURRENT
OS version and patch level …… (freebsd-version) 12.0-CURRENT
TrueOS package set ………………… 
TrueOS version …………………………… 
uptime ………………………………………………… 35 mins
user  …………………………………………………… root


I'll open another issue on missing "about".

John
groenveld@acm.org

@beanpole135
Copy link
Member

@beanpole135 beanpole135 commented Oct 8, 2018

Could you please run kldstat -v | grep i915kms to see which module is getting loaded on your system?
Trident is not using the bootloader method for loading that module, but instead has a "trident_init" service that runs on bootup which verifies the xorg configuration and loads the proper kernel modules neccesary for the designated video driver.

@jgroenveld
Copy link
Author

@jgroenveld jgroenveld commented Oct 9, 2018

Closing this beta3 ticket and opening a new one for RC1's trident_init and generate-xorg-conf.sh.
John
groenveld@acm.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment