Does just drm work on your machine rather than i915kms?Not a typo. Intentional.
Does justdrm
work on your machine
radeonkms
:% sysrc kld_list sddm_enable
kld_list: fusefs usbhid drm
sddm_enable: YES
%
% kldstat | grep -i radeon
58 1 0xffffffff83c44000 150c80 radeonkms.ko
60 1 0xffffffff83da4000 3258 radeon_TURKS_pfp_bin.ko
61 1 0xffffffff83da8000 3658 radeon_TURKS_me_bin.ko
62 1 0xffffffff83dac000 2cd8 radeon_BTC_rlc_bin.ko
63 1 0xffffffff83daf000 7ef8 radeon_TURKS_mc_bin.ko
64 1 0xffffffff83db7000 8138 radeon_TURKS_smc_bin.ko
65 1 0xffffffff83dc0000 341f0 radeon_SUMO_uvd_bin.ko
%
… andi915kms
*still* needs to be there explicitly. …
% sysrc kld_list sddm_enable
kld_list: drm
sddm_enable: YES
%
i915kms
…i915.sh
kldload i915kms
startx
73 vgapci0: <VGA-compatible display> port 0x4000-0x407f mem 0x96000000-0x96ffffff,0x60000000-0x6fffffff,0x94000000-0x95ffffff irq 16 at device 0.0 on pci1
74 hdac0: <NVIDIA (0x10f7) HDA Controller> mem 0x97080000-0x97083fff irq 17 at device 0.1 on pci1
...
82 vgapci1: <VGA-compatible display> port 0x3000-0x307f mem 0x92000000-0x92ffffff,0x80000000-0x8fffffff,0x90000000-0x91ffffff irq 17 at device 0.0 on pci2
83 hdac1: <NVIDIA (0x10f1) HDA Controller> mem 0x93080000-0x93083fff irq 18 at device 0.1 on pci2
84 vgapci2: <VGA-compatible display> port 0x5000-0x503f mem 0x98000000-0x98ffffff,0x40000000-0x5fffffff irq 16 at device 2.0 on pci0
85 vgapci2: Boot video device
43 [ 122.262] (!!) More than one possible primary device found
44 [ 122.262] (!!) More than one possible primary device found
45 [ 122.262] (--) PCI:*(0@0:2:0) 8086:3e98:1458:d000 rev 2, Mem @ 0x98000000/16777216, 0x40000000/536870912, I/O @ 0x00005000/64, BIOS @ 0x????????/65536
46 [ 122.262] (--) PCI: (1@0:0:0) 10de:1e04:19da:2503 rev 161, Mem @ 0x96000000/16777216, 0x60000000/268435456, 0x94000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/65536
47 [ 122.262] (--) PCI: (2@0:0:0) 10de:1c02:19da:2438 rev 161, Mem @ 0x92000000/16777216, 0x80000000/268435456, 0x90000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/65536
58 [ 122.263] (II) LoadModule: "intel"
59 [ 122.263] (WW) Warning, couldn't open module intel
60 [ 122.263] (EE) Failed to load module "intel" (module does not exist, 0)
for use intel driver you need install... kms pakage first... and make sure your graphic driver is intel not nvidia... or anotherHello.
I've added this parameter to /etc/rc.conf :
kld_list="i915kms"
adding it on the rc.conf file should make the setting permanently,right ? But why,everytime I reboot the PC and I come back to FreeBSD,I should write "kldload i915kms",otherwise Xorg does not start,causing the error "cannot run in framebuffer mode. Please specify busIDs" ?
Would the following in /etc/rc.conf be any help?Hello.
I've added this parameter to /etc/rc.conf :
kld_list="i915kms"
adding it on the rc.conf file should make the setting permanently,right ? But why,everytime I reboot the PC and I come back to FreeBSD,I should write "kldload i915kms",otherwise Xorg does not start,causing the error "cannot run in framebuffer mode. Please specify busIDs" ?
Only on 11.x and 12.x because there's an existing module that comes with the OS. On 13.x and higher this isn't needed because the old i915kms driver that came with FreeBSD was removed. So there's no ambiguity anymore.I was told that sometimes freebsd requires the full path for i915kms.
Well, as I read in your own quotation of man, zfs_enable "will attempt to automatically mount" ZFS filesystems. That is, I suppose, such ZFS filesystems that are set to mount automatically (zfs setting canmount=auto + have mountpoint other than legacy), right?. Mine, however, are all of legacy type, get mounted via /etc/fstab, so, this won't work.From <https://forums.FreeBSD.org/threads/81340/post-524303> under another post, I assume that it's FreeBSD 13.0-RELEASE-p3 in this post.
This is correct. From rc.conf(5):
Code:zfs_enable (bool) If set to “YES”, /etc/rc.d/zfs will attempt to automatically mount ZFS file systems and initialize ZFS volumes (ZVOLs).
It's unusual to have zfs in that context (instead ofzfs_enable
), any special reason?
Code:kld_list (str) A whitespace-separated list of kernel modules to load right after the local disks are mounted, without any .ko extension or path. Loading modules at this point in the boot process is much faster than doing it via /boot/loader.conf for those modules not necessary for mounting local disks.
kFreeBSD_module_elf /boot/modules/zfs.ko
) doesn't work well with all modules. The question is, does this apply to 13.0-RELEASE as well? Because, as I was given to understand, CURRENT is not discussed on this forum and its solutions may not apply...Yes.
With FreeBSD 14.0-CURRENT ...
… as I was given to understand, CURRENT is not discussed on this forum …
… i915kms.ko ONLY works (last revisions, at least) when loaded usingkld_list
option in /etc/rc.conf.
Hm? How about Topics about unsupported FreeBSD versions? It says:Some misunderstanding, see for example:
- Currently supported FreeBSD versions: http://www.freebsd.org/security/index.html#sup
- Currently unsupported FreeBSD versions: http://www.freebsd.org/security/unsupported.html
The latter does not list -CURRENT, but that version is unsupported by definition.
I can safely confirm that this thing started precisely when 13.0 changed its status from CURRENT to RC. I had no reason to switch over to 14.0-CURRENT on my laptop, so I stuck with 13.0...That was my experience, a few weeks ago. A few weeks previously someone found otherwise.
startx
, or by starting the x11/lightdm display manager.… I guess, whoever "found it otherwise" is using CURRENT …
Glad for you, reallyFWIW I've been using 13.0-RELEASE using drm-kmod, from quarterly packages only, since Q2, and it unfailingly loads drm.ko automatically as soon as I start X. I'm presently on 13.0-RELEASE-p3 and Q3 quarterly packages. This has been its consistent behavior since April if I leave kld_list empty. I've made this point repeatedly several times since then, in several different threads.
On my Lenovo laptop with Radeon graphics, it also automatically loads radeonkms.ko after loading drm.ko.
On my HP Stream laptop with Intel graphics, it automatically loads i915kms.ko instead of the Radeon graphics modules.
I'm guessing that the x11/xorg package is doing this automatically whenever X starts, because these modules don't get loaded until the moment I start X, either withstartx
, or by starting the x11/lightdm display manager.
No magic settings, just plain vanilla configurations built from packages and the FreeBSD-13.0-RELEASE-amd64-memstick.img installer. Software configurations are as simple and straightforward as I can make them. Maybe it's specific to the hardware, I don't know, but maybe I finally just got lucky with my cheap hardware purchases. Lenovo G50-45 laptop and HP Stream 11-d010wm. I was not so lucky with my Acer Aspire a few years ago, and the HP Stream still has plenty of hardware glitches including an unsupported Realtek wifi chip. Two or three cheap laptops is not a statistically significant sample size but that's what I've got.Glad for you, really
And what I am NOT glad about is the fact that it works this way for you but does NOT work for me. Or do you have any "magic" settings that make this happen? C'mon, don't keep it secret from us friends here
I mean, you're telling me that it "just works". And I have to reply that it doesn't. And I believe there MUST be a cause for the former and the latter.
Would be interesting to know how this is done.
But why would you need that, I wonder? It actually works fine via VLC + hda sound.I can't disable the nvidia graphic cards,because my next goal is to try to passtrough one of them or both in the bhyve virtual machine.
It is this maybe which is killing me. OS and its components MUST NOT make any such difference.... Maybe it's specific to the hardware, I don't know, but maybe I finally just got lucky with my cheap hardware purchases. ...
Not for YOU, I guess ...It's not really such a big deal is it?
Did not mean to be dismissive of your pain. My machines have only one graphics device each, so that no doubt simplifies the problem for the software. Also I'm starting to guess that it might very well have something to do with:It is this maybe which is killing me. OS and its components MUST NOT make any such difference.
It must be as simple as "I know this hardware, here is the driver for it. Let's load it then".
Not for YOU, I guess ...
But generally, yes it is. Software can hardly be considered 100% stable and reliable if its behaviour becomes unpredictable.
If, on the other hand, this is KNOWN behaviour, why is it not documented?
MY pain?? You must be kiddingDid not mean to be dismissive of your pain.
[ 73.968] (II) NVIDIA dlloader X Driver 390.143 Fri Mar 12 07:22:21 UTC 2021
[ 73.968] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
............
I feel his pain too. Been there, done that. Wish I knew why software is still in its infancy after all of these decades of bitter struggle, disillusionment, and broken standards, but I don't. Skynet? The goddamn robots? "It's all about the money?" *sigh*MY pain?? You must be kidding
OK, let me be more explicit. When you launch X, you can see in your Xorg.0.log something like this:
Formerly it would give off a full list of GPUs... So, do you see any reason why Xorg software should make difference and recognize automatically some of them but not others?Code:[ 73.968] (II) NVIDIA dlloader X Driver 390.143 Fri Mar 12 07:22:21 UTC 2021 [ 73.968] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs ............
This isn't my pain at all, but a suggested behaviour of software.
What is the big deal, as you say?
OK, this very forum is one illustration. The OP friend here is in trouble and doesn't know what to think of his system which doesn't behave in a documented way. Now, we who have some experience tell him this and that.
Now if we CAN BE SURE about things, how much trouble would it save us and him? But if, on the other hand, it is like "oh, I don't know... it works fine for me, but have no idea why it doesn't for you..." That isn't very reassuring, you know