Solved Slim strange problem

Hi , this remembers me the old windows95/98 years, but this time is no critical..
When used Slim to autostart my WM , this is what happend:


happen in all WM , in this example I test with Blackbox, but I use Fvwm3
but when I disable Slim, and startx from the console the "problem" is gone
I am using the nvidia-340 driver
so..is related to Slim
and this starts after compile world
any ideas?
 
I assume an old computer. i386?

Which version of FreeBSD, exactly?

Packages of ports from quarterly, or latest?

freebsd--version -kru ; uname -aKU

pkg -vv | grep -e url -e enabled -e priority
 
I assume an old computer. i386?

Which version of FreeBSD, exactly?

Packages of ports from quarterly, or latest?

freebsd--version -kru ; uname -aKU

pkg -vv | grep -e url -e enabled -e priority

Sorry for the delay, no, is a intel core i7 with a nvidia 2GB card
FreeBSD 14.0-RELEASE
now i'am in work, when i get home post the results
but is related to slim, if a "startx" from the console and disable slim autologin the problem not happen
 
SLiM starts the exact same X configuration, there's nothing special happening here. How are you loading the NVidia kernel module, did you load nvidia-modeset?
 
I used slim for many years and recently changed to x11/sddm. Slim long-term support looks questionable. sddm was an easy replacement and works very well.
 
nvidia-modeset?

Gentle hint:

1715221213076.png
 
304 is broken beyond repair, doesn't work any more (changes in Xserver broke it some time ago). 340 has nvidia-modeset.

x11/nvidia-driver-340
Code:
/boot/modules/nvidia.ko
/boot/modules/nvidia-modeset.ko

Oldest version of the driver I'm using myself is 390, that also works with nvidia-modeset.

On these older cards you might want to switch back to sc(4) and use nvidia.ko instead. But if you have vt(4) I would recommend always using the *-modeset variant. But keep in mind these drivers are old, NVidia stopped supporting them a long time ago.
 
340 has nvidia-modeset.

Not when installed here this evening:

1715279472906.png


Also, not according to pkg-provides:

Code:
% pkg provides /boot/modules/nvidia-modeset.ko | grep Name
Name    : nvidia-secondary-driver-390-390.154_1
Name    : nvidia-secondary-driver-550.54.14_1
Name    : nvidia-driver-470-470.161.03_1
Name    : nvidia-driver-390-390.154_1
Name    : nvidia-driver-550.54.14
%
 
SLiM starts the exact same X configuration, there's nothing special happening here. How are you loading the NVidia kernel module, did you load nvidia-modeset?

I load nvidia module in
/boot/loader.conf
Code:
nvidia_load="YES"

I look but i dont have the nvidia-modeset module, just nvidia , and I build the driver from ports
 
Thanks to all, update :

follow the SirDice advice and load the nvidia-modeset driver
(thereis no one in the nvidia-driver-340 , but in nvidia-driver-390 yes)

the only problem was that I cant load the module with this error

Code:
sc_get_softc undefined

the solution was enable sc support in kernel

now the "problem" is gone
 
Thanks. For completeness …

NVIDIA states that 340.xx and 390.xx are amongst the legacy GPU drivers that will be updated periodically to add support for new versions of Linux system components (e.g., new Linux kernels, new versions of the X server, etc).

Update the OS, when you can:

1715521203056.png


This raises an eyebrow:

1715522115991.png


Related:
  • FreeBSD-SA-22:01.vt
  • CVE-2021-29632
  • bugs 254190 and 254247.
This vulnerability was fixed before 14.0 was released, I guess that your bootloader is significantly outdated. Proceed with caution.

People sometimes ask, "Why can't FreeBSD be more like Linux?"

It's as if someone's wish was granted:



1715522485091.png
 
NVIDIA states that 340.xx and 390.xx are amongst the legacy GPU drivers that will be updated periodically to add support for new versions of Linux system components (e.g., new Linux kernels, new versions of the X server, etc).
Please give a link...
this is interesting, because it would mean some kind of LTS
 
Thanks. For completeness …

NVIDIA states that 340.xx and 390.xx are amongst the legacy GPU drivers that will be updated periodically to add support for new versions of Linux system components (e.g., new Linux kernels, new versions of the X server, etc).

Update the OS, when you can:

View attachment 19048

This raises an eyebrow:

View attachment 19049

Related:
  • FreeBSD-SA-22:01.vt
  • CVE-2021-29632
  • bugs 254190 and 254247.
This vulnerability was fixed before 14.0 was released, I guess that your bootloader is significantly outdated. Proceed with caution.

People sometimes ask, "Why can't FreeBSD be more like Linux?"

It's as if someone's wish was granted:



View attachment 19050

This vulnerability was fixed before 14.0 was released, I guess that your bootloader is significantly outdated. Proceed with caution.

The OS is installed from scrach , 14.0-RELEASE

the boot logo is enabled in
/boot/loader.conf
I liked it
 
Back
Top