Remember: don’t kldload i915 too soon

I just wasted an hour trying to figure out why xorg had strange output but no errors on this laptop, and it’s because I had i915_load=”YES” in /boot/loader.conf instead of i915_load=”YES” in /etc/rc.conf.  I’m almost nearly sure I’ve mentioned that before, but if not: here you go.

(though if you never plan to run X, you can put it in loader.conf and everything will just work.)

(Title updated for a more correct sentence)

9 Replies to “Remember: don’t kldload i915 too soon”

  1. Been there, done that, put in an Nvidia card on a desktop. Yes, I know that’s not an option on a laptop.

  2. > Been there, done that, put in an Nvidia card on a desktop. Yes, I know that’s not an option on a laptop.

    Or you can get a laptop with nvidia and a sufficient battery.

    Intel’s drivers have been getting worse for a while. Hope they concentrate on stability soon.

  3. > though if you never plan to run X, you can put it in loader.conf and everything will just work

    Is that for the virtual console and does it mean if I put it in rc.conf, the console will be non-functional but Xorg will work?

  4. mikegpu – if you put it in rc.conf, the virtual console will still work. It just loads a few seconds later.

    I haven’t tried moving the load of drm.ko into rc.conf to see if that combo works any better yet.

  5. Are you sure you headline is correct?
    It seems reversed:
    kldload(8) is for loading kernel modules after kernel is booted.
    load is for loading modules from loader(8), i.e. before kernel is booted.
    /etc/rc.conf is configuration options for after kernel boot.
    /boot/loader.conf is configuration options for loader(8).
    How about man pages: is working order documented there?
    I didn’t find mention of /boot/loader.conf vs /etc/rc.conf in i915(8) (which links to i915kms(8)).

  6. Ok, seem like header should be: “Do kldload i915” or “Don’t load i915 from loader”

  7. Yeah.. encountered that issue, when I upgraded my DFBSD 4.8 to 5.

Comments are closed.

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)

Mentions

  • flythedragon
  • Justin Sherrill
  • Thomas Nikolajsen
  • Justin Sherrill
  • Thomas Nikolajsen
  • Justin Sherrill
  • mikegpu
  • mikegpu
  • mer