Gentoo Archives: gentoo-user

From: Doug Hunley <doug.hunley@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] kwin opengl compositing w/ nouveau?
Date: Wed, 18 Apr 2012 01:28:02
Message-Id: CALxYTP4GoafYTJM9aVZpuYdRFzRCWppfAm6dCuqhwkwVLJtmmA@mail.gmail.com
1 Me again ;)
2
3 I just ran 'startx' on my machine for the first time in a dog's age
4 and had to switch the rendering engine to XRender from OpenGL to get a
5 usable desktop (couldn't see the desktop. was a bunch of black
6 squares). I'm not sure what changed, and the online wiki/forum pages
7 I just spent two hours reading were stale and of little help. Anyone
8 see anything stupid herein:
9 -- make.conf --
10 VIDEO_CARDS="nouveau"
11
12 -- eselect --
13 # for i in mesa opengl qtgraphicssystem
14 > do
15 > eselect $i list
16 > done
17 i915 (Intel 915, 945)
18 i965 (Intel 965, G/Q3x, G/Q4x)
19 r300 (Radeon R300-R500)
20 r600 (Radeon R600-R700, Evergreen, Northern Islands)
21 sw (Software renderer)
22 [1] classic
23 [2] gallium *
24 Available OpenGL implementations:
25 [1] xorg-x11 *
26 Available Qt Graphics Systems:
27 [1] native
28 [2] opengl (experimental)
29 [3] raster (default) *
30
31 -- eix --
32 kde-meta - 4.8.2(4){tbz2}(02:36:00 PM 04/05/2012)(nls semantic-desktop
33 -accessibility -aqua -sdk)
34 kwin - 4.8.2(4){tbz2}(05:36:26 AM 04/05/2012)(opengl -aqua -debug
35 -gles -xinerama)
36
37 qt-opengl - 4.8.1(4){tbz2}(04:54:00 AM 03/30/2012)(exceptions
38 qt3support -aqua -c++0x -debug -egl -pch -qpa)
39 qt-gui - 4.8.1-r1(4){tbz2}(03:43:46 AM 04/05/2012)(accessibility dbus
40 exceptions gif glib mng qt3support tiff xv -aqua -c++0x -cups -debug
41 -egl -gtkstyle -nas -nis -pch -qpa -trace -xinerama)
42
43 mesa - 8.0.2{tbz2}(04:52:19 AM 03/30/2012)(classic egl gallium llvm
44 nptl shared-glapi video_cards_nouveau -bindist -d3d -debug -g3dvl -gbm
45 -gles1 -gles2 -kernel_FreeBSD -openvg -osmesa -pax_kernel -pic
46 -selinux -shared-dricore -vdpau -video_cards_i915 -video_cards_i965
47 -video_cards_intel -video_cards_r100 -video_cards_r200
48 -video_cards_r300 -video_cards_r600 -video_cards_radeon
49 -video_cards_vmware -wayland -xa -xvmc)
50
51 xf86-video-nouveau - 0.0.16_pre20120322{tbz2}(03:30:39 AM 03/23/2012)
52 xorg-server - 1.12.0-r1{tbz2}(03:32:48 AM 03/21/2012)(ipv6 nptl udev
53 xorg -dmx -doc -kdrive -minimal -selinux -static-libs -tslib -xnest
54 -xvfb)
55
56 ~ # uname -r
57 3.3.2-gentoo
58
59 ~ # egrep -i 'nouveau|drm' /boot/config-3.3.2-gentoo
60 CONFIG_DRM=y
61 CONFIG_DRM_KMS_HELPER=y
62 CONFIG_DRM_TTM=y
63 # CONFIG_DRM_TDFX is not set
64 # CONFIG_DRM_R128 is not set
65 # CONFIG_DRM_RADEON is not set
66 # CONFIG_DRM_MGA is not set
67 # CONFIG_DRM_VIA is not set
68 # CONFIG_DRM_SAVAGE is not set
69 # CONFIG_DRM_VMWGFX is not set
70 # CONFIG_DRM_GMA500 is not set
71 CONFIG_DRM_NOUVEAU=y
72 # CONFIG_DRM_NOUVEAU_BACKLIGHT is not set
73 # CONFIG_DRM_NOUVEAU_DEBUG is not set
74 # CONFIG_DRM_I2C_CH7006 is not set
75 # CONFIG_DRM_I2C_SIL164 is not set
76
77 ~ # lspci -v|grep -i nvid
78 01:00.0 VGA compatible controller: NVIDIA Corporation G92 [GeForce
79 9800 GT] (rev a2) (prog-if 00 [VGA controller])
80
81 At this point, I don't care if it's OpenGL or OpenGL ES (kwin_gles)
82 that we get working.. I just want to use something 'better' than
83 XRender again (it lags badly for me)
84
85 Thanks!
86
87 --
88 Douglas J Hunley (doug.hunley@×××××.com)
89 Twitter: @hunleyd                                               Web:
90 douglasjhunley.com
91 G+: http://goo.gl/sajR3

Replies

Subject Author
Re: [gentoo-user] kwin opengl compositing w/ nouveau? Joshua Murphy <poisonbl@×××××.com>