Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gnome 3 in Fallback Mode
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ideanl
n00b
n00b


Joined: 31 Mar 2013
Posts: 39

PostPosted: Mon Apr 15, 2013 3:01 am    Post subject: Gnome 3 in Fallback Mode Reply with quote

I am installing Gentoo on a computer with an AMD Radeon HD 7770 graphics card. I have followed the guide here for the configuration: http://wiki.gentoo.org/wiki/Radeon. Gnome 3 is running in fallback mode and I don't know why. I guess I don't have the drivers installed correctly but I haven't found a good guide to troubleshoot. Any help will be appreciated. I'm not sure if I should post any information so let me know what to post to help find a solution.

Thanks
Back to top
View user's profile Send private message
Fijoldar
Apprentice
Apprentice


Joined: 10 Apr 2013
Posts: 248

PostPosted: Tue Apr 16, 2013 8:58 am    Post subject: Reply with quote

It looks like that the radeon open source driver doesn't support OpenGL for your card. Maybe you can try the proprietary graphics driver (http://wiki.gentoo.org/wiki/Fglrx).
Back to top
View user's profile Send private message
ideanl
n00b
n00b


Joined: 31 Mar 2013
Posts: 39

PostPosted: Tue Apr 16, 2013 2:27 pm    Post subject: Reply with quote

On the gentoo wiki, http://wiki.gentoo.org/wiki/Radeon, it says OpenGL 3.1 would work for my card with Mesa 9.1. So are you sure my card isn't supported?
Back to top
View user's profile Send private message
Fijoldar
Apprentice
Apprentice


Joined: 10 Apr 2013
Posts: 248

PostPosted: Tue Apr 16, 2013 3:24 pm    Post subject: Reply with quote

Not sure...but on my machines i prefer the proprietary graphics driver. I had some problems with opengl and radeon in the past. So i would try flgrx.

Another idea: Are you in the video group?
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Tue Apr 16, 2013 4:33 pm    Post subject: Reply with quote

Hi ideanl,

I use a 5770 with the following settings. My motherboard has a
integrated card which I sometimes use in addition. These options are green.
My Carte must use the Juniper driver. These are blue.
The main options for your HD 7770 are red. You need the "VERDE" driver.

The kernel options:
With these options, you can also build a nice splash screen.
If you do not use a splash screen now, use it anyway.

Processor type and features wrote:

(64) Amount of low memory, in kilobytes, to reserve for the BIOS │ │
│ │ -*- MTRR (Memory Type Range Register) support │ │
│ │ [*] MTRR cleanup support │ │
│ │ (1) MTRR cleanup enable value (0-1) │ │
│ │ (1) MTRR cleanup spare reg num (0-7)





Generic Driver Options wrote:

(/sbin/hotplug) path to uevent helper │ │
│ │ [*] Maintain a devtmpfs filesystem to mount at /dev │ │
│ │ [*] Automount devtmpfs at /dev, after the kernel mounted the rootfs │ │
│ │ [*] Select only drivers that don't need compile-time external firmware │ │
│ │ [*] Prevent firmware from being built │ │
│ │ -*- Userspace firmware loading support │ │
│ │ [*] Include in-kernel firmware blobs in kernel binary │ │
│ │ (radeon/JUNIPER_me.bin radeon/JUNIPER_pfp.bin radeon/JUNIPER_rlc.bin rtl_nic/rtl8168e-1.fw) External firmware blobs to │ │
│ │ (/lib/firmware) Firmware blobs root directory │ │
│ │ [*] Driver Core verbose debug messages │ │
│ │ [ ] Managed device resources verbose debug messages │ │
│ │


Your cart is a:
Southern Islands CAPE VERDE HD7700

These are the drivers for your carte:
radeon/VERDE_ce.bin radeon/VERDE_mc.bin radeon/VERDE_me.bin radeon/VERDE_pfp.bin radeon/VERDE_rlc.bin

If you are a user of genkernel, you can put these settings in the /etc/genkernel.conf and not in the kernel.
cat /etc/genkernel.conf wrote:

....
# Enable copying of firmware into initramfs
FIRMWARE="yes"
# Specify directory to pull from
FIRMWARE_DIR="/lib/firmware"
# Specify specific firmware files to include. This overrides FIRMWARE_DIR
FIRMWARE_FILES="radeon/JUNIPER_me.bin radeon/JUNIPER_pfp.bin radeon/JUNIPER_rlc.bin"
...



You can get the VERDE driver by:
emerge radeon-ucode -pv wrote:

x11-drivers/radeon-ucode
Latest version available: 20130402
Latest version installed: [ Not Installed ]
Size of files: 317 kB
Homepage: http://people.freedesktop.org/~agd5f/radeon_ucode/
Description: IRQ microcode for r6xx/r7xx/Evergreen/N.Islands/S.Islands Radeon GPUs and APUs
License: radeon-ucode


or

tux ~ # emerge linux-firmware -s wrote:


Searching...
[ Results for search key : linux-firmware ]
[ Applications found : 1 ]

* sys-kernel/linux-firmware
Latest version available: 20120924
Latest version installed: 20120924
Size of files: 15,996 kB
Homepage: http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git
Description: Linux firmware files
License: GPL-1 GPL-2 GPL-3 BSD freedist

Graphics support wrote:

<*> /dev/agpgart (AGP Support) ---> │ │
│ │ -*- VGA Arbitration │ │
│ │ (3) Maximum number of GPUs │ │
│ │ [*] Laptop Hybrid Graphics - GPU switching support │ │
│ │ <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) ---> │ │
│ │ < > 3dfx Banshee/Voodoo3+ │ │
│ │ < > ATI Rage 128 │ │
│ │ <*> ATI Radeon │ │
│ │ [*] Enable modesetting on radeon by default - NEW DRIVER │ │
│ │ < > Nouveau (nVidia) cards │ │
│ │ I2C encoder or helper chips ---> │ │
│ │ < > Matrox g200/g400 │ │
│ │ < > SiS video cards │ │
│ │ < > Via unichrome video cards │ │
│ │ < > Savage video cards │ │
│ │ <*> DRM driver for VMware Virtual GPU │ │
│ │ [*] Enable framebuffer console under vmwgfx by default │ │
│ │ < > Intel GMA5/600 KMS Framebuffer │ │
│ │ < > DisplayLink │ │
│ │ < > AST server chips │ │
│ │ < > Kernel modesetting driver for MGA G200 server engines │ │
│ │ < > Cirrus driver for QEMU emulated device │ │
│ │ < > Intel GMA500 Stub Driver │ │
│ │ <*> Lowlevel video output switch controls │ │
│ │ -*- Support for frame buffer devices ---> │ │
│ │ [ ] Exynos Video driver support ---> │ │
│ │ -*- Backlight & LCD device support ---> │ │
│ │ Console display driver support ---> │ │
│ │ [ ] Bootup logo --->



/dev/agpgart (AGP Support) wrote:

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



And now the make.conf

The "radeon" is for your 7770 or my 5770.
The "r600" is for my integrated Cart. The "fbdev" is for splash screen.
The "vesa" is a fallback option if "radeon" or/and "r600" is corrupt.
I use the VMware-Player with the "vmware" Option.


/etc/portage/make.conf wrote:

# DEVICES
# ==============
VIDEO_CARDS="radeon r600 fbdev vesa vmware"
ALSA_CARDS="hda-intel"
INPUT_DEVICES="evdev vmmouse"

You have to use the evdev driver. Without any xorg.conf file!
On this point the wiki is really outdated.


You need these programs for a working X system.
Note the Versionsnumber and USE flags!
emerge x11-libs/libdrm media-libs/mesa x11-apps/mesa-progs x11-base/xorg-server x11-base/xorg-drivers $(qlist -IC x11-drivers/) app-emulation/vmware-modules app-emulation/vmware-player app-emulation/vmware-tools -pv wrote:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ~] app-emulation/vmware-tools-9.2.3.1031769::vmware USE="vmware_guest_linux vmware_guest_windows -vmware_guest_freebsd -vmware_guest_netware -vmware_guest_solaris -vmware_guest_winPre2k" 0 kB
[ebuild R ~] x11-libs/libdrm-2.4.43 USE="libkms -static-libs" VIDEO_CARDS="radeon vmware -intel -nouveau (-omap)" 0 kB
[ebuild R ~] media-libs/mesa-9.1.1 USE="egl gallium gbm gles1 gles2 llvm nptl openvg osmesa pic shared-glapi xa xvmc -bindist -classic -debug -pax_kernel (-r600-llvm-compiler) (-selinux) -vdpau -wayland -xorg" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" VIDEO_CARDS="r600 radeon vmware -i915 -i965 -intel -nouveau -r100 -r200 -r300 (-radeonsi)" 0 kB
[ebuild R ~] x11-apps/mesa-progs-8.1.0 USE="egl gles1 gles2" 0 kB
[ebuild R ~] x11-base/xorg-server-1.14.0:0/1.14.0 USE="kdrive nptl suid udev xorg xvfb -dmx -doc -ipv6 -minimal (-selinux) -static-libs -tslib -xnest" 0 kB
[ebuild R ] x11-drivers/xf86-input-evdev-2.7.3 0 kB
[ebuild R ] x11-drivers/xf86-input-vmmouse-12.9.0 0 kB
[ebuild R ] x11-drivers/xf86-video-ati-7.0.0 USE="udev -glamor" 0 kB
[ebuild R ~] x11-drivers/xf86-video-fbdev-0.4.3-r1 0 kB
[ebuild R ~] x11-drivers/xf86-video-vesa-2.3.2-r1 0 kB
[ebuild R ~] x11-drivers/xf86-video-vmware-13.0.0-r1 0 kB
[ebuild R ] x11-drivers/xf86-video-v4l-0.2.0 USE="-debug" 0 kB
[ebuild R ~] x11-base/xorg-drivers-1.14 INPUT_DEVICES="evdev vmmouse -acecad -aiptek -elographics -fpit -hyperpen -joystick -keyboard -mouse -mutouch -penmount -synaptics -tslib -void -wacom" VIDEO_CARDS="fbdev radeon vesa vmware -apm -ast -chips -cirrus -dummy -epson -fglrx (-geode) -glint -i128 (-i740) -intel -mach64 -mga -modesetting -nouveau -nv -nvidia (-omap) (-omapfb) -qxl -r128 -rendition -s3virge -savage -siliconmotion -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -via -virtualbox (-voodoo)" 0 kB
[ebuild R ~] app-emulation/vmware-player-5.0.2.1031769::vmware USE="cups vmware-tools -doc" 0 kB
[ebuild R ~] app-emulation/vmware-modules-271.2::vmware USE="-pax_kernel" 0 kB

Total: 15 packages (15 reinstalls), Size of downloads: 0 kB


if you're a user of grub2, you can edit this to add options to the kernel. In my case:
cat /etc/default/grub wrote:

GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX}"....other options.......radeon.agpmode=8 radeon.dynclks=1 radeon.pcie_gen2=1 radeon.hw_i2c=1 radeon.modeset=1 radeon.msi=1 radeon.no_wb=1"


And if that is not enough build a file in /etc/env.d
tux env.d # cat /etc/env.d/99radeon wrote:

# http://wiki.gentoo.org/wiki/Radeon#Tuning
#Kernel parameters can be just added to the kernel commandline in grub.cfg or grub.conf.
#Environment variables could be put into a file like /etc/env.d/99radeon to have them initialized during boot.
#
R600_STREAMOUT=1 # Enable the use of OpenGL 3.0/4.2 on some cards
R600_HYPERZ=1 # Enable the use Hyper-Z on some cards
R600_TILING=1 # Enable 2D Tiling on some cards
R600_SURF=1 # Enable 2D Tiling on some cards
R600_GLSL130=1 # Enable more features of the OpenGL 3.0 API


That is to read a lot. But it works very well.
have fun
Ma
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
ideanl
n00b
n00b


Joined: 31 Mar 2013
Posts: 39

PostPosted: Wed Apr 17, 2013 1:35 am    Post subject: Reply with quote

Why would I need to install vmware-player?
Back to top
View user's profile Send private message
ideanl
n00b
n00b


Joined: 31 Mar 2013
Posts: 39

PostPosted: Wed Apr 17, 2013 2:18 am    Post subject: Reply with quote

The post above didn't work either. Gnome 3 is still in fallback mode.
My Kernel Configuration is here:
http://labibij.hulk.osd.wednet.edu/CONFIG
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum