Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 18:42

    zeising on master

    Normalize the Makefiles and do … (compare)

  • 18:42
    zeising closed #14
  • 11:10
    bzfbd commented #14
  • Nov 19 03:14
    shkhln commented #248
  • Nov 16 09:26

    hselasky on drm-v4.16-fbsd12.0

    Buildfix for 12-stable after r3… (compare)

  • Nov 09 10:31
    sssme closed #254
  • Nov 09 10:17
    ykla closed #253
  • Nov 09 09:21
    sssme commented #253
  • Nov 09 08:55
    zeising commented #253
  • Nov 09 08:45
    sssme commented #254
  • Nov 09 08:45
    sssme commented #254
  • Nov 09 08:45
    sssme reopened #254
  • Nov 09 08:45
    sssme closed #254
  • Nov 09 08:40
    sssme commented #253
  • Nov 09 08:30
    zeising commented #253
  • Nov 09 08:25
    sssme commented #253
  • Nov 09 08:12
    zeising commented #253
  • Nov 08 14:42
    ykla commented #253
  • Nov 08 11:51
    zeising commented #253
  • Nov 08 01:52
    ykla commented #253
fbsdgitter
@fbsdgitter
[irc] <debdrup> right, that just calls reboot - what's interesting about reboot is that unlike shutdown it'll only wait 5 seconds for processes to respond to sigterm before it sends sigkill
[irc] <debdrup> this is very established behaviour, it's how BSD did it back in the days, too (i checked)
[irc] <AllanJude> swills: doesn't work at home, but sometimes the only reliable way to reboot is: ipmitool chassis power reset
[irc] <swills> oh yeah, for sure
[irc] <swills> this is my desktop tho
[irc] <swills> i just reach over and press the reset button...
[irc] <manu_> swills: if my printfs didn't showed then it's probably another issue
[irc] <swills> yeah
fbsdgitter
@fbsdgitter
[irc] <debdrup> AllanJude: can you do shutdown -c ?
[irc] <AllanJude> debdrup: sounds like -c does the same thing
[irc] <debdrup> it's initiated by shutdown though, but if the box is hung ipmitool chassis power reset is very useful
JavaShin
@javashin

[irc] <debdrup> oh, that's curious. when my gpu hangs, i can still shut things down

hey

that thing is happening here too
i use pkill -u javashin and logout
and on a root console tried to shutdown or reboot
always hang
and dont do anything
sometimes i start freebsd and the desktop is broken too
only mate-panel and plank start but not caja
and nothing works
if i click something nah
nothing works
Ghost
@ghost~5e5c78c8d73408ce4fdb409f
@nomadlogic, did you manage to test https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240884 ?
Ghost
@ghost~5e5c78c8d73408ce4fdb409f
nomadlogic
@nomadlogic
i think it works on my system, let me verify my XDG_RUNTIME_DIR is on zfs
nope, using tmpfs firefox works under sway - pointing XDG_RUNTIME_DIR to a directory on my zfs filesystem causes core dump
nomadlogic
@nomadlogic
i invoke firefox like so: ENABLE_WAYLAND=1 firefox
myfreeweb
@myfreeweb
MOZ_ENABLE_WAYLAND right? don't think anything checks for ENABLE_WAYLAND
nomadlogic
@nomadlogic
yes that is correct, typo on my end
Blake Darche
@BlakeDarche_twitter
I've got an intel nuc10i7, that shows /dev/drm, but dmesg shows 0 drm messages. i'm running current, with the i915kms.ko loaded. it seems like its not working. any ideas?
Ghost
@ghost~5e5c78c8d73408ce4fdb409f
@BlakeDarche_twitter, maybe i915kms didn't recognize PCI ID. Can you show pciconf -l | fgrep vga output?
Also, check i915kms is loaded from /boot/modules rather than /boot/kernel.
Blake Darche
@BlakeDarche_twitter
vgapci0@pci0:0:2:0: class=0x030000 rev=0x04 hdr=0x00 vendor=0x8086 device=0x9bca subvendor=0x8086 subdevice=0x2081
vendor = 'Intel Corporation'
class = display
subclass = VGA

/etc/rc.conf

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

its odd, because it just shows up as VGA. I notice in the docs, it seems like it should be showing up as Intel HD or something of the like.
Ghost
@ghost~5e5c78c8d73408ce4fdb409f
torvalds/linux@a7b4dee is missing from all branches in kms-drm repo
Blake Darche
@BlakeDarche_twitter
ah ok. looks like a waiting game.
Ghost
@ghost~5e5c78c8d73408ce4fdb409f
@BlakeDarche_twitter, kernel graphics code is currently stuck at Linux 5.0 era after johalun stepped down. So, there's nothing to wait for. In the mean maybe try a simple backport e.g.,
diff --git graphics/drm-devel-kmod/Makefile graphics/drm-devel-kmod/Makefile
index d2014db6d464..f4236594c450 100644
--- graphics/drm-devel-kmod/Makefile
+++ graphics/drm-devel-kmod/Makefile
@@ -5,6 +5,9 @@ PORTNAME=    drm-devel-kmod
 PORTVERSION=    5.0.g20200320
 CATEGORIES=    graphics kld

+PATCH_SITES=    https://github.com/torvalds/linux/commit/
+PATCHFILES+=    a7b4deeb02b9.patch:-p1 # Add CometLake PCI IDs
+
 MAINTAINER=    x11@FreeBSD.org
 COMMENT=    DRM modules for the linuxkpi-based KMS components (development version)

diff --git graphics/drm-devel-kmod/distinfo graphics/drm-devel-kmod/distinfo
index fd210d443358..8320d82ae2f1 100644
--- graphics/drm-devel-kmod/distinfo
+++ graphics/drm-devel-kmod/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1584694793
 SHA256 (FreeBSDDesktop-kms-drm-5.0.g20200320-2ccbcda_GH0.tar.gz) = 1058b7be73dbc6b19c5e69bcca65c49bef5c20108d3935f390c0a91ad339f14c
 SIZE (FreeBSDDesktop-kms-drm-5.0.g20200320-2ccbcda_GH0.tar.gz) = 14634844
+SHA256 (a7b4deeb02b9.patch) = 58d19ae0d8e887e4d003f97f7f5d3986b2160fb815dd3fbe3dbb52dda9800e21
+SIZE (a7b4deeb02b9.patch) = 2975
FreeBSDDesktop/kms-drm#122 suggests PCI IDs backports are unlikely to be applied in official capacity.
nomadlogic
@nomadlogic
from what i gathered watching both mmacy and johannes hacking on porting the linux stuff over is that it's a pretty major PITA unfortunately
Ghost
@ghost~5e5c78c8d73408ce4fdb409f
Linux 5.0 era support for Gen9 is mostly complete. There're 3 generations within: Skylake, KabyLake and CoffeeLake. If you've read the patch it adds CometLake support using CoffeeLake infra.
Ghost
@ghost~5e5c78c8d73408ce4fdb409f
@BlakeDarche_twitter, torvalds/linux@729ae33 maybe also required. Adding PATCHFILES+= 729ae330a0f2.patch:-p1 then running make makesum should be enough to apply it via port.
myfreeweb
@myfreeweb
i'll try updating drm to 5.something newer.. as an experiment i've applied 150 ish commits for now but there's like 8000 until linux 5.6
Austin Shafer
@amshafer
Did johannes document his workflow for updating drm? I have a little experience and I'm open to helping out
myfreeweb
@myfreeweb
one revert myfreeweb/kms-drm@f2ce610 for now due to mutex_acquire/mutex_release
Niclas Zeising
@zeising
@amshafer Basically it was import/merge a couple of 10s or 100s of commits from linux (depending on the size), compile, run, and then implement missing APIs in lkpi.
myfreeweb
@myfreeweb
https://elixir.bootlin.com/linux/v5.6.3/source/include/linux/lockdep.h#L411 linux defines lockdep ops to nops without CONFIG_LOCKDEP, we do the same without INVARIANTS https://github.com/freebsd/freebsd/blob/master/sys/compat/linuxkpi/common/include/linux/lockdep.h so I'll just try that for now haha
Austin Shafer
@amshafer
Oh cool, good to see that there's at least a little progress
So if you merged a couple hundred commits (looks like you already have) into the 5-next branch I can help out by testing with it and sending PRs to that repo and lkpi? Is that the ideal way for multiple people to work on this?