Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2018 12:29:18 -0500
From:      <starikarp@yandex.com>
To:        freebsd-x11@freebsd.org
Subject:   Re: xserver - black screen
Message-ID:  <20181222122918.74010adf@yandex.com>
In-Reply-To: <e4ed3bab-9e76-aef5-11a6-3682ff1caec4@nomadlogic.org>
References:  <20181221172029.6a769ebc@yandex.com> <e4ed3bab-9e76-aef5-11a6-3682ff1caec4@nomadlogic.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 Dec 2018 15:28:36 -0800
Pete Wright <pete@nomadlogic.org> wrote:

> On 12/21/18 2:20 PM, starikarp@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.
And bellow is "normal" dmesg:

---<<BOOT>>---
Copyright (c) 1992-2018 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights
reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 12.0-RELEASE r341666 GENERIC amd64
FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on
LLVM 6.0.1)
VT(efifb): resolution 2560x1440
CPU: Intel(R) Core(TM) i7 CPU         860  @ 2.80GHz (2793.06-MHz
K8-class CPU)
  Origin="GenuineIntel"  Id=0x106e5  Family=0x6  Model=0x1e  Stepping=5
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x98e3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT>
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,VPID
  TSC: P-state invariant, performance statistics
real memory  = 8589934592 (8192 MB)
avail memory = 8265011200 (7882 MB)
Event timer "LAPIC" quality 100
ACPI APIC Table: <APPLE  Apple00>
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 hardware threads
random: unblocking device.
ioapic0: Changing APIC ID to 2
ioapic0 <Version 2.0> irqs 0-23 on motherboard
Launching APs: 1 3 6 2 5 4 7
Timecounter "TSC-low" frequency 1396528558 Hz quality 1000
random: entropy device external interface
kbd0 at kbdmux0
netmap: loaded module
[ath_hal] loaded
module_register_init: MOD_LOAD (vesa, 0xffffffff810f9770, 0) error 19
nexus0
efirtc0: <EFI Realtime Clock> on motherboard
efirtc0: registered as a time-of-day clock, resolution 1.000000s
cryptosoft0: <software crypto> on motherboard
acpi0: <APPLE Apple00> on motherboard
acpi_ec0: <Embedded Controller: GPE 0x17, ECDT> port 0x62,0x66 on acpi0
acpi0: Power Button (fixed)
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 0,8
on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 550
cpu0: <ACPI CPU> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x77 on acpi0
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0x2000-0x20ff mem
0xc0000000-0xcfffffff,0xd0620000-0xd062ffff at device 0.0 on pci1
hdac0: <ATI RV770 HDA Controller> mem 0xd0630000-0xd0633fff at device
0.1 on pci1
uhci0: <UHCI (generic) USB controller> port 0x3060-0x307f at device
26.0 on pci0
uhci0: LegSup = 0x2400
usbus0 on uhci0
usbus0: 12Mbps Full Speed USB v1.0
ehci0: <Intel PCH USB 2.0 controller USB-B> mem 0xd0705c00-0xd0705fff
at device 26.7 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci0
usbus1: 480Mbps High Speed USB v2.0
hdac1: <Intel Ibex Peak HDA Controller> mem 0xd0700000-0xd0703fff at
device 27.0 on pci0
pcib2: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pcib2: [GIANT-LOCKED]
pci2: <ACPI PCI bus> on pcib2
bge0: <Broadcom NetXtreme Fast Ethernet Controller, ASIC rev.
0x5784100> mem 0xd0500000-0xd050ffff at device 0.0 on pci2
bge0: CHIP ID 0x05784100; ASIC REV 0x5784; CHIP REV 0x57841; PCI-E
miibus0: <MII bus> on bge0
brgphy0: <BCM5784 10/100/1000baseT PHY> PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
bge0: Using defaults for TSO: 65518/35/2048
bge0: Ethernet address: 00:23:df:ff:f1:9f
pcib3: <ACPI PCI-PCI bridge> at device 28.1 on pci0
pcib3: [GIANT-LOCKED]
pci3: <ACPI PCI bus> on pcib3
ath0: <Atheros 9280> mem 0xd0400000-0xd040ffff at device 0.0 on pci3
ath0: [HT] enabling HT modes
ath0: [HT] 1 stream STBC receive enabled
ath0: [HT] 1 stream STBC transmit enabled
ath0: [HT] 2 RX streams; 2 TX streams
ath0: AR9280 mac 128.2 RF5133 phy 13.0
ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0
pcib4: <ACPI PCI-PCI bridge> at device 28.2 on pci0
pcib4: [GIANT-LOCKED]
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> at device 0.0 on pci4
pci5: <ACPI PCI bus> on pcib5
fwohci0: <1394 Open Host Controller Interface> mem
0xd0304000-0xd03047ff,0xd0300000-0xd0303fff at device 0.0 on pci5
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 d4:9a:20:ff:fe:cd:f9:52
fwohci0: invalid speed 7 (fixed to 3).
fwohci0: Phy 1394a available S800, 3 ports.
fwohci0: Link S800, max_rec 4096 bytes.
fwohci0: phy int
firewire0: <IEEE1394(FireWire) bus> on fwohci0
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: PhysicalUpperBound register is not implemented.  Physical
memory access is limited to the first 4GB
fwohci0: PhysicalUpperBound = 0x00000000
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1,
CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0)  (me) 
firewire0: bus manager 0 
pcib6: <ACPI PCI-PCI bridge> at device 28.3 on pci0
pcib6: [GIANT-LOCKED]
pcib7: <PCI-PCI bridge> at device 28.4 on pci0
pcib7: [GIANT-LOCKED]
uhci1: <UHCI (generic) USB controller> port 0x3040-0x305f at device
29.0 on pci0
uhci1: LegSup = 0x2400
usbus2 on uhci1
usbus2: 12Mbps Full Speed USB v1.0
ehci1: <Intel PCH USB 2.0 controller USB-A> mem 0xd0705800-0xd0705bff
at device 29.7 on pci0
usbus3: EHCI version 1.0
usbus3 on ehci1
usbus3: 480Mbps High Speed USB v2.0
pcib8: <PCI-PCI bridge> at device 30.0 on pci0
pci6: <PCI bus> on pcib8
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci0: <Intel Ibex Peak AHCI SATA controller> port
0x3088-0x308f,0x3094-0x3097,0x3080-0x3087,0x3090-0x3093,0x3020-0x303f
mem 0xd0705000-0xd07057ff at device 31.2 on pci0 ahci0: AHCI v1.30 with
6 3Gbps ports, Port Multiplier not supported ahcich0: <AHCI channel> at
channel 0 on ahci0 ahcich1: <AHCI channel> at channel 1 on ahci0
ahciem0: <AHCI enclosure management bridge> on ahci0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib9: <ACPI Host-PCI bridge> on acpi0
pci7: <ACPI PCI bus> on pcib9
est0: <Enhanced SpeedStep Frequency Control> on cpu0
Timecounters tick every 1.000 msec
hdacc0: <ATI R6xx HDA CODEC> at cad 0 on hdac0
hdaa0: <ATI R6xx Audio Function Group> at nid 1 on hdacc0
pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0
hdacc1: <Cirrus Logic CS4206 HDA CODEC> at cad 0 on hdac1
hdaa1: <Cirrus Logic CS4206 Audio Function Group> at nid 1 on hdacc1
pcm1: <Cirrus Logic CS4206 (Internal Analog 4.0/2.0)> at nid 10,11 and
13 on hdaa1
pcm2: <Cirrus Logic CS4206 (Rear Analog)> at nid 9 and 12 on hdaa1
pcm3: <Cirrus Logic CS4206 (Rear Digital)> at nid 16 and 15 on hdaa1
ugen2.1: <Intel UHCI root HUB> at usbus2
ugen0.1: <Intel UHCI root HUB> at usbus0
ugen1.1: <Intel EHCI root HUB> at usbus1
ugen3.1: <Intel EHCI root HUB> at usbus3
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
uhub3: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
uhub0: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 6 ports with 6 removable, self powered
bge0: link state changed to UP
uhub1: 8 ports with 8 removable, self powered
ugen1.2: <vendor 0x0424 product 0x2514> at usbus1
uhub4 on uhub3
uhub4: <vendor 0x0424 product 0x2514, class 9/0, rev 2.00/0.03, addr 2>
on usbus1
uhub4: MTT enabled
ses0 at ahciem0 bus 0 scbus3 target 0 lun 0
ses0: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device
ses0: SEMB SES Device
cd0 at ahcich1 bus 0 scbus2 target 0 lun 0
cd0: <OPTIARC DVD RW AD-5680H 3AHB> Removable CD-ROM SCSI device
cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO
8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
ada0 at ahcich0 bus 0 scbus1 target 0 lun 0
ada0: <Mercury Electra 3G SSD R0522A0> ACS-2 ATA SATA 2.x device
ada0: Serial Number OW181126100473DEA
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 512bytes)
ada0: Command Queueing enabled
ada0: 476940MB (976773168 512 byte sectors)
Trying to mount root from ufs:/dev/ada0p2 [rw]...
GEOM_ELI: Device ada0p3.eli created.
GEOM_ELI: Encryption: AES-XTS 128
GEOM_ELI:     Crypto: software
uhub4: 4 ports with 2 removable, self powered
ugen3.2: <vendor 0x0424 product 0x2514> at usbus3
uhub5 on uhub1
uhub5: <vendor 0x0424 product 0x2514, class 9/0, rev 2.00/0.03, addr 2>
on usbus3
uhub5: MTT enabled
ugen1.3: <Apple Inc. BRCM2046 Hub> at usbus1
uhub6 on uhub4
uhub6: <Apple Inc. BRCM2046 Hub, class 9/0, rev 2.00/1.00, addr 3> on
usbus1
uhub5: 4 ports with 2 removable, self powered
lo0: link state changed to UP
bge0: link state changed to DOWN
uhub6: 3 ports with 0 removable, self powered
ugen3.3: <Apple Inc. Built-in iSight> at usbus3
ugen1.4: <Apple Inc. Bluetooth USB Host Controller> at usbus1
ugen3.4: <Apple Computer, Inc. IR Receiver> at usbus3
ugen1.5: <vendor 0x05ac product 0x820a> at usbus1
ukbd0 on uhub6
ukbd0: <vendor 0x05ac product 0x820a, class 0/0, rev 2.00/1.00, addr 5>
on usbus1
kbd1 at ukbd0
ugen3.5: <vendor 0x04d9 product 0x1400> at usbus3
ukbd1 on uhub5
ukbd1: <vendor 0x04d9 product 0x1400, class 0/0, rev 1.10/1.43, addr 5>
on usbus3
kbd2 at ukbd1
ugen1.6: <vendor 0x05ac product 0x820b> at usbus1
ugen1.7: <Apple Card Reader> at usbus1
umass0 on uhub4
umass0: <Apple Card Reader, class 0/0, rev 2.00/98.33, addr 7> on usbus1
umass0:  SCSI over Bulk-Only; quirks = 0x4000
umass0:4:0: Attached to scbus4
da0 at umass-sim0 bus 0 scbus4 target 0 lun 0
da0: <APPLE SD Card Reader 1.00> Removable Direct Access SCSI device
da0: Serial Number 000000009833
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
da0: quirks=0x2<NO_6_BYTE>
bge0: link state changed to UP
ubt0 on uhub6
ubt0: <Apple Inc. Bluetooth USB Host Controller, rev 2.00/2.06, addr 4>
on usbus1
uhid0 on uhub5
uhid0: <Apple Computer, Inc. IR Receiver, class 0/0, rev 2.00/0.16,
addr 4> on usbus3
ums0 on uhub6
ums0: <vendor 0x05ac product 0x820b, class 0/0, rev 2.00/1.00, addr 6>
on usbus1
ums0: 3 buttons and [XY] coordinates ID=2
ums1 on uhub5
ums1: <vendor 0x04d9 product 0x1400, class 0/0, rev 1.10/1.43, addr 5>
on usbus3
ums1: 5 buttons and [XYZ] coordinates ID=1
WARNING: attempt to domain_add(bluetooth) after domainfinalize()
WARNING: attempt to domain_add(netgraph) after domainfinalize()
ugen1.5: <vendor 0x05ac product 0x820a> at usbus1 (disconnected)
ukbd0: at uhub6, port 2, addr 5 (disconnected)
ukbd0: detached
ugen1.6: <vendor 0x05ac product 0x820b> at usbus1 (disconnected)
ums0: at uhub6, port 3, addr 6 (disconnected)
ums0: detached
ipfw2 (+ipv6) initialized, divert loadable, nat loadable, default to
deny, logging disabled
Security policy loaded: MAC/ntpd (mac_ntpd)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181222122918.74010adf>