Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
recognisiing new cpu [SOLVED]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mikefot
Guru
Guru


Joined: 19 Nov 2014
Posts: 491

PostPosted: Sat Nov 26, 2016 8:09 pm    Post subject: kernel X and window managers Reply with quote

Dear Tony,

I tried emerging twm.

i then googled about to find out how to start up the windows by editing xinitrc etc.

When I looked at the code in the xinitrc file it seemed a bit odd to edit it with emacs and just add
Code:
exec twm
to it and then try to run it etc.

Then I found a web page in the gentoo forums where a user called the Doctor suggested two useful things that I would recommend to other users.

The first was to test X by running
Code:
X -retro
.

I did this and it worked and I saw the grey screen with a cross in the center and found the mouse could move a cursor around the screen image.

I then knew X was working - and without having to get some fiddly xinit command to work etc.

The Doctor also suggested installing LXDE.

I checked the Gentoo wiki on it and noticed that the installation process is very simple.

So I emerged it.

A problem I had was that the keyboard I have is a UK one but I think I am using a US keymap.

The problem with this is that the tilda sign you use in e.g. ~/.xinitrc type commands was not easy to find on the keyboard.

Once I did find it it looked rather different to the typeface on the web page and I wondered if it really was the tilda character at first.

I copied a file over to the gentoo from debian with a genuine tilda in it and then used the more command to look at it in gentoo.

I then realised I really had found the tilda character on the keyboard and then typed in (as user)

Code:
echo "exec startlxde" >> ~/.initrc

I then entered

Code:
startx


and LXDE came to life...........

I am now compiling chromium which is a slog. I only have 8GB of RAM.

I think I need more.

There some other concerns I have which I will put in a later email.

Thanks for the help with this.

Regards

Michael
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3290
Location: Illinois, USA

PostPosted: Sat Nov 26, 2016 9:18 pm    Post subject: Reply with quote

I'm so glad that it is working! The Doctor is one of the great strengths of this forum and has taught me a lot.

Regarding memory, I also have 8 G using two slots of four on my board. I think you have only two slots, correct?

I was shocked to see from the "free" command that I only have 7G because the APU commandeers 1 G for itself. My other machines either have an onbaord graphic chip or a seperate card. In either case, the chip or board has it's own memory. But I am running a couple of machines with 4G and it only slows down emerging. I have an old AT 32-bit machine with 384Meg but I don't run X on it.
My next project is booting UEFI on a SSD on the A8-7800 server. My first time with both UEFI and SSD.


Now that you have a working system, you should edit the first post in this thread to add [SOLVED} to the title. Open a new thread if you have new problems or questions.
Back to top
View user's profile Send private message
mikefot
Guru
Guru


Joined: 19 Nov 2014
Posts: 491

PostPosted: Sun Nov 27, 2016 5:01 pm    Post subject: sound problem Reply with quote

Dear Tony,

I edited the first post title and added SOLVED to it.

I am having a problem with the sound.

I think I might need to tweak the kernel again.

More on this shortly.

Regards

Michael
Back to top
View user's profile Send private message
mikefot
Guru
Guru


Joined: 19 Nov 2014
Posts: 491

PostPosted: Sun Nov 27, 2016 5:13 pm    Post subject: sound problem contd Reply with quote

Dear Tony,

I installed alsamixer and alsamixer gui.

I also installed alsa utils.

I ran the aplay command at a terminal:

Code:
rhinoceros etc # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: Generic Analog [Generic Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: Generic Digital [Generic Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


plus another couple of commands that could be helpful here:

Code:
rhinoceros etc # cat /proc/asound/cards
 0 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfeb64000 irq 28
 1 [Generic        ]: HDA-Intel - HD-Audio Generic


Code:
rhinoceros etc # cat /proc/asound/card0/pcm3p/info
card: 0
device: 3
subdevice: 0
stream: PLAYBACK
id: HDMI 0
name: HDMI 0
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
 HD-Audio Generic at 0xfeb60000 irq 16






Regards

Michael
Back to top
View user's profile Send private message
mikefot
Guru
Guru


Joined: 19 Nov 2014
Posts: 491

PostPosted: Sun Nov 27, 2016 5:20 pm    Post subject: sound problem contd Reply with quote

Dear Tony,

I also tried a command that is supposed to generate a continuous sound from the speakers:


Code:
rhinoceros etc # cat /dev/urandom | aplay
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-1.0.29/src/pcm/pcm_dmix.c:1024:(snd_pcm_dmix_open) unable to open slave
aplay: main:722: audio open error: No such file or directory

But it did not work.

If I want to start a new thread, which area of gentoo forums would be appropriate for:

1, Sound problems.

2. Installing precompiled binaries (e.g. for Libreoffice)

3. Problems with grub.

4. Use flags and config updates etc.

Regards and thanks

Michael
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
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