I’ve just pushed a repository to the site that contains the very latest X.org packages for FreeBSD 10.0. All packages have been built with poudriere
. The repository contains the following ports:
x11/xorg x11/xorg-minimal x11/nvidia-driver x11/nvidia-settings x11/nvidia-xconfig multimedia/vdpauinfo multimedia/libva ports-mgmt/poudriere-devel |
It should be everything required for running an (experimental) updated X.org stack on FreeBSD 10. Packages are built with the following /etc/make.conf
settings:
SVN=/usr/bin/svnlite SVN_UPDATE=yes WITH_NEW_XORG=yes WITH_KMS=yes WITH_GALLIUM=yes MALLOC_PRODUCTION=yes |
The ports tree used to build all packages is generated from this:
- Updated ports tree at 24th September 2013.
- Niclas Zeising’s patch revision of 24th September 2013 that updates all the Mesa stack and enables experimental
devd
configuration of devices for FreeBSD 10. - Updated Nvidia driver and utilities at version 325.15.
Please note that the repository is for amd64
platforms only.
To enable the repository just add/replace this line to your current PKGNG repository configuration:
packagesite: http://negativo17.org/freebsd/xorg/ |
Currently, the proprietary Nvidia driver make my system crash on me with the following messages in the log; any hint for solving it would be greatly appreciated:
kernel: nvidia0: on vgapci0 kernel: vgapci0: child nvidia0 requested pci_enable_io kernel: vgapci0: child nvidia0 requested pci_enable_io kernel: ACPI Warning: \_SB_.PCI0.AGP_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) kernel: ACPI Warning: \_SB_.PCI0.AGP_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) kernel: ACPI Warning: \_SB_.PCI0.AGP_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) kernel: ACPI Warning: \_SB_.PCI0.AGP_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) kernel: ACPI Warning: \_SB_.PCI0.AGP_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) kernel: ACPI Warning: \_SB_.PCI0.AGP_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) kernel: ACPI Warning: \_SB_.PCI0.AGP_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) kernel: ACPI Warning: \_SB_.PCI0.AGP_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) kernel: ACPI Warning: \_SB_.PCI0.AGP_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) syslogd: kernel boot file is /boot/kernel/kernel kernel: NVRM: RmInitAdapter failed! (0x26:0xb:1179) kernel: nvidia0: NVRM: rm_init_adapter() failed! kernel: kernel: kernel: Fatal trap 12: page fault while in kernel mode kernel: ACPI Warning: \_SB_.PCI0.AGP_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) kernel: ACPI Warning: \_SB_.PCI0.AGP_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) kernel: ACPI Warning: \_SB_.PCI0.AGP_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) kernel: ACPI Warning: \_SB_.PCI0.AGP_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) kernel: ACPI Warning: \_SB_.PCI0.AGP_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) kernel: ACPI Warning: \_SB_.PCI0.AGP_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) kernel: ACPI Warning: \_SB_.PCI0.AGP_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130823/nsarguments-97) syslogd: kernel boot file is /boot/kernel/kernel kernel: NVRM: RmInitAdapter failed! (0x26:0xb:1179) kernel: nvidia0: NVRM: rm_init_adapter() failed! kernel: kernel: kernel: Fatal trap 12: page fault while in kernel mode kernel: cpuid = 1; apic id = 01 kernel: fault virtual address = 0x8 kernel: fault code = supervisor read data, page not present kernel: instruction pointer = 0x20:0xffffffff81d151f4 kernel: stack pointer = 0x28:0xfffffe01198f1590 kernel: frame pointer = 0x28:0xfffffe01198f1670 kernel: code segment = base 0x0, limit 0xfffff, type 0x1b kernel: = DPL 0, pres 1, long 1, def32 0, gran 1 kernel: processor eflags = interrupt enabled, resume, IOPL = 3 kernel: current process = 1425 (Xorg) kernel: trap number = 12 kernel: panic: page fault kernel: cpuid = 1 kernel: KDB: stack backtrace: kernel: #0 0xffffffff808ea690 at kdb_backtrace+0x60 kernel: #1 0xffffffff808b2245 at panic+0x155 kernel: #2 0xffffffff80c8877a at trap_fatal+0x37a kernel: #3 0xffffffff80c88a47 at trap_pfault+0x2b7 kernel: #4 0xffffffff80c88206 at trap+0x5e6 kernel: #5 0xffffffff80c714f2 at calltrap+0x8 kernel: #6 0xffffffff81d322a3 at nvidia_dev_dtor+0x23 kernel: #7 0xffffffff807acc29 at devfs_fpdrop+0xa9 kernel: #8 0xffffffff807ad5c2 at devfs_open+0x142 kernel: #9 0xffffffff80d40a52 at VOP_OPEN_APV+0x92 kernel: #10 0xffffffff8095a576 at vn_open_vnode+0x216 kernel: #11 0xffffffff8095a188 at vn_open_cred+0x358 kernel: #12 0xffffffff80953801 at kern_openat+0x261 kernel: #13 0xffffffff80c89067 at amd64_syscall+0x357 kernel: #14 0xffffffff80c717db at Xfast_syscall+0xfb |
Oops, I mean
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195097
Could you please blog about it if you find a solution for this? I have lenovo y570 and I use FreeBSD.