FS#29178 - [xf86-video-ati] X won't start with xf86-video-ati-6.14.4-1

Attached to Project: Arch Linux
Opened by zless (roentgen) - Thursday, 29 March 2012, 18:57 GMT
Last edited by Ionut Biru (wonder) - Friday, 30 March 2012, 14:02 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 46
Private No

Details

Description:
I get the following in Xorg.0.log

[ 28.652] (EE) RADEON(0): [dri] RADEONDRIGetVersion failed because of a version mismatch.
[dri] This chipset requires a kernel module version of 1.17.0,
[dri] but the kernel reports a version of 2.13.0.[dri] Make sure your module is loaded prior to starting X, and
[dri] that this driver was built with support for KMS.
[dri] Aborting.

I will also attach the full xorg log.

Downgrading to xf86-video-ati-6.14.3-2 makes X start again.

Additional info:
* package version(s)
libdrm 2.4.33-1

# lspci
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV710 [Mobility Radeon HD 4500/5100 Series]

This task depends upon

Closed by  Ionut Biru (wonder)
Friday, 30 March 2012, 14:02 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#29181 
Comment by David Spicer (azleifel) - Thursday, 29 March 2012, 19:09 GMT
Me too. Identical error:

[ 29.763] (EE) RADEON(0): [dri] RADEONDRIGetVersion failed because of a version mismatch.
[dri] This chipset requires a kernel module version of 1.17.0,
[dri] but the kernel reports a version of 2.12.0.[dri] Make sure your module is loaded prior to starting X, and
[dri] that this driver was built with support for KMS.
[dri] Aborting.
Comment by Mike Bridge (buckethead) - Thursday, 29 March 2012, 19:37 GMT
Me too. Downgrading to 6.14.3-2 worked.
Comment by David Millard (dmillard) - Thursday, 29 March 2012, 19:41 GMT
Identical error. Downgrading to 6.14.3-2 fixes.
Comment by Boudhayan Gupta (baloneygeek) - Thursday, 29 March 2012, 20:04 GMT
Identical. Downgrading to 6.14.3-2 fixed it. Xorg.0.log is attached.

My lspci line is: 01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV710 [Mobility Radeon HD 4300 Series]
Comment by Mak Nazečić-Andrlon (Muon) - Thursday, 29 March 2012, 20:16 GMT
Same here.

01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV350 AP [Radeon 9600]
Comment by Robert Beckmann (robfloop) - Thursday, 29 March 2012, 21:16 GMT
Identical error for me....
Comment by David Spicer (azleifel) - Thursday, 29 March 2012, 21:18 GMT
Fixed it here by rebuilding xf86-video-ati-6.14.4-1 locally.
Comment by Uli (Army) - Thursday, 29 March 2012, 22:07 GMT
It's also fixed here by rebuilding the package locally.
Comment by Erick Fleming (efleming969) - Friday, 30 March 2012, 02:01 GMT
Same error, fixed with git version from AUR
Comment by Brent Hostetler (bch24) - Friday, 30 March 2012, 03:39 GMT
I am having same problem, once X starts display comes up with random garbage. Unable to switch to virtual console. Had to reboot single user and downgrade to previous package version.

I do not use and xorg.conf everything is set autodetect.

[root@rking ~]# lspci -s 02:00.0 -vv
02:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Juniper XT [AMD Radeon HD 6000 Series] (prog-if 00 [VGA controller])
Subsystem: XFX Pine Group Inc. Device 3156
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 256 bytes
Interrupt: pin A routed to IRQ 70
Region 0: Memory at d0000000 (64-bit, prefetchable) [size=256M]
Region 2: Memory at fbdc0000 (64-bit, non-prefetchable) [size=128K]
Region 4: I/O ports at d000 [size=256]
Expansion ROM at fbda0000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr+ UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <64ns, L1 <1us
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Not Supported, TimeoutDis-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-, Selectable De-emphasis: -6dB
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: 00000000fee003f8 Data: 0000
Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [150 v1] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
AERCap: First Error Pointer: 14, GenCap+ CGenEn- ChkCap+ ChkEn-
Kernel driver in use: radeon


[rking@rking log]$ grep 'Chipset: "ATI' /var/log/Xorg.0.log.old
[ 12.921] (--) RADEON(0): Chipset: "ATI Radeon HD 6700 Series" (ChipID = 0x68ba)

[rking@rking log]$ grep WW Xorg.0.log.old
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 12.677] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 12.700] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 12.700] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 12.701] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 12.902] (WW) Warning, couldn't open module vesa
[ 12.902] (WW) Warning, couldn't open module fbdev
[ 13.404] (WW) RADEON(0): Direct rendering disabled
[ 14.435] (WW) evdev: Logitech G9x Laser Mouse: ignoring absolute axes.

.[rking@rking log]$ grep EE Xorg.0.log.old
[ 12.586] Current Operating System: Linux rking 3.2.13-1-ARCH #1 SMP PREEMPT Sat Mar 24 09:10:39 CET 2012 x86_64
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 12.755] (II) Loading extension MIT-SCREEN-SAVER
[ 12.902] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 12.902] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 13.404] (EE) RADEON(0): Acceleration initialization failed
[rking@rking log]$
Comment by Sergio (serg89) - Friday, 30 March 2012, 04:31 GMT
01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Radeon Xpress 1250

Xorg log:

[ 35.208] (EE) RADEON(0): [dri] RADEONDRIGetVersion failed because of a version mismatch.
[dri] This chipset requires a kernel module version of 1.17.0,
[dri] but the kernel reports a version of 2.12.0.[dri] Make sure your module is loaded prior to starting X, and
[dri] that this driver was built with support for KMS.
[dri] Aborting.
[ 35.208] (II) UnloadModule: "radeon"
[ 35.208] (II) UnloadSubModule: "int10"
[ 35.208] (II) Unloading int10
[ 35.208] (II) UnloadSubModule: "vgahw"
[ 35.208] (II) Unloading vgahw
[ 35.208] (EE) Screen(s) found, but none have a usable configuration.
[ 35.208]
Fatal server error:
[ 35.208] no screens found
[ 35.208]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 35.208] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 35.209]
[ 35.220] Server terminated with error (1). Closing log file.
Comment by Lewis Nguyen (NTHQ) - Friday, 30 March 2012, 05:53 GMT
I am also experiencing the same error. Downgrading has also fixed the issue for me.
Comment by Jussi Saarinen (jtts) - Friday, 30 March 2012, 06:48 GMT
I'm experiencing the same bug here. X can't start because of a version mismatch (found 2.12.0, requires 1.17.0). I can confirm that downgrading xf86-video-ati to 6.14.3-2 works. Also rebuilding 6.14.4-1 locally works.

If I had to guess xf86-video-ati is for some reason looking for non-KMS version of drm (I vaguely remember seeing similar errors back in the early KMS days). I confirmed from kernel.log that kernel is using KMS.

Anyway, looks like a build error, and it will probably be fixed in 6.14.4-2 pretty soon. In the mean while, I suggest either downgrading temporarily or building 6.14.4-1 locally.

NOTE: If you build 6.14.4-1 locally, pacman will automatically upgrade to 6.14.4-2 (or similar) when it becomes available. And it will also keep the local build until that (i.e. you can "safely" run "pacman -Syu" without fear that the "non-local" erroneous build of xf86-video-ati-6.14.4-1 will overwrite the local one).
Comment by Vladimir (crypter) - Friday, 30 March 2012, 07:01 GMT
Same problem with ATI Radeon HD 4650 AGP. Downgrading to 6.14.3-2 is useful.
Comment by gymka (gymka) - Friday, 30 March 2012, 08:17 GMT
i'm too having this problem:)
Comment by michael schoengart (arlite) - Friday, 30 March 2012, 08:21 GMT
+1 (6.14.4-1 -> 6.14.3-2)

/var/log/Xorg.0.log:

[ 40.574] (EE) RADEON(0): [dri] RADEONDRIGetVersion failed because of a version mismatch.
[dri] This chipset requires a kernel module version of 1.17.0,
[dri] but the kernel reports a version of 2.12.0.[dri] Make sure your module is loaded prior to starting X, and
[dri] that this driver was built with support for KMS.
[dri] Aborting.
[ 40.574] (II) UnloadModule: "radeon"
[ 40.574] (II) UnloadSubModule: "int10"
[ 40.574] (II) Unloading int10
[ 40.574] (II) UnloadSubModule: "vgahw"
[ 40.574] (II) Unloading vgahw
[ 40.574] (EE) Screen(s) found, but none have a usable configuration.
[ 40.574]
Fatal server error:
[ 40.574] no screens found
[ 40.574]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 40.574] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 40.574]
[ 40.584] Server terminated with error (1). Closing log file.

lspci:
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV770 [Radeon HD 4850] (prog-if 00 [VGA controller])
Subsystem: PC Partner Limited Sapphire HD 4850 512MB GDDR3 PCI-E Dual Slot Fansink
Flags: bus master, fast devsel, latency 0, IRQ 43
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at fe9f0000 (64-bit, non-prefetchable) [size=64K]
I/O ports at c000 [size=256]
Expansion ROM at fe9c0000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Kernel driver in use: radeon
Comment by david (Lord David III.) - Friday, 30 March 2012, 09:03 GMT
same problem with Radeon HD 4290. downgrading xf86-video-ati to 6.14.3-2 works :-)
Comment by Darshit Shah (darnir) - Friday, 30 March 2012, 09:40 GMT
As mentioned in #29181, the error has occurred due to libdrm being compiled after xf86-video-ati.
Simply changing the compilation order, will resolve the issue.
Comment by Tarek (IllDepence) - Friday, 30 March 2012, 11:58 GMT
Same here with both a ATI Mobility Radeon HD 5470 and a ATI Radeon HD 3650.
"Fixed" the problem by turning KMS off using

options radeon modeset=0

in a .conf-File in /etc/modprobe.d/

Loading...