Code Monkey home page Code Monkey logo

drm-legacy's People

Contributors

avg-i avatar iotamudelta avatar jbeich avatar johalun avatar markjdb avatar pkubaj avatar zeising avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

drm-legacy's Issues

drm-legacy - failed to add FB for modeset

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.

Deprecation message even when using drm-legacy-kmod

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.