Anyone help me with sorting out Xorg configuration?

fahrenheit used it without xf86-video-intel until today, I dont think thats the issue unless I should also remove fx86-video-vesa. as for the xrandr, I will give that a try later (if it can offset the WM then great)... this stupid thing is giving me a headache
 
I can only think that something is misconfigured somewhere. If you try that ghostbsd sanity check, you can investigate how they have configured it and what packages are installed... I will be very surprised if you can recreate the bug with a ghostbsd live image.
 
blackbird9 So finally was able to liveboot GhostBSD onto the laptop, which doesn't have the issue I am suffering with the freeBSD boot, was able to find some configuration files think along the lines of "XF86Configuration-[driver]" and found the one for Intel. I am going to try and see if I can get those configurations to work on FreeBSd. Though admittedly, not sure if there would be anything else I need to look at.

Here is the termbin link to the GhostBSD configuration
 
fahrenheit used it without xf86-video-intel until today, I dont think thats the issue unless I should also remove fx86-video-vesa. as for the xrandr, I will give that a try later (if it can offset the WM then great)... this stupid thing is giving me a headache
then judging from the output of ghostbsd you posted, maybe that was your issue. In any case if the initial monitor data (1366x768) is correct the modes ghostbsd detected are wrong (1920x1080).
To play it safe, start with just the device section as a custom conf file
 
You could also run a 'pkg info drm-kmod' to check exactly which version of drm-kmod they are running, and also take copies of the ghostbsd /etc/rc.conf, /etc/sysctl.conf, /boot/loader.conf and /boot/device.hints files. Ghostbsd is simply a pre-configured customised version of freebsd.

Also run 'freebsd-version -kru' to check exactly what version of freebsd they are running. Perhaps they make their own custom kernel, I don't know. And of course take a copy of /var/log/Xorg.0.log from the working ghostbsd, my guess is they are likely to be using the modesetting driver. Since the laptop is working properly on ghostbsd, we have now established that the problem is not hardware, and that there is some version and configuration of freebsd that works. It should be possible to replicate the graphics part of the ghostbsd configuration in your freebsd configuration. Or, a comparison of your freebsd config with what you can see in the working ghostbsd setup may give you a clue about what is wrong with your freebsd configuration.
 
Espionage724 looking at the loader.conf, its completely empty do I am not sure the settings are there and not sure how to edit the sysctl configurations
loader.conf I think should be at that path, but might be fine to add the i915 stuff if it's blank (iirc basic Auto UFS installs doesn't add anything but ZFS had the below out-the-box with ddtrace option selected); you basically just paste the hw.i915 stuff into loader.conf it as-is and reboot

Code:
security.bsd.allow_destructive_dtrace=0
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
cryptodev_load="YES"
zfs_load="YES"

fahrenheit used it without xf86-video-intel until today, I dont think thats the issue unless I should also remove fx86-video-vesa. as for the xrandr, I will give that a try later (if it can offset the WM then great)... this stupid thing is giving me a headache
I never installed a vesa package BIOS or UEFI with Intel graphics and never saw a mention for it in Xorg logs (seeing it on-top on previous log implies it might be taking priority over Xorg-default modesetting)

xf86-video-intel isn't a requirement (Xorg modesetting should auto-load) and I'd probably uninstall it just to get modesetting DDX loading before Vesa/etc first
 
Honestly at this point might as well. Think I went over my head with going straight to XFCE. Happen to know if there is a way to factory reset the os? If not just gonna boot it fresh from iso
If you installed the system with ZFS then there is a 'reset' capability when using boot environments.

After installing the OS and updating it, running the following with root privilege:

freebsd-update fetch install
pkg bootstrap -f
pkg update
pkg upgrade

Create a ZFS snapshot using the Boot Environment control. This is like creating a Restore Point on Windows.

bectl list
bectl create 15.1-reset

If you need to go back to that 'Restore Point' to start again, Reboot FreeBSD, select option 8 for Boot Environments, Press 2 until you cycle around to '15.1-reset', then press 'Backspace', then 'Enter' to boot that environment.

Once booted, and logged in, BEFORE DOING ANYTHING ELSE, create a new workspace boot environment and activate it.

bectl list
bectl create pre-xfce-install
bectl activate pre-xfce-install

Then reboot immediately before continuing installations or any other changes. Doing so ensures that your '15.1-reset' is preserved as-is in case you need to use it again. If you forget to create a workspace boot environment, activating it and reboot into it, you will be modifying the '15.1-reset' environment.

Learning how to use ZFS Boot Environments and ZFS Snapshots in general with off-machine replication can make life a lot easier when it comes to undoing complex mistakes.
 
Back
Top