PDA

View Full Version : [SOLVED] Window Decoration and other issues


Bigun
May 2nd, 2007, 05:50 PM
I've installed Xfce4 to run alongside of beryl. But for whatever reason a couple of things happen when I start beryl. And I am sure it is something simple.

1) The window decoration disappears completely. No maximize, close, resize, etc. buttons.

2) All the command terminals turn white.

What am I doing wrong?

adamk
May 2nd, 2007, 05:57 PM
What video card?

Bigun
May 2nd, 2007, 06:03 PM
[code:fbeb2]01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 420 Go 32M] (rev a3)[/code:fbeb2]

[code:fbeb2]64lappy bigun # emerge --info
Portage 2.1.2.5 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r1, 2.6.19-suspend2-r3 x86_64)
================================================== ===============
System uname: 2.6.19-suspend2-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.10
Timestamp of tree: Fri, 27 Apr 2007 18:00:10 +0000
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.31-r7
dev-lang/python: 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r7
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.23b
virtual/os-headers: 2.6.20-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit 7zip X a52 aac acpi aim alsa amd64 apm arj audiofile berkdb bitmap-fonts bzip2 cdr cdrom cdsound cli cracklib crypt cups divx dri dvd dvdr dvdread encode fat ffmpeg firefox fortran fping freetype gaim gdbm gif gimpprint glitz gpm gtk gtk2 gzip http iconv icq ieee1394 ipod isdnlog jabber java javascript joystick jpeg lame lha libg++ lm_sensors mad midi mjpeg mozbranding mp2 mp3 mp4 mpeg mplayer msn ncurses nforce2 nls nptl nptlonly ntfs nvidia offensive ogg opengl oscar oss pam pcre pdf perl pmu png ppds pppd python qt3 quicktime rar readline reflection reiserfs samba session sftp spell spl ssl subtitles syslog szip tcpd thunderbird tiff truetype truetype-fonts type1-fonts unicode unzip usb vcd videos vorbis wifi wma x264 xine xml xorg xscreensaver xv xvid yahoo zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
[/code:fbeb2]

adamk
May 2nd, 2007, 06:08 PM
Run this command:

$ sudo nvidia-xconfig --add-argb-glx-visuals -d 24

Then control+alt+backspace to restart X.

Adam

Bigun
May 2nd, 2007, 06:18 PM
[code:9af52]64lappy bigun # nvidia-xconfig --add-argb-glx-visuals -d 24
bash: nvidia-xconfig: command not found[/code:9af52]

adamk
May 2nd, 2007, 06:26 PM
Do you actually have the nvidia drivers installed? I don't know exactly when they started including the nvidia-xconfig utility, but it's been part of at least the last few driver releases.

Adam

Bigun
May 2nd, 2007, 06:31 PM
[code:8126a]64lappy bigun # emerge -p nvidia-drivers

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

Calculating dependencies... done!
[ebuild R ] x11-drivers/nvidia-drivers-1.0.9631-r1 [/code:8126a]

Anything newer and my card complains.

Bigun
May 2nd, 2007, 06:33 PM
Well, been a while... maybe the worked out those bugs

*trying to install newer drivers - brb*

adamk
May 2nd, 2007, 06:35 PM
9631 is the latest that supports your card, I believe.

Are there any other nvidia packages in portage? Something that might include the control panel and utilities?

In any case, if the problem is what I think it is, you can solve it by making sure you're running with a Default color depth of 24 and add the following line to the Device or Screen section of your xorg.conf file:

Option "AddARGBGLXVisuals" "true"

Adam

Bigun
May 2nd, 2007, 09:16 PM
Your right about the drivers, I just went back and checked.

Back to the task at hand. I still have no borders around my windows. Tried the xorg.conf argument and still nothing. The defaultdepth was already at 24.

Beryl is actually running, the windows just have no borders for use to resize, minimize, maximize, and close the window.

Bigun
May 2nd, 2007, 09:18 PM
Are there any other nvidia packages in portage? Something that might include the control panel and utilities?


I forgot to answer this. There is a utility called nvidia-settings. Brings up a GUI to modify settings for my card.

adamk
May 2nd, 2007, 09:19 PM
Can you post your /var/log/Xorg.0.log file here?

Adam

Bigun
May 2nd, 2007, 09:24 PM
http://rafb.net/p/kKVndb97.html

adamk
May 2nd, 2007, 09:33 PM
Well that all looks normal. Are you sure you even have one of the window decorators (emerald, aqumarine, heliodor, gtk-window-decorator) running?

Adam

Bigun
May 2nd, 2007, 09:39 PM
Well that all looks normal. Are you sure you even have one of the window decorators (emerald, aqumarine, heliodor, gtk-window-decorator) running?

Adam


That's probably in all likelihood the problem, do I need to install some decorators? And then how do I use them? Through beryl-settings?

adamk
May 2nd, 2007, 09:43 PM
Those four are probably different packages installable via emerge.

Adam

Bigun
May 2nd, 2007, 09:50 PM
I went to packages.gentoo.org and found that emerald and emerald-themes were not installed.

I'll fiddle around.

Bigun
May 2nd, 2007, 09:54 PM
Got it...

It's official, Beryl pwns...

pkslot
May 3rd, 2007, 09:37 PM
I managed to find a solution, that actually works fo me.

Section "Device"
Identifier "nVidia Corporation NV11 [GeForce2 MX/MX 400]"
Driver "nvidia"
Option "AddARGBGLXVisuals" "True"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NV11 [GeForce2 MX/MX 400]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

This is the important part of my xorg.conf file. As you can see, i've made my changes bold. First the Option "AddARGBGLXVisuals" "True" and after that, i changed (in decending order) from depth 15 to 24 and again from depth 16 to 24.

This made my decorations appear.

I hope this helps some one.