Topic Title: How to use the fglrx driver with a framebuffer
Topic Summary: [Linux O.S.] Can UEFI boot, proprietary ATI drivers and framebuffer live together?
Created On: 02/18/2013 02:11 AM
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 02/18/2013 02:11 AM
User is offline View Users Profile Print this message

Author Icon
Hamlet
Peon

Posts: 2
Joined: 02/18/2013

Hello,

 I have a basic setup problem. First, the list of relevant stuff in and around my desktop PC:

Graphics Card: Sapphire AMD HD 7870 (PCI ID: 1002:6818 )

AMD Catalyst Driver Version: 13.1 (Gentoo package x11-drivers/ati-drivers-13.1)

Operating System: Linux 3.7.4, 64-bit, Gentoo Linux distribution (~amd64, weekly updated)

Issue Details:
Either with the automatic configuration by the aticonfig utility or with a custom one, the X server does not start.

A major issue is that the computer is booting in EFI mode, and therefore it requires a framebuffer driver in order for me to see the text console. I have a working configuration with the open-source driver (radeon); in that configuration, the computers boots (UEFI mode), activates the radeon framebuffer and finally delivers a console. From the console, X can be started with the usual startx or in any other way.

If I try to replace the open source driver with theproprietary one (flgrx), the relevant part of the log shows as follows:

--- 8< ----------------------------------------------------------

[ 13438.786] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 13438.804] (--) PCI: (0:0:2:0) 8086:0162:1849:0162 rev 9, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[ 13438.966] (--) PCI:*(0:1:0:0) 1002:6818:174b:e224 rev 0, Mem @ 0xe0000000/268435456, 0xf7b00000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[ 13439.147] (II) Open ACPI successful (/var/run/acpid.socket)
[ 13439.165] Initializing built-in extension Generic Event Extension
[ 13439.183] Initializing built-in extension SHAPE
[ 13439.201] Initializing built-in extension MIT-SHM
[ 13439.219] Initializing built-in extension XInputExtension
[ 13439.237] Initializing built-in extension XTEST
[ 13439.255] Initializing built-in extension BIG-REQUESTS
[ 13439.273] Initializing built-in extension SYNC
[ 13439.291] Initializing built-in extension XKEYBOARD
[ 13439.310] Initializing built-in extension XC-MISC
[ 13439.328] Initializing built-in extension XINERAMA
[ 13439.346] Initializing built-in extension XFIXES
[ 13439.364] Initializing built-in extension RENDER
[ 13439.382] Initializing built-in extension RANDR
[ 13439.394] Initializing built-in extension COMPOSITE
[ 13439.406] Initializing built-in extension DAMAGE
[ 13439.418] Initializing built-in extension MIT-SCREEN-SAVER
[ 13439.430] Initializing built-in extension DOUBLE-BUFFER
[ 13439.442] Initializing built-in extension RECORD
[ 13439.454] Initializing built-in extension DPMS
[ 13439.466] Initializing built-in extension X-Resource
[ 13439.478] Initializing built-in extension XVideo
[ 13439.490] Initializing built-in extension XVideo-MotionCompensation
[ 13439.502] Initializing built-in extension XFree86-VidModeExtension
[ 13439.515] Initializing built-in extension XFree86-DGA
[ 13439.527] Initializing built-in extension XFree86-DRI
[ 13439.539] Initializing built-in extension DRI2
[ 13439.551] (II) "glx" will be loaded by default.
[ 13439.563] (II) LoadModule: "glx"
[ 13439.587] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 13439.599] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[ 13439.611] compiled for 6.9.0, module version = 1.0.0
[ 13439.635] Loading extension GLX
[ 13439.647] (II) LoadModule: "fglrx"
[ 13439.672] (II) Loading /usr/lib64/xorg/modules/drivers/fglrx_drv.so
[ 13439.816] (II) Module fglrx: vendor="FireGL - AMD Technologies Inc."
[ 13439.839] compiled for 1.4.99.906, module version = 9.1.11
[ 13439.876] Module class: X.Org Video Driver
[ 13439.888] (II) Loading sub module "fglrxdrm"
[ 13439.906] (II) LoadModule: "fglrxdrm"
[ 13439.936] (II) Loading /usr/lib64/xorg/modules/linux/libfglrxdrm.so
[ 13439.964] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[ 13439.990] compiled for 1.4.99.906, module version = 9.1.11
[ 13440.045] (II) AMD Proprietary Linux Driver Version Identifier:9.01.11
[ 13440.063] (II) AMD Proprietary Linux Driver Release Identifier: 9.012
[ 13440.081] (II) AMD Proprietary Linux Driver Build Date: Dec 19 2012 14:41:10
[ 13440.100] (--) using VT number 7

[ 13440.120] (WW) Falling back to old probe method for fglrx
[ 13440.157] (II) Loading PCS database from /etc/ati/amdpcsdb /etc/ati/amdpcsdb.default
[ 13440.197] ukiDynamicMajor: found major device number 249
[ 13440.219] ukiDynamicMajor: found major device number 249
[ 13440.237] ukiOpenByBusid: Searching for BusID PCI:1:0:0
[ 13440.256] ukiOpenDevice: node name is /dev/ati/card0
[ 13440.274] ukiOpenDevice: open result is 12, (OK)
--- 8< ----------------------------------------------------------

That is the last line in the log; the screen is cleared, with a text cursor left blinking in the top-left corner in what looks like a normal text-like mode.

I don't know the purpose of the ukiOpenDevice call (well, I can guess by the name...), nor the meaning of retrurn code 12. I have tested a few other framebuffers (efifb, uvesafb), but I had no luck (although I can't swear I did the things right each time).

The documemtation seems to point to the fact that the driver is incompatible with the framebuffer, but my computer can't possibly be booted without it (giving up the text console is not an option).

So I wonder if this is expected, known, accepted, and if there are viable workarounds.

Motherboard: ASRock Z77 Extreme6; I ignore the HD4000 integrated video card, hoping the O.S. does the same...

Power Supply: Cooler Master SilentPro 800 (800W)

Display Device(s):
Dell U2412M (DVI)
Samsung SyncMaster 932BW (DVI, in some tests disconnected)

Applications: X server:
xinit -- -logverbose 5

CPU Details: Intel Core i7 3770

Motherboard BIOS Version: unsure

System Memory: 16GB in 4 banks, dual channel configuration

Thank you for your attention...

 02/18/2013 07:03 AM
User is offline View Users Profile Print this message

Author Icon
Eydee
Ninja Zombie Killer

Posts: 4905
Joined: 12/27/2008

Not really a gaming issue, people around here are not likely to be able to help. You probably should contact AMD instead of the community.



-------------------------

CPU: AMD Phenom II X4 810 @ 3120MHz | RAM: Kingmax 2x2GB DDR2 800 @ 833MHz| MoBo: MSI K9A2 CF v1.0 (BIOS: 1.D)| GPU: Asus HD 6850 1024MB (DirectCu) @ 835/1135MHz | Display: L24FHD | PSU: PC Power & Cooling Silencer 750 Quad | OS: MS Windows 3.11 Pro x64

 02/19/2013 01:57 AM
User is offline View Users Profile Print this message

Author Icon
Hamlet
Peon

Posts: 2
Joined: 02/18/2013

Thank you for your reply. I mistook this for a general AMD [videocard] forum, I should have inferred more out of its name...

Incidentally, I was hoping to use WineHQ to play, so from a certain angle this is a gaming issue...

Anyway, I cash your good suggestion, thank you and look for a more technical support (is there a forum of that kind?).

[and of course I would not turn down an hint of a solution if anybody could share it]

 02/19/2013 02:01 PM
User is offline View Users Profile Print this message

Author Icon
Eydee
Ninja Zombie Killer

Posts: 4905
Joined: 12/27/2008

I suggest you take a look at this. Also if you're interested in linux gaming (and Steam for linux), you could look around here as well. That one is also mainly a community page like this, not official technical support.



-------------------------

CPU: AMD Phenom II X4 810 @ 3120MHz | RAM: Kingmax 2x2GB DDR2 800 @ 833MHz| MoBo: MSI K9A2 CF v1.0 (BIOS: 1.D)| GPU: Asus HD 6850 1024MB (DirectCu) @ 835/1135MHz | Display: L24FHD | PSU: PC Power & Cooling Silencer 750 Quad | OS: MS Windows 3.11 Pro x64

Statistics
86386 users are registered to the AMD Support and Game forum.
There are currently 0 users logged in.

FuseTalk Hosting Executive Plan v3.2 - © 1999-2014 FuseTalk Inc. All rights reserved.