xserver - black screen

Pete Wright pete at nomadlogic.org
Sat Dec 22 19:22:50 UTC 2018



On 12/22/18 9:29 AM, starikarp at yandex.com wrote:
> On Fri, 21 Dec 2018 15:28:36 -0800
> Pete Wright <pete at nomadlogic.org> wrote:
>
>> On 12/21/18 2:20 PM, starikarp at yandex.com wrote:
>>> I did install Xorg, Openbox and some other apps which I had before
>>> and also drm-kmod which choose version for 12 and xf86-video-ati.
>>> But after startx it start just black screen. I also try
>>> drm-legacy-kmod and legacy ati drivers but it is the same black
>>> screen.
>>>
>>> sysctl machdep boothmetod shows UEFI
>>>
>>> and
>>> sysctl kern.vty shows vt
>>>
>>> I also try to make xorg.conf but I got the black screen too.
>>> I made in /usr/local/etc/X11/xorg.conf.d/driver-scfb.conf and it
>>> works.
>>>
>>> Any suggestion how should I use mine Radeon 4850, please?
>> can you send over a copy of your dmesg and your /var/log/Xorg.0.log
>> after you attempt to start Xorg with no configuration in place?
>>
>> also, make sure you are a member of the "video" group so that your
>> user has access to the graphics device.
>>
>>
>> -pete
>>
> Thank you.
> The log is when I try to start xserver. Everything was black and I need
> to restart computer. I just press ctrl-alt-F3 and than ctrl-c and
> shutdown - now and boot me back. But the problem is also if I
> kldload /boot/modules/radeonkms.ko. The screen is black and I need
> restart again.

hrm nothing is jumping out at me yet.

can you post a dmesg from when you boot the system and enable loading 
the radeonkms.ko via rc.conf like so:

kld_list="/boot/modules/radeonkms.ko"

it should have a bunch of loglines prefixed with [drm] - that should 
show us if the driver is attaching correctly.

looking at the Xorg.0.log you sent I don't see anything obviously wrong 
aside from this:

[  1675.580] (II) GLX: Initialized DRI2 GL provider for screen 0
[  1675.586] (II) RADEON(0): Setting screen physical size to 677 x 381
[  1675.648] failed to add FB for modeset
[  1675.648] (WW) RADEON(0): Failed to set mode on CRTC 0
[  1675.657] (EE) RADEON(0): Failed to enable any CRTC


hopefully there will more useful info in the dmesg buffer when you load 
the radeonkms driver vi rc.conf.  one final thing you can also try is 
uninstalling the drm-kmod package and installing the "drm-legacy-kmod" 
package if you haven't tested that already.

cheers,
-pete

-- 
Pete Wright
pete at nomadlogic.org
@nomadlogicLA



More information about the freebsd-x11 mailing list