Solved Xorg doesn't detect devices, won't load to screen

Hey guys,
I'm just starting to try and use BSD, but I can't seem to get xorg to work.
I'm getting errors that number of created screens does not match number of detected devices, no devices detected (just before no screens found).

I have tried several things including getting xorg to generate the config file (https://pastebin.com/c9AGxDWm), specifying intel graphics and changing my bios graphics card settings.
For information I have a Lenovo Flex 4 - 1470 which has integrated graphics (AMD and intel), I don't have a "dedicated option" in the bios but I have two others, neither off which are currently working.

Here is the xorg log: https://pastebin.com/Rsnrpt5S
Here is the old xorg log: https://pastebin.com/yJM7ThuA

Sorry if this is something you guys find obvious, I'm just starting out and nothing I've tried that I found online has helped the issue.
Thanks for any and all help! I really appreciate it!
If you need any other information I'm happy to provide it.
 
Your Intel graphics must be something like Skylake or KabyLake generation I guess.
What you need is a kms driver.
  1. remove the xorg.conf file.
  2. install the kms driver pkg install drm-kmod
  3. to /etc/rc.conf ad the following line
    kld_list="/boot/modules/i915kms.ko"
  4. reboot
That's the driver part for your Intel graphics. How that will work if your AMD graphics adapter is enabled, is beyond me. Those dual graphics are a mess.
The graphics/drm-kmod driver will most likely have support for your AMD graphics as well, in case you are able to disable the Intel through your BIOS. Would be good, if one of them could be disabled.
You should you post the output from pciconf -lv if the above does not work.
 
Your Intel graphics must be something like Skylake or KabyLake generation I guess.
What you need is a kms driver.
  1. remove the xorg.conf file.
  2. install the kms driver pkg install drm-kmod
  3. to /etc/rc.conf ad the following line
    kld_list="/boot/modules/i915kms.ko"
  4. reboot
That's the driver part for your Intel graphics. How that will work if your AMD graphics adapter is enabled, is beyond me. Those dual graphics are a mess.
The graphics/drm-kmod driver will most likely have support for your AMD graphics as well, in case you are able to disable the Intel through your BIOS. Would be good, if one of them could be disabled.
You should you post the output from pciconf -lv if the above does not work.
Hey, thanks so much.
Installing the kms driver fixed it for me!
My bios options are kina confusing for this, as it doesn't directly say that the amd card is enabled or disabled, but anyway at least it is working now!
Thanks so much
 
Back
Top