freebsddesktop / drm-legacy Goto Github PK
View Code? Open in Web Editor NEWthe legacy FreeBSD drm drivers as a port
the legacy FreeBSD drm drivers as a port
Hi!
I have FreeBSD 12.0-RELEASE (amd64) installed on iMac 11,1 (late 2009), graphics card is vendor='Advanced Micro Devices, Inc. [AMD/ATI]'
device='RV770/M98L [Mobility Radeon HD 4850]'
I have installed Xorg and when I start it (I use startx from console) is just black screen. The same is when computer start and I have in/etc/rc.conf kld_list="/boot/modules/radeonkms.ko".
In the Xorg.log I have:
[ 505.376] failed to add FB for modeset
[ 505.376] (WW) RADEON(0): Failed to set mode on CRTC 0
[ 505.377] (EE) RADEON(0): Failed to enable any CRTC
I have installed drm-legacy-kmod and xf86-video-ati-legacy.
On the FreeBSD 11.2 I didn't have problem when I load driver from kernel but I had a problem with drm-legacy0kmod - black screen.
Now I am using scfb driver and it works.
And about boot:
sysctl machdep boothmetod shows UEFI
and
sysctl kern.vty shows vt
Thank you.
I installed FreeBSD 12.0 and after kldload radeonkms
, saw a deprecation message:
info: [drm] Initialized drm 1.1.0 20060810
drmn0: =======================================================
drmn0: This code is obsolete abandonware. Install the graphics/drm-legacy-kmod pkg
drmn0: =======================================================
drmn0: Deprecated code (to be removed in FreeBSD 13): drm2 drivers
drmn0: =======================================================
drmn0: This code is obsolete abandonware. Install the graphics/drm-legacy-kmod pkg
drmn0: =======================================================
drmn0: Deprecated code (to be removed in FreeBSD 13): drm2 drivers
drmn0: <ATI ES1000 RN50> on vgapci0
[...]
I installed this package as directed and followed its directions:
Simply add kld_list="/boot/modules/[driver].ko to /etc/rc.conf, for example
[...] kld_list="/boot/modules/radeonkms.ko" for the ATI/AMD GPU driver.
After doing so, I still get the deprecation message seen above. Turns out, it was using radeonkms.ko
from this path but the drm2.ko
dependency was loaded from the built-in /boot/kernel/drm2.ko
. To get rid of the deprecation warning entirely, you must load both drm2 and the GPU driver from /boot/modules, e.g.:
kld_list="/boot/modules/drm2.ko /boot/modules/radeonkms.ko"
I don't know if the GPU drivers can be built to load DRM from the modules directory rather than /boot/kernel, but if not, the documentation needs updating.
https://github.com/FreeBSDDesktop/drm-legacy
the legacy (i.e., drm1) drivers as a port
– appears in the title bar. Seems inconsistent with https://github.com/FreeBSDDesktop/drm-legacy#readme
… drm and drm2 …
13.0-CURRENT as of June 6.
Can't really see the backtrace because of tiny screen, but it seems to be iicbb related at i915_attach.
@avg-I
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.