[gentoo-user] Nvidia optimus no signal on external monitor

2013-08-26 Thread du yang

Hi,

I've managed to get optimus works on my PC with nvidia property
driver. But I got into an issue when trying to extend my screen to an
external monitor by using Xrandr.
There is no signal in the external monitor but the screen do extended,
as mouse and window can be moved outside the visiable screen.

There are 2 output connected, LVDS-0  VGA-0.
The xrandr command used:
# xrandr --output VGA-0 --pos 1366x0 --auto
And also tried (doesn't work),
# xrandr --output VGA-0 --auto --left-of LVDS-0

This one works but both monitors showing with the screen,
# xrandr --output VGA-0 --auto --same-as LVDS-0

Any suggestion please?
Thanks,

PS. And also attach my /etc/X11/xorg.conf here,
Section Module
Load   glx
EndSection

Section Monitor
Identifier ASUS
VendorName Unknown
VertRefresh 43.0 - 72.0
Option DPMS
EndSection

Section Device
Identifier NVIDIA
Driver nvidia
BusID  PCI:1:0:0
EndSection

Section Screen
Identifier DFP0
Device NVIDIA
MonitorASUS
#Option IgnoreEDIDChecksum DFP
Option UseDisplayDevice none
EndSection

Section Device
Identifier INTEL
Driver modesetting
EndSection

Section Screen
Identifier INTEL
Device INTEL
EndSection


-- 
oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/


signature.asc
Description: Digital signature


Re: [gentoo-user] Nvidia optimus no signal on external monitor

2013-08-26 Thread du yang
On Tuesday 08/27/13 02:48:38 CST, James Ausmus wrote:
 Since you're using the proprietary driver, have you tried using the
 nvidia-settings configuration program to set up the second monitor?
 
Tried, tt can't detect out the external monitor.

-- 
oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/


signature.asc
Description: Digital signature


[gentoo-user] Does UEFI needs seperate /boot partition?

2012-06-08 Thread du yang
Hi,

As UEFI needs a FAT partition /boot/efi/efi, 
can I create it from my previous /boot partition?

It seems the UEFI partition needs a primary one, and my disk has no
remaining primary partition available. I want to change my /boot one to
/boot/efi/efi. But not sure whether it is possible.

Many thanks!

-- 
oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/


signature.asc
Description: Digital signature


Re: [gentoo-user] Re: Screen blank on Nvidia GT 610M graphic card

2012-05-24 Thread du yang
On Thu, May 24, 2012 at 9:18 AM, Salvatore Borgia salvo2...@gmail.comwrote:

 this http://en.gentoo-wiki.com/wiki/X.Org/nVidia_Optimus is the old way
 to do the trick, instead this http://bumblebee-project.org/ is an
 interesting recent project but I haven't tried it yet.


Thanks  Salvatore, and thanks everyone.

Finally I got it solved by follow Salvatore's suggestion. I am using the
bumblebee project.

there are still some other minor problems solved before success running
bumblebee.

The vgl init script doesn't work on xdm. the xauth section should have a
update. the start function of /etc/init.d/vgl was updated. paste here for
anyone may need it.

start() {
ebegin Starting VirtualGL
truncate --size=0 /etc/VirtualGL/vgl_xauth_key

# Check if XAUTHORITY was set successfully, if not wait a bit and let X
to start
[ -z $XAUTHORITY ]  sleep 3  set_xauth
[ -e $XAUTHORITY ] || sleep 3
for i in `xauth -f $XAUTHORITY list | awk '{print $3}'`; do
xauth -f /etc/VirtualGL/vgl_xauth_key add $DISPLAY . $i  \
chmod 644 /etc/VirtualGL/vgl_xauth_key
done
eend $?
}


and i915(and its modsetting ) is required for my intel onboard card, but we
have to disable all framebuffer driver options before going that.

else the screen will get blank during boot stage.

-- 
Dreaming my dream!


Re: [gentoo-user] Re: Screen blank on Nvidia GT 610M graphic card

2012-05-24 Thread du yang
Thanks for your information. The problem has been solved. It is caused by
the nvidia Optimus feature.
 在 2012-5-24 下午12:46,Seong-ho Cho darkcircle.0...@gmail.com写道:

 first of all sorry for my poor english :-$

 you may check your hardware PCI ID by lspci -ns 01:00.0.
 make sure that like below manual (Link. you can find easily nvidia
 download site)
 whether your hardware is supported or not.


 http://us.download.nvidia.com/XFree86/Linux-x86_64/295.53/README/supportedchips.html

 if there is no same pci id, your hardware is not supported yet.

 I've met some same problem due to purchase gtx 560 SE.
 so I changed to gtx 560 Ti and same problem is resolved.

 2012/5/24 du yang duyang@gmail.com:
  Thanks the update, but still get the same problem.
 
  在 2012-5-24 上午9:45,Nikos Chantziaras rea...@gmail.com写道:
 
  On 24/05/12 03:51, du yang wrote:
 
 Section Device
 Identifier NVidia GeForce GTX 560 Ti
 
 
  Oops, I forgot to change the ID there.  Try setting it to NVidia GT
  610M, like the Screen section.
 
 
 




[gentoo-user] Screen blank on Nvidia GT 610M graphic card

2012-05-23 Thread du yang
Hi,

I recently bought a new notebook ASUS U31SG which has a nvidia GT 610M
graphic card,

I always get blank screen (X is running) no matter how i tune the
xorg.conf,

if there is no xorg.conf, X will be running smoothly with WM, though the
monitor resolution is a bit lower.

Anyone meet the same problem or know how to fix it?

Many thanks in advance.

Driver version:
nvidia-drivers-295.53

Here is my current /etc/X11/xorg.conf,


Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
ModulePath  /usr/lib64/xorg/modules
FontPath/usr/share/fonts/misc/
FontPath/usr/share/fonts/TTF/
FontPath/usr/share/fonts/OTF/
FontPath/usr/share/fonts/Type1/
FontPath/usr/share/fonts/100dpi/
FontPath/usr/share/fonts/75dpi/
FontPath/usr/share/fonts/truetype/
EndSection

Section Module
#Load   ddc
#Load   dbe
#Load   vbe
#Load   bitmap
#Load   type1
#Load   freetype
Load   glx
#Load   extmod
#Load   record
Disable dri
Disable dri2
EndSection

Section ServerFlags
Option AllowEmptyInput false
Option AllowMouseOpenFail true
Option Xinerama 0
EndSection

Section InputDevice
Identifier Keyboard0
Driver evdev
Option CoreKeyboard
Option XkbRules xorg
Option XkbModel endev
Option XkbOptions
grp:toggle,grp_led:scroll,terminate:ctrl_alt_bksp
Option XkbVariant ,winkeys
Option XkbLayOut us
EndSection

Section InputDevice
Identifier Mouse0
Driver evdev
Option Protocol auto
Option Device /dev/input/mice
Option ZAxisMapping 4 5 6 7
EndSection

Section Monitor
Identifier Monitor0
VendorName Monitor Vendor
ModelName  Monitor Model
Option DPMS
#HorizSync  30-50
#VertRefresh50-100
# 1368x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 85.86 MHz
#Modeline 1368x768_60.00  85.86  1368 1440 1584 1800  768 769 772
795  -HSync +Vsync
Option ConnectedMonitor DFP-0
Option CustomEDID DFP-0:/etc/X11/edid.bin
EndSection

Section Device
Identifier Card0
Driver nvidia
Option UseDisplayDevice DFP-0
Option HWCursor false
BusID  PCI:1:0:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth32
#Option TwinView 0
#Option TwinViewXinramaInfoOrder DFP-0
#Option metamodes nvidia-auto-select +0+0
SubSection Display
#Viewport0 0
Depth   32
Modes  1366x768_60
EndSubSection
EndSection



my Xorg.0.log, there is no errors..
---
[   543.167]
X.Org X Server 1.12.1
Release Date: 2012-04-13
[   543.169] X Protocol Version 11, Revision 0
[   543.169] Build Operating System: Linux 3.3.5-gentoo x86_64 Gentoo
[   543.169] Current Operating System: Linux omega 3.3.5-gentoo #23 SMP Mon
May 21 01:01:18 CST 2012 x86_64
[   543.170] Kernel command line: root=/dev/sda3 rootfstype=ext4
video=uvesafb:mtrr:3,ywrap,1024x768-32@60 console=tty1 quiet
[   543.170] Build Date: 19 May 2012  10:17:30AM
[   543.171]
[   543.171] Current version of pixman: 0.24.4
[   543.172] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[   543.173] Markers: (--) probed, (**) from config file, (==) default
setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   543.175] (==) Log file: /var/log/Xorg.0.log, Time: Wed May 23
00:35:59 2012
[   543.175] (==) Using config file: /etc/X11/xorg.conf
[   543.176] (==) Using system config directory /usr/share/X11/xorg.conf.d
[   543.177] (==) ServerLayout X.org Configured
[   543.177] (**) |--Screen Screen0 (0)
[   543.177] (**) |   |--Monitor Monitor0
[   543.177] (**) |   |--Device Card0
[   543.177] (**) |--Input Device Mouse0
[   543.177] (**) |--Input Device Keyboard0
[   543.177] (==) Automatically adding devices
[   543.177] (==) Automatically enabling devices
[   543.177] (**) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/,
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[   

[gentoo-user] Re: Screen blank on Nvidia GT 610M graphic card

2012-05-23 Thread du yang
more information,

I have configure the kernel follow this guide,
http://www.gentoo.org/doc/en/nvidia-guide.xml


On Wed, May 23, 2012 at 11:59 PM, du yang duyang@gmail.com wrote:

 Hi,

 I recently bought a new notebook ASUS U31SG which has a nvidia GT 610M
 graphic card,

 I always get blank screen (X is running) no matter how i tune the
 xorg.conf,

 if there is no xorg.conf, X will be running smoothly with WM, though the
 monitor resolution is a bit lower.

 Anyone meet the same problem or know how to fix it?

 Many thanks in advance.

 Driver version:
 nvidia-drivers-295.53

 Here is my current /etc/X11/xorg.conf,

 

 Section ServerLayout
 Identifier X.org Configured
 Screen  0  Screen0 0 0
 InputDeviceMouse0 CorePointer
 InputDeviceKeyboard0 CoreKeyboard
 EndSection

 Section Files
 ModulePath  /usr/lib64/xorg/modules
 FontPath/usr/share/fonts/misc/
 FontPath/usr/share/fonts/TTF/
 FontPath/usr/share/fonts/OTF/
 FontPath/usr/share/fonts/Type1/
 FontPath/usr/share/fonts/100dpi/
 FontPath/usr/share/fonts/75dpi/
 FontPath/usr/share/fonts/truetype/
 EndSection

 Section Module
 #Load   ddc
 #Load   dbe
 #Load   vbe
 #Load   bitmap
 #Load   type1
 #Load   freetype
 Load   glx
 #Load   extmod
 #Load   record
 Disable dri
 Disable dri2
 EndSection

 Section ServerFlags
 Option AllowEmptyInput false
 Option AllowMouseOpenFail true
 Option Xinerama 0
 EndSection

 Section InputDevice
 Identifier Keyboard0
 Driver evdev
 Option CoreKeyboard
 Option XkbRules xorg
 Option XkbModel endev
 Option XkbOptions
 grp:toggle,grp_led:scroll,terminate:ctrl_alt_bksp
 Option XkbVariant ,winkeys
 Option XkbLayOut us
 EndSection

 Section InputDevice
 Identifier Mouse0
 Driver evdev
 Option Protocol auto
 Option Device /dev/input/mice
 Option ZAxisMapping 4 5 6 7
 EndSection

 Section Monitor
 Identifier Monitor0
 VendorName Monitor Vendor
 ModelName  Monitor Model
 Option DPMS
 #HorizSync  30-50
 #VertRefresh50-100
 # 1368x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 85.86 MHz
 #Modeline 1368x768_60.00  85.86  1368 1440 1584 1800  768 769 772
 795  -HSync +Vsync
 Option ConnectedMonitor DFP-0
 Option CustomEDID DFP-0:/etc/X11/edid.bin
 EndSection

 Section Device
 Identifier Card0
 Driver nvidia
 Option UseDisplayDevice DFP-0
 Option HWCursor false
 BusID  PCI:1:0:0
 EndSection

 Section Screen
 Identifier Screen0
 Device Card0
 MonitorMonitor0
 DefaultDepth32
 #Option TwinView 0
 #Option TwinViewXinramaInfoOrder DFP-0
 #Option metamodes nvidia-auto-select +0+0
 SubSection Display
 #Viewport0 0
 Depth   32
 Modes  1366x768_60
 EndSubSection
 EndSection



 my Xorg.0.log, there is no errors..

 ---
 [   543.167]
 X.Org X Server 1.12.1
 Release Date: 2012-04-13
 [   543.169] X Protocol Version 11, Revision 0
 [   543.169] Build Operating System: Linux 3.3.5-gentoo x86_64 Gentoo
 [   543.169] Current Operating System: Linux omega 3.3.5-gentoo #23 SMP
 Mon May 21 01:01:18 CST 2012 x86_64
 [   543.170] Kernel command line: root=/dev/sda3 rootfstype=ext4
 video=uvesafb:mtrr:3,ywrap,1024x768-32@60 console=tty1 quiet
 [   543.170] Build Date: 19 May 2012  10:17:30AM
 [   543.171]
 [   543.171] Current version of pixman: 0.24.4
 [   543.172] Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
 [   543.173] Markers: (--) probed, (**) from config file, (==) default
 setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 [   543.175] (==) Log file: /var/log/Xorg.0.log, Time: Wed May 23
 00:35:59 2012
 [   543.175] (==) Using config file: /etc/X11/xorg.conf
 [   543.176] (==) Using system config directory
 /usr/share/X11/xorg.conf.d
 [   543.177] (==) ServerLayout X.org Configured
 [   543.177] (**) |--Screen Screen0 (0)
 [   543.177] (**) |   |--Monitor Monitor0
 [   543.177] (**) |   |--Device Card0
 [   543.177] (**) |--Input Device Mouse0
 [   543.177] (**) |--Input Device Keyboard0
 [   543.177] (==) Automatically adding devices
 [   543.177] (==) Automatically enabling devices
 [   543.177] (**) FontPath set to:
 /usr/share/fonts

Re: [gentoo-user] Re: Screen blank on Nvidia GT 610M graphic card

2012-05-23 Thread du yang
On Thu, May 24, 2012 at 2:37 AM, Nikos Chantziaras rea...@gmail.com wrote:

 On 23/05/12 18:59, du yang wrote:

 Hi,

 I recently bought a new notebook ASUS U31SG which has a nvidia GT 610M
 graphic card,

 I always get blank screen (X is running) no matter how i tune the
 xorg.conf,


 Delete your xorg.conf file.  Then, create /etc/X11/xorg.conf.d/nvidia.**conf
 with these contents:


 Section Device
Identifier NVidia GeForce GTX 560 Ti
Driver  nvidia

 EndSection

 Section Screen
Identifier Screen0
Device NVidia GT 610M
DefaultDepth24
Option metamodes 1920x1080 +0+0
SubSection Display
Depth  24
EndSubSection
 EndSection


 (Replace 1920x1080 with the resolution you want.)

 Also make sure to start nvidia-settings --load-config-only when starting
 X.  Unfortunately, Gentoo does not do this automatically (like Ubuntu and
 other distros), so you need to do it manually by putting this in
 /etc/X11/xinit/xinitrc.d/95-**nvidia-settings


 #!/bin/sh
 [ -x /opt/bin/nvidia-settings ] 
/opt/bin/nvidia-settings --load-config-only  /dev/null 21


 and make it executable:

 $ chmod +x /etc/X11/xinit/xinitrc.d/95-**nvidia-settings




Thanks your help.

but I got error screen not found when I try to use it. is there
configuration missing?

[115146.137] (II) LoadModule: nvidia
[115146.137] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[115146.138] (II) Module nvidia: vendor=NVIDIA Corporation
[115146.138] compiled for 4.0.2, module version = 1.0.0
[115146.138] Module class: X.Org Video Driver
[115146.138] (II) NVIDIA dlloader X Driver  295.53  Fri May 11 23:29:56 PDT
2012
[115146.138] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[115146.138] (--) using VT number 7

[115146.140] (EE) No devices detected.
[115146.140]
Fatal server error:
[115146.140] no screens found
[115146.140]



-- 
Dreaming my dream!


Re: [gentoo-user] Re: Screen blank on Nvidia GT 610M graphic card

2012-05-23 Thread du yang
On Thu, May 24, 2012 at 12:38 AM, Salvatore Borgia salvo2...@gmail.comwrote:

 Hi, have the video card the optimus technology? In this case the error
 that you get is correct, because the video card is not directly connected
 to the monitor, so you have to configure the intel video card too.



Yes, the card has optimus technology, could you give a detail action what I
should do?

I tried to compile driver the intel video card (i915), but that let my
screen blank during boot phase(after udev started). my screen gone back
after turned off the driver (i915).



-- 
Dreaming my dream!


Re: [gentoo-user] Re: Screen blank on Nvidia GT 610M graphic card

2012-05-23 Thread du yang
Thanks the update, but still get the same problem.
 在 2012-5-24 上午9:45,Nikos Chantziaras rea...@gmail.com写道:

 On 24/05/12 03:51, du yang wrote:

Section Device
Identifier NVidia GeForce GTX 560 Ti


 Oops, I forgot to change the ID there.  Try setting it to NVidia GT
 610M, like the Screen section.





Re: [gentoo-user] InitRAMFS - boot expert sought

2012-03-27 Thread du yang
On Tuesday 03/27/12 21:19:00 CST, Mike Edenfield wrote:
 On 3/27/2012 6:36 AM, Helmut Jarausch wrote:
  Hi,
 
  I've been looking for simple method to create a simple
  initramfs to just mount the /usr partition.
 
  I've found
  http://wiki.gentoo.org/wiki/Basic_initramfs_used_to_check_and_mount_/usr
 
 If this is all you need, I recommend you use dracut. The 
 default installation (no use-flags or optional modules) will 
 product an initramfs that loads whatever you current rootfs 
 and /usr partitions are.
 
 I've been working on updating the wiki with more detailed 
 instructions; for your case what's there now ought to be plenty:
 
 http://wiki.gentoo.org/wiki/Dracut
 

This guide looks a bit more simple.

It doesn't need any other tools except some basic commands.

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

-- 
oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/


signature.asc
Description: Digital signature


[gentoo-user] libnotify no longer work

2011-10-27 Thread du yang
It worked several days ago.

Currently the notification-daemon crashes immediately after a
notify-send.

Has anyone meet the same problem?

# the error message
** (notification-daemon:25247): DEBUG: Adding id 1

Gdk-CRITICAL **: gdk_visual_get_red_pixel_details: assertion `GDK_IS_VISUAL 
(visual)' failed
Trace/breakpoint trap

Best regards,
du yang
-- 
oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/


signature.asc
Description: Digital signature


[gentoo-user] Re: libnotify no longer work

2011-10-27 Thread du yang
On Thursday 10/27/11 16:39:06 CST, du yang wrote:
 It worked several days ago.
 
 Currently the notification-daemon crashes immediately after a
 notify-send.
 
 Has anyone meet the same problem?
 
 # the error message
 ** (notification-daemon:25247): DEBUG: Adding id 1
 
 Gdk-CRITICAL **: gdk_visual_get_red_pixel_details: assertion `GDK_IS_VISUAL 
 (visual)' failed
 Trace/breakpoint trap
 

After some search I get to know is a gtk+3 bug. It is fixed in debian's
bug list.
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=637067

-- 
oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/


signature.asc
Description: Digital signature


Re: [gentoo-user] Which desktop antivirus?

2011-10-23 Thread du yang
On Sunday 10/23/11 03:17:10 CST, Pandu Poluan wrote:
 I prefer Avast to AVG. It has versions for both Windows and Linux. Here's the
 link for the Linux version:
 
 http://www.avast.com/linux-home-edition#tab1
 

overlay gentoo-zh offer it.
  app-antivirus/avast4workstation


-- 
Best Regads
du yang

oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/


signature.asc
Description: Digital signature


Re: [gentoo-user] Re: How to install music player without graphic ?

2011-10-22 Thread du yang
On Sunday 10/23/11 13:31:13 CST, Lavender wrote:
 Well, these are X applications (and Amarok is a KDE application.) 
 Obviously they need X to work.  USE flags are there to configure 
 *optional* dependencies and behaviors.  For mplayer and Amarok, these 
 dependencies are not optional.
 
 As others mentioned, you should install a command line player.  There 
 are a few.  mpg123 is not really a media player though.  You might want 
 to look at this:
 
 http://tuxarena.blogspot.com/2009/04/
 several-powerful-console-music-players.html
 
 Wait ! I remember once when I used Federa , I also installed mplayer from
 source code .
 Mplayer afforded an option looked like --without-graphic , Then I could use
 mplayer under
 console and it didn't contact with graphical desktop.
  
 It seems that documentation about mplayer is needed . 
 
You can use mplayer -vo fbdev to play videos under console, but you 
should have framebuffer enabled in kernel and use flag fbcon enabled.

-- 
oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/


signature.asc
Description: Digital signature


Re: [gentoo-user] webalizer broke: libpng12.so.0: cannot open shared object file

2011-10-21 Thread du yang
On Friday 10/21/11 15:53:53 CST, Grant wrote:
 After updating world, webalizer fails like this:
 
 webalizer: error while loading shared libraries: libpng12.so.0: cannot
 open shared object file: No such file or directory
 
 revdep-rebuild wants to emerge webalizer but it fails with:
 
 configure: error: GeoIP library not found... please install GeoIP.
 
 geoip emerges fine.  Does anyone know how to fix this?
 
 - Grant
 

Install libpng-1.2, libpng 1.2 and 1.5 can co-exist.

-- 
oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/


signature.asc
Description: Digital signature


Re: [gentoo-user] webalizer broke: libpng12.so.0: cannot open shared object file

2011-10-21 Thread du yang
On Friday 10/21/11 16:52:38 CST, du yang wrote:
 On Friday 10/21/11 15:53:53 CST, Grant wrote:
  After updating world, webalizer fails like this:
  
  webalizer: error while loading shared libraries: libpng12.so.0: cannot
  open shared object file: No such file or directory
  
  revdep-rebuild wants to emerge webalizer but it fails with:
  
  configure: error: GeoIP library not found... please install GeoIP.
  
  geoip emerges fine.  Does anyone know how to fix this?
  
  - Grant
  
 
 Install libpng-1.2, libpng 1.2 and 1.5 can co-exist.
 

Normally it should be ok after you re-run revdep-rebuild.
If webalizer depends libpng with version 1.2, and revdep-rebuild doesn't
repair the dependency, then you have to install libpng 1.2 manually. And
it is a bug.

-- 
oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/


signature.asc
Description: Digital signature


Re: [gentoo-user] Why can't I set the resolution of console ?

2011-10-20 Thread du yang
On Thursday 10/20/11 14:05:20 CST, Lavender wrote:
 I edit the command line of grub at boot time .
 I passed some parametres to kernel like below:
  
 root=/dev/sda6 video=atyfb:1024x768@60m
  
 and I also tried another one:
  
 root=/dev/sda6 video=aty128fb:1024x768@60m
  
 Both of them didn't show any error messages and the system
 can start up, but the resolution still no changed.
  
 There is an issue happened in my buiding kernel : I hadn't found
 the driver for my video card. I'm not sure whether it has anything
 to do with this issue?
  
 BTW, my video card information is below:
  
 ATI Technologies Inc M92 LP  (ATI Radeon 4330 series)

you could try the parameter vga.
I am using vga=795 which is for resolution 1280x1024.

-- 
oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/



signature.asc
Description: Digital signature


Re: [gentoo-user] Subdirs with mutt

2011-10-19 Thread du yang
On Sunday 10/16/11 17:20:08 CST, Andrey Moshbear wrote:
 For mutt, I'm using a maildir.
 How do I get subdirs created by maildirmake -f subfolder ~/.mail to
 show up in mutt's sidebar 

Does it show up correctly in the folder index?
My subfolders created manually can show up without problem, 
But it only the subfolders' basename with one more space at the line beginning.

 and how do I switch between the top-level
 folder and subfolders without qLFmuttLF.. ?
 

For me, the sidebar hotkey configuration below works smoothly to 
switch between folders and subfolders.

bind index,pager \CP sidebar-prev
bind index,pager \CN sidebar-next
bind index,pager \CO sidebar-open

-du yang
--
oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/


signature.asc
Description: Digital signature


Re: [gentoo-user] Apologize to everyone for my nonprofessional

2011-10-17 Thread du yang
On Saturday 10/15/11 00:05:35 CST, Lavender wrote:
 It's my fault, there're no line-breaks because I wrote the letters
 exactly like what the screenshot shows . I will write just like
 this letter. No more questions , good evening and tomorrow is
 a nice day !
  

A little tip about your mail client.
It handles mail thread references incorrectly, and changes mail titles.

Maybe you could try a mail agent like gmail which does a good job for mailling 
lists.
-- 
oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/


signature.asc
Description: Digital signature


Re: [gentoo-user] Kernel modules not autoloading with 2.6.38-gentoo-r1

2011-04-11 Thread du yang
On Monday 04/11/11 12:57:34 CST, James Wall wrote:
 Hi all,
 Has anyone run into an issue where the kernel is not detecting devices? The
 issue does not show up in 2.6.37 on amd64 testing branch. I just got done
 re-emerging world to rule out any hidden surprises. Any ideas?
 TIA,
 James Wall
 

Could it be manually loaded? 
you could try using modprobe to manually load it to see if there is any error.

I have had my nvidia driver couldn't be loaded, finally I found it is kernel 
version no match.

-- 
oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/



Re: [gentoo-user] mplayer vs mplayer2

2011-03-30 Thread du yang
On Wednesday 03/30/11 17:14:00 CST, John Campbell wrote:
 On 03/30/2011 01:35 AM, cov...@ccs.covici.com wrote:
 
  I am not seeing mplayer2 in the tree -- unless it came in the last day
  or so -- and which config takes the threads=5 parameter?
 
 It's in the multimedia overlay.
 
 The threads=# (where # less than total threads available on processor) 
 parameter goes in the ~/.mplayer/config file.  I've only got 4 
 processors so I set it to threads=4.  You have an i7, so it should 
 handle more.
 

I just tried it also. 
Some 720p videos were very slow to play with mplayer on my machine prviously, 
but
now they are playing smoothly ;-)
So mplayer2 show have some performance improvement.

After switching to maplyer2, putting mplayer to package.provided seems to be 
able to avoid dependencies problem for smplayer and mplayer-plugin..


- du yang
-- 
oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/




Re: [gentoo-user] Error on gtk thmem: gtk-engines-flat

2011-03-09 Thread du yang
On Thursday 03/10/11 06:29:38 CST, walt wrote:
 On 03/08/2011 07:27 PM, du yang wrote:
   
  At last, the problem is still there. so I suspect it may be a problem for 
  gtk-engines-flat itself.
 
 
 I think the gtk-engines-flat package is broken (now that I've installed it).
 
 #ldd  /usr/lib/gtk-2.0/2.10.0/engines/libflat.so
  linux-gate.so.1 =  (0xb7759000)
  libc.so.6 = /lib/libc.so.6 (0xb75cf000)
  /lib/ld-linux.so.2 (0xb775a000)
 
 You can tell at a glance that none of those three libraries is going to define
 a 'gtk' symbol.  All of the other libs in that directory are linked to dozens
 of X and gtk-related libraries, and I think libflat.so should be linked in a
 similar way.
 
 
Yes, it is quite different from other libraries.
It is mostly a compilation linking problem?

-- 
oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/



Re: [gentoo-user] Re: Error on gtk thmem: gtk-engines-flat

2011-03-08 Thread du yang
On Wednesday 03/09/11 07:04:07 CST, walt wrote:
 On 03/07/2011 11:29 PM, du yang wrote:
  On Tuesday 03/08/11 11:31:42 CST, Adam Carter wrote:
 
   I got a gtk library error when trying to run a python script.
 
   # ./st.py
   /usr/bin/python2.7: symbol lookup error: 
  /usr/lib/gtk-2.0/2.10.0/engines/
   libflat.so: undefined symbol: gtk_rc_style_get_type
 
 
  Have you run revdep-rebuild and/or python-updater?
 
  Still no effect ;-(
  And I found opera has the same problem as well under the flat thmem, but no 
  problem under aurora thmem.
 
  # opera
  /usr/lib/opera/opera: symbol lookup error: 
  /usr/lib/gtk-2.0/2.10.0/engines/libflat.so: undefined symbol: 
  gtk_rc_style_get_type
 
 I don't have libflat.so, so I can't tell you which package installed it,
 but that package needs to be re-emerged.
 
 Try equery b libflat.so to find the broken package.
 
 
 
 

It just belongs to itself, and I checked its dependence graph, and tried to 
re-emerge all the related packages.

At last, the problem is still there. so I suspect it may be a problem for 
gtk-engines-flat itself.

Maybe I would try to fire a bug to gentoo, but now I have to change to use the 
Aurora theme to workaround the problem.

Thanks you for your hints anyway!


# equery b /usr/lib/gtk-2.0/2.10.0/engines/libflat.so
 * Searching for /usr/lib/gtk-2.0/2.10.0/engines/libflat.so ... 
x11-themes/gtk-engines-flat-2.0-r2 (/usr/lib/gtk-2.0/2.10.0/engines/libflat.so)
# equery d x11-themes/gtk-engines-flat
 * These packages depend on x11-themes/gtk-engines-flat:
# equery g x11-themes/gtk-engines-flat
 * Searching for gtk-engines-flat in x11-themes ...

 * dependency graph for x11-themes/gtk-engines-flat-2.0-r2
 `--  x11-themes/gtk-engines-flat-2.0-r2  x86 
  `--  x11-libs/gtk+-2.22.1-r1  (x11-libs/gtk+) x86 
  `--  dev-util/pkgconfig-0.25-r2  (dev-util/pkgconfig) x86 
[ x11-themes/gtk-engines-flat-2.0-r2 stats: packages (3), max depth (0) ]



-- 

oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/



[gentoo-user] Error on gtk thmem: gtk-engines-flat

2011-03-07 Thread du yang

Hi,

I got a gtk library error when trying to run a python script.

# ./st.py 
/usr/bin/python2.7: symbol lookup error: 
/usr/lib/gtk-2.0/2.10.0/engines/libflat.so: undefined symbol: 
gtk_rc_style_get_type

The problem appears only after I recenly changed the gtk thmem to 
gtk-engines-flat.
There is no problem if use another gtk thmem x11-themes/gtk-engines-aurora.

I tried to reinstall gtk-engines or gtk-engines-flat, but the problem is still 
there.

Thanks!
du yang

-- 
oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/



Re: [gentoo-user] Error on gtk thmem: gtk-engines-flat

2011-03-07 Thread du yang
On Tuesday 03/08/11 11:31:42 CST, Adam Carter wrote:
 
 I got a gtk library error when trying to run a python script.
 
 # ./st.py
 /usr/bin/python2.7: symbol lookup error: /usr/lib/gtk-2.0/2.10.0/engines/
 libflat.so: undefined symbol: gtk_rc_style_get_type
 
 
 Have you run revdep-rebuild and/or python-updater?

Still no effect ;-(
And I found opera has the same problem as well under the flat thmem, but no 
problem under aurora thmem.

# opera
/usr/lib/opera/opera: symbol lookup error: 
/usr/lib/gtk-2.0/2.10.0/engines/libflat.so: undefined symbol: 
gtk_rc_style_get_type

-- 



Re: [gentoo-user] Find root partition

2011-01-20 Thread du yang
On Thursday 01/20/11 00:52:40 CST, Mark Shields wrote:
 On Thu, Jan 20, 2011 at 11:02 AM, Matthias Fechner ide...@fechner.net wrote:
 
 Dear list,
 
 I switched now to a new mainboard and it seems that the drive numbering
 changed or my kernel does not detect any hard disks...
 If I try to boot my gentoo the kernel panic because it cannot find the
 root partition.
 
 After the panic I cannot scroll up to check what drives are detected and
 which numbering is used. What must I do to be able to scroll up to see
 what is logged to the screen?
 (is there maybe a special key available, the shift+page-up and scroll is
 not working)
 
 Thanks
 Matthias
 
 --
 
 Programming today is a race between software engineers striving to
 build bigger and better idiot-proof programs, and the universe trying to
 produce bigger and better idiots. So far, the universe is winning. --
 Rich Cook
 
 
 Your best bet is to boot from a livecd or gentoo minimal, and run fdisk -l to
 show the disk/partition listing.
 
 Also, as Neil stated, make sure your new SATA chipset drivers are compiled 
 into
 the kernel and not as a module; however, it you switched from say, for 
 example,
 and nvidia-based motherboard to another nvidia-based motherboard, then you
 don't need to worry about that.

Yes, to boot from a livecd is a easier way to found a booting problem.

After boot from livecd, any partition can be mounted to check the contents.

And also you could recompile the kernel and install packages after mounting all 
the required partition and a chroot operation.

-- 
oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/