Re: xserver - black screen

<[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
On Sat, 22 Dec 2018 11:22:46 -0800
Pete Wright <[email protected]> wrote:

> On 12/22/18 9:29 AM, [email protected] wrote:
> > On Fri, 21 Dec 2018 15:28:36 -0800
> > Pete Wright <[email protected]> wrote:
> >  
> >> On 12/21/18 2:20 PM, [email protected] 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
> 

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.

Thank you very much.

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
dmesg.txt (text/plain, 10.8 KB)
Dec 22 16:49:07 lumiwa kernel: info: [drm] Initialized drm 1.1.0 20060810
Dec 22 16:49:08 lumiwa kernel: drmn0: =======================================================
Dec 22 16:49:08 lumiwa kernel: drmn0: This code is obsolete abandonware. Install the graphics/drm-legacy-kmod pkg
Dec 22 16:49:08 lumiwa kernel: drmn0: =======================================================
Dec 22 16:49:08 lumiwa kernel: drmn0: Deprecated code (to be removed in FreeBSD 13): drm2 drivers
Dec 22 16:49:08 lumiwa kernel: drmn0: =======================================================
Dec 22 16:49:08 lumiwa kernel: drmn0: This code is obsolete abandonware. Install the graphics/drm-legacy-kmod pkg
Dec 22 16:49:08 lumiwa kernel: drmn0: =======================================================
Dec 22 16:49:08 lumiwa kernel: drmn0: Deprecated code (to be removed in FreeBSD 13): drm2 drivers
Dec 22 16:49:08 lumiwa kernel: drmn0: <ATI Mobility Radeon HD 4850> on vgapci0
Dec 22 16:49:08 lumiwa kernel: info: [drm] RADEON_IS_PCIE
Dec 22 16:49:08 lumiwa kernel: info: [drm] initializing kernel modesetting (RV770 0x1002:0x944A 0x106B:0x00B5).
Dec 22 16:49:08 lumiwa kernel: info: [drm] register mmio base: 0xD0620000
Dec 22 16:49:08 lumiwa kernel: info: [drm] register mmio size: 65536
Dec 22 16:49:08 lumiwa kernel: info: [drm] radeon_atrm_get_bios: ===> Try ATRM...
Dec 22 16:49:08 lumiwa kernel: info: [drm] radeon_atrm_get_bios: pci_find_class() found: 0:1:0:0, vendor=1002, device=944a
Dec 22 16:49:08 lumiwa kernel: info: [drm] radeon_atrm_get_bios: Get ACPI device handle
Dec 22 16:49:08 lumiwa kernel: info: [drm] radeon_atrm_get_bios: Get ACPI handle for "ATRM"
Dec 22 16:49:08 lumiwa kernel: info: [drm] radeon_atrm_get_bios: Failed to get "ATRM" handle: AE_NOT_FOUND
Dec 22 16:49:08 lumiwa kernel: info: [drm] radeon_acpi_vfct_bios: ===> Try VFCT...
Dec 22 16:49:08 lumiwa kernel: info: [drm] radeon_acpi_vfct_bios: Get "VFCT" ACPI table
Dec 22 16:49:08 lumiwa kernel: info: [drm] radeon_acpi_vfct_bios: Failed to get "VFCT" table: AE_NOT_FOUND
Dec 22 16:49:08 lumiwa kernel: info: [drm] igp_read_bios_from_vram: ===> Try IGP's VRAM...
Dec 22 16:49:08 lumiwa kernel: info: [drm] igp_read_bios_from_vram: VRAM base address: 0xc0000000
Dec 22 16:49:08 lumiwa kernel: info: [drm] igp_read_bios_from_vram: Map address: 0xfffff800c0000000 (262144 bytes)
Dec 22 16:49:08 lumiwa kernel: info: [drm] igp_read_bios_from_vram: Incorrect BIOS signature: 0xBA9A
Dec 22 16:49:08 lumiwa kernel: info: [drm] radeon_read_bios: ===> Try PCI Expansion ROM...
Dec 22 16:49:08 lumiwa kernel: info: [drm] radeon_read_bios: Map address: 0xfffff800d0600000 (131072 bytes)
Dec 22 16:49:08 lumiwa kernel: info: [drm] ATOM BIOS: 113
Dec 22 16:49:08 lumiwa kernel: drmn0: info: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used)
Dec 22 16:49:08 lumiwa kernel: drmn0: info: GTT: 512M 0x0000000020000000 - 0x000000003FFFFFFF
Dec 22 16:49:08 lumiwa kernel: info: [drm] Detected VRAM RAM=512M, BAR=256M
Dec 22 16:49:08 lumiwa kernel: info: [drm] RAM width 256bits DDR
Dec 22 16:49:08 lumiwa kernel: [TTM] Zone  kernel: Available graphics memory: 4169992 kiB
Dec 22 16:49:08 lumiwa kernel: [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
Dec 22 16:49:08 lumiwa kernel: [TTM] Initializing pool allocator
Dec 22 16:49:08 lumiwa kernel: info: [drm] radeon: 512M of VRAM memory ready
Dec 22 16:49:08 lumiwa kernel: info: [drm] radeon: 512M of GTT memory ready.
Dec 22 16:49:08 lumiwa kernel: info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
Dec 22 16:49:08 lumiwa kernel: info: [drm] Driver supports precise vblank timestamp query.
Dec 22 16:49:08 lumiwa kernel: info: [drm] MSI enabled 1 message(s)
Dec 22 16:49:08 lumiwa kernel: drmn0: info: radeon: using MSI.
Dec 22 16:49:08 lumiwa kernel: info: [drm] radeon: irq initialized.
Dec 22 16:49:08 lumiwa kernel: info: [drm] GART: num cpu pages 131072, num gpu pages 131072
Dec 22 16:49:08 lumiwa kernel: info: [drm] probing gen 2 caps for device 8086:d138 = 2/0
Dec 22 16:49:08 lumiwa kernel: info: [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
Dec 22 16:49:08 lumiwa kernel: info: [drm] Loading RV770 Microcode
Dec 22 16:49:08 lumiwa kernel: radeon/RV770_pfp.bin: could not load firmware image, error 2
Dec 22 16:49:09 lumiwa syslogd: last message repeated 1 times
Dec 22 16:49:09 lumiwa kernel: drmn0: Successfully loaded firmware image with name (mapped name): radeon/RV770_pfp.bin (radeon_RV770_pfp_bin)
Dec 22 16:49:09 lumiwa kernel: radeon/RV770_me.bin: could not load firmware image, error 2
Dec 22 16:49:09 lumiwa syslogd: last message repeated 1 times
Dec 22 16:49:09 lumiwa kernel: drmn0: Successfully loaded firmware image with name (mapped name): radeon/RV770_me.bin (radeon_RV770_me_bin)
Dec 22 16:49:09 lumiwa kernel: radeon/R700_rlc.bin: could not load firmware image, error 2
Dec 22 16:49:10 lumiwa syslogd: last message repeated 1 times
Dec 22 16:49:10 lumiwa kernel: drmn0: Successfully loaded firmware image with name (mapped name): radeon/R700_rlc.bin (radeon_R700_rlc_bin)
Dec 22 16:49:10 lumiwa kernel: info: [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
Dec 22 16:49:10 lumiwa kernel: drmn0: info: WB enabled
Dec 22 16:49:10 lumiwa kernel: drmn0: info: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0x0xfffff80033accc00
Dec 22 16:49:10 lumiwa kernel: drmn0: info: fence driver on ring 3 use gpu addr 0x0000000020000c0c and cpu addr 0x0xfffff80033accc0c
Dec 22 16:49:10 lumiwa kernel: info: [drm] ring test on 0 succeeded in 1 usecs
Dec 22 16:49:10 lumiwa kernel: info: [drm] ring test on 3 succeeded in 1 usecs
Dec 22 16:49:10 lumiwa kernel: info: [drm] ib test on ring 0 succeeded in 0 usecs
Dec 22 16:49:10 lumiwa kernel: info: [drm] ib test on ring 3 succeeded in 0 usecs
Dec 22 16:49:10 lumiwa kernel: info: [drm] radeon_device_init: Taking over the fictitious range 0xc0000000-0xd0000000
Dec 22 16:49:10 lumiwa kernel: radeon_iicbb0 on drmn0
Dec 22 16:49:10 lumiwa kernel: iicbus0: <Philips I2C bus> on iicbb0 addr 0xff
Dec 22 16:49:10 lumiwa kernel: iic0: <I2C generic I/O> on iicbus0
Dec 22 16:49:10 lumiwa kernel: radeon_iicbb1 on drmn0
Dec 22 16:49:10 lumiwa kernel: iicbus1: <Philips I2C bus> on iicbb1 addr 0xff
Dec 22 16:49:10 lumiwa kernel: iic1: <I2C generic I/O> on iicbus1
Dec 22 16:49:10 lumiwa kernel: radeon_iicbb2 on drmn0
Dec 22 16:49:10 lumiwa kernel: iicbus2: <Philips I2C bus> on iicbb2 addr 0xff
Dec 22 16:49:10 lumiwa kernel: iic2: <I2C generic I/O> on iicbus2
Dec 22 16:49:10 lumiwa kernel: radeon_iicbb3 on drmn0
Dec 22 16:49:10 lumiwa kernel: iicbus3: <Philips I2C bus> on iicbb3 addr 0xff
Dec 22 16:49:10 lumiwa kernel: iic3: <I2C generic I/O> on iicbus3
Dec 22 16:49:10 lumiwa kernel: radeon_iicbb4 on drmn0
Dec 22 16:49:10 lumiwa kernel: iicbus4: <Philips I2C bus> on iicbb4 addr 0xff
Dec 22 16:49:10 lumiwa kernel: iic4: <I2C generic I/O> on iicbus4
Dec 22 16:49:10 lumiwa kernel: drm_iic_dp_aux0 on drmn0
Dec 22 16:49:10 lumiwa kernel: drm_iic_dp_aux1 on drmn0
Dec 22 16:49:10 lumiwa kernel: info: [drm] Radeon Display Connectors
Dec 22 16:49:10 lumiwa kernel: info: [drm] Connector 0:
Dec 22 16:49:10 lumiwa kernel: info: [drm]   DP-1
Dec 22 16:49:10 lumiwa kernel: info: [drm]   HPD2
Dec 22 16:49:10 lumiwa kernel: info: [drm]   DDC: 0x7e60 0x7e60 0x7e64 0x7e64 0x7e68 0x7e68 0x7e6c 0x7e6c
Dec 22 16:49:10 lumiwa kernel: info: [drm]   Encoders:
Dec 22 16:49:10 lumiwa kernel: info: [drm]     DFP1: INTERNAL_UNIPHY
Dec 22 16:49:10 lumiwa kernel: info: [drm] Connector 1:
Dec 22 16:49:10 lumiwa kernel: info: [drm]   eDP-1
Dec 22 16:49:10 lumiwa kernel: info: [drm]   HPD3
Dec 22 16:49:10 lumiwa kernel: info: [drm]   DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 0x7e2c
Dec 22 16:49:10 lumiwa kernel: info: [drm]   Encoders:
Dec 22 16:49:10 lumiwa kernel: info: [drm]     LCD1: INTERNAL_UNIPHY
Dec 22 16:49:10 lumiwa kernel: info: [drm] Connector 2:
Dec 22 16:49:10 lumiwa kernel: info: [drm]   VGA-1
Dec 22 16:49:10 lumiwa kernel: info: [drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
Dec 22 16:49:10 lumiwa kernel: info: [drm]   Encoders:
Dec 22 16:49:10 lumiwa kernel: info: [drm]     CRT1: INTERNAL_KLDSCP_DAC1
Dec 22 16:49:10 lumiwa kernel: info: [drm] Special thermal controller config
Dec 22 16:49:10 lumiwa kernel: info: [drm] radeon: power management initialized
Dec 22 16:49:10 lumiwa kernel: info: [drm] Connector DP-1: get mode from tunables:
Dec 22 16:49:10 lumiwa kernel: info: [drm]   - kern.vt.fb.modes.DP-1
Dec 22 16:49:10 lumiwa kernel: info: [drm]   - kern.vt.fb.default_mode
Dec 22 16:49:10 lumiwa kernel: info: [drm] Connector eDP-1: get mode from tunables:
Dec 22 16:49:10 lumiwa kernel: info: [drm]   - kern.vt.fb.modes.eDP-1
Dec 22 16:49:10 lumiwa kernel: info: [drm]   - kern.vt.fb.default_mode
Dec 22 16:49:10 lumiwa kernel: info: [drm] Connector VGA-1: get mode from tunables:
Dec 22 16:49:10 lumiwa kernel: info: [drm]   - kern.vt.fb.modes.VGA-1
Dec 22 16:49:10 lumiwa kernel: info: [drm]   - kern.vt.fb.default_mode
Dec 22 16:49:10 lumiwa kernel: info: [drm] fb mappable at 0xC0142000
Dec 22 16:49:10 lumiwa kernel: info: [drm] vram apper at 0xC0000000
Dec 22 16:49:10 lumiwa kernel: info: [drm] size 14745600
Dec 22 16:49:10 lumiwa kernel: info: [drm] fb depth is 24
Dec 22 16:49:10 lumiwa kernel: info: [drm]    pitch is 10240
Dec 22 16:49:10 lumiwa kernel: fbd0 on drmn0
Dec 22 16:49:10 lumiwa kernel: VT: Replacing driver "efifb" with new "fb".
Dec 22 16:49:10 lumiwa kernel: info: [drm] Initialized radeon 2.29.0 20080528 for drmn0 on minor 0
Dec 22 16:49:46 lumiwa kernel: VT: Switching back from "fb" to "efifb".
Dec 22 16:49:46 lumiwa kernel: fbd0: detached
Dec 22 16:49:46 lumiwa kernel: drm_iic_dp_aux0: detached
Dec 22 16:49:46 lumiwa kernel: drm_iic_dp_aux1: detached
Dec 22 16:49:46 lumiwa kernel: iic0: detached
Dec 22 16:49:46 lumiwa kernel: iicbus0: detached
Dec 22 16:49:46 lumiwa kernel: radeon_iicbb0: detached
Dec 22 16:49:46 lumiwa kernel: iic1: detached
Dec 22 16:49:46 lumiwa kernel: iicbus1: detached
Dec 22 16:49:46 lumiwa kernel: radeon_iicbb1: detached
Dec 22 16:49:46 lumiwa kernel: iic2: detached
Dec 22 16:49:46 lumiwa kernel: iicbus2: detached
Dec 22 16:49:46 lumiwa kernel: radeon_iicbb2: detached
Dec 22 16:49:46 lumiwa kernel: iic3: detached
Dec 22 16:49:46 lumiwa kernel: iicbus3: detached
Dec 22 16:49:46 lumiwa kernel: radeon_iicbb3: detached
Dec 22 16:49:46 lumiwa kernel: iic4: detached
Dec 22 16:49:46 lumiwa kernel: iicbus4: detached
Dec 22 16:49:46 lumiwa kernel: radeon_iicbb4: detached
Dec 22 16:49:46 lumiwa kernel: info: [drm] radeon: finishing device.
Dec 22 16:49:46 lumiwa kernel: drmn0: warning: 0xfffff80006a35800 unpin not necessary
Dec 22 16:49:46 lumiwa kernel: [TTM] Finalizing pool allocator
Dec 22 16:49:46 lumiwa kernel: [TTM] Zone  kernel: Used memory at exit: 0 kiB
Dec 22 16:49:46 lumiwa kernel: [TTM] Zone   dma32: Used memory at exit: 0 kiB
Dec 22 16:49:46 lumiwa kernel: info: [drm] radeon: ttm finalized
Dec 22 16:49:46 lumiwa kernel: drmn0: detached
Dec 22 16:50:24 lumiwa shutdown[18910]: reboot by root:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.