Date: Mon, 24 Dec 2018 09:02:15 -0500 From: <starikarp@yandex.com> To: freebsd-x11@freebsd.org Subject: Re: xserver - black screen Message-ID: <20181224090215.7202654e@yandex.com> In-Reply-To: <20181222170635.5cd150b5@yandex.com> References: <20181221172029.6a769ebc@yandex.com> <e4ed3bab-9e76-aef5-11a6-3682ff1caec4@nomadlogic.org> <20181222122918.74010adf@yandex.com> <83c41986-18b1-ce22-6b30-b689efabab7c@nomadlogic.org> <20181222170635.5cd150b5@yandex.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 22 Dec 2018 17:06:35 -0500 <starikarp@yandex.com> wrote: > On Sat, 22 Dec 2018 11:22:46 -0800 > Pete Wright <pete@nomadlogic.org> wrote: >=20 > > On 12/22/18 9:29 AM, starikarp@yandex.com wrote: > > > On Fri, 21 Dec 2018 15:28:36 -0800 > > > Pete Wright <pete@nomadlogic.org> wrote: > > > =20 > > >> On 12/21/18 2:20 PM, starikarp@yandex.com wrote: =20 > > >>> 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? =20 > > >> 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 > > >> =20 > > > 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. =20 > >=20 > > hrm nothing is jumping out at me yet. > >=20 > > can you post a dmesg from when you boot the system and enable > > loading the radeonkms.ko via rc.conf like so: > >=20 > > kld_list=3D"/boot/modules/radeonkms.ko" > >=20 > > it should have a bunch of loglines prefixed with [drm] - that > > should show us if the driver is attaching correctly. > >=20 > > looking at the Xorg.0.log you sent I don't see anything obviously > > wrong aside from this: > >=20 > > [=C2=A0 1675.580] (II) GLX: Initialized DRI2 GL provider for screen 0 > > [=C2=A0 1675.586] (II) RADEON(0): Setting screen physical size to 677 x > > 381 [=C2=A0 1675.648] failed to add FB for modeset > > [=C2=A0 1675.648] (WW) RADEON(0): Failed to set mode on CRTC 0 > > [=C2=A0 1675.657] (EE) RADEON(0): Failed to enable any CRTC > >=20 > >=20 > > hopefully there will more useful info in the dmesg buffer when you > > load the radeonkms driver vi rc.conf.=C2=A0 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. > >=20 > > cheers, > > -pete > >=20 >=20 > I did install drm-legacy-kmod and also ati-legacy. > I did run kldload /boot/modules/radeonkms.ko and screen became black. > I didn't saw anything but I try kldunload radeonkms.ko and nothing > happened and then shutdown -r now and please check attached file. >=20 > Thank you very much. Some more info: dmidecode -t bios # dmidecode 3.2 # SMBIOS entry point at 0xbf65f000 Found SMBIOS entry point in EFI, reading table from /dev/mem. SMBIOS 2.4 present. Handle 0x0036, DMI type 0, 24 bytes BIOS Information Vendor: Apple Inc. Version: IM111.88Z.0034.B02.1003171314 Release Date: 03/17/10 ROM Size: 4096 kB Characteristics: PCI is supported BIOS is upgradeable BIOS shadowing is allowed Boot from CD is supported Selectable boot is supported ACPI is supported IEEE 1394 boot is supported Smart battery is supported Function key-initiated network boot is supported BIOS Revision: 0.1 Handle 0x004E, DMI type 13, 22 bytes BIOS Language Information Language Description Format: Long Installable Languages: 1 <BAD INDEX> Currently Installed Language: Not Specified and from pciconf -lv vgapci0@pci0:1:0:0: class=3D0x030000 card=3D0x00b5106b chip=3D0x944a1002 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices, Inc. [AMD/ATI= ]' device =3D 'RV770/M98L [Mobility Radeon HD 4850]' class =3D display subclass =3D VGA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181224090215.7202654e>