Hello,
I have recently installed 13.0-RELEASE on my old A1342 Mid-2010 MacBook. The machine has a GeForce 320M discrete graphics card, with no integrated graphics as far as I can tell, so it is not an Optimus/multi-GPU setup. The 320M uses shared memory.
As per the documentation, this card is supported by version 340 of the nvidia-driver port/package. I have added the relevant bits to rc.conf so that the nvidia/linux kernel modules are loaded. This is verified with kldstat (nvidia.ko, linux_common.ko, linux.ko, and linux64.ko are all loaded).
My user is added to both the wheel and video groups. If I `startx` as a regular user, I get "Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices". Same thing if I do it as root.
Next I I created driver-nvidia.conf in /usr/local/etc/X11/xorg.conf.d/ with the following config:
The BusID is taken from `pciconf -lvv`:
Running `startx` now gives me "no screens found(EE)". Looking at Xorg.0.log, all messages are informational except the last few lines:
Running as root (to rule out a permissions issue) gives the same results.
I figured it may be an issue with the binary package, so I installed x11/nvidia-driver-340 from ports so that it is compiled against my kernel. Same results, no go.
Next, I installed nvidia-xconfig and generated xorg.conf, copied the generated file to /usr/local/etc/X11/xorg.conf. Now every time I run `startx`, the machine immediately reboots (as either root or a regular user).
Has anyone else gotten the nvidia driver to work on their laptop with a 320M card? If not, what is my best option? xf86-video-nv? scfb?
I have recently installed 13.0-RELEASE on my old A1342 Mid-2010 MacBook. The machine has a GeForce 320M discrete graphics card, with no integrated graphics as far as I can tell, so it is not an Optimus/multi-GPU setup. The 320M uses shared memory.
As per the documentation, this card is supported by version 340 of the nvidia-driver port/package. I have added the relevant bits to rc.conf so that the nvidia/linux kernel modules are loaded. This is verified with kldstat (nvidia.ko, linux_common.ko, linux.ko, and linux64.ko are all loaded).
My user is added to both the wheel and video groups. If I `startx` as a regular user, I get "Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices". Same thing if I do it as root.
Next I I created driver-nvidia.conf in /usr/local/etc/X11/xorg.conf.d/ with the following config:
Code:
Section "Device"
Identifier "NVIDIA Card"
VendorName "NVIDIA Corporation"
Driver "nvidia"
BusID "PCI:0:2:0:0"
EndSection
The BusID is taken from `pciconf -lvv`:
Code:
vgapci0@pci0:2:0:0: class=0x030000 ............
vendor = 'NVIDIA Corporation'
device = 'MCP89 [GeForce 320M]'
class = display
subclass = VGA
Running `startx` now gives me "no screens found(EE)". Looking at Xorg.0.log, all messages are informational except the last few lines:
Code:
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9
(EE) No devices detected.
(EE)
Fatal server error:
(EE) no screens found(EE)
Please consult the X.Org Foundation support at http://wiki.x.org
for help.
...
Running as root (to rule out a permissions issue) gives the same results.
I figured it may be an issue with the binary package, so I installed x11/nvidia-driver-340 from ports so that it is compiled against my kernel. Same results, no go.
Next, I installed nvidia-xconfig and generated xorg.conf, copied the generated file to /usr/local/etc/X11/xorg.conf. Now every time I run `startx`, the machine immediately reboots (as either root or a regular user).
Has anyone else gotten the nvidia driver to work on their laptop with a 320M card? If not, what is my best option? xf86-video-nv? scfb?
Last edited: