Hello!
I've given myself a deadline to get off the Micro$oft addiction. Hopefully before #12. That being said, I've always used FreeBSD in the server / non-graphical sense. But I'm sure running into some confusion when it comes to setting up a display. I don't know if I have the drivers setup correctly for DRM. If anyone can suggest an improvement on my specific setup, that would be appreciated. I'm using Dell XPS L702X where Intel HD Graphics 3000 is the primary display and Nvidia GeForce GT 555M is the secondary GPU on a Core i7-2860QM.
Some things I'm not clear about is if I need the Xorg() driver x11-drivers/xf86-video-intel or the i915kms driver graphics/drm-kmod or both.
The NVidia GPU is a quagmire to me, being able to choose from:
laptop firmware is not OEM, but its the only way to enable UEFI:
machdep.bootmethod: UEFI
FreeBSD L702X 13.3-PRERELEASE FreeBSD 13.3-PRERELEASE stable/13-n257304-5c4e6fd30bbc GENERIC amd64
/usr/local/share/X11/xorg.conf.d :
I only added the file 30-device.conf from
At this point, X loads to x11-wm/twm using x11/xdm. I can use www/chromium mixer(8) and backlight(8). However before I attempt a modern window manager and desktop environment, I'd like to see if I can resolve the NVidia error and make sure I'm using the intel driver properly. The rest of my mangled setup attempt is in the attached files:
I've given myself a deadline to get off the Micro$oft addiction. Hopefully before #12. That being said, I've always used FreeBSD in the server / non-graphical sense. But I'm sure running into some confusion when it comes to setting up a display. I don't know if I have the drivers setup correctly for DRM. If anyone can suggest an improvement on my specific setup, that would be appreciated. I'm using Dell XPS L702X where Intel HD Graphics 3000 is the primary display and Nvidia GeForce GT 555M is the secondary GPU on a Core i7-2860QM.
Some things I'm not clear about is if I need the Xorg() driver x11-drivers/xf86-video-intel or the i915kms driver graphics/drm-kmod or both.
The NVidia GPU is a quagmire to me, being able to choose from:
- x11/nvidia-driver-390
- x11/nvidia-hybrid-graphics
- x11/nvidia-secondary-driver-390
- x11-drivers/xf86-video-nv
laptop firmware is not OEM, but its the only way to enable UEFI:
sysctl machdep.bootmethod
:machdep.bootmethod: UEFI
uname -a
:FreeBSD L702X 13.3-PRERELEASE FreeBSD 13.3-PRERELEASE stable/13-n257304-5c4e6fd30bbc GENERIC amd64
pciconf -lv | grep -B3 display
:
Code:
vgapci1@pci0:0:2:0: class=0x030000 rev=0x09 hdr=0x00 vendor=0x8086 device=0x0116 subvendor=0x1028 subdevice=0x04b8
vendor = 'Intel Corporation'
device = '2nd Generation Core Processor Family Integrated Graphics Controller'
class = display
vgapci0@pci0:1:0:0: class=0x030000 rev=0xa1 hdr=0x00 vendor=0x10de device=0x0dcd subvendor=0x1028 subdevice=0x04b8
vendor = 'NVIDIA Corporation'
device = 'GF106M [GeForce GT 555M]'
class = display
/usr/local/share/X11/xorg.conf.d :
Code:
-rw-r--r-- 1 root wheel 1350 Jan 16 04:59 10-quirks.conf
-rw-r--r-- 1 root wheel 152 Jan 26 08:48 20-evdev-kbd.conf
-rw-r--r-- 1 root wheel 2154 Feb 4 08:13 30-device.conf
-rw-r--r-- 1 root wheel 1429 Jan 26 16:19 40-libinput.conf
-rw-r--r-- 1 root wheel 1753 Feb 1 03:30 70-synaptics.conf
I only added the file 30-device.conf from
Xorg -configure
, without the bus id stuff I couldn't even get the display to show:
Code:
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "Accel" # [<bool>]
#Option "AccelMethod" # <str>
#Option "Backlight" # <str>
#Option "CustomEDID" # <str>
#Option "DRI" # <str>
#Option "Present" # [<bool>]
#Option "ColorKey" # <i>
#Option "VideoKey" # <i>
#Option "Tiling" # [<bool>]
#Option "LinearFramebuffer" # [<bool>]
#Option "HWRotation" # [<bool>]
#Option "VSync" # [<bool>]
#Option "PageFlip" # [<bool>]
#Option "SwapbuffersWait" # [<bool>]
#Option "TripleBuffer" # [<bool>]
#Option "XvPreferOverlay" # [<bool>]
#Option "HotPlug" # [<bool>]
#Option "ReprobeOutputs" # [<bool>]
#Option "XvMC" # [<bool>]
#Option "ZaphodHeads" # <str>
#Option "VirtualHeads" # <i>
#Option "TearFree" # [<bool>]
#Option "PerCrtcPixmaps" # [<bool>]
#Option "FallbackDebug" # [<bool>]
#Option "DebugFlushBatches" # [<bool>]
#Option "DebugFlushCaches" # [<bool>]
#Option "DebugWait" # [<bool>]
#Option "BufferCache" # [<bool>]
Identifier "Card0"
Driver "intel"
BusID "PCI:0:2:0"
Option modsetting
EndSection
Section "Device"
Identifier "Card1"
Driver "nvidia"
BusID "PCI:1:0:0"
Option modsetting
EndSection
At this point, X loads to x11-wm/twm using x11/xdm. I can use www/chromium mixer(8) and backlight(8). However before I attempt a modern window manager and desktop environment, I'd like to see if I can resolve the NVidia error and make sure I'm using the intel driver properly. The rest of my mangled setup attempt is in the attached files: