Xorg setup moreover driver for the Intel UHD 620 Grafik

Hi,

I just installed FreeBSD (my first time) and run into some problems regarding the driver for my graphic card (at least I think so). When I try to start the Xserver ( startx) I get this screen:
IMG_20200311_114239.jpg

Please find attached the Xorg log files (of /var/log/...) (I modified the extension since otherwise I wouldn't be able to upload them here).

As indicated in the title of this post, my graphics card is the Intel UHD 620 graphics

What I've done so far:
installing freebsd on zfs (encrypted with GELI)
reboot
pkg update
pkg install vim bash xorg
#startx didn't work
pkg install drm-kmod #because of this instruction
#startx didn't work
pkg install xf86-video-intel
#startx still didn't work (but now it is an other error message) <- this is the state from where the attached logs come from

Since I don't know what to do next, I'm hoping someone of you knows or at least has an Idea how to solve this problem.
With kind regards
 

Attachments

  • Xorg.0.log.old.txt
    8.3 KB · Views: 163
  • Xorg.0.log.txt
    8.3 KB · Views: 194
I've copied this manually so I hope there are no typos

Code:
/etc/rc.conf
---------------------
clear_tmp_enable="YES"
hostname="tuxedo"
ifconfig_re0="DHCP"
ifconfig_re0_ipv6="inet6 accept_rtadv"
sshd_enable="YES"
ntpdate_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"

# Set dumpdev to "AUTO" to enable crash dumps. "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"

#MODIFICATION
kld_list="/boot/modules/i915kms.ko"


Code:
/boot/loader.conf
-------------------------
aesni_load="YES"
geom_eli_load="YES"
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
opensolaris_load="YES"
zfs_load="YES"
 
Is this perhaps a laptop? If it is, what's the make and model? If it's a laptop you may have one with NVidia Optimus (or something similar from AMD).
 
If I'm reading the Xorg logs correctly, the direct rendering module is failing and X is trying to fall back to scfb(4). So I think you can uninstall drm-kmod and remove the kld_list line from rc.conf.

I noticed that startx is running from the root account. I've never tried that before. What happens if a regular user in the video group runs it?
 
If I'm reading the Xorg logs correctly, the direct rendering module is failing and X is trying to fall back to scfb(4). So I think you can uninstall drm-kmod and remove the kld_list line from rc.conf.

I noticed that startx is running from the root account. I've never tried that before. What happens if a regular user in the video group runs it?
Well I didn't create another user (wanted to do some things before the home directories are made, I just wanted to test if X is running) but I added root to the video group.
But I'll try it from a normal user account

What do you mean by that? That I may be too early for support in freeBSD?
 
It's not ported yet.
Oh ok, I found some posts that indicated this graphic card would be running on freebsd. How long do you think this will take to be ported or might it already be ported in a graphics/drm-*kmod port?

I tried adding a normal user (in the video group) but X still wasn't running. After deleting the manually set line in /etc/rc.conf, removing the drm-kmod package and rebooting it still doesn't work.
But I've got a different error (at least I think so)
 

Attachments

  • dmesg.txt
    56.4 KB · Views: 153
  • Xorg.0.log.txt
    8.3 KB · Views: 149
Oh ok then I'll have to revert back to Linux (and have to use zfsOnLinux again, one of my reasons to migrate to BSD) and try freeBSD another time.
Is there a way to get notified as soon as the graphic card will work with freeBSD?
 
Remember that you still should be able to get unaccelerated video with scfb. That might or might not be enough for your needs.
 
It's actually better to make a simple config restricting Xorg to a single driver. Automatic configuration is… rather esoteric, to put it mildly.
 
Interesting. Automatic configuration for xorg on my Intel HD630 is flawless. Older GPU than OP's though, but since I moved away from Nvidia and went straight Intel, everything just works using graphics/drm-kmod, no fuss, no configs required.
 
OK well I already gave up and reinstalled Linux but if you say its probable that my system will run with the not completely right driver. Actually I don't play games really much, so I think I'll manage with the not accelerated driver (if it doesn't render my system unusable).

I'm currently backing up my complete Linux installation (one thing I should have done before trying freeBSD and not only backup my data) and then I'll give freeBSD one more try with the not accelerated driver.
 
Post #1 shows you executed "startx":
Code:
# startx

Generally, this will trash your system in unrecognizable ways.
1.) Root access given to files that should not have them.
2.) Write permissions on files that should not be written.

So, just have a brand new install and only use user CLI prompts:
Code:
$ startx
 
Back
Top