PDA

View Full Version : Switching VT using the radeon driver.


duby229
12-30-2008, 07:09 PM
Hey guys,

I'm using the 6.9.0 version of radeon and xorg-server-1.5.3 The problem that I'm having right now is when I try to switch VT I lose the connection to the monitor. The light on it turns amber and the screen goes dark. If I switch back to VT7, which is the X display, then it comes back on and works fine. But I cant switch to any other VT.


Any suggestions? Advice? Questions?

EDIT: Here is the relevant part of the Xorg.0.log
Output 51 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
Enable CRTC 0 success
Unblank CRTC 0 success
Output 51 disable success
Enable CRTC 0 success
Unblank CRTC 0 success
Output 51 enable success
Output 51 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Enable CRTC 0 success
Unblank CRTC 0 success
Output 51 enable success
(II) 3rd Button detected: disabling emulate3Button
Output 51 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
Enable CRTC 0 success
Unblank CRTC 0 success
Output 51 disable success
Enable CRTC 0 success
Unblank CRTC 0 success
Output 51 enable success
Output 51 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Enable CRTC 0 success
Unblank CRTC 0 success
Output 51 enable success
(II) AIGLX: Suspending AIGLX clients for VT switch
Output 51 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
(II) RADEON(0): RADEONRestoreMemMapRegisters() :
(II) RADEON(0): MC_FB_LOCATION : 0xfffff000 0xdfffd000
(II) RADEON(0): MC_AGP_LOCATION : 0x00000000
(II) RADEON(0): avivo_restore !
Enable CRTC 0 success
Unblank CRTC 0 success
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) AIGLX: Resuming AIGLX clients after VT switch
Static power management enable success
Dynamic clock gating enable success
Output 51 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
Output 51 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Mode 1280x800 - 1760 841 0
(II) RADEON(0): RADEONRestoreMemMapRegisters() :
(II) RADEON(0): MC_FB_LOCATION : 0xdfffd000 0xfffff000
(II) RADEON(0): MC_AGP_LOCATION : 0xffffffc0
freq: 111500000
best_freq: 111500000
best_feedback_div: 223
best_ref_div: 6
best_post_div: 9
(II) RADEON(0): crtc(0) Clock: mode 111500, PLL 111500
(II) RADEON(0): crtc(0) PLL : refdiv 6, fbdiv 0xDF(223), pdiv 9
Set CRTC PLL success
Set CRTC Timing success
Not using RMX
scaler 0 setup success
Set CRTC 0 Source success
Output digital setup success
Output 51 enable success
Enable CRTC 0 success
Unblank CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
(II) RADEON(0): [RESUME] Attempting to re-init Radeon hardware.
(II) Mouse0: ps2EnableDataReporting: succeeded
(II) AIGLX: Suspending AIGLX clients for VT switch
Output 51 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
(II) RADEON(0): RADEONRestoreMemMapRegisters() :
(II) RADEON(0): MC_FB_LOCATION : 0xfffff000 0xdfffd000
(II) RADEON(0): MC_AGP_LOCATION : 0x00000000
(II) RADEON(0): avivo_restore !
Enable CRTC 0 success
Unblank CRTC 0 success
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) AIGLX: Resuming AIGLX clients after VT switch
Static power management enable success
Dynamic clock gating enable success
Output 51 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
Output 51 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Mode 1280x800 - 1760 841 0
(II) RADEON(0): RADEONRestoreMemMapRegisters() :
(II) RADEON(0): MC_FB_LOCATION : 0xdfffd000 0xfffff000
(II) RADEON(0): MC_AGP_LOCATION : 0xffffffc0
freq: 111500000
best_freq: 111500000
best_feedback_div: 223
best_ref_div: 6
best_post_div: 9
(II) RADEON(0): crtc(0) Clock: mode 111500, PLL 111500
(II) RADEON(0): crtc(0) PLL : refdiv 6, fbdiv 0xDF(223), pdiv 9
Set CRTC PLL success
Set CRTC Timing success
Not using RMX
scaler 0 setup success
Set CRTC 0 Source success
Output digital setup success
Output 51 enable success
Enable CRTC 0 success
Unblank CRTC 0 success
Blank CRTC 1 success
Disable CRTC 1 success
(II) RADEON(0): [RESUME] Attempting to re-init Radeon hardware.
(II) Mouse0: ps2EnableDataReporting: succeeded
LiveDVD user #

agd5f
12-30-2008, 07:13 PM
what chip and connector type (DVI, VGA, HMDI, etc.) are you using?

duby229
12-30-2008, 07:40 PM
what chip and connector type (DVI, VGA, HMDI, etc.) are you using?

It's an x1950Pro PCIe connected to the DVI port. I'm re-installing acpid right now to see if that resolves the issue. I'll let you know in a minute.

duby229
12-30-2008, 08:35 PM
OK updating acpid fixed the problem where is couldnt open acpid.socket, but it still wont allow me to switch VT. I still get an amber light on the monitor and the monitor still goes dark when I switch.

Here is my complete Xorg.0.log

http://pastebin.com/m5a1cc047

nightmorph
12-31-2008, 12:15 AM
Hey, I'm having the exact same issue with my PCIe X1950 Pro, also connected via DVI. I can't switch VTs either. The monitor flashes the "No signal" window, then blanks itself. It thinks it has no video signal unless it's on VT7.

The difference between my log and yours is that I don't have the warnings (WW) about acpid; that's working correctly on my system.

duby229
12-31-2008, 07:23 AM
Hey, I'm having the exact same issue with my PCIe X1950 Pro, also connected via DVI. I can't switch VTs either. The monitor flashes the "No signal" window, then blanks itself. It thinks it has no video signal unless it's on VT7.

The difference between my log and yours is that I don't have the warnings (WW) about acpid; that's working correctly on my system.

OK, well, I fixed the acpid issue last night, and I'm still having the same problem. At least now I know I'm not alone. Thanks for posting this news.

panda84
12-31-2008, 09:19 AM
OK, well, I fixed the acpid issue last night, and I'm still having the same problem. At least now I know I'm not alone. Thanks for posting this news.

I'm experiencing a similar issue when KMS is enabled:
https://bugzilla.redhat.com/show_bug.cgi?id=467702#c10

But my card is an AGP Radeon 9500 and my monitor is CRT so I don't know if it's the same issue.

RealNC
12-31-2008, 09:23 AM
Try this in your "radeon" driver section:

Option "VGAAccess" "off"

It probably won't help, but worth a shot.

Edit:
Try a full reboot after changing this option rather than just restarting X so that you can be sure the hardware has been reset also.

TechMage89
12-31-2008, 11:23 PM
Does the console work if X doesn't start up? My point is, are you sure the problem is due to the Xorg driver?

duby229
01-01-2009, 01:12 AM
Does the console work if X doesn't start up? My point is, are you sure the problem is due to the Xorg driver?


Sorry for the late reply. Its been one helluva night! :D Happy New Year!

I'd say that it is definitely the radeon driver. If I reboot the computer using the vesa driver or the radeonhd driver I can switch terminals just fine. This issue only occurs when using the radeon driver.

duby229
01-07-2009, 12:39 AM
Hi guys,

I know you've all been busy, so it certainly is no rush, but I just wanted to bump this to see if there has been any progress figuring out what has caused this issue? I've updated to the newest git checkout as of today (1-6-09) and I am still experiencing this issue.

Any ideas?

altair3
01-18-2009, 12:18 PM
Seems to be an issue with the fglrx driver too.

My system:
AMD Phenom X4 9950
Kingston RAM 8GB
ASUS M3A79-T Deluxe
HD4870 1GB (Sapphire)
HD3870 512MB (Sapphire)
oSUSE 11.1 64bit
2.6.27.7-9-default #1 SMP
fglrx 8.56.4

Switching from VT7 (desktop) to VT[1-6] leads to a blank screen. Switching back to VT7 works fine, starting another session on VT8 works fine too.

I found this bug reports on ati.cchtml.com:

http://ati.cchtml.com/show_bug.cgi?id=239

http://ati.cchtml.com/show_bug.cgi?id=628

Hope, there will be a solution in future.

tettamanti
01-19-2009, 09:16 AM
For the record, I'm having the same issue here with a RV770 and the VGA console. Both radeon and radeonhd are unable to restore the text console upon VT switch.
VT switch on my NB with a R600 and vesafb works fine though, I'll check if enabled vesafb makes any difference on the other machine.

bugmenot
01-19-2009, 09:47 AM
For the record, I'm having the same issue here with a RV770 and the VGA console. Both radeon and radeonhd are unable to restore the text console upon VT switch.

Not sure if the devs read here, so I suggest you to file a bug report. :)

https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/radeonhd

tettamanti
01-19-2009, 09:51 AM
Not sure if the devs read here, so I suggest you to file a bug report. :)

Oh, there are few familiar names around ;) Anyway it was "just for the record": I just installed the card and I'll try to debug it further.

RealNC
01-19-2009, 11:09 AM
I suppose you did try my suggestion and it didn't help?

tettamanti
01-19-2009, 11:13 AM
I suppose you did try my suggestion and it didn't help?

No, I really just got the hardware (installed yesterday evening, now I'm at work).

RealNC
01-19-2009, 04:20 PM
The question was for duby229. fglrx doesn't have the "VGAAccess" option.

duby229
01-19-2009, 06:03 PM
The question was for duby229. fglrx doesn't have the "VGAAccess" option.

Oh yes, I did try it. But it actually turned off the whole display. I couldnt do anything with it after X loaded. I had to start the computer without X running, then go into xorg.conf and remove that line, then I could start X again.

However I've gone through several git checkouts since then, so I'll try it again when I get home this evening.