Radeon HD 5770 - Console text now working

Mark Knecht markknecht at gmail.com
Sun Apr 11 12:23:34 PDT 2010


[[ Please trim and responses. Thanks.]]

OK, after doing a fairly in-depth comparison and massaging of the
kernel configs for my i5-661/IntelGfx and i7-980x/Radeon HD 5770 I
found some differences and now have console text working during boot.
Additionally I am able to use Alt-Ctl-F1 to drop back to the console.
This email is intended to document what I can remember so others who
come later can have a little less pain.

cruncher linux # uname -a
Linux cruncher 2.6.34-rc3 #7 SMP PREEMPT Sun Apr 11 11:33:13 PDT 2010
x86_64 Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz GenuineIntel GNU/Linux
cruncher linux #

Calculating dependencies... done!
[ebuild   R   ] x11-libs/libdrm-2.4.20
[ebuild   R   ] media-libs/mesa-7.7.1
[ebuild   R   ] x11-base/xorg-server-1.7.6
[ebuild   R   ] x11-drivers/xf86-input-evdev-2.3.2
[ebuild   R   ] x11-drivers/xf86-video-ati-6.13.0
[ebuild   R   ] x11-base/xorg-drivers-1.7
cruncher linux #


While I made a _lot_ of changes in the config files I think the
relevant items were the following and possibly most importantly the
last one:

<M> /dev/agpgart (AGP Support)  --->
 [ ] VGA Arbitration
 [ ] Laptop Hybrid Grapics - GPU switching support
<M> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  --->
 {M} Lowlevel video output switch controls
 {*} Support for frame buffer devices  --->

--- /dev/agpgart (AGP Support)
<M>   AMD Opteron/Athlon64 on-CPU GART support
<M>   Intel 440LX/BX/GX, I8xx and E7x05 chipset support
< >   SiS chipset support
< >   VIA chipset support

NOTE: Options below chosen to facilitate diff of the two machine's config files.

--- Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
< >   3dfx Banshee/Voodoo3+
< >   ATI Rage 128
<M>   ATI Radeon
 [*]     Enable modesetting on radeon by default - NEW DRIVER
< >   Intel I810
<M>   Intel 830M, 845G, 852GM, 855GM, 865G
< >     i830 driver
<M>     i915 driver
[*]       Enable modesetting on intel by default

--- Support for frame buffer devices
[*]   Enable firmware EDID
[ ]   Framebuffer foreign endianness support  --->
[ ]   Enable Video Mode Handling Helpers│
[ ]   Enable Tile Blitting Support
 *** Frame buffer hardware drivers ***
< >   Cirrus Logic support
< >   Permedia2 support

And I think most importantly still in Graphics Support:

Console display driver support  --->

[*] VGA text console
[*]   Enable Scrollback Buffer in System RAM
(64)    Scrollback Buffer Size (in KB)
<*> Framebuffer Console support
[ ]   Map the console to the primary display device
[ ]   Framebuffer Console Rotation
[ ] Select compiled-in fonts

   Hopefully if anyone else is having troubles then this documentation
will help. If by chance someone more experienced thinks it isn't
complete then please let me know and I'll get more data.

   Digital monitor is a Samsung 2333 via DVI.

   At this point I think I have a fully working and very nice single
monitor setup using the HD 5770. KDE is up and running. I have no
artifacts of any type that I can find. I can drop back to and of the 6
consoles and work there. I haven't done anything with video playback
yet as I don't have sound configured. I need (well, would like) dual
monitor where the second monitor is VGA through a DVI->VGA dongle.

   While this processor is pretty darn fast I am actually getting
better glxgears numbers (933 FPS) on this machine, presumably without
acceleration vs my Intel I915 where I thought I had acceleration
working but possibly don't. (846 FPS)

   Thanks to all for your help yesterday. I wouldn't have even gotten
close without you.

Cheers,
Mark


cruncher linux # lsmod
Module                  Size  Used by
ipv6                  227547  38
snd_hda_codec_atihdmi     2407  1
snd_hda_intel          21017  1
snd_hda_codec          71485  2 snd_hda_codec_atihdmi,snd_hda_intel
radeon                683872  2
snd_hwdep               5554  1 snd_hda_codec
snd_pcm                73348  2 snd_hda_intel,snd_hda_codec
ttm                    50858  1 radeon
snd_timer              18274  1 snd_pcm
drm_kms_helper         25524  1 radeon
drm                   177594  4 radeon,ttm,drm_kms_helper
agpgart                33073  2 ttm,drm
snd                    57168  7
snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
rtc_cmos                8375  0
soundcore               6779  1 snd
i2c_algo_bit            4888  1 radeon
rtc_core               14256  1 rtc_cmos
cfbcopyarea             3241  1 radeon
rtc_lib                 2505  1 rtc_core
cfbimgblt               2114  1 radeon
cfbfillrect             3253  1 radeon
sky2                   44496  0
snd_page_alloc          7388  2 snd_hda_intel,snd_pcm
i2c_i801                7209  0
cruncher linux #

cruncher linux # emerge --info
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop, gcc-4.3.4,
glibc-2.10.1-r1, 2.6.34-rc3 x86_64)
=================================================================
System uname: Linux-2.6.34-rc3-x86_64-Intel-R-_Core-TM-_i7_CPU_X_980_ at _3.33GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 11 Apr 2010 18:15:02 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* - at EULA dlj-1.1 PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d
/etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild
/etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests buildpkg distlocks fixpackages news
parallel-fetch preserve-libs protect-owned sandbox sfperms strict
unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j13"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo caps
cdda cddb cdparanoia cdr cli consolekit cracklib crypt cxx dbus dri
dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fltk fortran
ftp gdbm gif gnome gpm gtk hal iconv ieee1394 ipv6 jpeg kde ladspa
lame lash lcms ldap libnotify libsamplerate mad mikmod mmx mng modules
mp3 mp4 mpeg mudflap multilib musepack ncurses nls nptl nptlonly
nsplugin ogg opengl openmp pam pango pcre pdf perl png ppds pppd
python qt3support qt4 readline reflection sdl semantic-desktop session
spell spl sse sse2 sse4 ssl ssse3 startup-notification svg sysfs tcpd
tiff tifftruetype truetype unicode usb vmware vorbis x264 xcb xine xml
xorg xulrunner xv xvid zlib" ALSA_CARDS="intel-hda"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty
extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul
mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon
authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfile authz_host authz_owner authz_user autoindex cache dav
dav_fs dav_lock deflate dir disk_cache env expires ext_filter
file_cache filter headers include info log_config logio mem_cache mime
mime_magic negotiation rewrite setenvif speling status unique_id
userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18"
USERLAND="GNU" VIDEO_CARDS="radeon fbdev"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLAY

cruncher linux #


cruncher linux # rc-update show
            bootmisc | boot
             checkfs | boot
           checkroot | boot
               clock | boot
         consolefont | boot
                dbus |      default
                hald |      default
            hostname | boot
             keymaps | boot
               local |      default nonetwork
          localmount | boot
             modules | boot
            net.eth0 |      default
              net.lo | boot
            netmount |      default
          ntp-client |      default
                ntpd |      default
           rmnologin | boot
                sshd |      default
           syslog-ng |      default
      udev-postmount |      default
             urandom | boot
          vixie-cron |      default
                 xdm |      default
cruncher linux #



cruncher linux # cat /etc/X11/xorg.conf
Section "Files"
        ModulePath   "/usr/lib64/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "glx"
        Load  "dri"
EndSection

Section "DRI"
        Mode 0666
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Extensions"
        Option "Composite" "Enable"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "radeon"
        #Option     "monitor-VGA1" "Samsung2333"
EndSection

Section "Monitor"
        Identifier   "Samsung2333"
        VendorName   "Samsung"
        ModelName    "2333"
        Option       "PreferredMode" "1920x1080"
        HorizSync    30-75
        VertRefresh  56-61
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Samsung2333"
        DefaultDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     8
                Modes         "1920x1080"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes         "1920x1080"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes         "1920x1080"
        EndSubSection
EndSection


Section "ServerLayout"
        Identifier     "cruncher"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

cruncher linux #


More information about the xorg-driver-ati mailing list