Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-29-2004, 11:25 PM
|
#1
|
Member
Registered: Oct 2003
Posts: 203
Rep:
|
change resolution
i know that pressing Ctrl + Alt + +/- changes the zoom in a particular resolution.
is there a way to change the res itself? coz divx movies aren't playing properly in 1024x768 (interlaced) but look fine in 800x600. is there a way to change it without editing XF86Config everytime i wanna watch a movie.
what i've done is add a "Modes" line in the screen sections for the default colour depth i use. i comment/uncomment one of the two depending on what i'm doing.
|
|
|
03-01-2004, 12:09 PM
|
#2
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
Here is one way you can do this ...
make a copy of your XF86Config file with the Mode set the way you want it in /etc/X11 named XF86Config1
now you can start a server on another virtual display like this...
startx -- :1 -xf86config XF86Config1
Or something like this..
startx -e mplayer dvd://1 -- :1 -xf86config XF86Config1
Switch back to the first server with ctrl_alt_F7 and back to the second with ctrl_alt_F8
start up as many as 6 servers if you want.
Last edited by DavidPhillips; 03-01-2004 at 01:47 PM.
|
|
|
03-02-2004, 08:56 PM
|
#3
|
Member
Registered: Oct 2003
Posts: 203
Original Poster
Rep:
|
that works well. thanks.
i ran one on :1 (i know i could've made it :0 ). i tried to start a 2nd server with :2 in but it gave these errors:
Code:
(++) Using config file: "/etc/X11/XF86Config.2"
(EE) NVIDIA(0): Failed to allocate external video decoder object
(EE) NVIDIA(0): *** Aborting ***
Fatal server error:
AddScreen/ScreenInit failed for driver 0
i'm sure that the command is correct coz it worked to startup the X session i'm using now. only made :1 -> :2
edit:
the screen goes blank and appears as if going into gui mode but then drops back to console.
Last edited by abs; 03-02-2004 at 09:01 PM.
|
|
|
03-03-2004, 11:07 AM
|
#4
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
That is strange, I have started 6 xservers before to see if it would work.
Maybe it's a limitation of the driver or maybe a frame buffer issue.
|
|
|
03-03-2004, 11:30 AM
|
#5
|
LQ Newbie
Registered: Mar 2004
Location: Canada
Distribution: SLACKWARE LINUX - Since 1993
Posts: 15
Rep:
|
XF86
Their are a few different ways to change you're resolution size with XFree86 4.x with Slackware.
A. run /usr/X11R6/bin/xf86cfg (the graphical configuration utility)
B. run /usr/X11R6/bin/xf86config (the text based configuration utility)
C. edit /etc/X11/XF86Config after making a backup first.
good luck, all the best.
|
|
|
03-03-2004, 09:10 PM
|
#6
|
Member
Registered: Oct 2003
Posts: 203
Original Poster
Rep:
|
@DavidPhillips: is there any way i could find out which one is causing the problem? here's the error i get when trying to start an x session in 1 (:1) after creating one on :0
Code:
(EE) NVIDIA(0): Failed to allocate external video decoder object
(EE) NVIDIA(0): *** Aborting ***
Fatal server error:
AddScreen/ScreenInit failed for driver 0
@Mainframe: i've already got 1024x768 and 800x600 running using two different XF86Config files as DavidPhillips' posts above indicated. the issue now is trying to get 2 x sessions running at the same time.
|
|
|
03-04-2004, 04:32 AM
|
#7
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
I just tested mine and it works, I have this card
# lspci |grep nV
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev a1)
I found a couple of other postings on the web with your same problem, but they did not say which cards they have. However I did notice that your log file shows the driver is NVIDIA and mine is using the NV driver, so they are different.
# cat /var/log/XF*.0.log |grep NV
(II) NV: driver for NVIDIA chipsets: RIVA 128, RIVA TNT, RIVA TNT2, Vanta,
GeForce4 410 Go 16M, Quadro4 500 GoGL, Quadro4 550 XGL, Quadro4 NVS,
Quadro4 580 XGL, Quadro4 280 NVS, Quadro4 380 XGL,
|
|
|
03-11-2004, 05:55 PM
|
#8
|
Member
Registered: Oct 2003
Posts: 203
Original Poster
Rep:
|
well, i installed the nvidia driver so i changed the 'nv' to 'nvidia' like the readme said. when i use 'nv' it works, 2 x sessions are created. if i use a combination then comp normally hangs.
|
|
|
03-11-2004, 07:44 PM
|
#9
|
LQ Newbie
Registered: Mar 2004
Location: Everett, WA
Distribution: Slackware 9.1
Posts: 27
Rep:
|
MPlayer
Try MPlayer. You can slapt-get it or download it from http://www.mplayerhq.hu/. I run it on Slack 9.1 with the nv driver and everything is well.
|
|
|
All times are GMT -5. The time now is 12:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|