Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Graphics running, X -configure (and therefore startx) don't!
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
kbzium
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2012
Posts: 146

PostPosted: Tue Oct 16, 2012 3:10 pm    Post subject: Graphics running, X -configure (and therefore startx) don't! Reply with quote

Hi,

I've been trying to configure my graphic environment (intel hd2000 + radeon hd6400) for about 2 days and the results are:
1. console is in nice resolution, because driver is loaded (that open source one)
dmesg | grep radeon
Code:
kboom-laptop ~ # dmesg | grep radeon
[drm] radeon defaulting to kernel modesetting.
[drm] radeon kernel modesetting enabled.
radeon 0000:01:00.0: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used)
radeon 0000:01:00.0: GTT: 512M 0x0000000020000000 - 0x000000003FFFFFFF
[drm] radeon: 512M of VRAM memory ready
[drm] radeon: 512M of GTT memory ready.
radeon 0000:01:00.0: irq 45 for MSI/MSI-X
radeon 0000:01:00.0: radeon: using MSI.
[drm] radeon: irq initialized.
[drm] radeon: ib pool ready.
radeon 0000:01:00.0: WB enabled
[drm] radeon: power management initialized
fbcon: radeondrmfb (fb0) is primary device
fb0: radeondrmfb frame buffer device
[drm] Initialized radeon 2.16.0 20080528 for 0000:01:00.0 on minor 0


But X -configure still throws error:
Code:
List of video drivers:
        radeon
        ati
        intel
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) [KMS] No DRICreatePCIBusID symbol, no kernel modesetting.
(II) GPU only supported with KMS, using vesa instead.

Backtrace:
0: X (xorg_backtrace+0x36) [0x56d536]
1: X (0x400000+0x1712c9) [0x5712c9]
2: /lib64/libpthread.so.0 (0x7f7f442e2000+0x10460) [0x7f7f442f2460]

Segmentation fault at address (nil)

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting


I don't know where do ati come from as i unmerged it and did revdep.
When compiling kernel:
Code:
WARNING: /lib/modules/3.4.9-gentoo/video/fglrx.ko needs unknown symbol agp_enable
WARNING: /lib/modules/3.4.9-gentoo/video/fglrx.ko needs unknown symbol agp_backend_acquire
WARNING: /lib/modules/3.4.9-gentoo/video/fglrx.ko needs unknown symbol agp_backend_release
WARNING: /lib/modules/3.4.9-gentoo/video/fglrx.ko needs unknown symbol agp_copy_info
WARNING: /lib/modules/3.4.9-gentoo/video/fglrx.ko needs unknown symbol agp_unbind_memory
WARNING: /lib/modules/3.4.9-gentoo/video/fglrx.ko needs unknown symbol agp_free_memory
WARNING: /lib/modules/3.4.9-gentoo/video/fglrx.ko needs unknown symbol agp_bind_memory
WARNING: /lib/modules/3.4.9-gentoo/video/fglrx.ko needs unknown symbol agp_allocate_memory


Where did it come from?

I know what this is saying but I don't know why as my kernel config seems pretty ok...
http://bpaste.net/show/51609/


What's happening? Help me out please.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Tue Oct 16, 2012 7:21 pm    Post subject: Reply with quote

X -configure does not work with kms (maybe not at all)

the open source drivers do fine with no /etc/X11/xorg.conf

/etc/X11/xorg.conf.d is available for adding extras

kernel configuration needs work. Should have no selections under Frame buffer hardware drivers see references below for others:

http://en.gentoo-wiki.com/wiki/Vga_switcheroo

https://forums.gentoo.org/viewtopic-t-833166-start-0.html

http://www.gentoo.org/doc/en/xorg-config.xml
_________________
Defund the FCC.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Tue Oct 16, 2012 9:37 pm    Post subject: Reply with quote

Kernel modules will not be uninstalled on upgrade and sometimes not on removal of packages.
Code:
# find /lib/modules -name fglrx.ko
Also be sure to switch eselect opengl back to xorg-x11 after uninstalling ati-drivers.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Wed Oct 17, 2012 4:23 am    Post subject: Reply with quote

kbzium,

Also if you have fglrx set in VIDEO_CARDS= remove that too :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Mon Oct 22, 2012 8:14 am    Post subject: Reply with quote

Moved from Installing Gentoo to Desktop Environments.
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