Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Annoyances with X and NVIDIA drivers after install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mhodak
Veteran
Veteran


Joined: 15 Nov 2003
Posts: 1208

PostPosted: Tue Jan 08, 2013 9:08 am    Post subject: Annoyances with X and NVIDIA drivers after install Reply with quote

I have installed Gentoo on my new computer and while (almost) everything works fine there are several minor issues that are bugging me:

1. Using gdm as a login manager, I am having issues when logging out (from both XFCE and Gnome). What happens is that the screen goes blank, not completely black, backlight stays on. One way to fix it is to switch to any text console and back and then I can see gdm login screen fine. It actually appears that while the screen is blank gdm is functioning, since if I blindly type something, I can see it when I get gdm back. Also, if I let the blank screen alone, the monitor will eventually turn off (after about 10 minutes) and at that point when screen comes back on everything s fine.

2. I use nvidia-settings to set my brighthness lower that what is otherwise possible with just monitor controls. Everytime I start XFCE, "nvidia-settings -l" is run, which sets the brightness. The problem with this is that anytime screensaver kicks in, the settings are lost. When I search for this problem, I found some old posts (~2008) saying that the problem is screen fading, when xscreensaver changes gamma settings, but apparently these issues have been fixed by now. However, disabling fading in xscreensaver works for me, but I do not think why should I have been hit with an old bug. Also, search in Gentoo forums returns nothing and I am running fairly common stable setup, so I think it would have been reported here.

3. Last issue is also nvidia drivers - related. Whenever I use nvidia-settings to change anything, the file it writes, .nvidia-settings-rc is wrong, since it records my display as $HOSTNAME:0 (instead of just 0). Loading this file leads to a predictable error: " Cannot open display 'miro2:0'.". (miro2 is my hostname). Deleting "miro2" from the file solves everything. Again, I have no clue why this would be happening or why aren't more people seeing this. Google search found that this hit people as early is 2005, so I think it would be fixed by now.

Since I am using all stable packages and have a rather common setup, I believe that I perhaps misconfigured something that is responsible for these issues, but I am at loss what it could be. Any suggestions?
Back to top
View user's profile Send private message
drhouse123
n00b
n00b


Joined: 13 Aug 2012
Posts: 23

PostPosted: Wed Jan 09, 2013 11:31 am    Post subject: Reply with quote

Please post your emerge --info.
Did you install system corresponding with Gentoo Handbook ?
Because I have not any that issue, also related to hostname.
Back to top
View user's profile Send private message
mhodak
Veteran
Veteran


Joined: 15 Nov 2003
Posts: 1208

PostPosted: Wed Jan 09, 2013 6:30 pm    Post subject: Reply with quote

So, your .nvidia-settings-rc file is valid and can be loaded with "nvidia-setting -l -V" without error? Can you look at the lines at the bottom specifying brightness, contrast and gamma? Do they start with ":0" (or ":1" for dual monitor setup)? This may be a small issue but it may uncover a deeper problem.

Yes, I did follow the handbook, but it is fairly long process, so I could have missed something ...

Here is emerge --info

Code:
emerge --info
Portage 2.1.11.31 (default/linux/amd64/10.0/desktop, gcc-4.5.4, glibc-2.15-r3, 3.6.11-gentoo x86_64)
=================================================================
System uname: Linux-3.6.11-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.1
Timestamp of tree: Wed, 09 Jan 2013 13:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://mirror.mcs.anl.gov/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo http://gentoo.osuosl.org/ http://mirrors.rit.edu/gentoo/ http://mirror.iawnet.sandia.gov/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cli consolekit cracklib crypt cups cxx dbus divx4linux dri dts dvd dvdr dvi emboss encode exif extras fam ffmpeg fftw firefox flac fortran gcj gdbm gif gimp gimpprint gnome gpm grammar gstreamer gtk hddtemp iconv ipv6 jpeg lcms libnotify lm_sensors lua lzo lzw-tiff mad math matroska mikmod mmx mng mod modplug modules mp3 mp4 mpeg mudflap multilib ncurses network nls nptl nvidia ogg opengl openmp pam pango pcre pdf png policykit ppds pppd python qt3support readline screen sdl session skins sound spell sse sse2 ssl startup-notification stream svg tcl tcltk tcpd tiff tk truetype udev udisks unicode upower usb v4l v4l2 vorbis wxwidgets x264 xcb xfce xml xv xvid 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US sk" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
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