LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   startx works but kdm won't (videoram issue) (https://www.linuxquestions.org/questions/%2Absd-17/startx-works-but-kdm-wont-videoram-issue-179533/)

BuddyLove 05-09-2004 04:04 AM

startx works but kdm won't (videoram issue)
 
Like the topic says when I run a startx from console KDE comes up prefectly, but when I add:
"ttyv8 "/usr/local/bin/kdm -nodaemon" xterm on secure"
to /etc/ttys X craps out. Going through the log I see:

(--) NVIDIA(0): VideoRAM: 2048 kBytes
(II) NVIDIA(0): Connected display device(s): CRT-0
(--) NVIDIA(0): Detected TV Encoder: NVIDIA
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 8 bpp: 350 MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 16 bpp: 350 MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 32 bpp: 350 MHz
.
.
(II) NVIDIA(0): Not using default mode "1024x768" (insufficient memory for mode)
(II) NVIDIA(0): Not using default mode "1152x864" (insufficient memory for mode)
(II) NVIDIA(0): Not using default mode "1280x960" (insufficient memory for mode)
(II) NVIDIA(0): Not using default mode "1280x960" (insufficient memory for mode)
....repeated for lots of other display modes
.

(II) NVIDIA(0): Not using mode "1280x1024" (no mode of this name)
(II) NVIDIA(0): Not using default mode "832x624" (width too large for virtual size)
(II) NVIDIA(0): Not using default mode "800x600" (width too large for virtual size)
(II) NVIDIA(0): Not using default mode "800x600" (width too large for virtual size)
(II) NVIDIA(0): Not using default mode "800x600" (width too large for virtual size)
....repeated for lots of other display modes
.
.
EE) NVIDIA(0): No modes remaining for display device CRT-0
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "ddc"
(II) Unloading /usr/X11R6/lib/modules/libddc.a
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

But when I issuse a startx from console I get:

(--) NVIDIA(0): VideoRAM: 65536 kBytes
(II) NVIDIA(0): Connected display device(s): CRT-0
(--) NVIDIA(0): Detected TV Encoder: NVIDIA
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 8 bpp: 350 MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 16 bpp: 350 MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 32 bpp: 350 MHz
.
.
(**) NVIDIA(0): Validated modes for display device CRT-0:
(**) NVIDIA(0): Default mode "1280x1024": 108.0 MHz, 64.0 kHz, 60.0 Hz
(**) NVIDIA(0): Default mode "1280x960": 108.0 MHz, 60.0 kHz, 60.0 Hz
(**) NVIDIA(0): Default mode "1152x864": 108.0 MHz, 67.5 kHz, 75.0 Hz
(**) NVIDIA(0): Default mode "1024x768": 94.5 MHz, 68.7 kHz, 85.0 Hz
.
.
(II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(==) NVIDIA(0): DPI set to (75, 75)

In addition I also see:
/kernel: nvidia0: rm_init_adapter() failed! in /var/log/messages

I'm assuming that this is after the xserver tries to start and is not the cause, maybe i'm wrong.

I have tried manually videoram to my X config file but this did not work aswell.

Section "Monitor"
Identifier "Monitor0"
# HorizSync 31.5 - 64.3
# VertRefresh 50.0 - 90.0
HorizSync 30.0 - 69.0
VertRefresh 50.0 - 160.0
EndSection

Section "Device"
Identifier "Card0"
Driver "nvidia"
# ChipSet "GeForce4 MX 420"
Card "GeForce4 MX 420"
VideoRam 65536
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection

Thanks in advance with any help you can give me

PS. Freebsd 4.9 / X 4.3 / KDE 3.2.2


All times are GMT -5. The time now is 08:04 AM.