View Full Version : KDE and graphics card
alexe100
December 30th, 2008, 18:19
Hi,
I am new to FreeBsd
I installed it yestersday and I tryed to use X but it was the xterm with a very little font that I cant see nothing, but it works!
Today I installed the ports from CD and made the KDE 3. Now I am starting it and it says:
Failed to load module s3virge (module des not exists)
failed to load module fbdev (module des not exists)
How can I configure a default graphics card on it?
Thanks
Alex
adamk
December 30th, 2008, 18:37
Did you ever create an xorg.conf file? Do you know what video card you have?
Adam
alexe100
December 30th, 2008, 18:46
Do I need to create that file?
I am not sure what card i have :-(
But why does xterm works well (tiny fonts) and kde do not?
Alex
adamk
December 30th, 2008, 18:51
It sounds like in the process of installing KDE3, you may have updated parts of Xorg.
What's the output of 'pciconv -vl | grep vga' ? That will give us the vendor and device numbers of the video card, hopefully.
Adam
alexe100
December 30th, 2008, 18:59
Look, after making KDE3 I runned the xterm and it worked. Then I created the .xinitrc for the kde and now it shows that 2 erros and doesnt starts.
That commands returns:
vgapci0@pci0:1:0:0: class 0x30000 card=0x8a135333 chip 0x8a1353333 rev=0x02 hdr=0x00
Thanks
Alex
adamk
December 30th, 2008, 19:06
Odd. If you remove the .xinitrc file it goes back to the xterm?
Adam
alexe100
December 30th, 2008, 19:38
Yes, xterm (with tiny fonts) works!
Other solution: Is there any way to configure xterm with a bigger fonts?
Alex
adamk
December 30th, 2008, 19:43
You are using startx, in both cases, to start the X server, correct? I'm guessing that your .xinitrc file is trying to start something that does not exist :-) Can you attach your /var/log/Xorg.0.log file (both when X works with the xterms, and when it fails to work with your .xinitrc) to a post here? Or use a service like http://pastebin.ca/ to post them?
Adam
alexe100
December 30th, 2008, 19:48
Ok I will try. Just a moment please...
Alex
alexe100
December 30th, 2008, 19:52
There is a problem :-(
I have an internet connect on the freebsd desktop but I dont know how to access forum to send the file in command line nor using the xterm :-(
Does it detect pen drives? If I plugg one there is it mounted?
Alex
adamk
December 30th, 2008, 20:02
If you run 'sudo pkg_add -r pastebinit' you will install 'pastebinit'. Then you can just run 'pastebinit /var/log/Xorg.0.log' and it will pastebin the file and give you a URL back.
Adam
alexe100
December 30th, 2008, 20:08
Great! Meanwhile I found pen of the FreeBsd.
Here is the files and how I got them:
1. I removed the X log file
2. I started xterm with success. The log file was created and here it has the name xterm.log
3. I removed the log file again
4.I created .xinitrc
5.I started kde and it shutdowns permaturely with those 2 errors. the log file here is called kde.log
Thank you
Alex
alexe100
December 30th, 2008, 20:10
I can see here the attachments. Did you receive them?
Alex
adamk
December 30th, 2008, 20:12
No, there do not appear to be any attachments to your posts.
Adam
alexe100
December 30th, 2008, 20:15
Try it now, please...
Maybe extension problems... I renamed them to .c
Alex
alexe100
December 30th, 2008, 20:17
I still dont see them again... I dont know why they dont go to the forum :-(
Alex
alexe100
December 30th, 2008, 20:19
Ok, length problems...
here the zip.
Sorry
Alex
adamk
December 30th, 2008, 20:25
OK, a few things:
Both logs are showing the same thing. I really do think that your .xinitrc file is broken. X is starting up, trying to launch whatever is in .xinitrc, and since there is nothing executable, it's immediately stopping. What did you add to your .xinitrc file so get KDE to start?
Second, you are using the generic vesa driver. Your card should be supported by the s3virge driver, which should perform better than 'vesa'. *After* you get KDE to work, I suggest you install /usr/ports/x11-drivers/xf86-video-s3virge/ . Again, I would not try that till you get KDE working. Let's handle one problem at a time :-)
Adam
alexe100
December 30th, 2008, 20:39
Thank you!
I have this on .xinitrc on the root home:
startkde
Alex
adamk
December 30th, 2008, 21:07
Try putting in the full path to the startkde command? Probably /usr/local/bin/startkde
I'm not sure if it's necessary, but I always set my .xinitrc file to be executable with 'chmod +x ~/.xinitrc'
Adam
adamk
December 30th, 2008, 21:07
Oh, BTW, you really should not be running X or KDE as root. I *highly* recommend creating another user.
Adam
alexe100
December 30th, 2008, 21:40
Using a normal user the same errors happens again... :-(
Please, how can I change the font size of the Xterm?
Alex
adamk
December 30th, 2008, 21:48
According to the man page for 'xterm' you can use the -font option to specify whatever font you want on the command line.
Did you try adding the full path to startkde to your .xinitrc file?
Adam
alexe100
December 30th, 2008, 22:48
Cant find where startkde is :-(
When I run, as root, find / -iname 'startkde' it causes a segmentation fault...
Very unstable this freebsd :-(
Alex
adamk
December 30th, 2008, 22:54
I think you'll find that most people on these forums consider freebsd much more stable than most other operating systems :-) It does, however, have a steeper learning curve than most.
Does /usr/local/bin/startkde exist? That's the location of the startkde script for KDE3.
Adam
alexe100
December 30th, 2008, 23:03
No, it doesnt exists! only startx, rstartd and rstart :-(
Alex
alexe100
December 30th, 2008, 23:04
I did make install clean to install kde
Alex
adamk
December 30th, 2008, 23:11
Well it looks like it failed to build somewhere along the way... What's the output of 'pkg_info | grep kde' ?
Adam
alexe100
December 30th, 2008, 23:20
It took more than one hour to build it, i think...
well, that command returns nothing
It seems that there is no kde... How sad
Alex
adamk
December 30th, 2008, 23:22
KDE3 should take *hours* to build. It's the kind of thing that I leave running over night.
EDIT:
You can always install it from packages with 'sudo pkg_add -r kde' I believe. It will download pre-built binaries for KDE3, rather than having you build it from source.
Adam
alexe100
December 30th, 2008, 23:25
but mine took 1 hour and some minuts... :-(
Well, I will make it again and filter erros to a separate files, right?
make install clean 2> errors?
Is this?
Alex
alexe100
December 30th, 2008, 23:32
I put it to make gnome2 now...
Lets wait...
Thank you very much Adam!
Alex
Djn
December 31st, 2008, 04:39
BTW: The way to change the font size in xterm is to hold ctrl, then click and hold the right mouse button in the window. This pops up a menu, then you move the pointer to the alternative you want and release the mouse button (and ctrl). Try "Huge" as a start.
alexe100
December 31st, 2008, 13:10
Thank you Djn!!
It works!
I really dont need kde or gnome. I just need an env that supports at least 2 shells and xterm supports it. So with a nice length font it is enough!
Alex
aurora72
June 4th, 2009, 20:24
Is this problem solved? If yes, how? I get the same error messages
Failed to load module s3virge (module des not exists)
failed to load module fbdev (module des not exists)
after having "exec kde" in .xinitrc and entering the startx command, all after having upgraded to 7.2!
The same computer (IBM 300GL, see the signature) had no such a problem while it ran 6.4-RELEASE. Really strange
I might be missing something in some config files or in some modules, though.
tangram
June 5th, 2009, 10:21
According to http://www.freebsd.org/doc/en/books/handbook/x11-wm.html for KDE3 exec startkde should be in the .xinitrc.
If it's KDE4 add exec /usr/local/kde4/bin/startkde instead.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.