您尚未登录。

#1 2019-03-21 11:55:19

lijing48301243
会员
注册时间: 2013-04-14
帖子: 137

[CLOSED]VGA 黑屏

台式机一直用双屏,A卡radeon系列,插一台vga显示器和一台hmdi显示器,前天重启,发现vga显示屏黑屏了……(hmdi正常), 经过测试(只插一台显示器)发现VGA口在grub阶段可以显示,但是随后进直接进入黑屏,这是怎么回事哈……
1:只插vga,则grub可见,OS启动进程就黑屏
2:插vga+hmdi,则vga黑屏
3:换用live os ,现象一样
Linux agpgart interface v0.103
[    0.926755] VFIO - User Level meta-driver version: 0.3
[    1.011429] [drm] radeon kernel modesetting enabled.
[    1.011474] checking generic (e0000000 5b0000) vs hw (e0000000 10000000)
[    1.011475] fb: switching to radeondrmfb from VESA VGA
[    1.011494] Console: switching to colour dummy device 80x25
[    1.011862] [drm] initializing kernel modesetting (CEDAR 0x1002:0x68F9 0x7333:0x0000 0x00).
[    1.011894] resource sanity check: requesting [mem 0x000c0000-0x000dffff], which spans more than PCI Bus 0000:00 [mem 0x000d0000-0x000d3fff window]
[    1.011899] caller pci_map_rom+0x6a/0x1b0 mapping multiple BARs
[    1.011969] ATOM BIOS: CEDAR
[    1.012009] radeon 0000:01:00.0: VRAM: 128M 0x0000000000000000 - 0x0000000007FFFFFF (128M used)
[    1.012011] radeon 0000:01:00.0: GTT: 1024M 0x0000000008000000 - 0x0000000047FFFFFF
[    1.012014] [drm] Detected VRAM RAM=128M, BAR=256M
[    1.012015] [drm] RAM width 32bits DDR
[    1.012054] [TTM] Zone  kernel: Available graphics memory: 7151402 kiB
[    1.012055] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[    1.012056] [TTM] Initializing pool allocator
[    1.012061] [TTM] Initializing DMA pool allocator
[    1.012079] [drm] radeon: 128M of VRAM memory ready
[    1.012080] [drm] radeon: 1024M of GTT memory ready.
[    1.012086] [drm] Loading CEDAR Microcode
[    1.012146] [drm] Internal thermal controller with fan control
[    1.035356] [drm] radeon: dpm initialized
[    1.035413] [drm] GART: num cpu pages 262144, num gpu pages 262144
[    1.035986] [drm] PCIE gen 2 link speeds already enabled
[    1.054214] [drm] PCIE GART of 1024M enabled (table at 0x000000000014C000).
[    1.054295] radeon 0000:01:00.0: WB enabled
[    1.054298] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000008000c00 and cpu addr 0x000000006dc5eb99
[    1.054299] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000008000c0c and cpu addr 0x00000000dc0cd64f
[    1.054892] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x000000000005c418 and cpu addr 0x0000000096abdfb5
[    1.054893] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.054893] [drm] Driver supports precise vblank timestamp query.
[    1.054894] radeon 0000:01:00.0: radeon: MSI limited to 32-bit
[    1.054925] radeon 0000:01:00.0: radeon: using MSI.
[    1.054943] [drm] radeon: irq initialized.
[    1.071205] [drm] ring test on 0 succeeded in 1 usecs
[    1.071209] [drm] ring test on 3 succeeded in 2 usecs
[    1.258274] [drm] ring test on 5 succeeded in 1 usecs
[    1.258276] [drm] UVD initialized successfully.
[    1.258355] [drm] ib test on ring 0 succeeded in 0 usecs
[    1.258379] [drm] ib test on ring 3 succeeded in 0 usecs
[    1.617494] tsc: Refined TSC clocksource calibration: 3192.746 MHz
[    1.617501] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2e058540c6e, max_idle_ns: 440795222505 ns
[    1.617565] clocksource: Switched to clocksource tsc
[    1.937530] [drm] ib test on ring 5 succeeded
[    1.938028] [drm] Radeon Display Connectors
[    1.938029] [drm] Connector 0:
[    1.938030] [drm]   HDMI-A-1
[    1.938031] [drm]   HPD1
[    1.938033] [drm]   DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
[    1.938033] [drm]   Encoders:
[    1.938034] [drm]     DFP1: INTERNAL_UNIPHY1
[    1.938035] [drm] Connector 1:
[    1.938036] [drm]   DVI-D-1
[    1.938037] [drm]   HPD4
[    1.938039] [drm]   DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468 0x646c 0x646c
[    1.938039] [drm]   Encoders:
[    1.938040] [drm]     DFP2: INTERNAL_UNIPHY
[    1.938041] [drm] Connector 2:
[    1.938041] [drm]   VGA-1
[    1.938044] [drm]   DDC: 0x64d8 0x64d8 0x64dc 0x64dc 0x64e0 0x64e0 0x64e4 0x64e4
[    1.938044] [drm]   Encoders:
[    1.938045] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    2.022366] [drm] fb mappable at 0xE034D000
[    2.022367] [drm] vram apper at 0xE0000000
[    2.022368] [drm] size 8294400
[    2.022369] [drm] fb depth is 24
[    2.022370] [drm]    pitch is 7680
[    2.022505] fbcon: radeondrmfb (fb0) is primary device
[    2.078638] Console: switching to colour frame buffer device 240x67
[    2.086523] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
[    2.137525] [drm] Initialized radeon 2.50.0 20080528 for 0000:01:00.0 on minor 0
[    2.190551] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12

最近编辑记录 lijing48301243 (2019-03-22 12:34:59)


archlinux磨合中

离线

#2 2019-03-21 15:09:48

lijing48301243
会员
注册时间: 2013-04-14
帖子: 137

Re: [CLOSED]VGA 黑屏

测试了老毛桃系统,估计显卡问题


archlinux磨合中

离线

#3 2019-03-21 17:42:33

驿窗
驿窗
所在地: 基础开源研究
注册时间: 2016-06-03
帖子: 928
个人网站

Re: [CLOSED]VGA 黑屏

显卡坏了?


开源/Linux大众化,从驿窗开始~

离线

#4 2019-03-22 12:34:33

lijing48301243
会员
注册时间: 2013-04-14
帖子: 137

Re: [CLOSED]VGA 黑屏

今天拿了张新的Novall Quadro 600 卡测试,问题解决
不过在中间还是学习了不少知识,
因为我的两个显示器分辨率分别是1920X1080   和1024X768,所以如果同时插着两个显示器,启动的话,X不能自行处理,显示器会报超频(估计),所以只能插1920X1080分辨率的启动,然后在用xrandr点亮第二个显示器。


archlinux磨合中

离线

#5 2019-03-22 13:43:47

xtricman
エクス·トリクマン
注册时间: 2012-12-26
帖子: 1,267

Re: [CLOSED]VGA 黑屏

你自己写conf 啊,如果xrandr能亮第二个屏那为啥不能写成conf


反社会,精神极其不稳定,随时可能炸碎身边所有人

离线

#6 2019-06-10 18:55:18

lijing48301243
会员
注册时间: 2013-04-14
帖子: 137

Re: [CLOSED]VGA 黑屏

xtricman 说:

你自己写conf 啊,如果xrandr能亮第二个屏那为啥不能写成conf

Section "Monitor"
    Identifier    "DVI-I-1"
    Modeline    "1024x768.00" 63.50 1024 1072 1176 1328 768 771 775 798 -hsync +vsync
    Option        "PreferredMode" "1024x768.00"
    Option        "LeftOf" "DP-2"
EndSection

Section "Monitor"
    Identifier    "DP-2"
    Modeline    "1920x1080.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
    Option        "PreferredMode" "1920x1080.00"
    Option        "Primary" "true"
    Option        "DPMS"    "true"
EndSection

写好了,多谢多谢


archlinux磨合中

离线

页脚