Getting 3D (ATI) and v4l to co-exist
Hello,
I'm a relative newbie, having made the switch from Windows a little while back. I've installed the ATI driver (I'm running SuSE 10). For love nor money, I couldn't get sax2 to give me 3D support, so I ran fglrxconfig and generated a new xorg.conf - 3D problem solved. However, this killed v4l (when I run kdetv, the screen goes black and dumps me back to the login screen). At the moment, I can 'init 5' with my original xorg.conf and use v4l, or 'init 5' with my new xorg.conf and use 3D acceleration. I've tried all manner of combinations, but none work for me. I've pasted my two xorg.conf files below. Any help / hints would be greatly appreciated. I guess my preference would be to use the original xorg.conf (1st one below) as a base. Note - comments have been removed to make the post shorter. Cheers, Dougie Original file (v4l works): Section "Files" FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/local" FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/Type1" FontPath "/usr/X11R6/lib/X11/fonts/URW" FontPath "/usr/X11R6/lib/X11/fonts/Speedo" FontPath "/usr/X11R6/lib/X11/fonts/PEX" FontPath "/usr/X11R6/lib/X11/fonts/cyrillic" FontPath "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/latin2/Type1" FontPath "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/japanese:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/kwintv" FontPath "/usr/X11R6/lib/X11/fonts/truetype" FontPath "/usr/X11R6/lib/X11/fonts/uni:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/CID" FontPath "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/hellas/Type1" FontPath "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/xtest" FontPath "/opt/kde3/share/fonts" InputDevices "/dev/ttyS0" InputDevices "/dev/ttyS1" InputDevices "/dev/ttyS2" InputDevices "/dev/ttyS3" InputDevices "/dev/ttyS4" InputDevices "/dev/ttyS5" InputDevices "/dev/ttyS6" InputDevices "/dev/ttyS7" InputDevices "/dev/ttyS8" InputDevices "/dev/psaux" InputDevices "/dev/logibm" InputDevices "/dev/sunmouse" InputDevices "/dev/atibm" InputDevices "/dev/amigamouse" InputDevices "/dev/atarimouse" InputDevices "/dev/inportbm" InputDevices "/dev/gpmdata" InputDevices "/dev/mouse" InputDevices "/dev/usbmouse" InputDevices "/dev/adbmouse" InputDevices "/dev/input/mice" InputDevices "/dev/input/event0" InputDevices "/dev/pointer0" InputDevices "/dev/pointer1" InputDevices "/dev/pointer2" InputDevices "/dev/pointer3" EndSection Section "ServerFlags" Option "AllowMouseOpenFail" EndSection Section "Module" Load "type1" Load "dbe" Load "freetype" Load "glx" Load "v4l" Load "extmod" EndSection Section "InputDevice" Driver "kbd" Identifier "Keyboard[0]" Option "Protocol" "Standard" Option "XkbLayout" "gb" Option "XkbModel" "pc105" Option "XkbRules" "xfree86" EndSection Section "InputDevice" Driver "mouse" Identifier "Mouse[1]" Option "Buttons" "7" Option "Device" "/dev/input/mice" Option "Name" "ImExPS/2 Logitech Explorer Mouse" Option "Protocol" "explorerps/2" Option "Vendor" "Sysp" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" DisplaySize 370 270 HorizSync 28-96 Identifier "Monitor[0]" ModelName "CPD-E400P" Option "DPMS" VendorName "SONY" VertRefresh 48-120 UseModes "Modes[0]" EndSection Section "Modes" Identifier "Modes[0]" Modeline "1280x1024" 165.29 1280 1376 1512 1744 1024 1025 1028 1077 Modeline "1280x1024" 145.69 1280 1376 1512 1744 1024 1025 1028 1071 Modeline "1280x1024" 125.14 1280 1368 1504 1728 1024 1025 1028 1065 Modeline "1280x1024" 105.15 1280 1360 1496 1712 1024 1025 1028 1059 Modeline "1280x960" 155.01 1280 1376 1512 1744 960 961 964 1010 Modeline "1280x960" 135.32 1280 1368 1504 1728 960 961 964 1004 Modeline "1280x960" 116.18 1280 1360 1496 1712 960 961 964 998 Modeline "1280x960" 97.68 1280 1352 1488 1696 960 961 964 993 Modeline "1280x800" 160.48 1280 1376 1512 1744 800 801 804 852 Modeline "1280x800" 144.76 1280 1376 1512 1744 800 801 804 847 Modeline "1280x800" 128.04 1280 1368 1504 1728 800 801 804 842 Modeline "1280x800" 111.77 1280 1360 1496 1712 800 801 804 837 Modeline "1280x800" 95.95 1280 1352 1488 1696 800 801 804 832 Modeline "1280x800" 80.58 1280 1344 1480 1680 800 801 804 827 Modeline "1152x864" 140.45 1152 1232 1360 1568 864 865 868 914 Modeline "1152x864" 125.43 1152 1232 1360 1568 864 865 868 909 Modeline "1152x864" 109.43 1152 1224 1352 1552 864 865 868 904 Modeline "1152x864" 93.90 1152 1224 1344 1536 864 865 868 899 Modeline "1152x864" 78.82 1152 1216 1336 1520 864 865 868 894 Modeline "1280x768" 154.07 1280 1376 1512 1744 768 769 772 818 Modeline "1280x768" 137.68 1280 1368 1504 1728 768 769 772 813 Modeline "1280x768" 122.87 1280 1368 1504 1728 768 769 772 808 Modeline "1280x768" 107.23 1280 1360 1496 1712 768 769 772 803 Modeline "1280x768" 92.15 1280 1352 1488 1696 768 769 772 799 Modeline "1280x768" 77.37 1280 1344 1480 1680 768 769 772 794 Modeline "1024x768" 122.97 1024 1096 1208 1392 768 769 772 818 Modeline "1024x768" 110.91 1024 1096 1208 1392 768 769 772 813 Modeline "1024x768" 97.84 1024 1088 1200 1376 768 769 772 808 Modeline "1024x768" 86.18 1024 1088 1200 1376 768 769 772 803 Modeline "1024x768" 73.89 1024 1080 1192 1360 768 769 772 799 Modeline "1024x768" 61.89 1024 1080 1184 1344 768 769 772 794 Modeline "800x600" 82.55 800 856 944 1088 600 601 604 643 Modeline "800x600" 73.98 800 848 936 1072 600 601 604 639 Modeline "800x600" 66.71 800 848 936 1072 600 601 604 635 Modeline "800x600" 58.73 800 840 928 1056 600 601 604 632 Modeline "800x600" 51.73 800 840 928 1056 600 601 604 628 Modeline "800x600" 44.13 800 840 920 1040 600 601 604 624 Modeline "800x600" 36.88 800 832 912 1024 600 601 604 621 Modeline "768x576" 75.72 768 824 904 1040 576 577 580 617 Modeline "768x576" 67.79 768 816 896 1024 576 577 580 613 Modeline "768x576" 61.21 768 816 896 1024 576 577 580 610 Modeline "768x576" 53.75 768 808 888 1008 576 577 580 606 Modeline "768x576" 47.41 768 808 888 1008 576 577 580 603 Modeline "768x576" 40.41 768 800 880 992 576 577 580 599 Modeline "768x576" 33.74 768 792 872 976 576 577 580 596 Modeline "640x480" 51.43 640 680 744 848 480 481 484 514 Modeline "640x480" 46.80 640 680 744 848 480 481 484 511 Modeline "640x480" 42.22 640 680 744 848 480 481 484 508 Modeline "640x480" 36.97 640 672 736 832 480 481 484 505 Modeline "640x480" 32.64 640 672 736 832 480 481 484 503 Modeline "640x480" 27.74 640 664 728 816 480 481 484 500 Modeline "640x480" 23.06 640 656 720 800 480 481 484 497 EndSection Section "Screen" DefaultDepth 24 SubSection "Display" Depth 15 Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480" EndSubSection SubSection "Display" Depth 32 Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "800x600" "768x576" "640x480" EndSubSection Device "Device[0]" Identifier "Screen[0]" Monitor "Monitor[0]" EndSection Section "Device" BoardName "RV350 AP" BusID "2:0:0" Driver "radeon" Identifier "Device[0]" VendorName "ATI" EndSection Section "ServerLayout" Identifier "Layout[all]" InputDevice "Keyboard[0]" "CoreKeyboard" InputDevice "Mouse[1]" "CorePointer" Option "Clone" "off" Option "Xinerama" "off" Screen "Screen[0]" EndSection Section "DRI" Group "video" Mode 0660 EndSection Section "Extensions" EndSection New file (3D works): Section "dri" Mode 0666 EndSection Section "Module" Load "dbe" SubSection "extmod" Option "omit xfree86-dga" EndSubSection Load "type1" Load "freetype" Load "glx" # libglx.a Load "dri" # libdri.a EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "/usr/X11R6/lib/X11/fonts/local/" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" EndSection Section "ServerFlags" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "AutoRepeat" "500 30" Option "XkbRules" "xfree86" Option "XkbModel" "pc101" Option "XkbLayout" "gb" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "ImPS/2" Option "ZAxisMapping" "4 5" Option "Device" "/dev/input/mice" EndSection Section "Monitor" Identifier "Monitor0" EndSection Section "Device" Identifier "Standard VGA" VendorName "Unknown" BoardName "Unknown" Driver "vga" EndSection Section "Device" Identifier "ATI Graphics Adapter" Driver "fglrx" # === disable PnP Monitor === #Option "NoDDC" Option "no_accel" "no" Option "no_dri" "no" Option "mtrr" "off" Option "DesktopSetup" "(null)" Option "ScreenOverlap" "0" Option "GammaCorrectionI" "0x00000000" Option "GammaCorrectionII" "0x00000000" Option "Capabilities" "0x00000000" Option "CapabilitiesEx" "0x00000000" Option "VideoOverlay" "on" Option "OpenGLOverlay" "off" Option "CenterMode" "off" Option "PseudoColorVisuals" "off" Option "Stereo" "off" Option "StereoSyncEnable" "1" Option "FSAAEnable" "no" Option "FSAAScale" "1" Option "FSAADisableGamma" "no" Option "FSAACustomizeMSPos" "no" Option "FSAAMSPosX0" "0.000000" Option "FSAAMSPosY0" "0.000000" Option "FSAAMSPosX1" "0.000000" Option "FSAAMSPosY1" "0.000000" Option "FSAAMSPosX2" "0.000000" Option "FSAAMSPosY2" "0.000000" Option "FSAAMSPosX3" "0.000000" Option "FSAAMSPosY3" "0.000000" Option "FSAAMSPosX4" "0.000000" Option "FSAAMSPosY4" "0.000000" Option "FSAAMSPosX5" "0.000000" Option "FSAAMSPosY5" "0.000000" Option "UseFastTLS" "0" Option "BlockSignalsOnLock" "on" Option "UseInternalAGPGART" "yes" Option "ForceGenericCPU" "no" BusID "PCI:2:0:0" # vendor=1002, device=4150 Screen 0 EndSection Section "Screen" Identifier "Screen0" Device "ATI Graphics Adapter" Monitor "Monitor0" DefaultDepth 24 #Option "backingstore" Subsection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection Section "ServerLayout" Identifier "Server Layout" Screen "Screen0" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection |
Never mind, I gave up and switched from kdetv to tvtime, better app anyway IMO, no probs now.
Dougie |
All times are GMT -5. The time now is 06:27 AM. |