Re: xserver-testing issues.

2010-12-19 Thread Sthu Deus
Thank You for Your time and answer, Camaleón:

 Yes, KDE3/4 (both) have nice tools (system settings/display or 
 krandtray), even better (more complete) than the GNOME counterpart
 for setting up the screen resolution :-)

Yes, it did solve my problem. Thanks again, Camaleón.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d0e06a1.5989cc0a.23ae.0...@mx.google.com



Re: xserver-testing issues.

2010-12-18 Thread Camaleón
On Sat, 18 Dec 2010 13:11:52 +0700, Sthu Deus wrote:

 Thank You for Your time and answer, Camaleón:
 
 By reviweing the log you uploaded, it seems that both screens are
 getting the same resolution (1280x800):
 
 ***
 (II) RADEON(0): Output VGA-0 using initial mode 1280x800 
 (II) RADEON(0): Output LVDS using initial mode 1280x800 
 ***
 I suppose you want to change the VGA-0 one, but what size do you want
 to get, 1600x900? The easiest way to select another resolution is by
 
 You are just absolutely right!!
 
 using the GNOME applet tool (start/system/preferences/display
 resolution).
 
 Well. Then I better try to use the KDE4 features - as it has come to me
 while the xserver upgrade. :)

Yes, KDE3/4 (both) have nice tools (system settings/display or 
krandtray), even better (more complete) than the GNOME counterpart for 
setting up the screen resolution :-)

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.12.18.12.25...@gmail.com



Re: xserver-testing issues.

2010-12-17 Thread Sthu Deus
Thank You for Your time and answer, Camaleón:

 By reviweing the log you uploaded, it seems that both screens are
 getting the same resolution (1280x800):
 
 ***
 (II) RADEON(0): Output VGA-0 using initial mode 1280x800
 (II) RADEON(0): Output LVDS using initial mode 1280x800
 ***
 I suppose you want to change the VGA-0 one, but what size do you want
 to get, 1600x900? The easiest way to select another resolution is by

You are just absolutely right!!

 using the GNOME applet tool (start/system/preferences/display
 resolution). 

Well. Then I better try to use the KDE4 features - as it has come to me
while the xserver upgrade. :)

  Also, after my experiment w/ the conf. file and removing it again, -
  weird to say, but the 3D-acceleration speed again fell down - as it
  was w/ the conf. file... :(
  
  Have no ideas - where it has stored else its settings, do You have
  an idea for that particular stuff?  
 
 Humm... nope, sorry ;-(
 
 As long as there is no xorg.file to be read by xorg I dunno how
 (and from where) can still be getting the old settings.

OK. Let it be.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d0c50ad.0607cc0a.7087.8...@mx.google.com



Re: xserver-testing issues.

2010-12-16 Thread Sthu Deus
Thank You for Your time and answer, Camaleón:

 As per display resolution... let's see what can be done. In brief:
 you are using the radeon driver and have 2 monitors attached to the
 card. With no xorg.conf your system is happier but your display
 uses a lower resolution, okay... I need additional clarification in
 some points:
 
 - What is the setup you want? Dual screen in clone mode or xinerama
 mode? Only one screen enabled and the other disabled (off)?

One (bigger) is enabled, lesser - disabled. I turn off the lesser head
of the v-card w/ xrandr.

May, I can set only screen resolution - in Xorg.conf? - But it needs
other things to specify too. - To make the final layout.

Also, after my experiment w/ the conf. file and removing it again, -
weird to say, but the 3D-acceleration speed again fell down - as it was
w/ the conf. file... :(

Have no ideas - where it has stored else its settings, do You have an
idea for that particular stuff?

 - What says your /var/log/xorg.0.log now? I mean complete, you
 can upload the full log to any pastebin site.

Here it is:

http://pastebin.com/FtPbSmZY

  Then remove that file and let's try another thing. What gives you
  cat / proc/asound/modules?  
  
   0 snd_pcsp
   1 snd_hda_intel  
 
 Good... let's go with another approach for setting up the first sound 
 device. Run cat /etc/modprobe.d/alsa-base.conf | grep options and
 put here the output.

OK, I got the point - alsa-base was removed while upgrading of some
packages to testing. So, now - it works perfectly - though no a lot of
controls for some reasons - but I can live this - if no ideas on this
wise.


Thank You, Camaleón, for Your help a lot - 3/3 problem have been solved
w/ Your help and others. - Thanks to all!


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d09ce9b.4b0fcc0a.33a0.5...@mx.google.com



Re: xserver-testing issues.

2010-12-16 Thread Camaleón
On Thu, 16 Dec 2010 15:32:20 +0700, Sthu Deus wrote:

 Thank You for Your time and answer, Camaleón:
 
 - What is the setup you want? Dual screen in clone mode or xinerama
 mode? Only one screen enabled and the other disabled (off)?
 
 One (bigger) is enabled, lesser - disabled. I turn off the lesser head
 of the v-card w/ xrandr.
 
 May, I can set only screen resolution - in Xorg.conf? - But it needs
 other things to specify too. - To make the final layout.

By reviweing the log you uploaded, it seems that both screens are getting 
the same resolution (1280x800):

***
(II) RADEON(0): Output VGA-0 using initial mode 1280x800
(II) RADEON(0): Output LVDS using initial mode 1280x800
***

I suppose you want to change the VGA-0 one, but what size do you want to 
get, 1600x900? The easiest way to select another resolution is by using 
the GNOME applet tool (start/system/preferences/display resolution).
 
 Also, after my experiment w/ the conf. file and removing it again, -
 weird to say, but the 3D-acceleration speed again fell down - as it was
 w/ the conf. file... :(
 
 Have no ideas - where it has stored else its settings, do You have an
 idea for that particular stuff?

Humm... nope, sorry ;-(

As long as there is no xorg.file to be read by xorg I dunno how (and 
from where) can still be getting the old settings.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.12.16.20.11...@gmail.com



Re: xserver-testing issues.

2010-12-14 Thread Sthu Deus
Thank You for Your time and answer, Hugo:

 Setting those variables in /etc/default/keyboard can leave you
 without a keyboard (of course?) I set XKBLAYOUT=us-intl and on the
 next boot there was no keyboard.

Where I can see all the available keyboard layouts, models - to
experiment w/ ?

Is correct to suppose that I better have to set it in etc-default than
in Xconf or even KDE(4)?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d072907.1b35640a.0b16.4...@mx.google.com



Re: xserver-testing issues.

2010-12-14 Thread Camaleón
On Tue, 14 Dec 2010 15:21:21 +0700, Sthu Deus wrote:

 Thank You for Your time and answer, Hugo:
 
 Setting those variables in /etc/default/keyboard can leave you without
 a keyboard (of course?) I set XKBLAYOUT=us-intl and on the next boot
 there was no keyboard.
 
 Where I can see all the available keyboard layouts, models - to
 experiment w/ ?

http://lists.debian.org/debian-user/2010/12/msg00799.html

 Is correct to suppose that I better have to set it in etc-default than
 in Xconf or even KDE(4)?

My prefs for setting keyboard/mouse (in squeeze/sid):

1/ KDE (GUI tool)
2/ /etc/default/keyboard
3/ /etc/X11/xorg.conf

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.12.14.09.05...@gmail.com



Re: xserver-testing issues.

2010-12-14 Thread Sthu Deus
Thank You for Your time and answer, Camaleón:

 Leave some of the /etc/default/keyboard values empty, for example:
 
 XKBMODEL=pc105
 XKBLAYOUT=us,de
 XKBVARIANT=
 XKBOPTIONS=
 
 And see what happens.

Absolutely the same except that dual layout is gone.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d0787b9.631eec0a.4928.0...@mx.google.com



Re: xserver-testing issues.

2010-12-14 Thread Camaleón
On Tue, 14 Dec 2010 22:05:17 +0700, Sthu Deus wrote:

 Thank You for Your time and answer, Camaleón:
 
 Leave some of the /etc/default/keyboard values empty, for example:
 
 XKBMODEL=pc105
 XKBLAYOUT=us,de
 XKBVARIANT=
 XKBOPTIONS=
 
 And see what happens.
 
 Absolutely the same except that dual layout is gone.

Wow, what kind of extraterrestrial keyboard do you own? (just kidding) X-)

Then try with the KDE GUI tool, it should be available under user 
settings  preferences / keyboard and mouse or something similar. KDE 
keyboard module is very complete.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.12.14.15.41...@gmail.com



Re: xserver-testing issues.

2010-12-14 Thread Sthu Deus
Thank You for Your time and answer, Camaleón:

  I use only several packages from testing - some of: xserver, alsa,
  kernel - all in attempt to solve my sound/keyboard/3D -problems.  
 
 The mix of those packages (mostly kernel and xserver packages)
 can be also the cause of unexpected problems. 

OK they all are now from testing.

 As you are using the same kernel and xorg packages than squeeze, you
 now have to play the same way squeeze does (or at least that seems to
 be the most logical approach). Squeeze does not need to use a
 /etc/X11/ xorg.conf file at all, neither for managing the keyboard
 settings nor for display: nowadays all this stuff has to be
 automatically configured and setup by Xorg.

Oh! It is awesome! - I have removed the conf file and now not only my
keyboard works perfectly, but 3D acceleration has become much more
faster! - So, it was a very good idea to use not my X conf. But! - as I
have two monitors - it suggests the lower resolution - that is latter
is not used at all (I prefer a bigger one. :) What to do here?

Oh! 2 of 3 problems have solved!

  Changing to
  
  pcm.!default:SB
  
  or
  
  pcm.!default:Intel
  
  gave me:
  /
  ALSA lib conf.c:1661:(snd_config_load1) _toplevel_:12:14:Unexpected
  char ALSA lib
  conf.c:3441:(snd_config_hook_load) /home/rock/.asoundrc may be old
  or corrupted: consider to remove or fix it ALSA lib
  conf.c:3302:(snd_config_hooks_call) function snd_config_hook_load
  returned error: Invalid argument ALSA lib
  conf.c:3687:(snd_config_update_r) hooks failed, removing
  configuration cannot open mixer: Invalid argument  

 Then remove that file and let's try another thing. What gives you
 cat / proc/asound/modules?

 0 snd_pcsp
 1 snd_hda_intel


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d0793bd.1f44960a.62c7.1...@mx.google.com



Re: xserver-testing issues.

2010-12-14 Thread Camaleón
On Tue, 14 Dec 2010 22:56:35 +0700, Sthu Deus wrote:

 As you are using the same kernel and xorg packages than squeeze, you
 now have to play the same way squeeze does (or at least that seems to
 be the most logical approach). Squeeze does not need to use a
 /etc/X11/ xorg.conf file at all, neither for managing the keyboard
 settings nor for display: nowadays all this stuff has to be
 automatically configured and setup by Xorg.
 
 Oh! It is awesome! - I have removed the conf file and now not only my
 keyboard works perfectly, but 3D acceleration has become much more
 faster! - So, it was a very good idea to use not my X conf. But! - as I
 have two monitors - it suggests the lower resolution - that is latter is
 not used at all (I prefer a bigger one. :) What to do here?
 
 Oh! 2 of 3 problems have solved!

Hey, that's good! :-)

As per display resolution... let's see what can be done. In brief: you 
are using the radeon driver and have 2 monitors attached to the card. 
With no xorg.conf your system is happier but your display uses a lower 
resolution, okay... I need additional clarification in some points:

- What is the setup you want? Dual screen in clone mode or xinerama mode? 
Only one screen enabled and the other disabled (off)?

- What says your /var/log/xorg.0.log now? I mean complete, you can 
upload the full log to any pastebin site.

I also recommend reading this Debian wiki page:

http://wiki.debian.org/XStrikeForce/HowToRandR12

  Changing to
  
  pcm.!default:SB
  
  or
  
  pcm.!default:Intel
  
  gave me:
  /
  ALSA lib conf.c:1661:(snd_config_load1) _toplevel_:12:14:Unexpected
  char ALSA lib
  conf.c:3441:(snd_config_hook_load) /home/rock/.asoundrc may be old or
  corrupted: consider to remove or fix it ALSA lib
  conf.c:3302:(snd_config_hooks_call) function snd_config_hook_load
  returned error: Invalid argument ALSA lib
  conf.c:3687:(snd_config_update_r) hooks failed, removing
  configuration cannot open mixer: Invalid argument
 
 Then remove that file and let's try another thing. What gives you cat
 / proc/asound/modules?
 
  0 snd_pcsp
  1 snd_hda_intel

Good... let's go with another approach for setting up the first sound 
device. Run cat /etc/modprobe.d/alsa-base.conf | grep options and put 
here the output.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.12.14.19.12...@gmail.com



Re: xserver-testing issues.

2010-12-13 Thread Sthu Deus
Thank You for Your time and answer, Camaleón:

 If you are using squeeze, /etc/default/keyboard.conf should
 contain the same settings you had specified in your
 /etc/X11/xorg.conf for the keyboard:
 
 #xorg.conf
 Option  XkbModel  pc105
 Option  XkbLayout us,de
 Option  XkbVariantwinkeys
 Option  XkbOptionsgrp:ctrl_shift_toggle,grp_led:scroll
 
 Now in the form:
 
 #keyboard.conf
 XKBMODEL=pc105
 XKBLAYOUT=us,de
 XKBVARIANT=winkeys
 XKBOPTIONS=grp:ctrl_shift_toggle,grp_led:scroll
 
 Don't forget to remove (or comment #) the old settings from your 
 xorg.conf so they don't collide.

I use only several packages from testing - some of: xserver, alsa,
kernel - all in attempt to solve my sound/keyboard/3D -problems.

Still keyboard does not work correctly - mainly,
delete/control/alt/cursor - keys.

Having removed the doubled strings in both files - keyboard stopped
switching layouts - only the led turning on/off remained.

 You have to run aplay -l, it should display the all your outputs,
 for example:

After I have install the very same kernel (version) from testing
(before was from backports) - I have seen the card devices again and
made them working w/ the following:

$ cat .asoundrc
# ALSA library configuration file

# Include settings that are under the control of asoundconf(1).
# (To disable these settings, comment out this line.)

pcm.!default {
type hw
card 1
}

ctl.!default {
type hw
card 1
}

Now, it seems that the card is not fully represented in alsamixer -
very few controls are there. Also, PCM control does not work - though
is present there.

$ aplay -L
null
/Discard all samples (playback) or generate zero samples (capture)
front:CARD=pcsp,DEV=0
pcsp, pcsp
Front speakers
front:CARD=SB,DEV=0
HDA ATI SB, STAC92xx Analog
Front speakers
surround40:CARD=SB,DEV=0
HDA ATI SB, STAC92xx Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=SB,DEV=0
HDA ATI SB, STAC92xx Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SB,DEV=0
HDA ATI SB, STAC92xx Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SB,DEV=0
HDA ATI SB, STAC92xx Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=SB,DEV=0
HDA ATI SB, STAC92xx Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

Changing to 

pcm.!default:SB

or 

pcm.!default:Intel

gave me:
/
ALSA lib conf.c:1661:(snd_config_load1) _toplevel_:12:14:Unexpected char
ALSA lib conf.c:3441:(snd_config_hook_load) /home/rock/.asoundrc may
be old or corrupted: consider to remove or fix it ALSA lib
conf.c:3302:(snd_config_hooks_call) function snd_config_hook_load
returned error: Invalid argument ALSA lib
conf.c:3687:(snd_config_update_r) hooks failed, removing configuration
cannot open mixer: Invalid argument

  Farther, I do not know what to do. - May I have to file up a bug
  report against it? - But against what? - I know that testing is not
  the same as stable, but may others can meet the same problem
  upgrading froim lenny to squeeze.  
 
 Try fisrt by following the alsasound tip and check the output of the 
 aplay -L command.

Seems does not work correctly... still.

 This was the errors you were getting:
 
 ***
 (EE) AIGLX error: r300 exports no extensions
 (/usr/lib/dri/r300_dri.so: undefined symbol: __driDriverExtensions) 
 (EE) AIGLX: reverting to software rendering 
 (II) AIGLX: Screen 0 is not DRI capable
 (EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed
 (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such
 file or directory) 
 (EE) GLX: could not load software renderer 
 (II) GLX: no usable GL providers found for screen 0
 ***
 
 Sounds like Xorg cannot load some files for enabling 3D
 acceleration... let's see, swrast_dri.so is included in package
 libgl1-mesa-dri, do you have it installed? Can you locate that
 library installed in the mentioned path? :-?

Yes, I do, but now have upgraded up to testing version:

libgl1-mesa-dri [7.0.3-7 - 7.7.1-4]  libgl1-mesa-glx [7.0.3-7 -
7.7.1-4]

and it started working.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d05ea74.875bdf0a.47e1.9...@mx.google.com



Re: xserver-testing issues.

2010-12-13 Thread Sthu Deus
Thank You for Your time and answer, Hugo:

 Ye gads, what a snakepit. Thanks.

So, no ideas how to configure X keyboard and sound in testing?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d0633fb.0444960a.2d14.c...@mx.google.com



Re: xserver-testing issues.

2010-12-13 Thread Hugo Vanwoerkom
On Sun, 12 Dec 2010 14:25:01 -0600, Hugo Vanwoerkom wrote:

 Camaleón wrote:
 On Sun, 12 Dec 2010 13:27:01 -0600, Hugo Vanwoerkom wrote:
 
 Camaleón wrote:
 
 (...)
 
 Now in the form:

 #keyboard.conf
 XKBMODEL=pc105
 XKBLAYOUT=us,de
 XKBVARIANT=winkeys
 XKBOPTIONS=grp:ctrl_shift_toggle,grp_led:scroll


 snip

 I was looking for a listing of what values these variables can have.
 Know of any?
 
 As per man setxkbmap, they should be under /usr/share/X11/xkb/ *
 (i.e., /usr/share/X11/xkb/rules/base.lst seems to hold xkbmodel and
 /usr/share/X11/xkb/symbols/* contains the layouts definitions).
 
 OTOH, man kbd does not expand on the information for the possible
 values... wait, maybe /usr/share/X11/xkb/rules/base? :-?
 
 
 Ye gads, what a snakepit. Thanks.
 

Setting those variables in /etc/default/keyboard can leave you without a 
keyboard (of course?) I set XKBLAYOUT=us-intl and on the next boot there 
was no keyboard.

-- 
Hugo


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/ie5f5i$k0...@dough.gmane.org



Re: xserver-testing issues.

2010-12-13 Thread Hugo Vanwoerkom
On Sun, 12 Dec 2010 14:25:01 -0600, Hugo Vanwoerkom wrote:

 Camaleón wrote:
 On Sun, 12 Dec 2010 13:27:01 -0600, Hugo Vanwoerkom wrote:
 
 Camaleón wrote:
 
 (...)
 
 Now in the form:

 #keyboard.conf
 XKBMODEL=pc105
 XKBLAYOUT=us,de
 XKBVARIANT=winkeys
 XKBOPTIONS=grp:ctrl_shift_toggle,grp_led:scroll


 snip

 I was looking for a listing of what values these variables can have.
 Know of any?
 
 As per man setxkbmap, they should be under /usr/share/X11/xkb/ *
 (i.e., /usr/share/X11/xkb/rules/base.lst seems to hold xkbmodel and
 /usr/share/X11/xkb/symbols/* contains the layouts definitions).
 
 OTOH, man kbd does not expand on the information for the possible
 values... wait, maybe /usr/share/X11/xkb/rules/base? :-?
 
 
 Ye gads, what a snakepit. Thanks.
 

Setting those variables in /etc/default/keyboard can leave you without a 
keyboard (of course?) I set XKBLAYOUT=us-intl and on the next boot there 
was no keyboard.

-- 
Hugo


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/ie5f4j$k0...@dough.gmane.org



Re: xserver-testing issues.

2010-12-13 Thread Hugo Vanwoerkom
On Sun, 12 Dec 2010 14:25:01 -0600, Hugo Vanwoerkom wrote:

 Camaleón wrote:
 On Sun, 12 Dec 2010 13:27:01 -0600, Hugo Vanwoerkom wrote:
 
 Camaleón wrote:
 
 (...)
 
 Now in the form:

 #keyboard.conf
 XKBMODEL=pc105
 XKBLAYOUT=us,de
 XKBVARIANT=winkeys
 XKBOPTIONS=grp:ctrl_shift_toggle,grp_led:scroll


 snip

 I was looking for a listing of what values these variables can have.
 Know of any?
 
 As per man setxkbmap, they should be under /usr/share/X11/xkb/ *
 (i.e., /usr/share/X11/xkb/rules/base.lst seems to hold xkbmodel and
 /usr/share/X11/xkb/symbols/* contains the layouts definitions).
 
 OTOH, man kbd does not expand on the information for the possible
 values... wait, maybe /usr/share/X11/xkb/rules/base? :-?
 
 
 Ye gads, what a snakepit. Thanks.
 

Setting those variables in /etc/default/keyboard can leave you without a 
keyboard (of course?) I set XKBLAYOUT=us-intl and on the next boot there 
was no keyboard.

-- 
Hugo


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/ie5f3k$j5...@dough.gmane.org



Re: xserver-testing issues.

2010-12-13 Thread Camaleón
On Mon, 13 Dec 2010 21:55:44 +0700, Sthu Deus wrote:

 Thank You for Your time and answer, Hugo:
 
 Ye gads, what a snakepit. Thanks.
 
 So, no ideas how to configure X keyboard and sound in testing?

Leave some of the /etc/default/keyboard values empty, for example:

XKBMODEL=pc105
XKBLAYOUT=us,de
XKBVARIANT=
XKBOPTIONS=

And see what happens.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.12.13.16.03...@gmail.com



Re: xserver-testing issues.

2010-12-13 Thread Camaleón
On Mon, 13 Dec 2010 16:42:05 +0700, Sthu Deus wrote:

 Thank You for Your time and answer, Camaleón:

(...)

 Now in the form:
 
 #keyboard.conf
 XKBMODEL=pc105
 XKBLAYOUT=us,de
 XKBVARIANT=winkeys
 XKBOPTIONS=grp:ctrl_shift_toggle,grp_led:scroll
 
 Don't forget to remove (or comment #) the old settings from your
 xorg.conf so they don't collide.
 
 I use only several packages from testing - some of: xserver, alsa,
 kernel - all in attempt to solve my sound/keyboard/3D -problems.

The mix of those packages (mostly kernel and xserver packages) can be 
also the cause of unexpected problems. 
 
 Still keyboard does not work correctly - mainly,
 delete/control/alt/cursor - keys.
 
 Having removed the doubled strings in both files - keyboard stopped
 switching layouts - only the led turning on/off remained.

As you are using the same kernel and xorg packages than squeeze, you now 
have to play the same way squeeze does (or at least that seems to be the 
most logical approach). Squeeze does not need to use a /etc/X11/
xorg.conf file at all, neither for managing the keyboard settings nor 
for display: nowadays all this stuff has to be automatically configured 
and setup by Xorg.

If you are having issues with your keyboard layout, first place to look 
is at your Xorg log (/var/log/xorg.0.log) and search for any warnings.

If there are no evident clues, you can also try to configure your 
keyboard by using your DE tools (GNOME and KDE both have nice tools for 
setting up the keyboard layout options and the the behavior of the rest 
of the compose keys -like alt, windows key or control-).

Your last resort is manually editing and adjust the /etc/default/
keyboard file, starting first with a minimal/basic file and then adding 
the required tweaks.

 You have to run aplay -l, it should display the all your outputs, for
 example:
 
 After I have install the very same kernel (version) from testing (before
 was from backports) - I have seen the card devices again and made them
 working w/ the following:
 
 $ cat .asoundrc
 # ALSA library configuration file
 
 # Include settings that are under the control of asoundconf(1). # (To
 disable these settings, comment out this line.)
 
 pcm.!default {
 type hw
 card 1
 }
 
 ctl.!default {
 type hw
 card 1
 }
 
 Now, it seems that the card is not fully represented in alsamixer - very
 few controls are there. Also, PCM control does not work - though is
 present there.
 
 $ aplay -L

(...)

 Changing to
 
 pcm.!default:SB
 
 or
 
 pcm.!default:Intel
 
 gave me:
 /
 ALSA lib conf.c:1661:(snd_config_load1) _toplevel_:12:14:Unexpected char
 ALSA lib conf.c:3441:(snd_config_hook_load) /home/rock/.asoundrc may be
 old or corrupted: consider to remove or fix it ALSA lib
 conf.c:3302:(snd_config_hooks_call) function snd_config_hook_load
 returned error: Invalid argument ALSA lib
 conf.c:3687:(snd_config_update_r) hooks failed, removing configuration
 cannot open mixer: Invalid argument

Then remove that file and let's try another thing. What gives you cat /
proc/asound/modules?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.12.13.20.00...@gmail.com



Re: xserver-testing issues.

2010-12-12 Thread Hugo Vanwoerkom

Camaleón wrote:

On Sat, 11 Dec 2010 23:22:50 +0700, Sthu Deus wrote:


Keyboard in testing is now configured in /etc/default/keyboard file.

OK. What should I put in there? - There is exactly what my xorg.conf
keyboard settings are. - Before it did work, not - not. - I have no idea
what to add more there.


If you are using squeeze, /etc/default/keyboard.conf should contain 
the same settings you had specified in your /etc/X11/xorg.conf for the 
keyboard:


#xorg.conf
Option  XkbModel  pc105
Option  XkbLayout us,de
Option  XkbVariantwinkeys
Option  XkbOptionsgrp:ctrl_shift_toggle,grp_led:scroll

Now in the form:

#keyboard.conf
XKBMODEL=pc105
XKBLAYOUT=us,de
XKBVARIANT=winkeys
XKBOPTIONS=grp:ctrl_shift_toggle,grp_led:scroll



snip

I was looking for a listing of what values these variables can have.
Know of any?

Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/ie37m5$jk...@dough.gmane.org



Re: xserver-testing issues.

2010-12-12 Thread Camaleón
On Sun, 12 Dec 2010 13:27:01 -0600, Hugo Vanwoerkom wrote:

 Camaleón wrote:

(...)

 Now in the form:
 
 #keyboard.conf
 XKBMODEL=pc105
 XKBLAYOUT=us,de
 XKBVARIANT=winkeys
 XKBOPTIONS=grp:ctrl_shift_toggle,grp_led:scroll
 
 
 snip
 
 I was looking for a listing of what values these variables can have.
 Know of any?

As per man setxkbmap, they should be under /usr/share/X11/xkb/
* (i.e., /usr/share/X11/xkb/rules/base.lst seems to hold xkbmodel 
and /usr/share/X11/xkb/symbols/* contains the layouts definitions).

OTOH, man kbd does not expand on the information for the possible 
values... wait, maybe /usr/share/X11/xkb/rules/base? :-?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.12.12.20.12...@gmail.com



Re: xserver-testing issues.

2010-12-12 Thread Hugo Vanwoerkom

Camaleón wrote:

On Sun, 12 Dec 2010 13:27:01 -0600, Hugo Vanwoerkom wrote:


Camaleón wrote:


(...)


Now in the form:

#keyboard.conf
XKBMODEL=pc105
XKBLAYOUT=us,de
XKBVARIANT=winkeys
XKBOPTIONS=grp:ctrl_shift_toggle,grp_led:scroll



snip

I was looking for a listing of what values these variables can have.
Know of any?


As per man setxkbmap, they should be under /usr/share/X11/xkb/
* (i.e., /usr/share/X11/xkb/rules/base.lst seems to hold xkbmodel 
and /usr/share/X11/xkb/symbols/* contains the layouts definitions).


OTOH, man kbd does not expand on the information for the possible 
values... wait, maybe /usr/share/X11/xkb/rules/base? :-?




Ye gads, what a snakepit. Thanks.

Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/ie3b2u$4d...@dough.gmane.org



Re: xserver-testing issues.

2010-12-11 Thread Camaleón
On Sat, 11 Dec 2010 14:24:18 +0700, Sthu Deus wrote:

(...)

 1. How I can configure my keyboard now? 

(...)

Keyboard in testing is now configured in /etc/default/keyboard file.

 2. My PC has stopped using on-board sound card and now prefers to use
 PC-speaker. 

(...)

You can use the tweak of ~/.asoundrc to select the preferred sound card:

http://alsa.opensrc.org/.asoundrc#Default_PCM_device
 
 3. I had distorted in most 3D-games, but working in few of them and
 anther 3d-apps - 3D support, now it is gone. Relevent string in Xorg log
 I see is this:

(...)

First, I would try with no /etc/X11/xorg.conf file and let xorg to set 
the card automatically. 

Do ATI cards need a firmaware to load 3D extensions? Are you using a 
stock kernel or a custom or backports one?
 
Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.12.11.11.49...@gmail.com



Re: xserver-testing issues.

2010-12-11 Thread Sthu Deus
Thank You for Your time and answer, Camaleón:

 Keyboard in testing is now configured in /etc/default/keyboard file.

OK. What should I put in there? - There is exactly what my xorg.conf
keyboard settings are. - Before it did work, not - not. - I have no
idea what to add more there.
 
 You can use the tweak of ~/.asoundrc to select the preferred sound
 card:
 
 http://alsa.opensrc.org/.asoundrc#Default_PCM_device

I have already tried that and a player said that I have no pcm file
for the device number in /dev/snd, and indeed, I have:

by-path  controlC0  controlC1  hwC1D0  hwC1D1  pcmC0D0p  pcmC1D0c
pcmC1D0p  timer

- AFAIK, for the second device (that has number 1), there should be
  pcmC1D1p.

though alsa util did show that I had two device - but it was before I
have run its configurator - now it shows I have only one card - that is
PC-speaker. :)

yet w/ lspci I see the card:

00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)

and w/

lsmod |grep snd

I believe I have the appropriate modules being loaded at boot:

snd_hda_intel  19955  0
snd_hda_codec  54244  1 snd_hda_intel
snd_pcsp6579  1
snd_hwdep   5380  1 snd_hda_codec
snd_pcm_oss32591  0
snd_mixer_oss  12606  1 snd_pcm_oss
snd_pcm60503  4
snd_hda_intel,snd_hda_codec,snd_pcsp,snd_pcm_oss snd_timer
15534  1 snd_pcm snd46414  10
snd_hda_intel,snd_hda_codec,snd_pcsp,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore   4598  1 snd snd_page_alloc  6169  2
snd_hda_intel,snd_pcm

Farther, I do not know what to do. - May I have to file up a bug report
against it? - But against what? - I know that testing is not the same
as stable, but may others can meet the same problem upgrading froim
lenny to squeeze.

  3. I had distorted in most 3D-games, but working in few of them and
  anther 3d-apps - 3D support, now it is gone. Relevent string in
  Xorg log I see is this:
 
 First, I would try with no /etc/X11/xorg.conf file and let xorg to
 set the card automatically. 

I've tried - same result beside some other things - but no 3D
acceleration.

 Do ATI cards need a firmaware to load 3D extensions? Are you using a 
 stock kernel or a custom or backports one?

I have free and non-free firmwares - both set to be upgraded w/ testing
repo - but I guess only was actually upgraded.

I use the latest backported kernel.

Thanks for Your help, once again.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d03a562.52790e0a.4403.e...@mx.google.com



Re: xserver-testing issues.

2010-12-11 Thread Camaleón
On Sat, 11 Dec 2010 23:22:50 +0700, Sthu Deus wrote:

 Keyboard in testing is now configured in /etc/default/keyboard file.
 
 OK. What should I put in there? - There is exactly what my xorg.conf
 keyboard settings are. - Before it did work, not - not. - I have no idea
 what to add more there.

If you are using squeeze, /etc/default/keyboard.conf should contain 
the same settings you had specified in your /etc/X11/xorg.conf for the 
keyboard:

#xorg.conf
Option  XkbModel  pc105
Option  XkbLayout us,de
Option  XkbVariantwinkeys
Option  XkbOptionsgrp:ctrl_shift_toggle,grp_led:scroll

Now in the form:

#keyboard.conf
XKBMODEL=pc105
XKBLAYOUT=us,de
XKBVARIANT=winkeys
XKBOPTIONS=grp:ctrl_shift_toggle,grp_led:scroll

Don't forget to remove (or comment #) the old settings from your 
xorg.conf so they don't collide.

 You can use the tweak of ~/.asoundrc to select the preferred sound
 card:
 
 http://alsa.opensrc.org/.asoundrc#Default_PCM_device
 
 I have already tried that and a player said that I have no pcm file for
 the device number in /dev/snd, and indeed, I have:

You have to run aplay -l, it should display the all your outputs, for 
example:

***
s...@stt008:~$ aplay -L
default:CARD=Intel
HDA Intel, ALC883 Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, ALC883 Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, ALC883 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, ALC883 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, ALC883 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, ALC883 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, ALC883 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel
IEC958 (S/PDIF) Digital Audio Output
null
Discard all samples (playback) or generate zero samples (capture)
***

And then you can put in your ~./asoundrc file:

***
pcm.!default front:Intel
***

In the avobe line I am choosing the Intel card (now I only have one 
installed) as my default pcm card.
 
(...)

 Farther, I do not know what to do. - May I have to file up a bug report
 against it? - But against what? - I know that testing is not the same as
 stable, but may others can meet the same problem upgrading froim lenny
 to squeeze.

Try fisrt by following the alsasound tip and check the output of the 
aplay -L command.

 First, I would try with no /etc/X11/xorg.conf file and let xorg to
 set the card automatically.
 
 I've tried - same result beside some other things - but no 3D
 acceleration.
 
 Do ATI cards need a firmaware to load 3D extensions? Are you using a
 stock kernel or a custom or backports one?
 
 I have free and non-free firmwares - both set to be upgraded w/ testing
 repo - but I guess only was actually upgraded.
 
 I use the latest backported kernel.

This was the errors you were getting:

***
(EE) AIGLX error: r300 exports no extensions (/usr/lib/dri/r300_dri.so:
undefined symbol: __driDriverExtensions) 
(EE) AIGLX: reverting to software rendering 
(II) AIGLX: Screen 0 is not DRI capable
(EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed
(/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such
file or directory) 
(EE) GLX: could not load software renderer 
(II) GLX: no usable GL providers found for screen 0
***

Sounds like Xorg cannot load some files for enabling 3D acceleration... 
let's see, swrast_dri.so is included in package libgl1-mesa-dri, do 
you have it installed? Can you locate that library installed in the 
mentioned path? :-?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.12.11.18.16...@gmail.com



xserver-testing issues.

2010-12-10 Thread Sthu Deus
Good day.


I again try to use xserver from testing... - I've tried already before
- without success, now I thought as testing soon becomes stable - it is
  worth of try even for me. - And having several issues, would try to
  solve them / make bug reports as necessary - before I return to
  stable - in case of no success using testing (I have my install back
  up).

If would help me solving the problems, please do so.

So,

1. How I can configure my keyboard now? - Before times I had this in
xorg.conf that worked perfectly:

Section InputDevice
Identifier  Keyboard0
Driver  kbd
   Option  XkbModel  pc105
Option  XkbLayout us,de
Option  XkbVariantwinkeys
Option  XkbOptionsgrp:ctrl_shift_toggle,grp_led:scroll
EndSection

Now several keys do not work as expected:
Delete - does not work at all,
Ctrl - works as Page down.
.

2. My PC has stopped using on-board sound card and now prefers to use
PC-speaker. I tried to change alsa config to make default the second
sond card - as it terms it - now, running alsamixer - I see the card
control instead of PC=speaker's but players (aplay, mplayer, KDE4
sound notifications) deny using it. For example, aplay:

ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition
'defaults.pcm.dmix.device' ALSA lib conf.c:4170:(_snd_config_evaluate)
function snd_func_refer returned error: No such file or directory ALSA
lib conf.c:4649:(snd_config_expand) Evaluate error: No such file or
directory ALSA lib pcm.c:2190:(snd_pcm_open_noupdate) Unknown PCM
default aplay: main:564: audio open error: No such file or directory


3. I had distorted in most 3D-games, but working in few of them and
anther 3d-apps - 3D support, now it is gone. Relevent string in Xorg
log I see is this:

(II) LoadModule: glx
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor=X.Org Foundation
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX

...
(II) LoadModule: dri
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor=X.Org Foundation
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: dri2
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor=X.Org Foundation
compiled for 1.7.7, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: radeon
...
(II) [KMS] Kernel modesetting enabled.
(**) RADEON(0): Depth 24, (--) framebuffer bpp 32
(II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) RADEON(0): Default visual is TrueColor
(**) RADEON(0): Option AccelMethod EXA
(**) RADEON(0): Option DRI on
(==) RADEON(0): RGB weight 888
(II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
(--) RADEON(0): Chipset: ATI Radeon XPRESS 200M 5975 (PCIE) (ChipID =
0x5975) (II) RADEON(0): PCI card detected
(II) RADEON(0): KMS Color Tiling: enabled

...
(II) RADEON(0): Acceleration enabled
(==) RADEON(0): DPMS enabled
...
(EE) AIGLX error: r300 exports no extensions (/usr/lib/dri/r300_dri.so:
undefined symbol: __driDriverExtensions) (EE) AIGLX: reverting to
software rendering (II) AIGLX: Screen 0 is not DRI capable
(EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed
(/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such
file or directory) (EE) GLX: could not load software renderer (II) GLX:
no usable GL providers found for screen 0


Thank You for Your time.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d032729.ce7c0e0a.223b.c...@mx.google.com