Giter VIP home page Giter VIP logo

Comments (12)

probonopd avatar probonopd commented on May 29, 2024
FreeBSD% sudo grep -r -i Nvidia /var/log
/var/log/dsbdriverd.log:Thu Dec 10 01:01:50 2020: vendor=10de product=1381 NVIDIA Corporation GM107 [GeForce GTX 750]: No driver found
/var/log/dsbdriverd.log:Thu Dec 10 01:01:50 2020: vendor=10de product=0fbc NVIDIA Corporation GM107 High Definition Audio Controller [GeForce 940MX]: No driver found
/var/log/messages:Dec 10 01:01:50 FreeBSD kernel: hdac0: <NVIDIA (0x0fbc) HDA Controller> mem 0xf7dfc000-0xf7dfffff irq 17 at device 0.1 on pci1
/var/log/messages:Dec 10 01:01:50 FreeBSD kernel: hdacc0: <NVIDIA (0x0060) HDA CODEC> at cad 0 on hdac0
/var/log/messages:Dec 10 01:01:50 FreeBSD kernel: hdaa0: <NVIDIA (0x0060) Audio Function Group> at nid 1 on hdacc0
/var/log/messages:Dec 10 01:01:50 FreeBSD kernel: pcm0: <NVIDIA (0x0060) (HDMI/DP 8ch)> at nid 4 on hdaa0
/var/log/messages:Dec 10 01:01:50 FreeBSD kernel: pcm1: <NVIDIA (0x0060) (HDMI/DP 8ch)> at nid 5 on hdaa0
/var/log/messages:Dec 10 01:01:50 FreeBSD kernel: pcm2: <NVIDIA (0x0060) (HDMI/DP 8ch)> at nid 7 on hdaa0
/var/log/messages:Dec 10 01:02:00 FreeBSD kernel: nvidia0: <Unknown> on vgapci0
/var/log/messages:Dec 10 01:02:00 FreeBSD kernel: vgapci0: child nvidia0 requested pci_enable_io
/var/log/messages:Dec 10 01:02:00 FreeBSD kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  440.100  Fri May 29 08:11:49 UTC 2020
/var/log/messages:Dec 10 01:02:01 FreeBSD kernel:  1st os.lock_mtx @ nvidia_os.c:900
/var/log/messages:Dec 10 01:02:01 FreeBSD kernel:  2nd os.lock_mtx @ nvidia_os.c:900
/var/log/messages:Dec 10 01:02:01 FreeBSD kernel:  1st os.lock_sx @ nvidia_os.c:663
/var/log/messages:Dec 10 01:02:01 FreeBSD kernel:  2nd os.lock_sx @ nvidia_os.c:663
/var/log/Xorg.0.log:[   535.520] (II) VESA(0): VESA VBE OEM: NVIDIA
/var/log/Xorg.0.log:[   535.520] (II) VESA(0): VESA VBE OEM Vendor: NVIDIA Corporation
/var/log/Xorg.0.log:[   535.858] (II) VESA(0): VESA VBE OEM: NVIDIA
/var/log/Xorg.0.log:[   535.858] (II) VESA(0): VESA VBE OEM Vendor: NVIDIA Corporation

from iso.

probonopd avatar probonopd commented on May 29, 2024

This makes me wonder whether the nvidia kernel modules got loaded but Xorg is not using the correct configuration nevertheless:

[   535.295] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[   535.295] (II) Module vesa: vendor="X.Org Foundation"
[   535.295]    compiled for 1.20.9, module version = 2.5.0
[   535.296]    Module class: X.Org Video Driver
[   535.296]    ABI class: X.Org Video Driver, version 24.1
[   535.296] (II) VESA: driver for VESA chipsets: vesa
[   535.296] (--) Using syscons driver with X support (version 2.0)
[   535.296] (++) using VT number 9

from iso.

probonopd avatar probonopd commented on May 29, 2024
FreeBSD% cat /etc/X11/xorg.conf
Section "Device"
        Identifier "Card0"
        Driver     "vesa"
EndSection

seems wrong?

from iso.

probonopd avatar probonopd commented on May 29, 2024

When I change this by hand to

Section "Device"
        Identifier "Card0"
        Driver     "nvidia"
EndSection

then it looks like the driver gets loaded (redshift starts working) but the helloDesktop session crashes. start-hello needs to be bisected.

from iso.

probonopd avatar probonopd commented on May 29, 2024

Switching to Ctrl-Alt-F2 results in a garbled screen while Xorg is running. Why?

from iso.

probonopd avatar probonopd commented on May 29, 2024

On a system where it works we have

OptiPlex:/home/user% ldd $(which cyber-dock) | grep nvidia
        libGL.so.1 => /usr/local/nvidia/440/usr/local/lib/libGL-NVIDIA.so.1 (0x802c39000)
        libGLX.so.0 => /usr/local/nvidia/440/usr/local/lib/libGLX.so.0 (0x8037b7000)
        libGLdispatch.so.0 => /usr/local/nvidia/440/usr/local/lib/libGLdispatch.so.0 (0x8039e7000)

from iso.

probonopd avatar probonopd commented on May 29, 2024

Workaround:
When this happens, one has to run nvidia-xconfig and restart the slim service.

from iso.

probonopd avatar probonopd commented on May 29, 2024

Seemingly

FreeBSD% cat /usr/local/etc/X11/xorg.conf.d/10-video-initgfx.conf 
Section "Device"
    Identifier    "NVIDIA CARD"
    VendorName    "NVIDIA Corporation"
    Driver        "nvidia"
    BusID         "PCI:1:0:0"
EndSection

gets ignored...

from iso.

probonopd avatar probonopd commented on May 29, 2024

Seems like if something is in /etc/X11/xorg.conf.d, then /usr/local/etc/X11/xorg.conf.d where initgfx places its files gets ignored.

Hopefully this fixes it:

786705a

from iso.

shadywack avatar shadywack commented on May 29, 2024

Running the latest public release, 0.8.1, on an RTX 3080 with the 510.60.02 driver, and the dock is functioning. I'll report a separate bug for initgfx, but so long as the driver "nvidia" is listed in the conf file it all seems to work.

image

from iso.

probonopd avatar probonopd commented on May 29, 2024

Those window decorations are totally off.. part of KWin seems to think you are running HiDPI.. did it look like this out of the box?

from iso.

probonopd avatar probonopd commented on May 29, 2024

Thanks for confirming

Running the latest public release, 0.8.1, on an RTX 3080 with the 510.60.02 driver, and the dock is functioning

So we can close this here.

from iso.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.