Bug 271714 - FreeBSD Handbook: … Graphic card drivers: inaccurate Instructions for some NVIDIA configurations
Summary: FreeBSD Handbook: … Graphic card drivers: inaccurate Instructions for some NV...
Status: Open
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-doc (Nobody)
URL: https://github.com/freebsd/freebsd-do...
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2023-05-29 19:17 UTC by Sarah
Modified: 2023-11-03 11:54 UTC (History)
2 users (show)

See Also:


Attachments
Working Xorg configuration for documentation edge case (3.13 KB, text/plain)
2023-05-29 19:17 UTC, Sarah
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sarah 2023-05-29 19:17:02 UTC
Created attachment 242485 [details]
Working Xorg configuration for documentation edge case

FreeBSD Version: 13.2-RELEASE
Xorg Version: 7.7_3
Nvidia Driver: 470.161.03
Documentation Page: https://docs.freebsd.org/en/books/handbook/x11/



The issue with the documentation applies when the user has two graphics cards installed and one is a Nvidia graphics card. For example, if a user has a desktop computer having a motherboard with onboard video and installs a Nvidia card- this will result in the documentation being inaccurate. The xorg log complains that it cannot tell which of the graphics cards is the primary one, even with the busid added as indicated on the documentation page, and X fails to start stating (EE) No screems found. I got this working with the attached xorg configuration. 




# pciconf -lv|grep -B4 VGA
vgapci0@pci0:3:0:0:	class=0x030000 rev=0xa1 hdr=0x00 vendor=0x10de device=0x100a subvendor=0x3842 subdevice=0x2883
    vendor     = 'NVIDIA Corporation'
    device     = 'GK110B [GeForce GTX 780 Ti]'
    class      = display
    subclass   = VGA
--
vgapci1@pci0:1:1:0:	class=0x030000 rev=0x10 hdr=0x00 vendor=0x1a03 device=0x2000 subvendor=0x1a03 subdevice=0x2000
    vendor     = 'ASPEED Technology, Inc.'
    device     = 'ASPEED Graphics Family'
    class      = display
    subclass   = VGA
Comment 1 Graham Perrin 2023-08-23 17:41:45 UTC
Thank you, 

(In reply to Sarah from comment #0)

> Working Xorg configuration for documentation edge case

The nvidia-drm-kmod family of ports was very recently added to the FreeBSD ports tree. 

Does this make your edge case alterable?

<https://wiki.freebsd.org/Graphics#NVIDIA>

There's a link to a PRIME-related blog post.