Problems with Intel UHD Graphics 620 in Freebsd-Release 13.1

hello friends i've using freeBSD around a week ago...before i was using Gentoo Linux before that... my laptop is a HP Pavilion 15-cr0053m with a Intel core i5-8250u and 4 GB of RAM...the problem i am having is with the graphic UD620
i install the drm-kmod driver and load with this line in my /etc/rc.conf:
Code:
kld_list="i915kms"
the system load the firmware fine
Code:
[drm] Initialized i915 1.6.0 20190822 for drmn0 on minor 0
drmn0: successfully loaded firmware image 'i915/kbl_dmc_ver1_04.bin'
[drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
drmn0: fb0: i915drmfb frame buffer device
this is part of mi pciconf -lv
Code:
286-vgapci0@pci0:0:2:0: class=0x030000 rev=0x07 hdr=0x00 vendor=0x8086 device=0x5917 subvendor=0x103c subdevice=0x8488
401-    vendor     = 'Intel Corporation'
438-    device     = 'UHD Graphics 620'
474:    class      = display
499-    subclass   = VGA
520-none0@pci0:0:4:0:   class=0x118000 rev=0x08 hdr=0x00 vendor=0x8086 device=0x1903 subvendor=0x103c subdevice=0x8488
633-    vendor     = 'Intel Corporation'

and i was capable of start xorg with dwm..but the problems come after that for example the pictures attached here
the other problem is that the videos played in telegram are very sow..almost picture to picture
neofetch dont load the data of my gpu
and mpv doesn't open the way it should... it should take up the space it has on the desktop and it only takes up half
the other thing
I can't activate transparency in the terminal either in my case sterm of suckless .. when I activate transparency the whole system is slow




a_2022-05-19_211708_876x541.png

View attachment 13964
 

Attachments

  • photo_2022-05-19_21-51-58.jpg
    photo_2022-05-19_21-51-58.jpg
    91.9 KB · Views: 81
  • photo_2022-05-19_21-52-12.jpg
    photo_2022-05-19_21-52-12.jpg
    24.2 KB · Views: 71
Did you install x11-drivers/xf86-video-intel? I found on my laptop (a bit older chip than yours) that using the Intel driver caused issues, but uninstalling it and allowing X to use the modesetting driver, everything performed much better. Though if you didn't install it, you might want to try to see if it improves your situation.
 
Did you install x11-drivers/xf86-video-intel? I found on my laptop (a bit older chip than yours) that using the Intel driver caused issues, but uninstalling it and allowing X to use the modesetting driver, everything performed much better. Though if you didn't install it, you might want to try to see if it improves your situation.
yes i have the x11-drivers/xf86-video-intel.. i try to without change
 
neofetch dont yet load my gpu data and mpv dont open the way it should but telegram videos open perfect now and can able to set transparency in terminal
 
/usr/local/etc/X11/xorg.conf.d/driver-intel.conf:
Code:
Section    "Device"
    Identifier    "Card0"
    Driver    "modesetting"
EndSection
pw groupadd video
pw groupmod video -m loftur || pw groupmod wheel -m loftur
 
/usr/local/etc/X11/xorg.conf.d/driver-intel.conf:
Code:
Section    "Device"
    Identifier    "Card0"
    Driver    "modesetting"
EndSection
pw groupadd video
pw groupmod video -m loftur || pw groupmod wheel -m loftur
I have already the intel.conf with these line in /usr/local/etc/X11/xorg.conf.d/ the group video already exist and my user is part of him... but i execute this in the terminal with doas and dont add me to wheel group
 
Well then we create one:
Code:
Section "Device"

Identifier "Card0"

Driver "modesetting"

EndSection
well i reboot now for first time after uninstall xf86-video-intel and apply this conf and now dont startx with the same error.
Code:
[   421.719] (EE) open /dev/dri/card0: No such file or directory
[   421.719] (WW) Falling back to old probe method for modesetting
[   421.719] (EE) open /dev/dri/card0: No such file or directory
[   421.719] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   421.719] (EE) Screen 0 deleted because of no matching config section.
[   421.719] (II) UnloadModule: "modesetting"
[   421.719] (EE) Device(s) detected, but none match those in the config file.
[   421.719] (EE)
Fatal server error:
[   421.719] (EE) no screens found(EE)
 
try the following..install xf86-video-intel again and configure xorg with the intel driver then start X with the usual problems...i closed X again and configure modesetting and it works fine until i restart again...that is if I start first with the intel driver and close X then configurethe modesetting driver it works fine until I restart freebsd
 
Remove your config file, then reinstall drm-kmod and reboot.
Code:
[   262.570] (EE) open /dev/dri/card0: No such file or directory
[   262.570] (WW) Falling back to old probe method for modesetting
[   262.570] (EE) open /dev/dri/card0: No such file or directory
[   262.570] (WW) Falling back to old probe method for scfb
[   262.570] scfb trace: probe start
[   262.570] (II) scfb(1): using default device
[   262.570] scfb trace: probe done
[   262.570] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   262.570] (EE) Screen 0 deleted because of no matching config section.
[   262.570] (II) UnloadModule: "modesetting"
[   262.570] (EE)
Fatal server error:
[   262.570] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices

without the xf86-video-intel only start X with the vesa driver and are too slow
with the Driver "scfb" X worf fine but its a generic driver without 3d acceleration
 
I think the problem is the path : /dev/dri/Card0.
In your first logfile I've read 'e-dsp0' or something like that (it's 5:15am in my country and I've only slept 3 hours).
Maybe you have to replace Card0 with the corresponding reference.
 
Back
Top